webmock 1.7.10 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. data/.travis.yml +2 -2
  2. data/CHANGELOG.md +98 -24
  3. data/Gemfile +2 -3
  4. data/README.md +45 -4
  5. data/Rakefile +2 -2
  6. data/lib/webmock.rb +3 -0
  7. data/lib/webmock/api.rb +34 -6
  8. data/lib/webmock/http_lib_adapters/curb_adapter.rb +4 -41
  9. data/lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb +1 -1
  10. data/lib/webmock/http_lib_adapters/excon_adapter.rb +94 -0
  11. data/lib/webmock/http_lib_adapters/httpclient_adapter.rb +31 -4
  12. data/lib/webmock/http_lib_adapters/net_http.rb +2 -0
  13. data/lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb +4 -3
  14. data/lib/webmock/matchers/hash_including_matcher.rb +25 -0
  15. data/lib/webmock/rack_response.rb +8 -1
  16. data/lib/webmock/request_pattern.rb +108 -77
  17. data/lib/webmock/request_signature.rb +1 -0
  18. data/lib/webmock/stub_registry.rb +9 -8
  19. data/lib/webmock/version.rb +1 -1
  20. data/lib/webmock/webmock.rb +5 -2
  21. data/minitest/webmock_spec.rb +22 -2
  22. data/spec/acceptance/curb/curb_spec_helper.rb +12 -2
  23. data/spec/acceptance/em_http_request/em_http_request_spec.rb +42 -33
  24. data/spec/acceptance/em_http_request/em_http_request_spec_helper.rb +4 -2
  25. data/spec/acceptance/excon/excon_spec.rb +15 -0
  26. data/spec/acceptance/excon/excon_spec_helper.rb +37 -0
  27. data/spec/acceptance/net_http/net_http_spec.rb +7 -0
  28. data/spec/acceptance/net_http/net_http_spec_helper.rb +3 -1
  29. data/spec/acceptance/patron/patron_spec.rb +12 -3
  30. data/spec/acceptance/patron/patron_spec_helper.rb +2 -2
  31. data/spec/acceptance/shared/allowing_and_disabling_net_connect.rb +3 -3
  32. data/spec/acceptance/shared/callbacks.rb +22 -6
  33. data/spec/acceptance/shared/complex_cross_concern_behaviors.rb +21 -0
  34. data/spec/acceptance/shared/enabling_and_disabling_webmock.rb +10 -11
  35. data/spec/acceptance/shared/precedence_of_stubs.rb +1 -1
  36. data/spec/acceptance/shared/request_expectations.rb +49 -3
  37. data/spec/acceptance/shared/returning_declared_responses.rb +9 -21
  38. data/spec/acceptance/shared/stubbing_requests.rb +80 -4
  39. data/spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb +1 -1
  40. data/spec/acceptance/webmock_shared.rb +11 -8
  41. data/spec/spec_helper.rb +3 -3
  42. data/spec/support/my_rack_app.rb +25 -1
  43. data/spec/support/webmock_server.rb +9 -6
  44. data/spec/unit/rack_response_spec.rb +18 -0
  45. data/spec/unit/request_pattern_spec.rb +205 -96
  46. data/spec/unit/request_signature_spec.rb +36 -34
  47. data/spec/unit/util/uri_spec.rb +14 -2
  48. data/test/shared_test.rb +31 -2
  49. data/webmock.gemspec +9 -7
  50. metadata +86 -73
@@ -71,40 +71,42 @@ describe WebMock::RequestSignature do
71
71
  end
72
72
 
73
73
 
