unidom-visitor 1.13.1 → 1.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fdf63ec0d7a2854a1973586c2cfb0a6ed987e5a
4
- data.tar.gz: 59f059005576855efcf740e3588cfd804f49b358
3
+ metadata.gz: dfe52dcb240f6cf72d5da6b029163dd988683ae2
4
+ data.tar.gz: f74ac242f807aa94dbcf8ee5a78a47d5bef22ff9
5
5
  SHA512:
6
- metadata.gz: 1f939311cfd39356cf36eb832e955e1da0eeed5771f21a7239f716ac263dc2fd3674ad338f1cccc276b921fcc51c0228ce659656ac62a21fecb0ff102db412e6
7
- data.tar.gz: e779a87718862563373b7e0ef87ff6bf941eeac2abbe5813e7038b03cfb332297ec4b2b38bd1cccc1de76098b347636dac39a46cce9431151aca12da76b2cc88
6
+ metadata.gz: baf51d9055db735989e54ce02f452dc01bde4ca77dc98a1617998691b99f37271daa66c4f568afcb03a3e66bbee7730c58110664535bc87ce0657bb992dd4e3f
7
+ data.tar.gz: 75ab75815b295db6cb5ce380865ff1d44ef6345f11c2e26b0f2aca047ee88d880e1ee00f810d22ef0d0d86fd651329004c1e409b8602a59f6b7c805d1ed877ce
@@ -20,6 +20,14 @@ describe Unidom::Visitor::Authenticating, type: :model do
20
20
 
21
21
  it_behaves_like 'ProgneTapera::EnumCode', described_class.new(model_attributes), :flag, Unidom::Visitor::Flag
22
22
 
23
+ user_attributes = {}
24
+ guest_attributes = { platform_code: 'SITE', platform_specific_identification: '123456789012' }
25
+ password_attributes = { clear_text: 'password' }
26
+
27
+ it_behaves_like 'belongs_to', model_attributes, :visitor, Unidom::Visitor::User, user_attributes
28
+ it_behaves_like 'belongs_to', model_attributes, :visitor, Unidom::Visitor::Guest, guest_attributes
29
+ it_behaves_like 'belongs_to', model_attributes, :credential, Unidom::Visitor::Password, password_attributes
30
+
23
31
  end
24
32
 
25
33
  end
@@ -17,6 +17,12 @@ describe Unidom::Visitor::Identificating, type: :model do
17
17
 
18
18
  it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
19
19
 
20
+ user_attributes = {}
21
+ guest_attributes = { platform_code: 'SITE', platform_specific_identification: '123456789012' }
22
+
23
+ it_behaves_like 'belongs_to', model_attributes, :visitor, Unidom::Visitor::User, user_attributes
24
+ it_behaves_like 'belongs_to', model_attributes, :visitor, Unidom::Visitor::Guest, guest_attributes
25
+
20
26
  end
21
27
 
22
28
  end
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module Visitor
3
- VERSION = '1.13.1'.freeze
3
+ VERSION = '1.13.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-visitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.1
4
+ version: 1.13.2
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-20 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unidom-common