├── .gitignore ├── .rspec ├── .travis.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── config └── locales │ └── en.yml ├── lib ├── rom-model.rb └── rom │ ├── model.rb │ └── model │ ├── attributes.rb │ ├── validator.rb │ ├── validator │ └── uniqueness_validator.rb │ └── version.rb ├── rakelib ├── mutant.rake └── rubocop.rake ├── rom-model.gemspec └── spec ├── integration └── chainable_validator_spec.rb ├── shared └── database.rb ├── spec_helper.rb └── unit ├── attributes_spec.rb ├── validator └── embedded_spec.rb └── validator_spec.rb /.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/.rspec -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/Rakefile -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /lib/rom-model.rb: -------------------------------------------------------------------------------- 1 | require 'rom/model' 2 | -------------------------------------------------------------------------------- /lib/rom/model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/lib/rom/model.rb -------------------------------------------------------------------------------- /lib/rom/model/attributes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/lib/rom/model/attributes.rb -------------------------------------------------------------------------------- /lib/rom/model/validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/lib/rom/model/validator.rb -------------------------------------------------------------------------------- /lib/rom/model/validator/uniqueness_validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/lib/rom/model/validator/uniqueness_validator.rb -------------------------------------------------------------------------------- /lib/rom/model/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/lib/rom/model/version.rb -------------------------------------------------------------------------------- /rakelib/mutant.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/rakelib/mutant.rake -------------------------------------------------------------------------------- /rakelib/rubocop.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/rakelib/rubocop.rake -------------------------------------------------------------------------------- /rom-model.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/rom-model.gemspec -------------------------------------------------------------------------------- /spec/integration/chainable_validator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/spec/integration/chainable_validator_spec.rb -------------------------------------------------------------------------------- /spec/shared/database.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/spec/shared/database.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/unit/attributes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/spec/unit/attributes_spec.rb -------------------------------------------------------------------------------- /spec/unit/validator/embedded_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/spec/unit/validator/embedded_spec.rb -------------------------------------------------------------------------------- /spec/unit/validator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom-rb/rom-model/HEAD/spec/unit/validator_spec.rb --------------------------------------------------------------------------------