dynamini 2.7.7 → 2.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -15
- data/dynamini.gemspec +1 -1
- data/lib/dynamini/dirty.rb +1 -0
- data/spec/dynamini/base_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01ea8a754a012517d0bf7afbee76a77a450b9ac0
|
4
|
+
data.tar.gz: c1c776b9840febccb67de36ed21488ba2f870c1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2536bae8f8bac94a056275c7a2bc342f8eddab779f1b72181f23dca5b6f31601d71f7ebe2fb3c2be546c77c284963ae39cd531370db7a59890e43537f569071f
|
7
|
+
data.tar.gz: 0d1f7f169d57f53d86fe248e6ecd8aea99f0206f0dc0caf5df717e8a2898db06eb3313db97a55dffb6b743f381bbcae78e28fc4c7cbde66b3c2c6fe11374e45d
|
data/Gemfile.lock
CHANGED
@@ -1,31 +1,30 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dynamini (2.7.
|
4
|
+
dynamini (2.7.8)
|
5
5
|
activemodel (>= 3, < 5.0)
|
6
6
|
aws-sdk (~> 2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (4.2.
|
12
|
-
activesupport (= 4.2.
|
11
|
+
activemodel (4.2.8)
|
12
|
+
activesupport (= 4.2.8)
|
13
13
|
builder (~> 3.1)
|
14
|
-
activesupport (4.2.
|
14
|
+
activesupport (4.2.8)
|
15
15
|
i18n (~> 0.7)
|
16
|
-
json (~> 1.7, >= 1.7.7)
|
17
16
|
minitest (~> 5.1)
|
18
17
|
thread_safe (~> 0.3, >= 0.3.4)
|
19
18
|
tzinfo (~> 1.1)
|
20
|
-
aws-sdk (2.
|
21
|
-
aws-sdk-resources (= 2.
|
22
|
-
aws-sdk-core (2.
|
19
|
+
aws-sdk (2.7.15)
|
20
|
+
aws-sdk-resources (= 2.7.15)
|
21
|
+
aws-sdk-core (2.7.15)
|
23
22
|
aws-sigv4 (~> 1.0)
|
24
23
|
jmespath (~> 1.0)
|
25
|
-
aws-sdk-resources (2.
|
26
|
-
aws-sdk-core (= 2.
|
24
|
+
aws-sdk-resources (2.7.15)
|
25
|
+
aws-sdk-core (= 2.7.15)
|
27
26
|
aws-sigv4 (1.0.0)
|
28
|
-
builder (3.2.
|
27
|
+
builder (3.2.3)
|
29
28
|
coderay (1.1.0)
|
30
29
|
diff-lcs (1.2.5)
|
31
30
|
ffi (1.9.10)
|
@@ -50,9 +49,8 @@ GEM
|
|
50
49
|
guard-shell (0.7.1)
|
51
50
|
guard (>= 2.0.0)
|
52
51
|
guard-compat (~> 1.0)
|
53
|
-
i18n (0.
|
52
|
+
i18n (0.8.1)
|
54
53
|
jmespath (1.3.1)
|
55
|
-
json (1.8.3)
|
56
54
|
listen (3.0.3)
|
57
55
|
rb-fsevent (>= 0.9.3)
|
58
56
|
rb-inotify (>= 0.9)
|
@@ -87,7 +85,7 @@ GEM
|
|
87
85
|
shellany (0.0.1)
|
88
86
|
slop (3.6.0)
|
89
87
|
thor (0.19.1)
|
90
|
-
thread_safe (0.3.
|
88
|
+
thread_safe (0.3.6)
|
91
89
|
tzinfo (1.2.2)
|
92
90
|
thread_safe (~> 0.1)
|
93
91
|
|
@@ -103,4 +101,4 @@ DEPENDENCIES
|
|
103
101
|
rspec (~> 3)
|
104
102
|
|
105
103
|
BUNDLED WITH
|
106
|
-
1.
|
104
|
+
1.14.5
|
data/dynamini.gemspec
CHANGED
data/lib/dynamini/dirty.rb
CHANGED
data/spec/dynamini/base_spec.rb
CHANGED
@@ -360,6 +360,14 @@ describe Dynamini::Base do
|
|
360
360
|
expect(existing_model.created_at.to_s).to_not eq(time.to_s)
|
361
361
|
end
|
362
362
|
end
|
363
|
+
|
364
|
+
context 'a record with changes present' do
|
365
|
+
it 'should reset @original_values' do
|
366
|
+
model = Dynamini::Base.create(id: '6789')
|
367
|
+
model.save
|
368
|
+
expect(model.instance_variable_get(:@original_values)).to be_empty
|
369
|
+
end
|
370
|
+
end
|
363
371
|
end
|
364
372
|
|
365
373
|
describe 'table config' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamini
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Ward
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-02-
|
18
|
+
date: 2017-02-27 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: activemodel
|