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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 212f7db0774954159ad06a7ee6902a78fab28177
4
- data.tar.gz: dffee67c2eb1128ef9e4a770feedea0dcb257266
3
+ metadata.gz: d031d78eb3e76f76772aa5d2fdd3ad2a719f5616
4
+ data.tar.gz: 236af45873b675586a8a29056de42b029ab1a881
5
5
  SHA512:
6
- metadata.gz: 4c2336ab067936182970fec8ae5789e714c2f698d4f837bdd0995ac5099c3300e21528e227f9a41cb904164b0c02ded8754c62223e3fea42ed8bfe3eb9697ada
7
- data.tar.gz: 5e5c30c8162538ba199a4a2d0b73c0ee6fbe64b03df11a19fdbbf64d79e41b8011eeeb5279f5b2c741bfb3eaead5fe52c79b52029ac69bcdd427499b8bf5afb1
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
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module Action
3
- VERSION = '1.17.2'.freeze
3
+ VERSION = '1.17.3'.freeze
4
4
  end
5
5
  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.2
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-02-26 00:00:00.000000000 Z
11
+ date: 2017-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unidom-common