paranoia_uniqueness_validator 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -1
  3. data/.travis.yml +6 -9
  4. data/Dockerfile +13 -0
  5. data/Gemfile +3 -9
  6. data/README.md +4 -0
  7. data/docker-compose.yml +11 -0
  8. data/lib/paranoia_uniqueness_validator/validations/uniqueness_without_deleted.rb +16 -13
  9. data/lib/paranoia_uniqueness_validator/version.rb +1 -1
  10. data/paranoia_uniqueness_validator.gemspec +1 -1
  11. data/spec/dummy/.gitignore +9 -3
  12. data/spec/dummy/.rspec +1 -0
  13. data/spec/dummy/{README.rdoc → README.md} +1 -5
  14. data/spec/dummy/Rakefile +2 -2
  15. data/spec/dummy/app/assets/config/manifest.js +3 -0
  16. data/spec/dummy/app/{mailers → assets/images}/.keep +0 -0
  17. data/spec/dummy/app/assets/javascripts/application.js +4 -4
  18. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  19. data/spec/dummy/app/{models → assets/javascripts/channels}/.keep +0 -0
  20. data/spec/dummy/app/assets/stylesheets/application.css +6 -4
  21. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  22. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  23. data/spec/dummy/app/controllers/application_controller.rb +0 -2
  24. data/spec/dummy/app/jobs/application_job.rb +2 -0
  25. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  26. data/spec/dummy/app/models/application_record.rb +3 -0
  27. data/spec/dummy/app/models/dummy_model.rb +1 -1
  28. data/spec/dummy/app/models/dummy_non_nil_model.rb +1 -1
  29. data/spec/dummy/app/views/layouts/application.html.erb +9 -9
  30. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  31. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  32. data/spec/dummy/bin/rails +1 -1
  33. data/spec/dummy/bin/setup +34 -0
  34. data/spec/dummy/bin/update +29 -0
  35. data/spec/dummy/config.ru +2 -1
  36. data/spec/dummy/config/application.rb +8 -10
  37. data/spec/dummy/config/boot.rb +3 -5
  38. data/spec/dummy/config/cable.yml +9 -0
  39. data/spec/dummy/config/database.yml +7 -11
  40. data/spec/dummy/config/environment.rb +4 -4
  41. data/spec/dummy/config/environments/development.rb +30 -5
  42. data/spec/dummy/config/environments/production.rb +37 -31
  43. data/spec/dummy/config/environments/test.rb +10 -4
  44. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  45. data/spec/dummy/config/initializers/assets.rb +11 -0
  46. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  47. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  48. data/spec/dummy/config/initializers/new_framework_defaults.rb +24 -0
  49. data/spec/dummy/config/initializers/session_store.rb +1 -1
  50. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
  51. data/spec/dummy/config/puma.rb +47 -0
  52. data/spec/dummy/config/routes.rb +2 -48
  53. data/spec/dummy/config/secrets.yml +22 -0
  54. data/spec/dummy/config/spring.rb +6 -0
  55. data/spec/dummy/db/migrate/20130511080827_create_dummy_models.rb +1 -1
  56. data/spec/dummy/db/migrate/20160421194241_create_dummy_non_nil_models.rb +1 -1
  57. data/spec/dummy/db/schema.rb +5 -6
  58. data/spec/dummy/db/seeds.rb +3 -3
  59. data/spec/dummy/db/test.sqlite3 +0 -0
  60. data/spec/dummy/public/404.html +20 -11
  61. data/spec/dummy/public/422.html +20 -11
  62. data/spec/dummy/public/500.html +19 -10
  63. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  64. data/spec/dummy/public/apple-touch-icon.png +0 -0
  65. data/spec/dummy/public/robots.txt +1 -1
  66. data/spec/spec_helper.rb +1 -2
  67. data/spec/validations/uniqueness_without_deleted_spec.rb +9 -9
  68. metadata +61 -13
  69. data/spec/dummy/config/initializers/secret_token.rb +0 -12
@@ -1,12 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rake secret` to generate a secure secret key.
9
-
10
- # Make sure your secret_key_base is kept private
11
- # if you're sharing your code publicly.
12
- Dummy::Application.config.secret_key_base = '2a1e6d792dd39b4e90fa2824333f03c90231a3fabd9cb3d3a284afc5844333f50b53c0db33bfa98f01d97451c227b27c7b716ac6628cda837129e68fbce6c948'