devise_invitable 2.0.2 → 2.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/README.md +696 -0
  4. data/app/controllers/devise/invitations_controller.rb +3 -3
  5. data/config/locales/ar.yml +23 -0
  6. data/config/locales/ca.yml +32 -0
  7. data/config/locales/da.yml +41 -0
  8. data/config/locales/de.yml +31 -0
  9. data/config/locales/es.yml +31 -0
  10. data/config/locales/et.yml +23 -0
  11. data/config/locales/fa.yml +31 -0
  12. data/config/locales/fr.yml +31 -0
  13. data/config/locales/id.yml +31 -0
  14. data/config/locales/it.yml +31 -0
  15. data/config/locales/ja.yml +31 -0
  16. data/config/locales/ko.yml +24 -0
  17. data/config/locales/nl.yml +32 -0
  18. data/config/locales/no.yml +17 -0
  19. data/config/locales/pl.yml +31 -0
  20. data/config/locales/pt-BR.yml +23 -0
  21. data/config/locales/pt.yml +23 -0
  22. data/config/locales/ru.yml +23 -0
  23. data/config/locales/tr.yml +24 -0
  24. data/config/locales/ua.yml +31 -0
  25. data/config/locales/vi.yml +25 -0
  26. data/config/locales/zh-CN.yml +31 -0
  27. data/config/locales/zh-HK.yml +31 -0
  28. data/config/locales/zh-TW.yml +34 -0
  29. data/lib/devise_invitable/controllers/helpers.rb +4 -0
  30. data/lib/devise_invitable/mapping.rb +4 -2
  31. data/lib/devise_invitable/models/authenticatable.rb +7 -1
  32. data/lib/devise_invitable/models.rb +16 -12
  33. data/lib/devise_invitable/version.rb +1 -1
  34. data/lib/generators/active_record/templates/migration.rb +0 -1
  35. data/lib/generators/devise_invitable/devise_invitable_generator.rb +1 -1
  36. data/test/functional/controller_helpers_test.rb +10 -0
  37. data/test/generators_test.rb +3 -2
  38. data/test/integration/invitation_test.rb +1 -1
  39. data/test/mailers/invitation_mail_test.rb +1 -1
  40. data/test/model_tests_helper.rb +1 -1
  41. data/test/models/invitable_test.rb +80 -11
  42. data/test/orm/active_record.rb +10 -5
  43. data/test/rails_app/db/migrate/20100401102949_create_tables.rb +0 -2
  44. data/test/test_helper.rb +10 -2
  45. metadata +31 -11
  46. data/README.rdoc +0 -439
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 961c147ada964a1dd6c4c41729e727a85137461b48073d2969c40ef288a269d2
4
- data.tar.gz: 5d3d7f9ed3ac1293f0f3d94b16765e295f4fc9650181e972c966547d1cc801d3
3
+ metadata.gz: 73e4a8fc4cdc87b6f5397619a737fe13c6376b9534bf9ba810d9e2355bc2b588
4
+ data.tar.gz: 8dac212d256560b1cafff5e9193ffe72ddb988e52cb232a630668ac883d1b4ff
5
5
  SHA512:
6
- metadata.gz: ad864222c8edabededd48a8cc88cc4651fb2e2601d7dfe83f9e5137e9ec987026777ee51ead0a079114e88f958e26c633a84105747c73b034204b20f600911a3
7
- data.tar.gz: 07824a77343de171fd3d82c3f415171bf82ff8fac27c38af215b5eb37ff5b90d0ae04edcc1d3a75b23966c1256033c6ef19946af86ecb322c3b4f08820444cb7
6
+ metadata.gz: 359b97a7be863db6e484282887e075723011b5d06fd38a02f7e5a761872a6a002838776bd46c082c3f94360f53e2248a8432a5a7cabdae6ba7d457db42ef7168
7
+ data.tar.gz: 848f10d801857bdb53d64348c3492a7d2e227611deab7d62d54af567eb03310787a4f2533b2366c236e0e54b701aa32642ee9f084aaa26ea44145ea8bd44ad2e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,35 @@
1
+ ## 2.0.10
2
+ - Use invited_by_class_name and invited_by_foreign_key settings from the model
3
+
4
+ ## 2.0.9
5
+ - Do not accept expired invitation on password reset ([#897](https://github.com/scambra/devise_invitable/pull/897))
6
+
7
+ ## 2.0.8
8
+ - Fix for turbo stream
9
+
10
+ ## 2.0.7
11
+ - Allow customizing invalid_token_path_for, the path to redirect users who try to accept with invalid token
12
+ - Don't override registrations controller in routes if module option is used
13
+ - Fix typo in spanish translation, add Catalan translation ([#857](https://github.com/scambra/devise_invitable/pull/857))
14
+ - Fix for ruby 3.2.0
15
+
16
+ ## 2.0.6
17
+ - Fix submit form failure with turbolinks, fixes ([#865](https://github.com/scambra/devise_invitable/issues/865))
18
+ - Fix obsolete symbols in German translation ([#864](https://github.com/scambra/devise_invitable/pull/864))
19
+ - Allow to provide validate option to the instance method "invite!", default to follow the setting validate_on_invite
20
+
21
+ ## 2.0.5
22
+ - Fix NoMethodError in random_password when validatable is not used ([#850](https://github.com/scambra/devise_invitable/pull/850))
23
+
24
+ ## 2.0.4
25
+ - Fix devise deprecations ([#842](https://github.com/scambra/devise_invitable/pull/842))
26
+ - Update translations ([#844](https://github.com/scambra/devise_invitable/pull/844), [#845](https://github.com/scambra/devise_invitable/pull/845))
27
+ - Fix/enforce initial password length to follow devise ([#848](https://github.com/scambra/devise_invitable/pull/848))
28
+
29
+ ## 2.0.3
30
+ - Add locales ([#834](https://github.com/scambra/devise_invitable/pull/834), [#835](https://github.com/scambra/devise_invitable/pull/835))
31
+ - Remove index on invitations_count column ([#830](https://github.com/scambra/devise_invitable/pull/830))
32
+
1
33
  ## 2.0.2
2
34
  - Fix ruby 2.7 deprecation warning
3
35