smartystreets_ruby_sdk 5.1.0 → 5.1.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.
data/Vagrantfile CHANGED
@@ -4,6 +4,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
4
4
  config.vm.box = "boxcutter/ubuntu1404"
5
5
  config.vm.synced_folder "~/.identity", "/home/vagrant/.identity", create: true
6
6
  config.vm.synced_folder "~/.gnupg", "/home/vagrant/.gnupg", create: true
7
+ config.vm.provision "shell", path: "https://s3-us-west-1.amazonaws.com/raptr-us-west-1/baseline/roles/vagrant"
7
8
 
8
9
  # box-specific
9
10
  config.vm.provision "shell", inline: "apt-get update"
@@ -63,14 +63,7 @@ module SmartyStreets
63
63
  end
64
64
 
65
65
  def self.create_query(smarty_request)
66
- query_string = ''
67
-
68
- smarty_request.parameters.each do |key, value|
69
- query_string.concat("&#{key}=#{value}")
70
- end
71
-
72
- query_string[0] = ''
73
- query_string
66
+ URI.encode_www_form(smarty_request.parameters)
74
67
  end
75
68
 
76
69
  def self.set_custom_headers(smarty_headers, request)
@@ -1,3 +1,3 @@
1
1
  module SmartyStreets
2
- VERSION = '5.1.0' # DO NOT EDIT (this is updated by a build job when a new release is published)
2
+ VERSION = '5.1.1' # DO NOT EDIT (this is updated by a build job when a new release is published)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartystreets_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-07-31 00:00:00.000000000 Z
12
+ date: 2017-08-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler