├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── lint.yml │ ├── release.yml │ └── rspec.yml ├── .gitignore ├── .rspec ├── .rubocop-md.yml ├── .rubocop.yml ├── .rubocop └── rubocop_rspec.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bench ├── bench.rb └── setup.rb ├── bin ├── console └── setup ├── gemfiles ├── rails6.gemfile ├── rails7.gemfile ├── rails70.gemfile ├── rails8.gemfile ├── railsmaster.gemfile └── rubocop.gemfile ├── lib ├── store_attribute.rb └── store_attribute │ ├── active_record.rb │ ├── active_record │ ├── mutation_tracker.rb │ ├── store.rb │ └── type │ │ └── typed_store.rb │ └── version.rb ├── spec ├── cases │ ├── active_model_spec.rb │ ├── sti_spec.rb │ └── store_attribute_spec.rb ├── spec_helper.rb ├── store_attribute │ └── typed_store_spec.rb └── support │ ├── money_type.rb │ ├── page.rb │ ├── user.rb │ └── virtual_record.rb └── store_attribute.gemspec /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: palkan 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/rspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.github/workflows/rspec.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color -------------------------------------------------------------------------------- /.rubocop-md.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.rubocop-md.yml -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop/rubocop_rspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/.rubocop/rubocop_rspec.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/Rakefile -------------------------------------------------------------------------------- /bench/bench.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/bench/bench.rb -------------------------------------------------------------------------------- /bench/setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/bench/setup.rb -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/bin/setup -------------------------------------------------------------------------------- /gemfiles/rails6.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/gemfiles/rails6.gemfile -------------------------------------------------------------------------------- /gemfiles/rails7.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/gemfiles/rails7.gemfile -------------------------------------------------------------------------------- /gemfiles/rails70.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/gemfiles/rails70.gemfile -------------------------------------------------------------------------------- /gemfiles/rails8.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/gemfiles/rails8.gemfile -------------------------------------------------------------------------------- /gemfiles/railsmaster.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/gemfiles/railsmaster.gemfile -------------------------------------------------------------------------------- /gemfiles/rubocop.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/gemfiles/rubocop.gemfile -------------------------------------------------------------------------------- /lib/store_attribute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/lib/store_attribute.rb -------------------------------------------------------------------------------- /lib/store_attribute/active_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/lib/store_attribute/active_record.rb -------------------------------------------------------------------------------- /lib/store_attribute/active_record/mutation_tracker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/lib/store_attribute/active_record/mutation_tracker.rb -------------------------------------------------------------------------------- /lib/store_attribute/active_record/store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/lib/store_attribute/active_record/store.rb -------------------------------------------------------------------------------- /lib/store_attribute/active_record/type/typed_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/lib/store_attribute/active_record/type/typed_store.rb -------------------------------------------------------------------------------- /lib/store_attribute/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module StoreAttribute # :nodoc: 4 | VERSION = "2.0.1" 5 | end 6 | -------------------------------------------------------------------------------- /spec/cases/active_model_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/cases/active_model_spec.rb -------------------------------------------------------------------------------- /spec/cases/sti_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/cases/sti_spec.rb -------------------------------------------------------------------------------- /spec/cases/store_attribute_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/cases/store_attribute_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/store_attribute/typed_store_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/store_attribute/typed_store_spec.rb -------------------------------------------------------------------------------- /spec/support/money_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/support/money_type.rb -------------------------------------------------------------------------------- /spec/support/page.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/support/page.rb -------------------------------------------------------------------------------- /spec/support/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/support/user.rb -------------------------------------------------------------------------------- /spec/support/virtual_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/spec/support/virtual_record.rb -------------------------------------------------------------------------------- /store_attribute.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/palkan/store_attribute/HEAD/store_attribute.gemspec --------------------------------------------------------------------------------