brick_ftp 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -2
- data/lib/brick_ftp/api_component.rb +3 -1
- data/lib/brick_ftp/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92d3ce682518051a69067c5739ee48f37f2d7f76
|
4
|
+
data.tar.gz: 9efd027f47a68fd69365d2f0d23c44c1fb3af8ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a7c732bd25c9ab66c0fdc1d11601db4d90bbde472db7542730525c729599c09c2851aa3de609a12de19597ba26d3781cb4778a3c3eac4019cc9b44076254d12
|
7
|
+
data.tar.gz: 148c07f0b5cf4e3c1851efcbe1634c81a9d822b876e9da49283fb2ec14c931ae0fd451f9731f90e3b8d814fd051114d18c7a9beeb78f089c2713eaf39013d35d
|
data/CHANGELOG.md
CHANGED
@@ -2,16 +2,29 @@ Changelog
|
|
2
2
|
====
|
3
3
|
|
4
4
|
|
5
|
-
[unreleased](https://github.com/koshigoe/brick_ftp/compare/v0.4.
|
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.
|
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] =
|
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
|
data/lib/brick_ftp/version.rb
CHANGED
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.
|
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:
|
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.
|
220
|
+
rubygems_version: 2.6.10
|
221
221
|
signing_key:
|
222
222
|
specification_version: 4
|
223
223
|
summary: BrickFTP's REST API client.
|