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 +4 -4
- data/lib/frenchy/client.rb +2 -1
- data/lib/frenchy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaf4ee2e3ddd7a66d40b81fc8f792e6f06dad047
|
4
|
+
data.tar.gz: 25804251db9bf9cd05427f6f152e035bf3d43b08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7b03b5adda247d60140a9e8bcf44216fed3dbceb7f4e7a9f27e210f05fb2aad3c026b1b6cfea46af8248cc890d616115db4b1d5e6bf8bda605d43a0ef4e1419
|
7
|
+
data.tar.gz: 7c7710e2b0eab498159b850e76d3856152dd8f129e39d132ae5fb0823c0d380053d3378e4ec0df39583ca1529bb578253d909ffe7ccce25cd6103db9baea7326
|
data/lib/frenchy/client.rb
CHANGED
@@ -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?
|
data/lib/frenchy/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|