pinch_hitter 0.5.4 → 0.5.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/service/replay_ws.rb +4 -0
- data/lib/pinch_hitter/version.rb +1 -1
- data/pinch_hitter.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 351d287c33f0a63055aa89e9e33dcc0cd5bf8843
|
4
|
+
data.tar.gz: 7373585ec0c9cc3c70767d2bdfae3d9c66b91df8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e52306f9da1c7daaccdcb18cfe84444902dd5820e1f5f09cb921e89a39436057795a08b7206e8015ae1610bbf05ba8f79debe1750dfed54a2d0d83d1b7a462c
|
7
|
+
data.tar.gz: 47d3972f594e178de665e4b021943b326e33d1bad41e921ccba42495b6adaeaccdbf5c6ef86e3c025b875c748d882178b8997b82fc1539fdbda47adfbea3a5a6
|
data/Changelog
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'bundler/setup'
|
2
2
|
require 'sinatra/base'
|
3
|
+
require 'sinatra/cross_origin'
|
3
4
|
require 'nokogiri'
|
4
5
|
require 'json'
|
5
6
|
|
@@ -10,7 +11,10 @@ module PinchHitter::Service
|
|
10
11
|
class ReplayWs < Sinatra::Base
|
11
12
|
include PinchHitter::Message::ContentType
|
12
13
|
|
14
|
+
register Sinatra::CrossOrigin
|
15
|
+
|
13
16
|
configure do
|
17
|
+
enable :cross_origin
|
14
18
|
@@handlers = EndpointHandlers.new
|
15
19
|
#SOAP expects a mime_type of text/xml
|
16
20
|
mime_type :xml, "text/xml"
|
data/lib/pinch_hitter/version.rb
CHANGED
data/pinch_hitter.gemspec
CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.add_dependency 'sinatra', '>= 1.3.3'
|
21
21
|
gem.add_dependency 'nokogiri', '>= 1.5.6'
|
22
22
|
gem.add_dependency 'json', '>= 1.7.6'
|
23
|
+
gem.add_dependency 'sinatra-cross_origin', '~> 0.3.1'
|
23
24
|
|
24
25
|
gem.add_development_dependency 'minitest', '>= 4.3.3'
|
25
26
|
gem.add_development_dependency 'rack-test', '>= 0.6.2'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pinch_hitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Jackson
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.7.6
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sinatra-cross_origin
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.3.1
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.3.1
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: minitest
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|