stub out blank middleman-more gem for backwards compat with extensions

This commit is contained in:
Thomas Reynolds 2013-05-23 15:26:33 -07:00
parent 77157b96e0
commit 7a227b8bac
13 changed files with 28 additions and 4 deletions

View file

@ -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"

View file

@ -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)

View file

@ -1 +0,0 @@
# Stub for backwards-compat

View file

@ -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
View file

5
middleman-more/Rakefile Normal file
View file

@ -0,0 +1,5 @@
# coding:utf-8
RAKE_ROOT = __FILE__
GEM_NAME = "middleman"
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')

View file

View file

View file

@ -0,0 +1 @@
require "middleman-core"

View 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

View file

View 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"])