g5_foundation_client 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ module G5FoundationClient::Deserializers
17
17
  urn: with_safe_access { h.g5_urn },
18
18
  client_uid: with_safe_access { h.org.format.uid.to_s},
19
19
  name: with_safe_access { h.name },
20
- phone: with_safe_access { h.adr.format.tel },
20
+ phone_number: with_safe_access { h.adr.format.tel },
21
21
  domain: with_safe_access { h.g5_domain },
22
22
  corporate: with_safe_access { h.g5_corporate },
23
23
  floor_plans: with_safe_access { h.g5_floorplan },
@@ -10,7 +10,7 @@ class G5FoundationClient::Location
10
10
  attribute :urn, String
11
11
  attribute :client_uid, String
12
12
  attribute :name, String
13
- attribute :phone, String
13
+ attribute :phone_number, String
14
14
  attribute :domain, String
15
15
  attribute :corporate, Boolean
16
16
  attribute :floor_plans, String
@@ -1,7 +1,7 @@
1
1
  FactoryGirl.define do
2
2
  factory :g5_location, class: G5FoundationClient::Location do
3
3
  name "Test Location"
4
- phone "123-123-1234"
4
+ phone_number "123-123-1234"
5
5
  end
6
6
 
7
7
  factory :g5_client, class: G5FoundationClient::Client do
@@ -1,3 +1,3 @@
1
1
  module G5FoundationClient
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -11,7 +11,7 @@ describe G5FoundationClient::Deserializers::Location do
11
11
  its(:urn) { should eq("g5-cl-1234-location") }
12
12
  its(:client_uid) { should eq("http://example.com/clients/g5-c-1234-client") }
13
13
  its(:name) { should eq("Test Location") }
14
- its(:phone) { should eq("123-123-1234") }
14
+ its(:phone_number) { should eq("123-123-1234") }
15
15
  its(:domain) { should eq("http://example.com/") }
16
16
  its(:corporate) { should be_true }
17
17
  its(:floor_plans) { should eq("1, 2, 3, studio apartments") }
@@ -10,7 +10,7 @@ describe G5FoundationClient::Location do
10
10
  urn: "urn",
11
11
  client_uid: "http://example.com/client_uid",
12
12
  name: "Test Name",
13
- phone: "123-123-1234",
13
+ phone_number: "123-123-1234",
14
14
  domain: "example.com",
15
15
  corporate: "true",
16
16
  floor_plans: "Apartments",
@@ -31,7 +31,7 @@ describe G5FoundationClient::Location do
31
31
  its(:urn) { should eql("urn") }
32
32
  its(:client_uid) { should eql("http://example.com/client_uid") }
33
33
  its(:name) { should eql("Test Name") }
34
- its(:phone) { should eql("123-123-1234") }
34
+ its(:phone_number) { should eql("123-123-1234") }
35
35
  its(:domain) { should eql("example.com") }
36
36
  its(:corporate) { should be_true }
37
37
  its(:floor_plans) { should eql("Apartments") }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_foundation_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-10 00:00:00.000000000 Z
12
+ date: 2014-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: virtus