Require Ruby 1.9.3+

This commit is contained in:
Ben Hollis 2013-11-18 20:19:49 -08:00
parent 319cf938bd
commit ac64b17ef0
2 changed files with 7 additions and 5 deletions

View file

@ -16,21 +16,22 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
s.executable = "middleman" s.executable = "middleman"
s.require_path = "lib" s.require_path = "lib"
s.required_ruby_version = '>= 1.9.3'
# Core # Core
s.add_dependency("bundler", ["~> 1.1"]) s.add_dependency("bundler", ["~> 1.1"])
s.add_dependency("rack", [">= 1.4.5"]) s.add_dependency("rack", [">= 1.4.5"])
s.add_dependency("tilt", ["~> 1.3.6"]) s.add_dependency("tilt", ["~> 1.3.6"])
# Builder # Builder
s.add_dependency("rack-test", ["~> 0.6.1"]) s.add_dependency("rack-test", ["~> 0.6.1"])
# CLI # CLI
s.add_dependency("thor", [">= 0.15.2", "< 2.0"]) s.add_dependency("thor", [">= 0.15.2", "< 2.0"])
# Helpers # Helpers
s.add_dependency("activesupport", ["~> 3.2.6"]) s.add_dependency("activesupport", ["~> 3.2.6"])
# Watcher # Watcher
s.add_dependency("listen", ["~> 1.1"]) s.add_dependency("listen", ["~> 1.1"])

View file

@ -16,6 +16,7 @@ Gem::Specification.new do |s|
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.required_ruby_version = '>= 1.9.3'
s.add_dependency("middleman-core", Middleman::VERSION) s.add_dependency("middleman-core", Middleman::VERSION)
s.add_dependency("middleman-sprockets", ">= 3.1.2") s.add_dependency("middleman-sprockets", ">= 3.1.2")