spaceborne 0.1.4 → 0.1.5

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: c49705ebda515a9c14fb5ec1fa7c60dca3f5c0db
4
- data.tar.gz: 170d373aa2b69dc469f1857c01eca40a1c04aca5
3
+ metadata.gz: d807129ca7d69ac7265ef9c1007c05eb35c03f30
4
+ data.tar.gz: c077f71a0d66fb2171064d48159c2363ad0b07d8
5
5
  SHA512:
6
- metadata.gz: 262d9a5527212d2da5585edd66970d14e98e3a4b6dc4ec624a3c9199aea62805dab3a5c4f8567d81403a7e2f863e0bf1d1cee9ec90875cb9aa1dc5904feb5a4b
7
- data.tar.gz: deae16b58e7ab67d7e1521a0bb4594f68ca126c40ae5add2b7baa87783ba6b936f2e09d1f5dfff14bcfcf13e0f58f6831e9409fc0af06b84f59610d395dda44e
6
+ metadata.gz: 3756ac17314d3c096abfbef483ada46d4855d02db102a05dfe9c4002397273f2232e7487959b692463925f9eab22133f0d9d09a018f5976e175bcf7f8ad2d2a4
7
+ data.tar.gz: 592e1511c66c79bc870b240d71b71f667f9293d5cd3f59f5fa0a9278ae380c7fba494f4a5c84a789f0de5fc4585778b700073caa657ab61ef1f0fbb493c5bcc9
data/lib/spaceborne.rb CHANGED
@@ -6,7 +6,7 @@ require 'json'
6
6
 
7
7
  module Spaceborne
8
8
  def is_json?(headers)
9
- headers.get(:content_type) && headers[:content_type].include?('application/json')
9
+ headers.has_key?(:content_type) && headers[:content_type].include?('application/json')
10
10
  end
11
11
  def wrap_request(&block)
12
12
  block.call
@@ -1,3 +1,3 @@
1
1
  module Spaceborne
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaceborne
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Williams