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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +17 -9
  4. data/Appraisals +4 -4
  5. data/Gemfile +3 -1
  6. data/README.md +11 -15
  7. data/Rakefile +20 -2
  8. data/circle.yml +4 -2
  9. data/gemfiles/rails_4.1.gemfile +1 -1
  10. data/gemfiles/rails_4.2.gemfile +1 -1
  11. data/gemfiles/{rails_4.0.gemfile → rails_5.0.gemfile} +2 -2
  12. data/lib/lookup_by.rb +2 -0
  13. data/lib/lookup_by/cache.rb +15 -20
  14. data/lib/lookup_by/caching/safe_lru.rb +1 -1
  15. data/lib/lookup_by/lookup.rb +26 -12
  16. data/lib/lookup_by/version.rb +1 -1
  17. data/lookup_by.gemspec +1 -1
  18. data/spec/association_spec.rb +1 -0
  19. data/spec/{dummy → internal}/app/models/account.rb +0 -0
  20. data/spec/{dummy → internal}/app/models/address.rb +0 -0
  21. data/spec/{dummy → internal}/app/models/city.rb +0 -0
  22. data/spec/{dummy → internal}/app/models/country.rb +0 -0
  23. data/spec/{dummy → internal}/app/models/email_address.rb +0 -0
  24. data/spec/{dummy → internal}/app/models/ip_address.rb +0 -0
  25. data/spec/{dummy → internal}/app/models/path.rb +0 -0
  26. data/spec/{dummy → internal}/app/models/phone_number.rb +0 -0
  27. data/spec/{dummy → internal}/app/models/postal_code.rb +0 -0
  28. data/spec/{dummy → internal}/app/models/raisin.rb +0 -0
  29. data/spec/{dummy → internal}/app/models/read_through_raisin.rb +0 -0
  30. data/spec/{dummy → internal}/app/models/state.rb +0 -0
  31. data/spec/{dummy → internal}/app/models/status.rb +0 -0
  32. data/spec/{dummy → internal}/app/models/street.rb +0 -0
  33. data/spec/{dummy → internal}/app/models/uncacheable.rb +0 -0
  34. data/spec/{dummy → internal}/app/models/unfindable.rb +0 -0
  35. data/spec/{dummy → internal}/app/models/unsynchronizable.rb +0 -0
  36. data/spec/{dummy → internal}/app/models/user_agent.rb +0 -0
  37. data/spec/internal/config/database.yml +8 -0
  38. data/spec/internal/db/schema.rb +48 -0
  39. data/spec/{dummy → internal}/lib/missing.rb +0 -0
  40. data/spec/internal/log/.gitignore +1 -0
  41. data/spec/lookup_by_spec.rb +19 -5
  42. data/spec/rails_helper.rb +5 -6
  43. data/spec/support/shared_examples_for_a_lookup.rb +28 -7
  44. metadata +50 -86
  45. data/spec/dummy/Rakefile +0 -22
  46. data/spec/dummy/app/models/.gitkeep +0 -0
  47. data/spec/dummy/bin/bundle +0 -3
  48. data/spec/dummy/bin/rails +0 -4
  49. data/spec/dummy/bin/rake +0 -4
  50. data/spec/dummy/config.ru +0 -4
  51. data/spec/dummy/config/application.rb +0 -28
  52. data/spec/dummy/config/boot.rb +0 -6
  53. data/spec/dummy/config/database.yml +0 -44
  54. data/spec/dummy/config/environment.rb +0 -5
  55. data/spec/dummy/config/environments/development.rb +0 -20
  56. data/spec/dummy/config/environments/test.rb +0 -19
  57. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  58. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  59. data/spec/dummy/config/initializers/inflections.rb +0 -16
  60. data/spec/dummy/config/locales/en.yml +0 -23
  61. data/spec/dummy/db/migrate/20121019040009_create_tables.rb +0 -41
  62. data/spec/dummy/db/seeds.rb +0 -1
  63. data/spec/dummy/db/structure.sql +0 -1053
  64. data/spec/dummy/log/.gitkeep +0 -0
  65. data/spec/dummy/script/rails +0 -6
File without changes
@@ -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'