├── .github └── workflows │ └── main.yml ├── .gitignore ├── Gemfile ├── MIT-LICENSE ├── README.md ├── Rakefile ├── gemfiles ├── rails_6_1.gemfile ├── rails_7_0.gemfile ├── rails_7_1.gemfile ├── rails_7_2.gemfile └── rails_8_0.gemfile ├── lib ├── generators │ └── rails_settings │ │ └── migration │ │ ├── migration_generator.rb │ │ └── templates │ │ └── migration.rb ├── ledermann-rails-settings.rb ├── rails-settings.rb └── rails-settings │ ├── base.rb │ ├── configuration.rb │ ├── scopes.rb │ ├── setting_object.rb │ └── version.rb ├── rails-settings.gemspec └── spec ├── configuration_spec.rb ├── database.yml ├── queries_spec.rb ├── scopes_spec.rb ├── serialize_spec.rb ├── setting_object_spec.rb ├── settings_spec.rb ├── spec_helper.rb └── support ├── matchers └── perform_queries.rb └── query_counter.rb /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | .bundle 3 | Gemfile.lock 4 | pkg/* 5 | coverage/* 6 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/Gemfile -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/Rakefile -------------------------------------------------------------------------------- /gemfiles/rails_6_1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/gemfiles/rails_6_1.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_7_0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/gemfiles/rails_7_0.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_7_1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/gemfiles/rails_7_1.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_7_2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/gemfiles/rails_7_2.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_8_0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/gemfiles/rails_8_0.gemfile -------------------------------------------------------------------------------- /lib/generators/rails_settings/migration/migration_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/lib/generators/rails_settings/migration/migration_generator.rb -------------------------------------------------------------------------------- /lib/generators/rails_settings/migration/templates/migration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/lib/generators/rails_settings/migration/templates/migration.rb -------------------------------------------------------------------------------- /lib/ledermann-rails-settings.rb: -------------------------------------------------------------------------------- 1 | require 'rails-settings' 2 | -------------------------------------------------------------------------------- /lib/rails-settings.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/lib/rails-settings.rb -------------------------------------------------------------------------------- /lib/rails-settings/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/lib/rails-settings/base.rb -------------------------------------------------------------------------------- /lib/rails-settings/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/lib/rails-settings/configuration.rb -------------------------------------------------------------------------------- /lib/rails-settings/scopes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/lib/rails-settings/scopes.rb -------------------------------------------------------------------------------- /lib/rails-settings/setting_object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/lib/rails-settings/setting_object.rb -------------------------------------------------------------------------------- /lib/rails-settings/version.rb: -------------------------------------------------------------------------------- 1 | module RailsSettings 2 | VERSION = '2.6.2' 3 | end 4 | -------------------------------------------------------------------------------- /rails-settings.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/rails-settings.gemspec -------------------------------------------------------------------------------- /spec/configuration_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/configuration_spec.rb -------------------------------------------------------------------------------- /spec/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/database.yml -------------------------------------------------------------------------------- /spec/queries_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/queries_spec.rb -------------------------------------------------------------------------------- /spec/scopes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/scopes_spec.rb -------------------------------------------------------------------------------- /spec/serialize_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/serialize_spec.rb -------------------------------------------------------------------------------- /spec/setting_object_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/setting_object_spec.rb -------------------------------------------------------------------------------- /spec/settings_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/settings_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/matchers/perform_queries.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/support/matchers/perform_queries.rb -------------------------------------------------------------------------------- /spec/support/query_counter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ledermann/rails-settings/HEAD/spec/support/query_counter.rb --------------------------------------------------------------------------------