gateway-http 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/gateway-http.gemspec +6 -6
- data/lib/gateway/http.rb +1 -1
- data/lib/gateway-http.rb +0 -1
- metadata +6 -6
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/gateway-http.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "gateway-http"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aaron Qian"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-01-23"
|
13
13
|
s.description = " Gateway wrapper client for Net::HTTP "
|
14
14
|
s.email = "aq1018@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
|
|
33
33
|
s.homepage = "http://github.com/aq1018/gateway-http"
|
34
34
|
s.licenses = ["MIT"]
|
35
35
|
s.require_paths = ["lib"]
|
36
|
-
s.rubygems_version = "1.8.
|
36
|
+
s.rubygems_version = "1.8.24"
|
37
37
|
s.summary = "Gateway wrapper client for Net::HTTP"
|
38
38
|
|
39
39
|
if s.respond_to? :specification_version then
|
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
|
|
45
45
|
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
|
46
46
|
s.add_development_dependency(%q<yard>, ["~> 0.7"])
|
47
47
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
48
|
-
s.add_development_dependency(%q<bundler>, ["
|
48
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
49
49
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
50
50
|
else
|
51
51
|
s.add_dependency(%q<gateway>, [">= 0.1.0"])
|
@@ -53,7 +53,7 @@ Gem::Specification.new do |s|
|
|
53
53
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
54
54
|
s.add_dependency(%q<yard>, ["~> 0.7"])
|
55
55
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
56
|
-
s.add_dependency(%q<bundler>, ["
|
56
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
57
57
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
58
58
|
end
|
59
59
|
else
|
@@ -62,7 +62,7 @@ Gem::Specification.new do |s|
|
|
62
62
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
63
63
|
s.add_dependency(%q<yard>, ["~> 0.7"])
|
64
64
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
65
|
-
s.add_dependency(%q<bundler>, ["
|
65
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
66
66
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
67
67
|
end
|
68
68
|
end
|
data/lib/gateway/http.rb
CHANGED
@@ -119,7 +119,7 @@ module Gateway
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def prepare_request(method, path, body, header)
|
122
|
-
klass =
|
122
|
+
klass = Net::HTTP.const_get method.to_s.capitalize
|
123
123
|
|
124
124
|
header = self.header.merge(header || {})
|
125
125
|
req = klass.new path, header
|
data/lib/gateway-http.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gateway-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gateway
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
|
-
- -
|
99
|
+
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: 1.0.0
|
102
102
|
type: :development
|
@@ -104,7 +104,7 @@ dependencies:
|
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: 1.0.0
|
110
110
|
- !ruby/object:Gem::Dependency
|
@@ -158,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
segments:
|
160
160
|
- 0
|
161
|
-
hash: -
|
161
|
+
hash: -638591818815088042
|
162
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
163
|
none: false
|
164
164
|
requirements:
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
169
|
rubyforge_project:
|
170
|
-
rubygems_version: 1.8.
|
170
|
+
rubygems_version: 1.8.24
|
171
171
|
signing_key:
|
172
172
|
specification_version: 3
|
173
173
|
summary: Gateway wrapper client for Net::HTTP
|