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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/README.md +696 -0
- data/app/controllers/devise/invitations_controller.rb +3 -3
- data/config/locales/ar.yml +23 -0
- data/config/locales/ca.yml +32 -0
- data/config/locales/da.yml +41 -0
- data/config/locales/de.yml +31 -0
- data/config/locales/es.yml +31 -0
- data/config/locales/et.yml +23 -0
- data/config/locales/fa.yml +31 -0
- data/config/locales/fr.yml +31 -0
- data/config/locales/id.yml +31 -0
- data/config/locales/it.yml +31 -0
- data/config/locales/ja.yml +31 -0
- data/config/locales/ko.yml +24 -0
- data/config/locales/nl.yml +32 -0
- data/config/locales/no.yml +17 -0
- data/config/locales/pl.yml +31 -0
- data/config/locales/pt-BR.yml +23 -0
- data/config/locales/pt.yml +23 -0
- data/config/locales/ru.yml +23 -0
- data/config/locales/tr.yml +24 -0
- data/config/locales/ua.yml +31 -0
- data/config/locales/vi.yml +25 -0
- data/config/locales/zh-CN.yml +31 -0
- data/config/locales/zh-HK.yml +31 -0
- data/config/locales/zh-TW.yml +34 -0
- data/lib/devise_invitable/controllers/helpers.rb +4 -0
- data/lib/devise_invitable/mapping.rb +4 -2
- data/lib/devise_invitable/models/authenticatable.rb +7 -1
- data/lib/devise_invitable/models.rb +16 -12
- data/lib/devise_invitable/version.rb +1 -1
- data/lib/generators/active_record/templates/migration.rb +0 -1
- data/lib/generators/devise_invitable/devise_invitable_generator.rb +1 -1
- data/test/functional/controller_helpers_test.rb +10 -0
- data/test/generators_test.rb +3 -2
- data/test/integration/invitation_test.rb +1 -1
- data/test/mailers/invitation_mail_test.rb +1 -1
- data/test/model_tests_helper.rb +1 -1
- data/test/models/invitable_test.rb +80 -11
- data/test/orm/active_record.rb +10 -5
- data/test/rails_app/db/migrate/20100401102949_create_tables.rb +0 -2
- data/test/test_helper.rb +10 -2
- metadata +31 -11
- data/README.rdoc +0 -439
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73e4a8fc4cdc87b6f5397619a737fe13c6376b9534bf9ba810d9e2355bc2b588
|
|
4
|
+
data.tar.gz: 8dac212d256560b1cafff5e9193ffe72ddb988e52cb232a630668ac883d1b4ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|