74
- describe "eql?" do
75
- it "should be true for two signatures with the same values" do
76
- signature1 = WebMock::RequestSignature.new(:get, "www.example.com",
77
- :body => "abc", :headers => {'A' => 'a', 'B' => 'b'})
78
- signature2 = WebMock::RequestSignature.new(:get, "www.example.com",
79
- :body => "abc", :headers => {'A' => 'a', 'B' => 'b'})
80
-
81
- signature1.should eql(signature2)
82
- end
83
-
84
- it "should be false for two signatures with different method" do
85
- signature1 = WebMock::RequestSignature.new(:get, "www.example.com")
86
- signature2 = WebMock::RequestSignature.new(:put, "www.example.com")
87
- signature1.should_not eql(signature2)
88
- end
89
-
90
- it "should be false for two signatures with different uri" do
91
- signature1 = WebMock::RequestSignature.new(:get, "www.example.com")
92
- signature2 = WebMock::RequestSignature.new(:get, "www.example.org")
93
- signature1.should_not eql(signature2)
94
- end
95
-
96
- it "should be false for two signatures with different body" do
97
- signature1 = WebMock::RequestSignature.new(:get, "www.example.com", :body => "abc")
98
- signature2 = WebMock::RequestSignature.new(:get, "www.example.com", :body => "def")
99
- signature1.should_not eql(signature2)
100
- end
101
-
102
- it "should be false for two signatures with different headers" do
103
- signature1 = WebMock::RequestSignature.new(:get, "www.example.com",
104
- :headers => {'A' => 'a'})
105
- signature2 = WebMock::RequestSignature.new(:get, "www.example.com",
106
- :headers => {'A' => 'A'})
107
- signature1.should_not eql(signature2)
74
+ [:==, :eql?].each do |method|
75
+ describe method do
76
+ it "should be true for two signatures with the same values" do
77
+ signature1 = WebMock::RequestSignature.new(:get, "www.example.com",
78
+ :body => "abc", :headers => {'A' => 'a', 'B' => 'b'})
79
+ signature2 = WebMock::RequestSignature.new(:get, "www.example.com",
80
+ :body => "abc", :headers => {'A' => 'a', 'B' => 'b'})
81
+
82
+ signature1.send(method, signature2).should be_true
83
+ end
84
+
85
+ it "should be false for two signatures with different method" do
86
+ signature1 = WebMock::RequestSignature.new(:get, "www.example.com")
87
+ signature2 = WebMock::RequestSignature.new(:put, "www.example.com")
88
+ signature1.send(method, signature2).should be_false
89
+ end
90
+
91
+ it "should be false for two signatures with different uri" do
92
+ signature1 = WebMock::RequestSignature.new(:get, "www.example.com")
93
+ signature2 = WebMock::RequestSignature.new(:get, "www.example.org")
94
+ signature1.send(method, signature2).should be_false
95
+ end
96
+
97
+ it "should be false for two signatures with different body" do
98
+ signature1 = WebMock::RequestSignature.new(:get, "www.example.com", :body => "abc")
99
+ signature2 = WebMock::RequestSignature.new(:get, "www.example.com", :body => "def")
100
+ signature1.send(method, signature2).should be_false
101
+ end
102
+
103
+ it "should be false for two signatures with different headers" do
104
+ signature1 = WebMock::RequestSignature.new(:get, "www.example.com",
105
+ :headers => {'A' => 'a'})
106
+ signature2 = WebMock::RequestSignature.new(:get, "www.example.com",
107
+ :headers => {'A' => 'A'})
108
+ signature1.send(method, signature2).should be_false
109
+ end
108
110
  end
109
111
  end
110
112
 
@@ -168,10 +168,22 @@ describe WebMock::Util::URI do
168
168
  end
169
169
 
170
170
  it "should successfully handle array parameters" do
171
- uri = 'http://www.example.com:80/path?a[]=b&a[]=c'
172
- lambda { WebMock::Util::URI.normalize_uri(uri) }.should_not raise_error(ArgumentError)
171
+ uri_string = 'http://www.example.com:80/path?a[]=b&a[]=c'
172
+ uri = WebMock::Util::URI.normalize_uri(uri_string)
173
+ uri.query_values.should == {"a"=>["b", "c"]}
173
174
  end
174
175
 
176
+ it "should successfully handle hash parameters" do
177
+ uri_string = 'http://www.example.com:80/path?a[d]=b&a[e]=c&a[b][c]=1'
178
+ uri = WebMock::Util::URI.normalize_uri(uri_string)
179
+ uri.query_values.should == {"a"=>{"d"=>"b", "e"=>"c", "b"=>{"c"=>"1"}}}
180
+ end
181
+
182
+ it "should successfully handle nested hash parameters" do
183
+ uri_string = 'http://www.example.com:80/path?one[two][three][]=four&one[two][three][]=five'
184
+ uri = WebMock::Util::URI.normalize_uri(uri_string)
185
+ uri.query_values.should == {"one"=>{"two"=>{"three" => ["four", "five"]}}}
186
+ end
175
187
  end
176
188
 
177
189
  describe "stripping default port" do
@@ -5,8 +5,8 @@ module SharedTest
5
5
 
6
6
  def setup
7
7
  super
8
- stub_http_request(:any, "http://www.example.com")
9
- stub_http_request(:any, "https://www.example.com")
8
+ @stub_http = stub_http_request(:any, "http://www.example.com")
9
+ @stub_https = stub_http_request(:any, "https://www.example.com")
10
10
  end
11
11
 
12
12
  def test_error_on_non_stubbed_request
@@ -22,6 +22,12 @@ module SharedTest
22
22
  assert_requested(:get, "http://www.example.com")
23
23
  end
24
24
 
25
+ def test_verification_that_expected_stub_occured
26
+ http_request(:get, "http://www.example.com/")
27
+ assert_requested(@stub_http, :times => 1)
28
+ assert_requested(@stub_http)
29
+ end
30
+
25
31
  def test_verification_that_expected_request_didnt_occur
26
32
  expected_message = "The request GET http://www.example.com/ was expected to execute 1 time but it executed 0 times"
27
33
  expected_message << "\n\nThe following requests were made:\n\nNo requests were made.\n============================================================"
@@ -30,6 +36,14 @@ module SharedTest
30
36
  end
31
37
  end
32
38
 
39
+ def test_verification_that_expected_request_didnt_occur
40
+ expected_message = "The request ANY http://www.example.com/ was expected to execute 1 time but it executed 0 times"
41
+ expected_message << "\n\nThe following requests were made:\n\nNo requests were made.\n============================================================"
42
+ assert_fail(expected_message) do
43
+ assert_requested(@stub_http)
44
+ end
45
+ end
46
+
33
47
  def test_verification_that_expected_request_occured_with_body_and_headers
34
48
  http_request(:get, "http://www.example.com/",
35
49
  :body => "abc", :headers => {'A' => 'a'})
@@ -37,6 +51,13 @@ module SharedTest
37
51
  :body => "abc", :headers => {'A' => 'a'})
38
52
  end
39
53
 
54
+ def test_verification_that_expected_request_occured_with_query_params
55
+ stub_request(:any, "http://www.example.com").with(:query => hash_including({"a" => ["b", "c"]}))
56
+ http_request(:get, "http://www.example.com/?a[]=b&a[]=c&x=1")
57
+ assert_requested(:get, "http://www.example.com",
58
+ :query => hash_including({"a" => ["b", "c"]}))
59
+ end
60
+
40
61
  def test_verification_that_non_expected_request_didnt_occur
