Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add dependency on Rack. Link Gemfile to gemspec. Restrict RSpec version.

  • Loading branch information...
commit 0d174b878f165ea662252f82ed99c67623e8e77f 1 parent e164135
@mdub authored
Showing with 6 additions and 35 deletions.
  1. +1 −0  .gitignore
  2. +3 −3 Gemfile
  3. +0 −32 Gemfile.lock
  4. +2 −0  sham_rack.gemspec
View
1  .gitignore
@@ -1,4 +1,5 @@
.bundle
+Gemfile.lock
pkg
rdoc
*.gem
View
6 Gemfile
@@ -1,10 +1,10 @@
-source "http://rubygems.org"
+source :rubygems
-gem "rack"
+gemspec
group :test do
gem "rake"
- gem "rspec"
+ gem "rspec", "~> 1.3.1"
gem "rr", "~> 1.0"
gem "rack-test"
gem "sinatra"
View
32 Gemfile.lock
@@ -1,32 +0,0 @@
-GEM
- remote: http://rubygems.org/
- specs:
- mechanize (1.0.0)
- nokogiri (>= 1.2.1)
- mime-types (1.16)
- nokogiri (1.4.3.1)
- patron (0.4.9)
- rack (1.2.1)
- rack-test (0.5.4)
- rack (>= 1.0)
- rake (0.8.7)
- rest-client (1.6.1)
- mime-types (>= 1.16)
- rr (1.0.0)
- rspec (1.3.0)
- sinatra (1.0)
- rack (>= 1.0)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- mechanize
- patron
- rack
- rack-test
- rake
- rest-client
- rr (~> 1.0)
- rspec
- sinatra
View
2  sham_rack.gemspec
@@ -16,6 +16,8 @@ Gem::Specification.new do |gem|
gem.version = ShamRack::VERSION.dup
gem.platform = Gem::Platform::RUBY
+ gem.add_dependency "rack"
+
gem.require_path = "lib"
gem.files = Dir["lib/**/*", "README.markdown", "CHANGES.markdown"]
gem.test_files = Dir["spec/**/*", "Rakefile", "benchmark/**/*"]
Please sign in to comment.
Something went wrong with that request. Please try again.