Skip to content

Commit

Permalink
replace rash with rash_alt
Browse files Browse the repository at this point in the history
  • Loading branch information
shishi committed Jul 27, 2017
1 parent 038632a commit 2c01a7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gem 'multi_xml', '>= 0.5.3'
gem 'rack', '< 2'
gem 'rack-cache', '>= 1.1', '< 1.3'
gem 'rake', '>= 0.9', '< 11'
gem 'rash', '>= 0.3'
gem 'rash_alt', '>= 0.4.3'
gem 'simple_oauth', '>= 0.1', '< 0.3'

group :test do
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Some dependent libraries are needed only when using specific middleware:
* FaradayMiddleware::ParseXml: "multi_xml"
* FaradayMiddleware::OAuth: "simple_oauth"
* FaradayMiddleware::Mashify: "hashie"
* FaradayMiddleware::Rashify: "rash"
* FaradayMiddleware::Rashify: "rash_alt" (Make sure to uninstall original rash gem to avoid conflict)
* FaradayMiddleware::Instrumentation: "activesupport"

Examples
Expand Down
2 changes: 1 addition & 1 deletion lib/faraday_middleware/response/rashify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module FaradayMiddleware
class Rashify < Mashify
dependency do
require 'rash'
self.mash_class = ::Hashie::Rash
self.mash_class = ::Hashie::Mash::Rash
end
end
end
Expand Down

0 comments on commit 2c01a7b

Please sign in to comment.