songkick-transport 1.10.2 → 1.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/songkick/transport/request.rb +4 -0
- metadata +17 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f78ef6ef6b0a53938d0f7c9764d2b8731f6e598c
|
4
|
+
data.tar.gz: 85040828b85d89e8a3899281fb8cfde2fcc5fd3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcf4ca0a093d8f8762b4758fdee5a97a2ed052781367e41eb5c62aa443adc8bab3aedaaa69f0437e36d7447c866dee1ebff89b1e22031a7cb5ac2303eec69576
|
7
|
+
data.tar.gz: 017de61ca05657be0c344a3365039d23982324ea8d3137e01d012ed2f0b72d6c53082ad6927de7687969d15f9714d74e2e7cf55d11f97532b8e8e3967e45ff51
|
@@ -81,6 +81,10 @@ module Songkick
|
|
81
81
|
end
|
82
82
|
return command unless use_body?
|
83
83
|
sanitized_params = Serialization.build_query_string(params, false, true)
|
84
|
+
if String === sanitized_params
|
85
|
+
command << " -d '#{sanitized_params}'"
|
86
|
+
return command
|
87
|
+
end
|
84
88
|
sanitized_params = sanitized_params.inject({}) do |result, param|
|
85
89
|
key, value = param
|
86
90
|
if value.length > TRUNCATED_PARAM_LENGTH
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: songkick-transport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Lucraft
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2016-02-
|
17
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: multipart-post
|
@@ -164,34 +164,34 @@ extra_rdoc_files:
|
|
164
164
|
- README.rdoc
|
165
165
|
files:
|
166
166
|
- README.rdoc
|
167
|
+
- examples/tcp_server.rb
|
167
168
|
- examples/example.rb
|
169
|
+
- examples/thread_safety.rb
|
168
170
|
- examples/loop.rb
|
169
171
|
- examples/server.rb
|
170
|
-
-
|
171
|
-
-
|
172
|
-
- lib/songkick/transport/
|
173
|
-
- lib/songkick/transport/service.rb
|
172
|
+
- lib/songkick/transport/reporting.rb
|
173
|
+
- lib/songkick/transport/rack_test.rb
|
174
|
+
- lib/songkick/transport/headers.rb
|
174
175
|
- lib/songkick/transport/response.rb
|
175
|
-
- lib/songkick/transport/authentication.rb
|
176
|
-
- lib/songkick/transport/request.rb
|
177
|
-
- lib/songkick/transport/base.rb
|
178
|
-
- lib/songkick/transport/httparty.rb
|
179
176
|
- lib/songkick/transport/curb.rb
|
180
|
-
- lib/songkick/transport/upstream_error.rb
|
181
177
|
- lib/songkick/transport/http_error.rb
|
182
|
-
- lib/songkick/transport/
|
183
|
-
- lib/songkick/transport/
|
184
|
-
- lib/songkick/transport/
|
178
|
+
- lib/songkick/transport/httparty.rb
|
179
|
+
- lib/songkick/transport/service.rb
|
180
|
+
- lib/songkick/transport/request.rb
|
181
|
+
- lib/songkick/transport/authentication.rb
|
182
|
+
- lib/songkick/transport/serialization.rb
|
183
|
+
- lib/songkick/transport/upstream_error.rb
|
184
|
+
- lib/songkick/transport/base.rb
|
185
185
|
- lib/songkick/transport.rb
|
186
|
+
- spec/spec_helper.rb
|
186
187
|
- spec/songkick/transport_spec.rb
|
188
|
+
- spec/songkick/transport/curb_spec.rb
|
187
189
|
- spec/songkick/transport/service_spec.rb
|
190
|
+
- spec/songkick/transport/request_spec.rb
|
188
191
|
- spec/songkick/transport/authentication_spec.rb
|
189
192
|
- spec/songkick/transport/httparty_spec.rb
|
190
193
|
- spec/songkick/transport/base_spec.rb
|
191
|
-
- spec/songkick/transport/request_spec.rb
|
192
|
-
- spec/songkick/transport/curb_spec.rb
|
193
194
|
- spec/songkick/transport/response_spec.rb
|
194
|
-
- spec/spec_helper.rb
|
195
195
|
- lib/songkick/transport/html_report.html.erb
|
196
196
|
homepage: http://github.com/songkick/transport
|
197
197
|
licenses:
|
@@ -220,4 +220,3 @@ signing_key:
|
|
220
220
|
specification_version: 4
|
221
221
|
summary: HTTP client abstraction for service clients
|
222
222
|
test_files: []
|
223
|
-
has_rdoc:
|