gateway-http 0.2.2 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NzEyNWRmZjE0M2MzNGUyYWZlOTA4OTRkY2I5MGJmOWY2YmJlYjk3NA==
5
+ data.tar.gz: !binary |-
6
+ ZDE1MjcxOThjNjBjMDQ3MWY0ZTQ1OGFmNjRjZGMxNTY5NWI3OTYzZQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YTBmNGY2ZTYwZDc1ZWIwMzI5YzAyMGRhMzAxOTQ1MmU1YWYxMGI3ZDBmNTEz
10
+ YmQ0NGFmMmZkZjMyMjkzMDBiZGY5MGE4YzFhZDIzNmI1NGU4YTdkZjIwZjU1
11
+ NTIzMzg2ZGI0NTk2YTRkODZmZDQ0OWI5YmZmZDIwZDI5M2ZhNDY=
12
+ data.tar.gz: !binary |-
13
+ OWNiNjUyYjMwY2Y1ZjQ2NGUzMmYwNzQwYjlhM2UwMmNmZDM3ZmRiNjA1NDNj
14
+ ZGUwMjVhZmQ2OTg4NjNiNDQ3NWViYzRiYTA3N2VmNzg1MmFiZDY4MmJhMDQx
15
+ NTNkNTY5ZDg2NjBhMDAzYzVlMDRjNTQ5OGJjNWJkYzVkMzM1Nzg=
data/Gemfile CHANGED
@@ -8,9 +8,9 @@ gem "net-http-pipeline", "~> 1.0"
8
8
  # Add dependencies to develop your gem here.
9
9
  # Include everything needed to run rake, tests, features, etc.
10
10
  group :development do
11
- gem "rspec", "~> 2.8.0"
12
- gem "yard", "~> 0.7"
13
- gem "rdoc", "~> 3.12"
14
- gem "bundler", ">= 1.0.0"
15
- gem "jeweler", "~> 1.8.3"
11
+ gem "rspec"
12
+ gem "yard"
13
+ gem "rdoc"
14
+ gem "bundler"
15
+ gem "jeweler"
16
16
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.4
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.2"
8
+ s.version = "0.2.4"
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 = "2013-01-23"
12
+ s.date = "2013-05-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,37 +33,37 @@ 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.24"
36
+ s.rubygems_version = "2.0.3"
37
37
  s.summary = "Gateway wrapper client for Net::HTTP"
38
38
 
39
39
  if s.respond_to? :specification_version then
40
- s.specification_version = 3
40
+ s.specification_version = 4
41
41
 
42
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
43
  s.add_runtime_dependency(%q<gateway>, [">= 0.1.0"])
44
44
  s.add_runtime_dependency(%q<net-http-pipeline>, ["~> 1.0"])
45
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
46
- s.add_development_dependency(%q<yard>, ["~> 0.7"])
47
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
48
- s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
49
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
45
+ s.add_development_dependency(%q<rspec>, [">= 0"])
46
+ s.add_development_dependency(%q<yard>, [">= 0"])
47
+ s.add_development_dependency(%q<rdoc>, [">= 0"])
48
+ s.add_development_dependency(%q<bundler>, [">= 0"])
49
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
50
50
  else
51
51
  s.add_dependency(%q<gateway>, [">= 0.1.0"])
52
52
  s.add_dependency(%q<net-http-pipeline>, ["~> 1.0"])
53
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
54
- s.add_dependency(%q<yard>, ["~> 0.7"])
55
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
56
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
57
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
53
+ s.add_dependency(%q<rspec>, [">= 0"])
54
+ s.add_dependency(%q<yard>, [">= 0"])
55
+ s.add_dependency(%q<rdoc>, [">= 0"])
56
+ s.add_dependency(%q<bundler>, [">= 0"])
57
+ s.add_dependency(%q<jeweler>, [">= 0"])
58
58
  end
59
59
  else
60
60
  s.add_dependency(%q<gateway>, [">= 0.1.0"])
61
61
  s.add_dependency(%q<net-http-pipeline>, ["~> 1.0"])
62
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
63
- s.add_dependency(%q<yard>, ["~> 0.7"])
64
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
65
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
66
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
62
+ s.add_dependency(%q<rspec>, [">= 0"])
63
+ s.add_dependency(%q<yard>, [">= 0"])
64
+ s.add_dependency(%q<rdoc>, [">= 0"])
65
+ s.add_dependency(%q<bundler>, [">= 0"])
66
+ s.add_dependency(%q<jeweler>, [">= 0"])
67
67
  end
68
68
  end
69
69
 
data/lib/gateway/http.rb CHANGED
@@ -83,12 +83,12 @@ module Gateway
83
83
  end
84
84
 
85
85
  def put(path, body=nil, header=nil, opts={})
86
- req= prepare_request(:put, path, body, header)
86
+ req = prepare_request(:put, path, body, header)
87
87
  request(req, opts)
88
88
  end
89
89
 
90
90
  def delete(path, header=nil, opts={})
91
- prepare_request(:delete, path, nil, header)
91
+ req = prepare_request(:delete, path, nil, header)
92
92
  request(req, opts)
93
93
  end
94
94
 
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gateway-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
5
- prerelease:
4
+ version: 0.2.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Aaron Qian
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
11
+ date: 2013-05-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: gateway
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: net-http-pipeline
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,83 +41,73 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - ! '>='
52
46
  - !ruby/object:Gem::Version
53
- version: 2.8.0
47
+ version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - ! '>='
60
53
  - !ruby/object:Gem::Version
61
- version: 2.8.0
54
+ version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: yard
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - ! '>='
68
60
  - !ruby/object:Gem::Version
69
- version: '0.7'
61
+ version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - ! '>='
76
67
  - !ruby/object:Gem::Version
77
- version: '0.7'
68
+ version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rdoc
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - ! '>='
84
74
  - !ruby/object:Gem::Version
85
- version: '3.12'
75
+ version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - ! '>='
92
81
  - !ruby/object:Gem::Version
93
- version: '3.12'
82
+ version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: bundler
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - ! '>='
100
88
  - !ruby/object:Gem::Version
101
- version: 1.0.0
89
+ version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - ! '>='
108
95
  - !ruby/object:Gem::Version
109
- version: 1.0.0
96
+ version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: jeweler
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ~>
101
+ - - ! '>='
116
102
  - !ruby/object:Gem::Version
117
- version: 1.8.3
103
+ version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ~>
108
+ - - ! '>='
124
109
  - !ruby/object:Gem::Version
125
- version: 1.8.3
110
+ version: '0'
126
111
  description: ! ' Gateway wrapper client for Net::HTTP '
127
112
  email: aq1018@gmail.com
128
113
  executables: []
@@ -146,29 +131,26 @@ files:
146
131
  homepage: http://github.com/aq1018/gateway-http
147
132
  licenses:
148
133
  - MIT
134
+ metadata: {}
149
135
  post_install_message:
150
136
  rdoc_options: []
151
137
  require_paths:
152
138
  - lib
153
139
  required_ruby_version: !ruby/object:Gem::Requirement
154
- none: false
155
140
  requirements:
156
141
  - - ! '>='
157
142
  - !ruby/object:Gem::Version
158
143
  version: '0'
159
- segments:
160
- - 0
161
- hash: -638591818815088042
162
144
  required_rubygems_version: !ruby/object:Gem::Requirement
163
- none: false
164
145
  requirements:
165
146
  - - ! '>='
166
147
  - !ruby/object:Gem::Version
167
148
  version: '0'
168
149
  requirements: []
169
150
  rubyforge_project:
170
- rubygems_version: 1.8.24
151
+ rubygems_version: 2.0.3
171
152
  signing_key:
172
- specification_version: 3
153
+ specification_version: 4
173
154
  summary: Gateway wrapper client for Net::HTTP
174
155
  test_files: []
156
+ has_rdoc: