pinch_hitter 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog +3 -0
- data/lib/pinch_hitter/version.rb +1 -1
- data/lib/pinch_hitter.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c08db9ed66b5801167d7b219f613a1cff6b9dd94
|
4
|
+
data.tar.gz: 0befb33567a304b9981db61e079010b002281a3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f76d216bfd5a7fecdc21916e64b72608ddf825f7c26feb6aea043d3b6d1e30db3588793c6e5001f1857a1aec7c973d41246e463fa57757a9c8370b46240255ca
|
7
|
+
data.tar.gz: 453d8bcb683250b6e956783c27e1a0371ae3b836964786f1e8f590b1568cbb3da8d283f2e8b1262419b0e591a4110334ae24b5d4e755bac10e2437660b551310
|
data/Changelog
CHANGED
@@ -10,3 +10,6 @@ Add ability to register modules for custom message handling
|
|
10
10
|
=== Release 0.4 / 2014-3-3
|
11
11
|
* Add ability to retrieve requests made by the application
|
12
12
|
* Support PUT, PATCH, DELETE
|
13
|
+
|
14
|
+
=== Release 0.5 / 2014-7-3
|
15
|
+
* Fix issue where priming large messages would cause a 500
|
data/lib/pinch_hitter/version.rb
CHANGED
data/lib/pinch_hitter.rb
CHANGED
@@ -27,7 +27,8 @@ module PinchHitter
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def store(endpoint, content)
|
30
|
-
|
30
|
+
content_type = message_store.determine_content_type(content)
|
31
|
+
@session.post "/store?endpoint=#{endpoint}", content, 'Content-Type' => content_type
|
31
32
|
end
|
32
33
|
|
33
34
|
def register_module(endpoint, handler)
|
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.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Jackson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|