-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(update): adjust with Rails 6.1 and Rails 7, 7.1
- class_eval defined within class - difference in args for Rails 7.1
- Loading branch information
1 parent
b7b2580
commit 6befe8b
Showing
7 changed files
with
30 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
/pkg/ | ||
/spec/reports/ | ||
/tmp/ | ||
/.ruby-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module SettingsOnRails | ||
VERSION = '0.3.1' | ||
VERSION = '0.4.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,24 +6,24 @@ require 'settings_on_rails/version' | |
Gem::Specification.new do |spec| | ||
spec.name = 'settings_on_rails' | ||
spec.version = SettingsOnRails::VERSION | ||
spec.authors = ['ALLEN WANG QIANG'] | ||
spec.email = ['[email protected]'] | ||
spec.authors = ['Bivan Alzacky Harmanto'] | ||
spec.email = ['[email protected]'] | ||
|
||
spec.summary = %q{Model specific Hash Preferences/Settings for Rails.} | ||
spec.description = %q{Ruby gem help to handle key/value settings(preferences) for ActiveRecord model. Settings are stored in hash, supports nested/multiple keys and default values.} | ||
spec.homepage = 'https://github.com/allenwq/settings_on_rails' | ||
spec.homepage = 'https://github.com/bivanalhar/settings_on_rails' | ||
spec.license = 'MIT' | ||
|
||
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
spec.bindir = 'exe' | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
|
||
spec.required_ruby_version = '>= 1.9' | ||
spec.required_ruby_version = '>= 3.1.0' | ||
spec.add_dependency 'rails', '>= 6' | ||
|
||
spec.add_dependency 'activerecord', '>= 3.1' | ||
spec.add_development_dependency 'sqlite3', '~> 1.3' | ||
spec.add_development_dependency 'bundler', '~> 1.6' | ||
spec.add_development_dependency 'rspec', '~> 3' | ||
spec.add_development_dependency 'rake', '~> 10' | ||
spec.add_development_dependency 'sqlite3', '~> 1.7' | ||
spec.add_development_dependency 'bundler', '>= 1.6' | ||
spec.add_development_dependency 'rspec-rails', '~> 3.3' | ||
spec.add_development_dependency 'rake' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters