store_model 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/store_model/model.rb +2 -1
- data/lib/store_model/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 675a1eed74c9c24e82a9cdc3ad86135de65fb9cef761b87a5dbb4d2ddf904fc9
|
4
|
+
data.tar.gz: 7d1ac5c24cbf430c70109165381b55ea53a35ce331a7cbf65aa5ed9a59cdcbf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '098c71eee5aea9204a9a305dec5233040a55f80da73335bdf86b754f5de82ab90931d05cbcec7cb0fb187f175ed4c59bb985898dda853469a535f7ca023379c3'
|
7
|
+
data.tar.gz: e60c5f89a0f1c43e48433ecac9b91976567a696887fe0d3a4cd959ac14fa927d34f9876b2ace988c05bd67157976dc2b5cbd4033a88030b21952fa4f3e62792c
|
data/lib/store_model/model.rb
CHANGED
@@ -51,7 +51,8 @@ module StoreModel
|
|
51
51
|
#
|
52
52
|
# @return [String]
|
53
53
|
def inspect
|
54
|
-
attribute_string = attributes.map { |name, value| "#{name}: #{value
|
54
|
+
attribute_string = attributes.map { |name, value| "#{name}: #{value.nil? ? 'nil' : value}" }
|
55
|
+
.join(", ")
|
55
56
|
"#<#{self.class.name} #{attribute_string}>"
|
56
57
|
end
|
57
58
|
|
data/lib/store_model/version.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: store_model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DmitryTsepelev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|