brick_ftp 0.4.0 → 0.4.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: 5b78f7e304c91c69572da2f15f66b53240beb5b5
4
- data.tar.gz: dd5b06efbee8b4f23f91f33de2c36350cbb50d31
3
+ metadata.gz: 92d3ce682518051a69067c5739ee48f37f2d7f76
4
+ data.tar.gz: 9efd027f47a68fd69365d2f0d23c44c1fb3af8ee
5
5
  SHA512:
6
- metadata.gz: 7f0b2464782ee7d0bb7660d3da573abfd302818492aa8f6675df312c70e9c0940c36524e0db692c1806686864ed12a565e8e9e0407a199d95bd0f5f779579f9f
7
- data.tar.gz: d43aa3d504faf23f03b7d73f43e2f58593c68c04228cc4790fe96b6fadc311415d92cf16ba4fc6158fbaa441aa61304a642d78988d1110e689f349d5f1b17bae
6
+ metadata.gz: 7a7c732bd25c9ab66c0fdc1d11601db4d90bbde472db7542730525c729599c09c2851aa3de609a12de19597ba26d3781cb4778a3c3eac4019cc9b44076254d12
7
+ data.tar.gz: 148c07f0b5cf4e3c1851efcbe1634c81a9d822b876e9da49283fb2ec14c931ae0fd451f9731f90e3b8d814fd051114d18c7a9beeb78f089c2713eaf39013d35d
@@ -2,16 +2,29 @@ Changelog
2
2
  ====
3
3
 
4
4
 
5
- [unreleased](https://github.com/koshigoe/brick_ftp/compare/v0.4.0...master)
5
+ [unreleased](https://github.com/koshigoe/brick_ftp/compare/v0.4.1...master)
6
6
  ----
7
7
 
8
- [Full Changelog](https://github.com/koshigoe/brick_ftp/compare/v0.4.0...master)
8
+ [Full Changelog](https://github.com/koshigoe/brick_ftp/compare/v0.4.1...master)
9
9
 
10
10
  ### Enhancements:
11
11
 
12
12
  ### Fixed Bugs:
13
13
 
14
14
 
15
+ [0.4.1](https://github.com/koshigoe/brick_ftp/compare/v0.4.0...v0.4.1)
16
+ ----
17
+
18
+ [Full Changelog](https://github.com/koshigoe/brick_ftp/compare/v0.4.0...v0.4.1)
19
+
20
+ ### Enhancements:
21
+
22
+ ### Fixed Bugs:
23
+
24
+ - [#58](https://github.com/koshigoe/brick_ftp/pull/58) Fix wrong path escape
25
+ - reported by [terencedignon](https://github.com/terencedignon)
26
+
27
+
15
28
  [0.4.0](https://github.com/koshigoe/brick_ftp/compare/v0.3.8...v0.4.0)
16
29
  ----
17
30
 
@@ -1,3 +1,5 @@
1
+ require 'erb'
2
+
1
3
  module BrickFTP
2
4
  class APIComponent
3
5
  attr_reader :path_template, :query_keys
@@ -12,7 +14,7 @@ module BrickFTP
12
14
 
13
15
  path_params = build_path_params_from(params)
14
16
  escaped_path_params = path_params.each_with_object({}) do |(k, v), res|
15
- res[k] = CGI.escape(v.to_s)
17
+ res[k] = ERB::Util.url_encode(v.to_s)
16
18
  end
17
19
 
18
20
  path = path_template.call(params) % escaped_path_params
@@ -1,3 +1,3 @@
1
1
  module BrickFTP
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brick_ftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - koshigoe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-11 00:00:00.000000000 Z
11
+ date: 2017-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  version: '0'
218
218
  requirements: []
219
219
  rubyforge_project:
220
- rubygems_version: 2.4.5.1
220
+ rubygems_version: 2.6.10
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: BrickFTP's REST API client.