Permalink
Browse files

gemspec love

- separate runtime from developer dependencies
- add executables (so bin/relish gets installed)
- upgrade to rspec-2.0.0.rc
  • Loading branch information...
1 parent b319e75 commit 184685e50b85927b0ebed7071f80977584a7b99b @dchelimsky dchelimsky committed Oct 10, 2010
Showing with 24 additions and 15 deletions.
  1. +13 −10 Gemfile.lock
  2. +11 −5 relish.gemspec
View
23 Gemfile.lock
@@ -2,6 +2,9 @@ PATH
remote: .
specs:
relish (0.0.1)
+ archive-tar-minitar (~> 0.5.2)
+ rest-client (~> 1.6.1)
+ trollop (~> 1.16.2)
GEM
remote: http://rubygems.org/
@@ -26,16 +29,16 @@ GEM
rake (0.8.7)
rest-client (1.6.1)
mime-types (>= 1.16)
- rspec (2.0.0.beta.22)
- rspec-core (= 2.0.0.beta.22)
- rspec-expectations (= 2.0.0.beta.22)
- rspec-mocks (= 2.0.0.beta.22)
- rspec-core (2.0.0.beta.22)
- rspec-expectations (2.0.0.beta.22)
+ rspec (2.0.0.rc)
+ rspec-core (= 2.0.0.rc)
+ rspec-expectations (= 2.0.0.rc)
+ rspec-mocks (= 2.0.0.rc)
+ rspec-core (2.0.0.rc)
+ rspec-expectations (2.0.0.rc)
diff-lcs (>= 1.1.2)
- rspec-mocks (2.0.0.beta.22)
- rspec-core (= 2.0.0.beta.22)
- rspec-expectations (= 2.0.0.beta.22)
+ rspec-mocks (2.0.0.rc)
+ rspec-core (= 2.0.0.rc)
+ rspec-expectations (= 2.0.0.rc)
term-ansicolor (1.0.5)
trollop (1.16.2)
@@ -51,5 +54,5 @@ DEPENDENCIES
rake (~> 0.8.7)
relish!
rest-client (~> 1.6.1)
- rspec (~> 2.0.0.beta.22)
+ rspec (~> 2.0.0.rc)
trollop (~> 1.16.2)
View
16 relish.gemspec
@@ -16,18 +16,24 @@ Gem::Specification.new do |s|
s.require_path = "lib"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+
+ {
+ 'archive-tar-minitar' => '~> 0.5.2',
+ 'rest-client' => '~> 1.6.1',
+ 'trollop' => '~> 1.16.2'
+ }.each do |lib, version|
+ s.add_runtime_dependency lib, version
+ end
{
'bundler' => '~> 1.0.0',
'rake' => '~> 0.8.7',
- 'archive-tar-minitar' => '~> 0.5.2',
- 'rest-client' => '~> 1.6.1',
- 'trollop' => '~> 1.16.2',
- 'rspec' => '~> 2.0.0.beta.22',
+ 'rspec' => '~> 2.0.0.rc',
'cucumber' => '~> 0.9.1',
'aruba' => '~> 0.2.2',
'fakeweb' => '~> 1.3.0'
}.each do |lib, version|
s.add_development_dependency lib, version
end
-end
+end

0 comments on commit 184685e

Please sign in to comment.