cts-mpx 1.1.0 → 1.1.1

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: 7972d6219f8ea4529c9dc0863e85417d0948cb0c
4
- data.tar.gz: 40b45a11bd0f15d0ebf9ecddb3ba74b7da06ac3f
3
+ metadata.gz: '0448eb34dbe083a7a484320d15657e99a041d72e'
4
+ data.tar.gz: 0fa9b56d020d8fde6204a0a23964f63c442196e5
5
5
  SHA512:
6
- metadata.gz: 7eb12fb8ae45a387aa7599171b387a4412a0bd4ee4ec4fe5481b812c1fa3c2cece788a1d771630a162026ad004816e30b91f1bd6d369e58b8bcc5050b74d6ca6
7
- data.tar.gz: 55392ff698ab16f63c8b6de195623e06d293ebf63083b3e983b2d002a36fd6168ec4f59fff6065b3ed69e36717efc9312ec4064c34324e950f16ac16cc0ba783
6
+ metadata.gz: d0d0e9a48c12126967c7b0b76c6e13a54c638e0aba218d1513c4aa1666c429e9c38210715b97d71afc0469ddd9530c082a8ecbfb8dc6c4572c4cd87f6749c1c5
7
+ data.tar.gz: 8d80a0b62855b946d6ac01eee1e844bad5000c4b53856745b57cf1e051f4a03a85677c3a6eef9fe84073e255c1ad0bb8fa494a6db72d68ffb7f7d23221cd6b6c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cts-mpx (1.0.3)
4
+ cts-mpx (1.1.0)
5
5
  creatable (~> 2.2.1)
6
6
  excon
7
7
  oj (= 3.5.0)
@@ -71,7 +71,7 @@ module Cts
71
71
  Driver::Exceptions.raise_unless_argument_error? fields, String if fields
72
72
  Driver::Exceptions.raise_unless_reference? id
73
73
 
74
- Registry.fetch_and_store_domain user: user, account_id: account_id
74
+ Registry.fetch_and_store_domain user, account_id
75
75
  response = Services::Data.get account_id: account_id, user: user, service: service, endpoint: endpoint, fields: fields, ids: id.split("/").last
76
76
 
77
77
  entries = response.data['entries']
@@ -93,7 +93,7 @@ module Cts
93
93
  raise ArgumentError, "service is a required attribute" unless service
94
94
 
95
95
  p = Driver::Page.create entries: [fields.to_h], xmlns: fields.xmlns
96
- Registry.fetch_and_store_domain user: user, account_id: fields["ownerId"]
96
+ Registry.fetch_and_store_domain user, fields["ownerId"]
97
97
 
98
98
  response_params = { account_id: fields['ownerId'], user: user, service: service, endpoint: endpoint, page: p }
99
99
  result = Services::Data.send(id ? :put : :post, response_params)
@@ -74,7 +74,7 @@ module Cts
74
74
  # @return [Response] Response of the call
75
75
  def post(user: nil, account_id: nil, service: nil, endpoint: nil, extra_path: nil, query: {}, page: nil, headers: {}, method: :post)
76
76
  prep_call(user: user, account_id: account_id, service: service, query: query, headers: headers, required_arguments: ['user', 'service', 'endpoint', 'page'], page: page, binding: binding)
77
- host = Driver::Assemblers.host user: user, service: service
77
+ host = Driver::Assemblers.host user: user, service: service, account_id: account_id
78
78
  path = Driver::Assemblers.path service: service, endpoint: endpoint, extra_path: extra_path
79
79
  query = Driver::Assemblers.query user: user, account_id: account_id, service: service, endpoint: endpoint, query: query
80
80
 
@@ -1,6 +1,6 @@
1
1
  module Cts
2
2
  module Mpx
3
3
  # @return [String] frozen string of the version of Cts::Mpx
4
- VERSION = "1.1.0".freeze
4
+ VERSION = "1.1.1".freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cts-mpx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernie Brodeur