41
62
  expected_message = %r(The request GET http://www.example.com/ was expected to execute 0 times but it executed 1 time\n\nThe following requests were made:\n\nGET http://www.example.com/ with headers .+ was made 1 time\n\n============================================================)
42
63
  assert_fail(expected_message) do
@@ -44,4 +65,12 @@ module SharedTest
44
65
  assert_not_requested(:get, "http://www.example.com")
45
66
  end
46
67
  end
68
+
69
+ def test_verification_that_non_expected_stub_didnt_occur
70
+ expected_message = %r(The request ANY http://www.example.com/ was expected to execute 0 times but it executed 1 time\n\nThe following requests were made:\n\nGET http://www.example.com/ with headers .+ was made 1 time\n\n============================================================)
71
+ assert_fail(expected_message) do
72
+ http_request(:get, "http://www.example.com/")
73
+ assert_not_requested(@stub_http)
74
+ end
75
+ end
47
76
  end
@@ -14,15 +14,17 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.rubyforge_project = 'webmock'
16
16
 
17
- s.add_dependency 'addressable', '~> 2.2', '> 2.2.5'
17
+ s.add_dependency 'addressable', '>= 2.2.7'
18
18
  s.add_dependency 'crack', '>=0.1.7'
19
19
 
20
- s.add_development_dependency 'rspec', '>= 2.0.0'
21
- s.add_development_dependency 'httpclient', '>= 2.1.5.2'
22
- s.add_development_dependency 'patron', '>= 0.4.15'
23
- s.add_development_dependency 'em-http-request', '~> 0.3.0'
24
- s.add_development_dependency 'curb', '0.7.15'
25
- s.add_development_dependency 'typhoeus', '>= 0.2.4'
20
+ s.add_development_dependency 'rspec', '~> 2.8'
21
+ s.add_development_dependency 'httpclient', '>= 2.2.4'
22
+ s.add_development_dependency 'patron', '>= 0.4.17' unless RUBY_PLATFORM =~ /java/
23
+ s.add_development_dependency 'em-http-request', '>= 1.0.0'
24
+ s.add_development_dependency 'em-synchrony', '>= 1.0.0' if RUBY_VERSION >= "1.9"
25
+ s.add_development_dependency 'curb', '>= 0.8.0' unless RUBY_PLATFORM =~ /java/
26
+ s.add_development_dependency 'typhoeus', '>= 0.3.0' unless RUBY_PLATFORM =~ /java/
27
+ s.add_development_dependency 'excon', '>= 0.9.5'
26
28
  s.add_development_dependency 'minitest', '>= 2.2.2'
27
29
  s.add_development_dependency 'rdoc', ((RUBY_VERSION == '1.8.6') ? '<= 3.5.0' : '>3.5.0')
28
30
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webmock
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 7
9
- - 10
10
- version: 1.7.10
8
+ - 8
9
+ - 0
10
+ version: 1.8.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bartosz Blimke
@@ -15,35 +15,26 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-04 00:00:00 +01:00
19
- default_executable:
18
+ date: 2012-02-20 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
22
  none: false
25
23
  requirements:
26
- - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 7
29
- segments:
30
- - 2
31
- - 2
32
- version: "2.2"
33
- - - ">"
24
+ - - ">="
34
25
  - !ruby/object:Gem::Version
35
- hash: 13
26
+ hash: 9
36
27
  segments:
37
28
  - 2
38
29
  - 2
39
- - 5
40
- version: 2.2.5
30
+ - 7
31
+ version: 2.2.7
32
+ prerelease: false
33
+ requirement: *id001
41
34
  type: :runtime
42
35
  name: addressable
43
- version_requirements: *id001
44
36
  - !ruby/object:Gem::Dependency
45
- prerelease: false
46
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
47
38
  none: false
48
39
  requirements:
49
40
  - - ">="
@@ -54,109 +45,123 @@ dependencies:
54
45
  - 1
55
46
  - 7
56
47
  version: 0.1.7
48
+ prerelease: false
49
+ requirement: *id002
57
50
  type: :runtime
58
51
  name: crack
59
- version_requirements: *id002
60
52
  - !ruby/object:Gem::Dependency
61
- prerelease: false
62
- requirement: &id003 !ruby/object:Gem::Requirement
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
63
54
  none: false
64
55
  requirements:
65
- - - ">="
56
+ - - ~>
66
57
  - !ruby/object:Gem::Version
67
- hash: 15
58
+ hash: 19
68
59
  segments:
69
60
  - 2
70
- - 0
71
- - 0
72
- version: 2.0.0
61
+ - 8
62
+ version: "2.8"
63
+ prerelease: false
64
+ requirement: *id003
73
65
  type: :development
74
66
  name: rspec
75
- version_requirements: *id003
76
67
  - !ruby/object:Gem::Dependency
77
- prerelease: false
78
- requirement: &id004 !ruby/object:Gem::Requirement
68
+ version_requirements: &id004 !ruby/object:Gem::Requirement
79
69
  none: false
80
70
  requirements:
81
71
  - - ">="
82
72
  - !ruby/object:Gem::Version
83
- hash: 119
73
+ hash: 15
84
74
  segments:
85
75
  - 2
86
- - 1
87
- - 5
88
76
  - 2
89
- version: 2.1.5.2
77
+ - 4
78
+ version: 2.2.4
79
+ prerelease: false
80
+ requirement: *id004
90
81
  type: :development
91
82
  name: httpclient
92
- version_requirements: *id004
93
83
  - !ruby/object:Gem::Dependency
94
- prerelease: false
95
- requirement: &id005 !ruby/object:Gem::Requirement
84
+ version_requirements: &id005 !ruby/object:Gem::Requirement
96
85
  none: false
97
86
  requirements:
98
87
  - - ">="
99
88
  - !ruby/object:Gem::Version
100
- hash: 17
89
+ hash: 45
101
90
  segments:
102
91
  - 0
103
92
  - 4
104
- - 15
105
- version: 0.4.15
93
+ - 17
94
+ version: 0.4.17
95
+ prerelease: false
96
+ requirement: *id005
106
97
  type: :development
107
98
  name: patron
108
- version_requirements: *id005
109
99
  - !ruby/object:Gem::Dependency
110
- prerelease: false
111
- requirement: &id006 !ruby/object:Gem::Requirement
100
+ version_requirements: &id006 !ruby/object:Gem::Requirement
112
101
  none: false
113
102
  requirements:
114
- - - ~>
103
+ - - ">="
115
104
  - !ruby/object:Gem::Version
116
- hash: 19
105
+ hash: 23
117
106
  segments:
107
+ - 1
118
108
  - 0
119
- - 3
120
109
  - 0
121
- version: 0.3.0
110
+ version: 1.0.0
111
+ prerelease: false
112
+ requirement: *id006
122
113
  type: :development
123
114
  name: em-http-request
124
- version_requirements: *id006
125
115
  - !ruby/object:Gem::Dependency
126
- prerelease: false
127
- requirement: &id007 !ruby/object:Gem::Requirement
116
+ version_requirements: &id007 !ruby/object:Gem::Requirement
128
117
  none: false
129
118
  requirements:
130
- - - "="
119
+ - - ">="
131
120
  - !ruby/object:Gem::Version
132
- hash: 29
121
+ hash: 63
133
122
  segments:
134
123
  - 0
135
- - 7
136
- - 15
137
- version: 0.7.15
124
+ - 8
125
+ - 0
126
+ version: 0.8.0
127
+ prerelease: false
128
+ requirement: *id007
138
129
  type: :development
139
130
  name: curb
140
- version_requirements: *id007
141
131
  - !ruby/object:Gem::Dependency
142
- prerelease: false
143
- requirement: &id008 !ruby/object:Gem::Requirement
132
+ version_requirements: &id008 !ruby/object:Gem::Requirement
144
133
  none: false
145
134
  requirements:
146
135
  - - ">="
147
136
  - !ruby/object:Gem::Version
148
- hash: 31
137
+ hash: 19
149
138
  segments:
150
139
  - 0
151
- - 2
152
- - 4
153
- version: 0.2.4
140
+ - 3
141
+ - 0
142
+ version: 0.3.0
143
+ prerelease: false
144
+ requirement: *id008
154
145
  type: :development
155
146
  name: typhoeus
156
- version_requirements: *id008
157
147
  - !ruby/object:Gem::Dependency
148
+ version_requirements: &id009 !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ hash: 49
154
+ segments:
155
+ - 0
156
+ - 9
157
+ - 5
158
+ version: 0.9.5
158
159
  prerelease: false
159
- requirement: &id009 !ruby/object:Gem::Requirement
160
+ requirement: *id009
161
+ type: :development
162
+ name: excon
163
+ - !ruby/object:Gem::Dependency
164
+ version_requirements: &id010 !ruby/object:Gem::Requirement
160
165
  none: false
161
166
  requirements:
162
167
  - - ">="
@@ -167,12 +172,12 @@ dependencies:
167
172
  - 2
168
173
  - 2
169
174
  version: 2.2.2
175
+ prerelease: false
176
+ requirement: *id010
170
177
  type: :development
171
178
  name: minitest
172
- version_requirements: *id009
173
179
  - !ruby/object:Gem::Dependency
174
- prerelease: false
175
- requirement: &id010 !ruby/object:Gem::Requirement
180
+ version_requirements: &id011 !ruby/object:Gem::Requirement
176
181
  none: false
177
182
  requirements:
178
183
  - - ">"
@@ -183,9 +188,10 @@ dependencies:
183
188
  - 5
184
189
  - 0
185
190
  version: 3.5.0
191
+ prerelease: false
192
+ requirement: *id011
186
193
  type: :development
187
194
  name: rdoc
188
- version_requirements: *id010
189
195
  description: WebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
190
196
  email:
191
197
  - bartosz.blimke@gmail.com
@@ -219,6 +225,7 @@ files:
219
225
  - lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb
220
226
  - lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb
221
227
  - lib/webmock/http_lib_adapters/em_http_request_adapter.rb
228
+ - lib/webmock/http_lib_adapters/excon_adapter.rb
222
229
  - lib/webmock/http_lib_adapters/http_lib_adapter.rb
223
230
  - lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
224
231
  - lib/webmock/http_lib_adapters/httpclient_adapter.rb
@@ -226,6 +233,7 @@ files:
226
233
  - lib/webmock/http_lib_adapters/net_http_response.rb
227
234
  - lib/webmock/http_lib_adapters/patron_adapter.rb
228
235
  - lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
236
+ - lib/webmock/matchers/hash_including_matcher.rb
229
237
  - lib/webmock/minitest.rb
230
238
  - lib/webmock/rack_response.rb
231
239
  - lib/webmock/request_execution_verifier.rb
@@ -256,6 +264,8 @@ files:
256
264
  - spec/acceptance/curb/curb_spec_helper.rb
257
265
  - spec/acceptance/em_http_request/em_http_request_spec.rb
258
266
  - spec/acceptance/em_http_request/em_http_request_spec_helper.rb
267
+ - spec/acceptance/excon/excon_spec.rb
268
+ - spec/acceptance/excon/excon_spec_helper.rb
259
269
  - spec/acceptance/httpclient/httpclient_spec.rb
260
270
  - spec/acceptance/httpclient/httpclient_spec_helper.rb
261
271
  - spec/acceptance/net_http/net_http_shared.rb
@@ -266,6 +276,7 @@ files:
266
276
  - spec/acceptance/patron/patron_spec_helper.rb
267
277
  - spec/acceptance/shared/allowing_and_disabling_net_connect.rb
268
278
  - spec/acceptance/shared/callbacks.rb
279
+ - spec/acceptance/shared/complex_cross_concern_behaviors.rb
269
280
  - spec/acceptance/shared/enabling_and_disabling_webmock.rb
270
281
  - spec/acceptance/shared/precedence_of_stubs.rb
271
282
  - spec/acceptance/shared/request_expectations.rb
@@ -303,7 +314,6 @@ files:
303
314
  - test/test_helper.rb
304
315
  - test/test_webmock.rb
305
316
  - webmock.gemspec
306
- has_rdoc: true
307
317
  homepage: http://github.com/bblimke/webmock
308
318
  licenses: []
309
319
 
@@ -333,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
343
  requirements: []
334
344
 
335
345
  rubyforge_project: webmock
336
- rubygems_version: 1.6.2
346
+ rubygems_version: 1.8.15
337
347
  signing_key:
338
348
  specification_version: 3
339
349
  summary: Library for stubbing HTTP requests in Ruby.
@@ -342,6 +352,8 @@ test_files:
342
352
  - spec/acceptance/curb/curb_spec_helper.rb
343
353
  - spec/acceptance/em_http_request/em_http_request_spec.rb
344
354
  - spec/acceptance/em_http_request/em_http_request_spec_helper.rb
355
+ - spec/acceptance/excon/excon_spec.rb
356
+ - spec/acceptance/excon/excon_spec_helper.rb
345
357
  - spec/acceptance/httpclient/httpclient_spec.rb
346
358
  - spec/acceptance/httpclient/httpclient_spec_helper.rb
347
359
  - spec/acceptance/net_http/net_http_shared.rb
@@ -352,6 +364,7 @@ test_files:
352
364
  - spec/acceptance/patron/patron_spec_helper.rb
353
365
  - spec/acceptance/shared/allowing_and_disabling_net_connect.rb
354
366
  - spec/acceptance/shared/callbacks.rb
367
+ - spec/acceptance/shared/complex_cross_concern_behaviors.rb
355
368
  - spec/acceptance/shared/enabling_and_disabling_webmock.rb
356
369
  - spec/acceptance/shared/precedence_of_stubs.rb
357
370
  - spec/acceptance/shared/request_expectations.rb