pinch_hitter 0.5.3 → 0.5.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: 088d1d1c1d4f9b7dbfbefcd5e1edcbcbe7b469f6
4
- data.tar.gz: 8eaf85f09bb6659b41c0aba77d6e11a618cffeba
3
+ metadata.gz: 9a07d8b15885e322b473cf824585faf54473862b
4
+ data.tar.gz: 1bfba8f4dffaa81e60cc2bae5325cef59e79445e
5
5
  SHA512:
6
- metadata.gz: f477896752ca0759216d711d2229b38e98a52b3369a2b37ac22c42c0b5540f27e45d1a5416aff655e52137b6ebbc48318b19f1bab24cb0ac12a38064bbd7451a
7
- data.tar.gz: 53778f0cac8e04f3cf1e5cd4d74c2022b0e012b7264deb86810dda0f7f64eb33971d40a79452023d9e374b220d53ef660697541ff51f69cd5dcc598963b66549
6
+ metadata.gz: b5b3592e1e21c957249755c8f4e41ae7c0f6856eab80c98fc25f4df232687440ebd8a8784eb04ef0948d0b97d7c0aa33356b3d6361887a4a5c3d3df1f3b11b3e
7
+ data.tar.gz: de14c1e5363e41c60f8e8e426ceb143176dcf878477fc79550cf0de91d86cd3a9ef73bcc71cbbdd4c6cb7280ddc321563182fb03692eeb1283b7bf858f236016
data/Changelog CHANGED
@@ -24,3 +24,8 @@ directory. Thanks to Dan Parks and Nathan Wallace for pointing it out!
24
24
  === Release 0.5.3 / 2015-8-14
25
25
  * Add ability to silence the sintatra/webrick output and keep it out of the
26
26
  test logs.
27
+
28
+ === Release 0.5.4 / 2015-11-5
29
+ * Add require for Net::HTTP as some rubies can't resolve it properly - Thanks
30
+ @kumichou!
31
+ * Convert JSON back to JSON after applying overrides - Thanks Tim Conner!
data/lib/pinch_hitter.rb CHANGED
@@ -2,6 +2,7 @@ require "pinch_hitter/version"
2
2
  require "pinch_hitter/message/message_store"
3
3
  require "pinch_hitter/message/content_type"
4
4
  require "pinch_hitter/service/runner"
5
+ require "net/http"
5
6
 
6
7
  module PinchHitter
7
8
  include PinchHitter::Service::Runner
@@ -28,7 +28,7 @@ module PinchHitter::Message
28
28
  hash[key] = value
29
29
  end
30
30
  end
31
- doc.to_s
31
+ doc.to_json
32
32
  end
33
33
 
34
34
  def find_nested_hash(parent, key)
@@ -1,3 +1,3 @@
1
1
  module PinchHitter
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinch_hitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Jackson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-15 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra