lookup_by 0.10.9 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +17 -9
- data/Appraisals +4 -4
- data/Gemfile +3 -1
- data/README.md +11 -15
- data/Rakefile +20 -2
- data/circle.yml +4 -2
- data/gemfiles/rails_4.1.gemfile +1 -1
- data/gemfiles/rails_4.2.gemfile +1 -1
- data/gemfiles/{rails_4.0.gemfile → rails_5.0.gemfile} +2 -2
- data/lib/lookup_by.rb +2 -0
- data/lib/lookup_by/cache.rb +15 -20
- data/lib/lookup_by/caching/safe_lru.rb +1 -1
- data/lib/lookup_by/lookup.rb +26 -12
- data/lib/lookup_by/version.rb +1 -1
- data/lookup_by.gemspec +1 -1
- data/spec/association_spec.rb +1 -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 +48 -0
- data/spec/{dummy → internal}/lib/missing.rb +0 -0
- data/spec/internal/log/.gitignore +1 -0
- data/spec/lookup_by_spec.rb +19 -5
- data/spec/rails_helper.rb +5 -6
- data/spec/support/shared_examples_for_a_lookup.rb +28 -7
- metadata +50 -86
- 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.ru +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/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'
|