Skip to content

Commit

Permalink
Lock rest-client to ~> 1.6.0 on Ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Jul 9, 2014
1 parent 898df3f commit c12b8f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ group :test do
gem 'coveralls', :require => false
gem 'json', :platforms => [:rbx, :ruby_19, :ruby_18]
gem 'mime-types', '~> 1.25', :platforms => [:jruby, :ruby_18]
gem 'rubocop', '>= 0.23', :platforms => [:ruby_19, :ruby_20, :ruby_21]
gem 'rest-client', '~> 1.6.0', :platforms => [:jruby, :ruby_18]
gem 'rspec', '>= 2.11'
gem 'rubocop', '>= 0.23', :platforms => [:ruby_19, :ruby_20, :ruby_21]
gem 'simplecov', :require => false
gem 'webmock'
gem 'yardstick'
Expand Down
2 changes: 1 addition & 1 deletion gems.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'json', '~> 1.8'
spec.add_development_dependency 'bundler', '~> 1.0'
spec.authors = ['Erik Michaels-Ober']
spec.description = %q(Ruby wrapper for the RubyGems.org API)
spec.description = 'Ruby wrapper for the RubyGems.org API'
spec.email = ['[email protected]']
spec.files = %w(.yardopts CONTRIBUTING.md LICENSE.md README.md Rakefile gems.gemspec)
spec.files = `git ls-files`.split("\n")
Expand Down
2 changes: 1 addition & 1 deletion spec/gems/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

describe '#get with redirect' do
before do
response_body = %q(<html>\r\n<head><title>302 Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>302 Found</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n)
response_body = '<html>\r\n<head><title>302 Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>302 Found</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n'
response_location = 'https://bundler.rubygems.org/api/v1/dependencies?gems=rails,thor'

stub_get('/api/v1/dependencies').
Expand Down

0 comments on commit c12b8f0

Please sign in to comment.