Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable this gem to be used with Rails versions prior to 4.x #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ source 'https://rubygems.org'

# Specify your gem's dependencies in saasu2.gemspec
gemspec

# make rails 4+ deep hash functions available to rails <4
gem 'deep_hash_transform', :git => "https://github.com/basecamp/deep_hash_transform"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ And then execute:
Create an initializer file with your Saasu configuration eg config/initilizers/saasu.rb
```ruby
require 'saasu'
require 'deep_hash_transform' #required if using Rails <4

Saasu::Config.configure do |c|
c.username = '[email protected]'
Expand Down
2 changes: 2 additions & 0 deletions saasu2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ Gem::Specification.new do |spec|
spec.add_dependency "faraday_middleware"
spec.add_dependency "webmock"
spec.add_dependency 'activesupport'
# make rails 4+ deep hash functions available to rails <4
spec.add_dependency 'deep_hash_transform'
end