cuba.gemspec in cuba-2.0.0 vs cuba.gemspec in cuba-2.0.1
- old
+ new
@@ -1,14 +1,25 @@
+require "./lib/cuba/version"
+
Gem::Specification.new do |s|
s.name = "cuba"
- s.version = "2.0.0"
+ s.version = Cuba::VERSION
s.summary = "Microframework for web applications."
s.description = "Cuba is a microframework for web applications."
s.authors = ["Michel Martens"]
s.email = ["michel@soveran.com"]
s.homepage = "http://github.com/soveran/cuba"
- s.files = ["LICENSE", "README.markdown", "Rakefile", "lib/cuba/ron.rb", "lib/cuba/test.rb", "lib/cuba/version.rb", "lib/cuba.rb", "cuba.gemspec", "test/accept.rb", "test/captures.rb", "test/composition.rb", "test/extension.rb", "test/helper.rb", "test/host.rb", "test/integration.rb", "test/match.rb", "test/number.rb", "test/on.rb", "test/param.rb", "test/path.rb", "test/run.rb", "test/segment.rb"]
- s.add_dependency "rack", "~> 1.2"
- s.add_dependency "tilt", "~> 1.2"
- s.add_development_dependency "cutest", "~> 1.0"
- s.add_development_dependency "capybara", "~> 0.4"
+
+ s.files = Dir[
+ "LICENSE",
+ "README.markdown",
+ "Rakefile",
+ "lib/**/*.rb",
+ "*.gemspec",
+ "test/*.*"
+ ]
+
+ s.add_dependency "rack"
+ s.add_dependency "tilt"
+ s.add_development_dependency "cutest"
+ s.add_development_dependency "capybara"
end