snapshotable 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/snapshotable/model.rb +1 -1
- data/lib/snapshotable/version.rb +1 -1
- metadata +11 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2734f4bc2e42716529586c9c31563ad2b7a2cefff99bede552db6b4b0775645d
|
4
|
+
data.tar.gz: a9db0774e79b3d9502ad7c291c4aafdabd999fd4e52d4738538c684bf9ce31e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 605ab56c55243257897995319149ea3166bd2c9a72f0c239c820ff5b84e722f09a636f43f73d118148b77d68a7b56bf73ef3971f640cc733178b085b8141de8f
|
7
|
+
data.tar.gz: db48a7798c03ccef1a36425bca5d075ba6a6d533f381b042cc0d62d355579420eee9cea6e26c4949aa1e5edee5f11ba8c6382d705e395da5184cdc90de59cd1b
|
data/lib/snapshotable/model.rb
CHANGED
@@ -58,7 +58,7 @@ module Snapshotable
|
|
58
58
|
.except(*self.class.attributes_to_ignore_on_diff)
|
59
59
|
.with_indifferent_access
|
60
60
|
|
61
|
-
|
61
|
+
Hashdiff.diff(snapshot_to_compare, snapshot.with_indifferent_access).any?
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
data/lib/snapshotable/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snapshotable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- João Batista Marinho
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -57,20 +57,20 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '1'
|
61
61
|
- - "<"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '2'
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
70
|
+
version: '1'
|
71
71
|
- - "<"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
73
|
+
version: '2'
|
74
74
|
- !ruby/object:Gem::Dependency
|
75
75
|
name: bundler
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,14 +111,14 @@ dependencies:
|
|
111
111
|
requirements:
|
112
112
|
- - "~>"
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version:
|
114
|
+
version: 1.2.3
|
115
115
|
type: :development
|
116
116
|
prerelease: false
|
117
117
|
version_requirements: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
119
|
- - "~>"
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
121
|
+
version: 1.2.3
|
122
122
|
- !ruby/object:Gem::Dependency
|
123
123
|
name: pry-rails
|
124
124
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,14 +145,14 @@ dependencies:
|
|
145
145
|
requirements:
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version: '
|
148
|
+
version: '13.0'
|
149
149
|
type: :development
|
150
150
|
prerelease: false
|
151
151
|
version_requirements: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
153
|
- - "~>"
|
154
154
|
- !ruby/object:Gem::Version
|
155
|
-
version: '
|
155
|
+
version: '13.0'
|
156
156
|
- !ruby/object:Gem::Dependency
|
157
157
|
name: rspec
|
158
158
|
requirement: !ruby/object:Gem::Requirement
|
@@ -236,8 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
236
|
- !ruby/object:Gem::Version
|
237
237
|
version: '0'
|
238
238
|
requirements: []
|
239
|
-
|
240
|
-
rubygems_version: 2.6.14
|
239
|
+
rubygems_version: 3.0.6
|
241
240
|
signing_key:
|
242
241
|
specification_version: 4
|
243
242
|
summary: Stores a model attributes in a time period.
|