attr_readwrite 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module AttrReadwrite
|
|
10
10
|
|
11
11
|
def attr_readwrite( *attr_names )
|
12
12
|
readwrite_attr_names = Array( attr_names ).map( &:to_s )
|
13
|
-
attr_readonly *(column_names - readwrite_attr_names - %w(id))
|
13
|
+
attr_readonly *(column_names - readwrite_attr_names - %w(id created_at updated_at))
|
14
14
|
end
|
15
15
|
|
16
16
|
def readwrite_attributes
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attr_readwrite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 1.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- C. Jason Harrelson
|