frenchy 0.5.1 → 0.5.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: d2619d769fe19f6a125107e3473f36a77ce85e5d
4
- data.tar.gz: 17f15bcd90080806dd6b944bb1fceeeb9849cac7
3
+ metadata.gz: aaf4ee2e3ddd7a66d40b81fc8f792e6f06dad047
4
+ data.tar.gz: 25804251db9bf9cd05427f6f152e035bf3d43b08
5
5
  SHA512:
6
- metadata.gz: 42cceb0cb279b6b8b5c96a603d8ead6a6c2b1c268d0b2171a86f399648e23c6977c6451054cebf0ebd7b94e5155a4751ea286099879d71c3e932035baa6718bc
7
- data.tar.gz: d5decd2797fb0b2f29f6d3e6afe1bbe6d1227f71774bf06dd403bfd615806a47b251f12d27435d737eb3291afb88da811968bfd23117f5952a8a3ef999f68297
6
+ metadata.gz: c7b03b5adda247d60140a9e8bcf44216fed3dbceb7f4e7a9f27e210f05fb2aad3c026b1b6cfea46af8248cc890d616115db4b1d5e6bf8bda605d43a0ef4e1419
7
+ data.tar.gz: 7c7710e2b0eab498159b850e76d3856152dd8f129e39d132ae5fb0823c0d380053d3378e4ec0df39583ca1529bb578253d909ffe7ccce25cd6103db9baea7326
@@ -1,5 +1,6 @@
1
1
  require "net/http"
2
2
  require "json"
3
+ require "uri"
3
4
 
4
5
  module Frenchy
5
6
  class Client
@@ -54,7 +55,7 @@ module Frenchy
54
55
  }.merge(@headers)
55
56
 
56
57
  # Set the URI path
57
- uri.path = path
58
+ uri.path = URI.encode(path)
58
59
 
59
60
  # Set request parameters
60
61
  if params.any?
@@ -1,3 +1,3 @@
1
1
  module Frenchy
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frenchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Coene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json