Permalink
Browse files

Some infrastructure updates

  • Loading branch information...
1 parent 891ff45 commit 68e6ae806511a8ac80347ae3670c51a98f9ca6c5 @wycats committed Mar 25, 2010
Showing with 46 additions and 4 deletions.
  1. +2 −0 .gitignore
  2. +0 −1 Gemfile
  3. +30 −0 Gemfile.lock
  4. +13 −0 Rakefile
  5. +1 −3 artifice.gemspec
View
@@ -0,0 +1,2 @@
+.bundle
+*.gem
View
@@ -1,4 +1,3 @@
-gem "rack"
gem "rack-test"
group :test do
View
@@ -0,0 +1,30 @@
+---
+dependencies:
+ rspec:
+ group:
+ - :test
+ version: = 2.0.0.beta.4
+ rack:
+ group:
+ - :default
+ version: ">= 0"
+ rack-test:
+ group:
+ - :default
+ version: ">= 0"
+specs:
+- rack:
+ version: 1.1.0
+- rack-test:
+ version: 0.5.3
+- rspec-core:
+ version: 2.0.0.beta.4
+- rspec-expectations:
+ version: 2.0.0.beta.4
+- rspec-mocks:
+ version: 2.0.0.beta.4
+- rspec:
+ version: 2.0.0.beta.4
+hash: 889e870bd7875bdc06549b9e3689e9a530c5905a
+sources: []
+
View
@@ -0,0 +1,13 @@
+require "rubygems"
+require "bundler"
+Bundler.setup
+
+task :spec do
+ system "spec -cfs spec"
+end
+
+task :gem do
+ system "bundle exec gem build artifice.gemspec"
+end
+
+task :default => :spec
View
@@ -17,7 +17,5 @@ Gem::Specification.new do |s|
s.rdoc_options << '--exclude' << '.'
s.has_rdoc = false
- Bundler.definition.dependencies.select {|d| d.groups.include?(:default) }.each do |d|
- s.add_dependency d.name, d.requirement.to_s
- end
+ s.add_dependency "rack-test"
end

0 comments on commit 68e6ae8

Please sign in to comment.