Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
allowing all 5.* rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mbryja-enova committed Nov 16, 2020
1 parent 4551405 commit 16dbbbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion landable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |gem|

gem.require_paths = ['lib']

gem.add_dependency 'rails', '>= 4.0', '< 5.1'
gem.add_dependency 'rails', '>= 4.0', '< 6.0'
gem.add_dependency 'rack-cors', '>= 0.2.7'
gem.add_dependency 'active_model_serializers', '0.8.3'
gem.add_dependency 'carrierwave', '~> 0.10'
Expand Down
2 changes: 1 addition & 1 deletion lib/landable/migration.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Landable
class Migration < ActiveRecord::Migration
class Migration < ActiveRecord.version < Gem::Version.new("5.1") ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
class << self
def connection_search_path(conn)
conn.execute('SHOW SEARCH_PATH')[0]['search_path']
Expand Down
2 changes: 1 addition & 1 deletion lib/landable/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Landable
module VERSION
MAJOR = 1
MINOR = 99
PATCH = 1
PATCH = 2

STRING = [MAJOR, MINOR, PATCH].compact.join('.')
end
Expand Down

0 comments on commit 16dbbbd

Please sign in to comment.