assignable_values 0.11.3 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +41 -9
- data/Gemfile +16 -0
- data/Gemfile.lock +70 -0
- data/README.md +16 -5
- data/Rakefile +5 -69
- data/assignable_values.gemspec +2 -7
- data/gemfiles/Gemfile.2.3 +16 -0
- data/gemfiles/Gemfile.2.3.lock +40 -0
- data/gemfiles/Gemfile.3.2 +16 -0
- data/gemfiles/Gemfile.3.2.lock +65 -0
- data/gemfiles/Gemfile.4.2 +16 -0
- data/gemfiles/Gemfile.4.2.lock +70 -0
- data/gemfiles/Gemfile.5.0 +16 -0
- data/gemfiles/Gemfile.5.0.lock +67 -0
- data/lib/assignable_values/active_record/restriction/base.rb +5 -5
- data/lib/assignable_values/active_record/restriction/belongs_to_association.rb +1 -1
- data/lib/assignable_values/active_record/restriction/scalar_attribute.rb +4 -4
- data/lib/assignable_values/version.rb +1 -1
- data/spec/{shared/assignable_values → assignable_values}/active_record_spec.rb +3 -1
- data/spec/{shared/assignable_values → assignable_values}/humanized_value_spec.rb +0 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/support/database.rb +16 -0
- data/spec/support/database.sample.yml +5 -0
- data/spec/support/database.travis.yml +4 -0
- data/spec/{shared/app_root/config/locales/en.yml → support/i18n.yml} +0 -0
- data/spec/support/models.rb +20 -0
- metadata +36 -226
- data/spec/rails-2.3/.bundle/config +0 -2
- data/spec/rails-2.3/Gemfile +0 -14
- data/spec/rails-2.3/Gemfile.lock +0 -68
- data/spec/rails-2.3/Rakefile +0 -11
- data/spec/rails-2.3/app_root/config/boot.rb +0 -129
- data/spec/rails-2.3/app_root/config/database.yml +0 -4
- data/spec/rails-2.3/app_root/config/environment.rb +0 -14
- data/spec/rails-2.3/app_root/config/environments/test.rb +0 -28
- data/spec/rails-2.3/app_root/config/preinitializer.rb +0 -20
- data/spec/rails-2.3/app_root/config/routes.rb +0 -4
- data/spec/rails-2.3/app_root/lib/console_with_fixtures.rb +0 -4
- data/spec/rails-2.3/app_root/log/.gitignore +0 -1
- data/spec/rails-2.3/app_root/script/console +0 -7
- data/spec/rails-2.3/rcov.opts +0 -2
- data/spec/rails-2.3/spec.opts +0 -4
- data/spec/rails-2.3/spec/spec_helper.rb +0 -25
- data/spec/rails-3.2/.bundle/config +0 -2
- data/spec/rails-3.2/.rspec +0 -2
- data/spec/rails-3.2/Gemfile +0 -10
- data/spec/rails-3.2/Gemfile.lock +0 -132
- data/spec/rails-3.2/Rakefile +0 -10
- data/spec/rails-3.2/app_root/.gitignore +0 -4
- data/spec/rails-3.2/app_root/config/application.rb +0 -32
- data/spec/rails-3.2/app_root/config/boot.rb +0 -13
- data/spec/rails-3.2/app_root/config/database.yml +0 -4
- data/spec/rails-3.2/app_root/config/environment.rb +0 -5
- data/spec/rails-3.2/app_root/config/environments/test.rb +0 -35
- data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-3.2/app_root/config/initializers/inflections.rb +0 -10
- data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +0 -5
- data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +0 -7
- data/spec/rails-3.2/app_root/config/initializers/session_store.rb +0 -8
- data/spec/rails-3.2/app_root/config/routes.rb +0 -58
- data/spec/rails-3.2/app_root/lib/tasks/.gitkeep +0 -0
- data/spec/rails-3.2/app_root/log/.gitkeep +0 -0
- data/spec/rails-3.2/app_root/script/rails +0 -6
- data/spec/rails-3.2/rcov.opts +0 -2
- data/spec/rails-3.2/spec/spec_helper.rb +0 -25
- data/spec/rails-4.1/.bundle/config +0 -2
- data/spec/rails-4.1/.rspec +0 -2
- data/spec/rails-4.1/.ruby-version +0 -1
- data/spec/rails-4.1/Gemfile +0 -16
- data/spec/rails-4.1/Gemfile.lock +0 -146
- data/spec/rails-4.1/Rakefile +0 -12
- data/spec/rails-4.1/app_root/.gitignore +0 -16
- data/spec/rails-4.1/app_root/bin/bundle +0 -3
- data/spec/rails-4.1/app_root/bin/rails +0 -8
- data/spec/rails-4.1/app_root/bin/rake +0 -8
- data/spec/rails-4.1/app_root/bin/spring +0 -18
- data/spec/rails-4.1/app_root/config/application.rb +0 -28
- data/spec/rails-4.1/app_root/config/boot.rb +0 -4
- data/spec/rails-4.1/app_root/config/database.yml +0 -4
- data/spec/rails-4.1/app_root/config/environment.rb +0 -5
- data/spec/rails-4.1/app_root/config/environments/development.rb +0 -37
- data/spec/rails-4.1/app_root/config/environments/production.rb +0 -83
- data/spec/rails-4.1/app_root/config/environments/test.rb +0 -39
- data/spec/rails-4.1/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-4.1/app_root/config/initializers/cookies_serializer.rb +0 -3
- data/spec/rails-4.1/app_root/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/rails-4.1/app_root/config/initializers/inflections.rb +0 -16
- data/spec/rails-4.1/app_root/config/initializers/mime_types.rb +0 -4
- data/spec/rails-4.1/app_root/config/initializers/session_store.rb +0 -3
- data/spec/rails-4.1/app_root/config/initializers/wrap_parameters.rb +0 -14
- data/spec/rails-4.1/app_root/config/routes.rb +0 -3
- data/spec/rails-4.1/app_root/config/secrets.yml +0 -22
- data/spec/rails-4.1/rcov.opts +0 -2
- data/spec/rails-4.1/spec/spec_helper.rb +0 -25
- data/spec/shared/app_root/app/controllers/application_controller.rb +0 -2
- data/spec/shared/app_root/app/helpers/application_helper.rb +0 -3
- data/spec/shared/app_root/app/models/artist.rb +0 -5
- data/spec/shared/app_root/app/models/recording/vinyl.rb +0 -5
- data/spec/shared/app_root/app/models/song.rb +0 -7
- data/spec/shared/app_root/config/database.yml +0 -4
- data/spec/shared/app_root/db/migrate/001_create_artists.rb +0 -11
- data/spec/shared/app_root/db/migrate/002_create_songs.rb +0 -16
- data/spec/shared/app_root/db/migrate/003_create_recordings.rb +0 -13