unidom-action 1.17.2 → 1.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/models/unidom/action/acting_spec.rb +2 -0
- data/lib/rspec/models/unidom/action/obsolescing_spec.rb +2 -0
- data/lib/rspec/models/unidom/action/searching_spec.rb +2 -0
- data/lib/rspec/models/unidom/action/state_transition_spec.rb +2 -0
- data/lib/unidom/action/version.rb +1 -1
- 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: d031d78eb3e76f76772aa5d2fdd3ad2a719f5616
|
4
|
+
data.tar.gz: 236af45873b675586a8a29056de42b029ab1a881
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb5d7eedbc9fd169bbbe5f3b71fa6249ad7ab7ee2644e3f5a4a7305aeb5bc64360c1eca3ebfb8bbc04ae0bce7d78e2a4829b08e73f83d3a8bb7b916a2a873896
|
7
|
+
data.tar.gz: 9e1a9794c46b3cb60adbf1dfc63407efc09ea688b3fa44167d25f7d68a684e857846578b925478432deec31ce100e93c022079be8968b02f30bc2a932d7528b6
|
@@ -27,6 +27,8 @@ describe Unidom::Action::Acting, type: :model do
|
|
27
27
|
|
28
28
|
it_behaves_like 'belongs_to', model_attributes, :reason, Unidom::Action::Reason, { name: 'Some Reason' }
|
29
29
|
|
30
|
+
it_behaves_like 'monomorphic scope', model_attributes, :caused_by, :reason
|
31
|
+
|
30
32
|
end
|
31
33
|
|
32
34
|
end
|
@@ -25,6 +25,8 @@ describe Unidom::Action::Obsolescing, type: :model do
|
|
25
25
|
|
26
26
|
it_behaves_like 'belongs_to', model_attributes, :reason, Unidom::Action::Reason, { name: 'Some Reason' }
|
27
27
|
|
28
|
+
it_behaves_like 'monomorphic scope', model_attributes, :caused_by, :reason
|
29
|
+
|
28
30
|
end
|
29
31
|
|
30
32
|
end
|
@@ -29,6 +29,8 @@ describe Unidom::Action::Searching, type: :model do
|
|
29
29
|
|
30
30
|
it_behaves_like 'belongs_to', model_attributes, :reason, Unidom::Action::Reason, { name: 'Some Reason' }
|
31
31
|
|
32
|
+
it_behaves_like 'monomorphic scope', model_attributes, :caused_by, :reason
|
33
|
+
|
32
34
|
end
|
33
35
|
|
34
36
|
end
|
@@ -24,6 +24,8 @@ describe Unidom::Action::StateTransition, type: :model do
|
|
24
24
|
|
25
25
|
it_behaves_like 'belongs_to', model_attributes, :reason, Unidom::Action::Reason, { name: 'Some Reason' }
|
26
26
|
|
27
|
+
it_behaves_like 'monomorphic scope', model_attributes, :caused_by, :reason
|
28
|
+
|
27
29
|
end
|
28
30
|
|
29
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-action
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.17.
|
4
|
+
version: 1.17.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|