gorilla-io 0.0.6 → 0.0.7

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: 1904d188b45bdfe6353a5c8636a3573731b35128
4
- data.tar.gz: e911407881119b7194bb128af046bc2233b96113
3
+ metadata.gz: e01fa727e6feffc3431d0e5458fa771b14716986
4
+ data.tar.gz: a7555ef2f16b2bd8754fffb8781de078218ee348
5
5
  SHA512:
6
- metadata.gz: 66d684a64f1c8ea9709723ee4a5f13f291a6c958e8b5e06404245bf65f6b5f3501009a73fd1726fcb825f65eaad80abc0ebfc552e9d4569823af44d6187ce4ab
7
- data.tar.gz: e291e43d2ac9201f3647e5434da476e11981d7e55f33b1ba6cee488c82a21b109b9dd6c0fbf3423a17e0a3eb2b5f8d7c91f9dde168bb8a40753f0510d4dee738
6
+ metadata.gz: ff0b1091b2fafce3e7f1dac53518563bd54f3f63f07b3f1eae1879a81aea377f2fd70f726b8aedec0d47d0d65b0ecedcab389806e84674b93e24504da46f00e0
7
+ data.tar.gz: 95b04e079da3c4bee82145c202d734097bc67f647ee4f4ea469459d429803980ca3ff3039e06f67e5921cd7e74beb750493a477b8c66c45d16e1cc2de5b852f6
@@ -7,6 +7,7 @@ module Gorilla
7
7
  options = config.api.to_h.merge(opts)
8
8
 
9
9
  @connection = Faraday.new(options[:url]) do |conn|
10
+ conn.request :multipart
10
11
  conn.request :user_agent, config.user_agent
11
12
  conn.request :url_encoded
12
13
  yield(conn, options) if block_given?
@@ -1,3 +1,3 @@
1
1
  module Gorilla
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -38,6 +38,7 @@ RSpec.describe Gorilla::VanillaClient do
38
38
  expect(Faraday).to receive(:new).and_yield(conn_stub)
39
39
 
40
40
  expect_stack conn_stub,
41
+ [:request, :multipart],
41
42
  [:request, :user_agent, Gorilla.configuration.user_agent],
42
43
  [:request, :url_encoded],
43
44
  [:response, :json, content_type: /\bjson$/],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gorilla-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gorilla.io
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2015-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler