lookup_by 0.10.9 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +17 -9
- data/Appraisals +6 -6
- data/CHANGELOG.md +58 -0
- data/Gemfile +6 -10
- data/MIT-LICENSE +1 -1
- data/README.md +30 -27
- data/Rakefile +20 -2
- data/circle.yml +4 -2
- data/gemfiles/rails_6.0.gemfile +17 -0
- data/gemfiles/rails_6.1.gemfile +17 -0
- data/gemfiles/rails_7.0.gemfile +17 -0
- data/lib/lookup_by/association.rb +9 -3
- data/lib/lookup_by/cache.rb +17 -21
- data/lib/lookup_by/caching/safe_lru.rb +1 -1
- data/lib/lookup_by/hooks/formtastic.rb +2 -1
- data/lib/lookup_by/hooks/simple_form.rb +2 -1
- data/lib/lookup_by/lookup.rb +27 -13
- data/lib/lookup_by/version.rb +1 -1
- data/lib/lookup_by.rb +2 -0
- data/lookup_by.gemspec +2 -2
- data/spec/association_spec.rb +1 -0
- data/spec/cache_spec.rb +10 -0
- data/spec/{dummy → internal}/app/models/account.rb +0 -0
- data/spec/{dummy → internal}/app/models/address.rb +0 -0
- data/spec/{dummy → internal}/app/models/city.rb +0 -0
- data/spec/{dummy → internal}/app/models/country.rb +0 -0
- data/spec/{dummy → internal}/app/models/email_address.rb +0 -0
- data/spec/{dummy → internal}/app/models/ip_address.rb +0 -0
- data/spec/{dummy → internal}/app/models/path.rb +0 -0
- data/spec/{dummy → internal}/app/models/phone_number.rb +0 -0
- data/spec/{dummy → internal}/app/models/postal_code.rb +0 -0
- data/spec/{dummy → internal}/app/models/raisin.rb +0 -0
- data/spec/{dummy → internal}/app/models/read_through_raisin.rb +0 -0
- data/spec/{dummy → internal}/app/models/state.rb +0 -0
- data/spec/{dummy → internal}/app/models/status.rb +0 -0
- data/spec/{dummy → internal}/app/models/street.rb +0 -0
- data/spec/{dummy → internal}/app/models/uncacheable.rb +0 -0
- data/spec/{dummy → internal}/app/models/unfindable.rb +0 -0
- data/spec/{dummy → internal}/app/models/unsynchronizable.rb +0 -0
- data/spec/{dummy → internal}/app/models/user_agent.rb +0 -0
- data/spec/internal/config/database.yml +8 -0
- data/spec/internal/db/schema.rb +49 -0
- data/spec/{dummy → internal}/lib/missing.rb +0 -0
- data/spec/internal/log/.gitignore +1 -0
- data/spec/lookup_by_spec.rb +22 -6
- data/spec/rails_helper.rb +6 -13
- data/spec/support/shared_examples_for_a_lookup.rb +28 -7
- metadata +58 -94
- data/gemfiles/rails_4.0.gemfile +0 -22
- data/gemfiles/rails_4.1.gemfile +0 -22
- data/gemfiles/rails_4.2.gemfile +0 -22
- data/spec/dummy/Rakefile +0 -22
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/config/application.rb +0 -28
- data/spec/dummy/config/boot.rb +0 -6
- data/spec/dummy/config/database.yml +0 -44
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -20
- data/spec/dummy/config/environments/test.rb +0 -19
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/locales/en.yml +0 -23
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/db/migrate/20121019040009_create_tables.rb +0 -41
- data/spec/dummy/db/seeds.rb +0 -1
- data/spec/dummy/db/structure.sql +0 -1053
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/script/rails +0 -6
data/spec/dummy/log/.gitkeep
DELETED
File without changes
|
data/spec/dummy/script/rails
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|