qnap-file_station 0.0.3 → 0.0.4

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: a5b17e28b82aa0b9bd84caad5770597a5c2583cf
4
- data.tar.gz: f32a9a1d6fb8b94567858240380a09e6f451346c
3
+ metadata.gz: b7b6ede6e731c28529b06f66fb3f540c74ba51c1
4
+ data.tar.gz: 78a98a04f25f4704ac241831c0ecc22a26217ee4
5
5
  SHA512:
6
- metadata.gz: 0a4aad404e2a946c721b01e15d21eb0b17a9189a68b1c11533edf5fb7feda00215ba36c5d687b0804b53b80ceff41ae53f54f1ead168dd376e9bd7f801309492
7
- data.tar.gz: 94334ac4acc3435d43d0e4889064463ff9754436d2eae99a0be96fa87376173c6f647d44cb2f01368875884e5c52a4e470a3e913f475e83b6edf0ce1037244c7
6
+ metadata.gz: b44c4e7a3b33c78d3b48b451e49a3249a62928ae4c825a2e7bdd5317d2804cdac483887e4f34462ebfe041e6e0be57cd87c601aefec6a43067c86b2031e03302
7
+ data.tar.gz: 498130c57a0ee5baa59be4a46cae3aee1e2e94b46c0aa6c97342d6de70be3c65e191e31ad60188b1574dab8e2a501f3d6ba80c3ff840f4e6b1f2a43c99ed09ef
@@ -123,7 +123,7 @@ module Qnap
123
123
  def despatch_query(path, params)
124
124
  uri = @base_uri.clone
125
125
  uri.path = path
126
- uri.query = URI.encode_www_form(params) if params.keys.length > 0
126
+ uri.query = URI.encode_www_form(params).gsub('+', '%20') if params.keys.length > 0
127
127
  req = Net::HTTP::Get.new uri
128
128
 
129
129
  puts "\n\n\e[1;32mDespatching request to #{params[:func]}\e[0m" if DEBUG
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "qnap-file_station"
3
- s.version = "0.0.3"
3
+ s.version = "0.0.4"
4
4
  s.summary = "Interface to the File Station API"
5
5
  s.description = "Manage your files and folders in File Station"
6
6
  s.authors = "cyclotron3k"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qnap-file_station
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - cyclotron3k
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-26 00:00:00.000000000 Z
11
+ date: 2017-08-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Manage your files and folders in File Station
14
14
  email: