unidom-product 1.7.2 → 1.7.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: 705714307303adc4495b0e143863ee9165befcf1
4
- data.tar.gz: 4e2198da1cda3564309c9edc928a3aaf06a8dadc
3
+ metadata.gz: 45c80f934669ce3fa10183670be3001512c03d0c
4
+ data.tar.gz: 47c73d4f27f96cdcfe84fccc66cdb1a09682f728
5
5
  SHA512:
6
- metadata.gz: 8f9a88b8618f075c578042bbb553faf5b539d7a3efb1e528ba874cdae577b034528f9c96f6284582712d98a13adc32363e12655848a5249965a9da06f80c2d19
7
- data.tar.gz: d9d65e9329932478aef2d795f85e803a0242e80e6d6ad1696d1ea37dc194a4f45b3d250e0347441f777ce091264dc1d8878cb2a9ea0e82cc1aad2ae5cf06f9f3
6
+ metadata.gz: b484aecc01964febd43697a2728aeae4f4c3bee8fa49ad102eeb05c56bcdb8e725e0f39c032b32071d2f5839161c357fc2e887e83b26999420fe308094f4d9d0
7
+ data.tar.gz: 272c521a7397b04298d6e0835be5a5955102866c95b99354207b248670ab42d7c0d0be5b758d5ca96c7af569ab0d0aef3c0dbbb57de796d4a4bcbad06ad4aac1
@@ -53,6 +53,9 @@ describe Unidom::Product::ProductAssociating, type: :model do
53
53
  it_behaves_like 'belongs_to', model_attributes, :source, Unidom::Product::Product, product_attributes
54
54
  it_behaves_like 'belongs_to', model_attributes, :target, Unidom::Product::Product, product_attributes
55
55
 
56
+ it_behaves_like 'monomorphic scope', model_attributes, :source_is, :source
57
+ it_behaves_like 'monomorphic scope', model_attributes, :target_is, :target
58
+
56
59
  end
57
60
 
58
61
  end
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module Product
3
- VERSION = '1.7.2'.freeze
3
+ VERSION = '1.7.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-product
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.7.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-03-01 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unidom-common