Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ it possible to access the URI a client instance uses.
### Meaningful Exceptions for 4xx and 5xx Responses

`4xx` and `5xx` responses now will result in meaningful exceptions
being raised. For example, `404` responses will raise `Faraday::Error::ResourceNotFound`.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot retroactively edit a change log entry for 0.4.0

being raised. For example, `404` responses will raise `Faraday::ResourceNotFound`.


## Changes Between 0.2.0 and 0.3.0
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
source 'https://rubygems.org'

group :development, :test do
gem "rspec", "~> 3.8.0"
gem 'rspec', '~> 3.9'
gem "json", :platform => :ruby_18
gem "bunny", "~> 2.14.2"
gem "bunny", "~> 2.15.0"

gem "rantly"
end
Expand Down
8 changes: 4 additions & 4 deletions rabbitmq_http_api_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Gem::Specification.new do |gem|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]

gem.add_dependency "hashie", "~> 3.6"
gem.add_dependency "multi_json", "~> 1.13.1"
gem.add_dependency "faraday", [">= 0.15", "< 1"]
gem.add_dependency "faraday_middleware", [">= 0.13.0", "< 1"]
gem.add_dependency 'hashie', '~> 4.1'
gem.add_dependency 'multi_json', '~> 1.14', '>= 1.14.1'
gem.add_dependency 'faraday', '~> 1.0', '>= 1.0.1'
gem.add_dependency 'faraday_middleware', '~> 1.0'
end
6 changes: 3 additions & 3 deletions spec/integration/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def await_event_propagation
it "raises NotFound" do
expect do
subject.queue_info("/", Time.now.to_i.to_s)
end.to raise_error(Faraday::Error::ResourceNotFound)
end.to raise_error(Faraday::ResourceNotFound)
end
end
end
Expand Down Expand Up @@ -845,7 +845,7 @@ def await_event_propagation
it "raises NotFound" do
expect do
subject.vhost_info(Time.now.to_i.to_s)
end.to raise_error(Faraday::Error::ResourceNotFound)
end.to raise_error(Faraday::ResourceNotFound)
end
end

Expand Down Expand Up @@ -1034,7 +1034,7 @@ def await_event_propagation

expect do
subject.list_permissions_of("/", "alt3")
end.to raise_error(Faraday::Error::ResourceNotFound)
end.to raise_error(Faraday::ResourceNotFound)
end
end

Expand Down