nolij_web 1.2.0 → 1.2.1

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: fc3762bd0096669b24ea98624301805113fa207c
4
- data.tar.gz: 3760f6b1bd03602102a98ee237c1afeeeab4a1f3
3
+ metadata.gz: d80df6d92fff0365342c8d3716d93caf007d083e
4
+ data.tar.gz: 6052c048bbc2f190081546e4cf956caa71daa8b3
5
5
  SHA512:
6
- metadata.gz: c749b2069299e2af3eaffd48e7616a3681f558ea502e99882381b766f77c0a405b4be5e6a235b28772310fc71961bed2145a8b4833b829093c34a81229595c96
7
- data.tar.gz: 3bfccb342790994659c1feea4769bac4715e2bd17e0ba7cbe0bed611cc592094f811ae7cd736d44b11b2324fad40cb55ceb09ee2a718e6c1f3ce05b5b9e47a5b
6
+ metadata.gz: 3f6de9986b978559930ce850d4eea2eaff8b3762d890bd2742b36f2d70a390990f09b16db10b4ec8544bc746f44f0b8f2de694f8cc21a0eeab657c1dde4c0115
7
+ data.tar.gz: 64f9374e7e53cb0124867baed994c042e9aae6cb1431548c03e72f3f8217783334d4457e06c4935437b4bfef228fd764bfc3201633cbd7c34889f8dea5081a3f
@@ -125,21 +125,21 @@ Be sure to close the connection when you are finished.
125
125
  # Use this inside an execute block to make mulitiple calls in the same request
126
126
  def get_custom_connection(path, headers = {}, &block)
127
127
  block ||= default_response_handler
128
- url = URI.join(@base_url, URI.parse(@base_url).path + '/', path.to_s).to_s
128
+ url = URI.join(@base_url, URI.parse(@base_url).path + '/', URI.encode(path.to_s)).to_s
129
129
  rest_client_wrapper(:get, url, headers, &block)
130
130
  end
131
131
 
132
132
  # Use this inside an execute block to make mulitiple calls in the same request
133
133
  def delete_custom_connection(path, headers = {}, &block)
134
134
  block ||= default_response_handler
135
- url = URI.join(@base_url, URI.parse(@base_url).path + '/', path.to_s).to_s
135
+ url = URI.join(@base_url, URI.parse(@base_url).path + '/', URI.encode(path.to_s)).to_s
136
136
  rest_client_wrapper(:delete, url, headers, &block)
137
137
  end
138
138
 
139
139
  # Use this inside an execute block to make mulitiple calls in the same request
140
140
  def post_custom_connection(path, payload, headers = {}, &block)
141
141
  block ||= default_response_handler
142
- url = URI.join(@base_url, URI.parse(@base_url).path + '/', path.to_s).to_s
142
+ url = URI.join(@base_url, URI.parse(@base_url).path + '/', URI.encode(path.to_s)).to_s
143
143
  RestClient::Request.execute(method: :post, url: url, payload: payload, headers: headers, verify_ssl: @verify_ssl, &block)
144
144
  end
145
145
 
@@ -1,5 +1,5 @@
1
1
  module NolijWeb
2
2
  class Version
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nolij_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shannon Henderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-09 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client