diff --git a/Gemfile b/Gemfile index b919a4db..3cbd26a0 100644 --- a/Gemfile +++ b/Gemfile @@ -29,5 +29,6 @@ end # Middleman itself gem "middleman-core", :path => "middleman-core" +gem "middleman-more", :path => "middleman-more" gem "middleman-sprockets", :github => "middleman/middleman-sprockets" gem "middleman", :path => "middleman" diff --git a/Rakefile b/Rakefile index f0d64f2d..32972d68 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,7 @@ require File.expand_path("../middleman-core/lib/middleman-core/version.rb", __FI ROOT = File.expand_path(File.dirname(__FILE__)) GEM_NAME = 'middleman' -middleman_gems = %w(middleman-core middleman) +middleman_gems = %w(middleman-more middleman-core middleman) GEM_PATHS = middleman_gems.freeze def sh_rake(command) diff --git a/middleman-core/lib/middleman-more.rb b/middleman-core/lib/middleman-more.rb deleted file mode 100644 index af18c46f..00000000 --- a/middleman-core/lib/middleman-more.rb +++ /dev/null @@ -1 +0,0 @@ -# Stub for backwards-compat \ No newline at end of file diff --git a/middleman-core/middleman-core.gemspec b/middleman-core/middleman-core.gemspec index 7207d4e0..51cb3eba 100644 --- a/middleman-core/middleman-core.gemspec +++ b/middleman-core/middleman-core.gemspec @@ -11,7 +11,6 @@ Gem::Specification.new do |s| 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.license = "MIT" s.files = `git ls-files -z`.split("\0") s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") diff --git a/middleman-more/.gemtest b/middleman-more/.gemtest new file mode 100644 index 00000000..e69de29b diff --git a/middleman-more/Rakefile b/middleman-more/Rakefile new file mode 100644 index 00000000..8f25f891 --- /dev/null +++ b/middleman-more/Rakefile @@ -0,0 +1,5 @@ +# coding:utf-8 +RAKE_ROOT = __FILE__ + +GEM_NAME = "middleman" +require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper') \ No newline at end of file diff --git a/middleman-more/features/.gitkeep b/middleman-more/features/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/middleman-more/fixtures/.gitkeep b/middleman-more/fixtures/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/middleman-more/lib/middleman-more.rb b/middleman-more/lib/middleman-more.rb new file mode 100644 index 00000000..a3c7bae8 --- /dev/null +++ b/middleman-more/lib/middleman-more.rb @@ -0,0 +1 @@ +require "middleman-core" \ No newline at end of file diff --git a/middleman-more/middleman-more.gemspec b/middleman-more/middleman-more.gemspec new file mode 100644 index 00000000..afffb676 --- /dev/null +++ b/middleman-more/middleman-more.gemspec @@ -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 diff --git a/middleman-more/spec/middleman-more/future_spec.rb b/middleman-more/spec/middleman-more/future_spec.rb new file mode 100644 index 00000000..e69de29b diff --git a/middleman-more/spec/spec_helper.rb b/middleman-more/spec/spec_helper.rb new file mode 100644 index 00000000..e69de29b diff --git a/middleman/middleman.gemspec b/middleman/middleman.gemspec index f28e1f52..60692226 100644 --- a/middleman/middleman.gemspec +++ b/middleman/middleman.gemspec @@ -12,13 +12,13 @@ Gem::Specification.new do |s| 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.license = "MIT" s.files = `git ls-files -z`.split("\0") s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") s.require_paths = ["lib"] 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("haml", [">= 3.1.6"]) s.add_dependency("sass", [">= 3.1.20"])