stub out blank middleman-more gem for backwards compat with extensions
This commit is contained in:
parent
77157b96e0
commit
7a227b8bac
1
Gemfile
1
Gemfile
|
@ -29,5 +29,6 @@ end
|
||||||
|
|
||||||
# Middleman itself
|
# Middleman itself
|
||||||
gem "middleman-core", :path => "middleman-core"
|
gem "middleman-core", :path => "middleman-core"
|
||||||
|
gem "middleman-more", :path => "middleman-more"
|
||||||
gem "middleman-sprockets", :github => "middleman/middleman-sprockets"
|
gem "middleman-sprockets", :github => "middleman/middleman-sprockets"
|
||||||
gem "middleman", :path => "middleman"
|
gem "middleman", :path => "middleman"
|
||||||
|
|
2
Rakefile
2
Rakefile
|
@ -7,7 +7,7 @@ require File.expand_path("../middleman-core/lib/middleman-core/version.rb", __FI
|
||||||
ROOT = File.expand_path(File.dirname(__FILE__))
|
ROOT = File.expand_path(File.dirname(__FILE__))
|
||||||
GEM_NAME = 'middleman'
|
GEM_NAME = 'middleman'
|
||||||
|
|
||||||
middleman_gems = %w(middleman-core middleman)
|
middleman_gems = %w(middleman-more middleman-core middleman)
|
||||||
GEM_PATHS = middleman_gems.freeze
|
GEM_PATHS = middleman_gems.freeze
|
||||||
|
|
||||||
def sh_rake(command)
|
def sh_rake(command)
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
# Stub for backwards-compat
|
|
|
@ -11,7 +11,6 @@ Gem::Specification.new do |s|
|
||||||
s.homepage = "http://middlemanapp.com"
|
s.homepage = "http://middlemanapp.com"
|
||||||
s.summary = "Hand-crafted frontend development"
|
s.summary = "Hand-crafted frontend development"
|
||||||
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle."
|
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle."
|
||||||
s.license = "MIT"
|
|
||||||
|
|
||||||
s.files = `git ls-files -z`.split("\0")
|
s.files = `git ls-files -z`.split("\0")
|
||||||
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
||||||
|
|
0
middleman-more/.gemtest
Normal file
0
middleman-more/.gemtest
Normal file
5
middleman-more/Rakefile
Normal file
5
middleman-more/Rakefile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# coding:utf-8
|
||||||
|
RAKE_ROOT = __FILE__
|
||||||
|
|
||||||
|
GEM_NAME = "middleman"
|
||||||
|
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
|
0
middleman-more/features/.gitkeep
Normal file
0
middleman-more/features/.gitkeep
Normal file
0
middleman-more/fixtures/.gitkeep
Normal file
0
middleman-more/fixtures/.gitkeep
Normal file
1
middleman-more/lib/middleman-more.rb
Normal file
1
middleman-more/lib/middleman-more.rb
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require "middleman-core"
|
19
middleman-more/middleman-more.gemspec
Normal file
19
middleman-more/middleman-more.gemspec
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
$:.push File.expand_path("../lib", __FILE__)
|
||||||
|
require File.expand_path("../../middleman-core/lib/middleman-core/version.rb", __FILE__)
|
||||||
|
|
||||||
|
Gem::Specification.new do |s|
|
||||||
|
s.name = "middleman-more"
|
||||||
|
s.version = Middleman::VERSION
|
||||||
|
s.platform = Gem::Platform::RUBY
|
||||||
|
s.license = "MIT"
|
||||||
|
s.authors = ["Thomas Reynolds", "Ben Hollis"]
|
||||||
|
s.email = ["me@tdreyno.com", "ben@benhollis.net"]
|
||||||
|
s.homepage = "http://middlemanapp.com"
|
||||||
|
s.summary = "Hand-crafted frontend development"
|
||||||
|
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle."
|
||||||
|
|
||||||
|
s.files = `git ls-files -z`.split("\0")
|
||||||
|
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
||||||
|
s.require_paths = ["lib"]
|
||||||
|
end
|
0
middleman-more/spec/middleman-more/future_spec.rb
Normal file
0
middleman-more/spec/middleman-more/future_spec.rb
Normal file
0
middleman-more/spec/spec_helper.rb
Normal file
0
middleman-more/spec/spec_helper.rb
Normal file
|
@ -12,13 +12,13 @@ Gem::Specification.new do |s|
|
||||||
s.homepage = "http://middlemanapp.com"
|
s.homepage = "http://middlemanapp.com"
|
||||||
s.summary = "Hand-crafted frontend development"
|
s.summary = "Hand-crafted frontend development"
|
||||||
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle."
|
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle."
|
||||||
s.license = "MIT"
|
|
||||||
|
|
||||||
s.files = `git ls-files -z`.split("\0")
|
s.files = `git ls-files -z`.split("\0")
|
||||||
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
|
|
||||||
s.add_dependency("middleman-core", Middleman::VERSION)
|
s.add_dependency("middleman-core", Middleman::VERSION)
|
||||||
|
s.add_dependency("middleman-more", Middleman::VERSION)
|
||||||
s.add_dependency("middleman-sprockets", ">= 3.0.10")
|
s.add_dependency("middleman-sprockets", ">= 3.0.10")
|
||||||
s.add_dependency("haml", [">= 3.1.6"])
|
s.add_dependency("haml", [">= 3.1.6"])
|
||||||
s.add_dependency("sass", [">= 3.1.20"])
|
s.add_dependency("sass", [">= 3.1.20"])
|
||||||
|
|
Loading…
Reference in a new issue