secure_attribute 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/secure_attribute.rb +1 -1
- data/lib/secure_attribute/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41227402bd4b196d9409252d07f95f913c6481c3
|
4
|
+
data.tar.gz: ff76e02d5dc5ec0c77fb0fb8cd3c6030be6ea31b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ee22779d78867f5650776e6f9bdcd9d9ed367d9a5e10a801ab78fb0e359d28a8d722a0f264033890c4688428ca8aef3ff7d46c2de8202f50f83836471ad6ea2
|
7
|
+
data.tar.gz: 793ba062c1e04d8e653d1d1237e3904e7b31f014fd3dd10c65e0c8c0317cf64555fb366597da3aa822c748cd76a77c1a7051c0b760532099670da25aa890a161
|
data/lib/secure_attribute.rb
CHANGED
@@ -68,7 +68,7 @@ module SecureAttribute
|
|
68
68
|
|
69
69
|
def ensure_attribute_accessors_are_defined(name)
|
70
70
|
if defined?(ActiveRecord::Base) && self < ActiveRecord::Base
|
71
|
-
|
71
|
+
define_attribute_method(name)
|
72
72
|
else
|
73
73
|
attr_writer(name) unless respond_to?("#{name}=")
|
74
74
|
attr_reader(name) unless respond_to?(name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secure_attribute
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Bernard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Encrypt attributes of any Ruby object or ActiveRecord model.
|
14
14
|
email:
|
@@ -39,9 +39,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
39
|
version: '0'
|
40
40
|
requirements: []
|
41
41
|
rubyforge_project:
|
42
|
-
rubygems_version: 2.
|
42
|
+
rubygems_version: 2.5.1
|
43
43
|
signing_key:
|
44
44
|
specification_version: 4
|
45
45
|
summary: Encrypt attributes of any Ruby object or ActiveRecord model.
|
46
46
|
test_files: []
|
47
|
-
has_rdoc:
|