Skip to content

Commit 907c1be

Browse files
committed
Pull development dependencies into the Gemfile
Also, clean up the gemspec and specify the MIT license. [ci skip]
1 parent 9c156c1 commit 907c1be

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
source "https://rubygems.org"
22

33
gemspec
4+
5+
group :test do
6+
gem "cucumber", "~> 1.1", ">= 1.1.1"
7+
gem "rake", "~> 10.0"
8+
end

json_spec.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ Gem::Specification.new do |gem|
77
gem.authors = ["Steve Richert"]
88
gem.email = ["[email protected]"]
99
gem.summary = "Easily handle JSON in RSpec and Cucumber"
10-
gem.description = gem.summary
10+
gem.description = "RSpec matchers and Cucumber steps for testing JSON content"
1111
gem.homepage = "https://github.com/collectiveidea/json_spec"
12+
gem.license = "MIT"
1213

1314
gem.add_dependency "multi_json", "~> 1.0"
1415
gem.add_dependency "rspec", "~> 2.0"
1516

16-
gem.add_development_dependency "cucumber", "~> 1.1", ">= 1.1.1"
17-
gem.add_development_dependency "rake", "~> 0.9"
17+
gem.add_development_dependency "bundler", "~> 1.0"
1818

1919
gem.files = `git ls-files`.split($\)
20-
gem.test_files = gem.files.grep(/^(spec|features)\//)
20+
gem.test_files = gem.files.grep(/^(features|spec)/)
2121
gem.require_paths = ["lib"]
2222
end

0 commit comments

Comments
 (0)