has_secure_attribute 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{MIT-LICENSE → MIT} +0 -0
- data/README.md +1 -0
- data/lib/has_secure_attribute/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ff53867f1679d30798e00a65bf1f5857a9e5dbb
|
4
|
+
data.tar.gz: d7b68c80ddcec2ee55eee1705ee2ca11480a4143
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab847858fd13348f213ede32e136b0ba88269e401cd68eaf41c8a31702d79e1cd9f2d5f23d176aad60e1a325ac90679e9317b1e39ee310d245baf5f75882f747
|
7
|
+
data.tar.gz: 8f5603f7dfc36b9801d7f27f7e2006d496b26c803362201c72d7993e0bb83a774b520f7579cf2341d2e4b2a284270d70347d21f00ef650082c7cabb282c957cb
|
data/{MIT-LICENSE → MIT}
RENAMED
File without changes
|
data/README.md
CHANGED
@@ -37,6 +37,7 @@ In the above example:
|
|
37
37
|
* It defines the method `authenticate_security_answer(answer_to_authenticate)` which returns `false` if the answer given does not correspond to the saved digest, or returns the object instance itself if it does.
|
38
38
|
|
39
39
|
__Case Insensitive Values__: you can do `has_secure_security_answer case_insensitive: false` if you want to handle values that match even if they differ on case. Then, `answer` will match `Answer`, for example.
|
40
|
+
|
40
41
|
__Do not use confirmation__: you can do `has_secure_security_answer confirm: false` if you do not want to have confirmation attribute for the attribute you are securing.
|
41
42
|
|
42
43
|
Do you want to test it?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_secure_attribute
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Panayotis Matsinopoulos
|
@@ -131,9 +131,10 @@ files:
|
|
131
131
|
- spec/db/migrate/db_helper.rb
|
132
132
|
- spec/db/migrate/create_test_model_with_attributes.rb
|
133
133
|
- README.md
|
134
|
-
- MIT
|
134
|
+
- MIT
|
135
135
|
homepage: https://github.com/pmatsinopoulos/has_secure_attribute
|
136
|
-
licenses:
|
136
|
+
licenses:
|
137
|
+
- MIT
|
137
138
|
metadata: {}
|
138
139
|
post_install_message:
|
139
140
|
rdoc_options: []
|