trogdir_api_client 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27fd211e7ea25efd88c55c76891cf84f1bda87b8
4
- data.tar.gz: 8115d77bad88312a55e13e3d7b0eb7b15a2db90d
3
+ metadata.gz: d0747e09a83eb19a6c7c818ac21025adca71c933
4
+ data.tar.gz: 005255b8ac892d56388e992b73029c821f662c6d
5
5
  SHA512:
6
- metadata.gz: e913614b5c801591d69dbd774a03b48589ada51c8f6098470ea3e6621d537d62fd7b1dc607f6b3f3028845208f39a11e9062ff7ae3bb83cee259f7b31b886522
7
- data.tar.gz: bb7e96be504f1c5e6cca4d6cf55c356b12c52ed8b6006f27587bd977a94dbf57b42c696fce167a1dae772b290e0f24460436c12d12e25140be36a42f5bffe00d
6
+ metadata.gz: d0aec069dc45228f2bee88882cf1636931b0458225527822bd68ff6a31a204c7aed5e7748f92efc84d4a15e7d3cd2f877eae645a68b5c60c91208ad2bfe11318
7
+ data.tar.gz: 3b061e26275b6c2cb8e6c74564242448b6feacc9d4a955b2f164b67053571b302d3fe31939d2b853d5f0f60dde8e5e8a8ec1d039c636a646aec7b11c35a07d24
@@ -1,3 +1,3 @@
1
1
  module TrogdirAPIClient
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
@@ -28,7 +28,7 @@ module Weary
28
28
  # there's no difference in the headers when it's authenticated.
29
29
  if ['POST', 'PUT'].include? e['REQUEST_METHOD']
30
30
  e.update 'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
31
- elsif e['REQUEST_METHOD'] == 'GET' && e['CONTENT_TYPE'].blank?
31
+ elsif e['REQUEST_METHOD'] == 'GET' && e['CONTENT_TYPE'].to_s == ''
32
32
  e.update 'CONTENT_TYPE' => 'text/plain'
33
33
  end
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trogdir_api_client
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
  - Adam Crownoble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-11 00:00:00.000000000 Z
11
+ date: 2015-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: api-auth