zuora_rest_client 1.1.1 → 1.1.2

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: 38a241bf698f2311974d45c4471a0b313ef7a515
4
- data.tar.gz: 7f1889c411babb42fb606f9bad281fa554c906bb
3
+ metadata.gz: 4209996f72d48ab69bfdf72453cdaeb2bcfda743
4
+ data.tar.gz: 7062035180f512877d648678490744378b86e859
5
5
  SHA512:
6
- metadata.gz: 143d1eda74d923ef87fcce9acb39c31ddaf3784aff9a4112c060b78658a3b4bde96cc4a7f130886fbc1ac91d37f6d6d5ecfa215a134f469e739609f4ae5b1075
7
- data.tar.gz: 5cb46beec90bfc56b8fa732ac0a288c2c4cfd23e1aade916c8bedd68719646d7824b6f1f23f236dff05ca250a50b407893c9520f8958e0406b099bde72dea9ce
6
+ metadata.gz: f00c89570b37f8ea84e2421add3b29a104f120ccc33c5f0280b6a4afb6c21a9558628c9325e24125ec8a4c3bff18abba7af8f8d7b8823dfbd4cda521c003fd70
7
+ data.tar.gz: 0b442c7545567cbb18d8eb2aa632f516a4c97e508a3d791f7d35ff450984ea7a7a07e1d2e7ff8b6bb8f29881b84548e2cacbf6969729ad45b3463c69aef5411f
@@ -61,7 +61,7 @@ module ZuoraRestClient
61
61
  endpoint_uri = Addressable::URI.parse(zuora_endpoint.rest)
62
62
  Net::HTTP.start(endpoint_uri.normalized_host, endpoint_uri.normalized_port,
63
63
  use_ssl: endpoint_uri.normalized_scheme == 'https') do |http|
64
- request = Net::HTTP::Get.new path
64
+ request = Net::HTTP::Get.new [ endpoint_uri.normalized_path, ZUORA_REST_MAJOR_VERSION, path ].join('/')
65
65
  rest_headers(zuora_version).each_pair do |header_key, header_value|
66
66
  request[header_key] = header_value
67
67
  end
@@ -159,7 +159,6 @@ module ZuoraRestClient
159
159
  if use_api_proxy
160
160
  rest_endpoint_uri.path = '/'
161
161
  rest_endpoint_uri.port = @options[:api_proxy_port] || 443
162
- rest_post('/connections')
163
162
  end
164
163
  Faraday.new(url: rest_endpoint_uri.to_s) do |faraday|
165
164
  faraday.use FaradayMiddleware::FollowRedirects
@@ -1,3 +1,3 @@
1
1
  module ZuoraRestClient
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Massad
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-02 00:00:00.000000000 Z
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler