dubdubdub 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/dubdubdub.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dubdubdub"
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Hu"]
12
- s.date = "2012-12-23"
12
+ s.date = "2013-01-24"
13
13
  s.description = "A library that provides web utility methods with proxification."
14
14
  s.email = "axsuul@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -38,6 +38,7 @@ Gem::Specification.new do |s|
38
38
  "spec/vcr/follow/base.yml",
39
39
  "spec/vcr/follow/eoferror.yml",
40
40
  "spec/vcr/follow/https.yml",
41
+ "spec/vcr/follow/invalid_uris.yml",
41
42
  "spec/vcr/follow/pass_block.yml",
42
43
  "spec/vcr/follow/pass_block_iteration.yml",
43
44
  "spec/vcr/follow/proxy.yml",
@@ -45,6 +46,7 @@ Gem::Specification.new do |s|
45
46
  "spec/vcr/follow/relative_redirects.yml",
46
47
  "spec/vcr/follow/uri_error.yml",
47
48
  "spec/vcr/get/basic.yml",
49
+ "spec/vcr/get/doesnt_exist.yml",
48
50
  "spec/vcr/get/params.yml",
49
51
  "spec/vcr/get/proxy.yml"
50
52
  ]
data/lib/dubdubdub.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  class DubDubDub
2
2
  # Version
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
 
5
5
  attr_accessor :client
6
6
 
@@ -71,17 +71,23 @@ class DubDubDub::Client
71
71
 
72
72
  # Perform a GET request
73
73
  def get(url, *args)
74
- rest_client_resource(url).get(*args)
74
+ handle_rest_client_exceptions do
75
+ rest_client_resource(url).get(*args)
76
+ end
75
77
  end
76
78
 
77
79
  # Perform a POST request
78
80
  def post(url, *args)
79
- rest_client_resource(url).post(*args)
81
+ handle_rest_client_exceptions do
82
+ rest_client_resource(url).post(*args)
83
+ end
80
84
  end
81
85
 
82
86
  # Perform a DELETE request
83
87
  def delete(url, *args)
84
- rest_client_resource(url).delete(*args)
88
+ handle_rest_client_exceptions do
89
+ rest_client_resource(url).delete(*args)
90
+ end
85
91
  end
86
92
 
87
93
  # Helper method to crawl by using a GET request via RestClient
@@ -123,4 +129,13 @@ class DubDubDub::Client
123
129
  raise DubDubDub::ResponseError.new(e, e.response_code)
124
130
  end
125
131
  end
132
+
133
+ def handle_rest_client_exceptions(&block)
134
+ begin
135
+ yield
136
+ rescue RestClient::Exception => e
137
+ raise DubDubDub::ResponseError.new(e, e.response.code)
138
+ end
139
+
140
+ end
126
141
  end
@@ -174,6 +174,18 @@ describe DubDubDub do
174
174
 
175
175
  html.css('.ip').text.strip.should == "173.234.181.64"
176
176
  end
177
+
178
+ it "raises an exception if it doesn't exist", vcr: { cassette_name: "get/doesnt_exist", record: :all } do
179
+ lambda { www.get("https://github.com/asdasd/asdasd") }.should raise_error(DubDubDub::ResponseError)
180
+
181
+ begin
182
+ www.get("https://github.com/asdasd/asdasd")
183
+ rescue DubDubDub::ResponseError => e
184
+ e.code.should == 404
185
+ e.error.should_not be_nil
186
+ e.message.should_not be_nil
187
+ end
188
+ end
177
189
  end
178
190
 
179
191
  describe '#crawl' do
@@ -0,0 +1,206 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://rank.1new.biz/sharp-%E7%B4%99%E3%83%91%E3%83%83%E3%82%AF%E5%BC%8F%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%8A%E3%83%BC-%E5%BA%8A%E7%94%A8%E5%90%B8%E3%81%84%E8%BE%BC%E3%81%BF%E5%8F%A3%E3%82%BF%E3%82%A4%E3%83%97-%E3%82%AA/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Mechanize/2.5.1 Ruby/1.9.3p125 (http://github.com/tenderlove/mechanize/)
14
+ accept-encoding:
15
+ - gzip,deflate,identity
16
+ accept-charset:
17
+ - ISO-8859-1,utf-8;q=0.7,*;q=0.7
18
+ accept-language:
19
+ - en-us,en;q=0.5
20
+ host:
21
+ - rank.1new.biz
22
+ connection:
23
+ - keep-alive
24
+ keep-alive:
25
+ - 300
26
+ response:
27
+ status:
28
+ code: 200
29
+ message: !binary |-
30
+ T0s=
31
+ headers:
32
+ !binary "ZGF0ZQ==":
33
+ - !binary |-
34
+ VGh1LCAyNCBKYW4gMjAxMyAwMDo1NzoyMSBHTVQ=
35
+ !binary "c2VydmVy":
36
+ - !binary |-
37
+ QXBhY2hl
38
+ !binary "eC1waW5nYmFjaw==":
39
+ - !binary |-
40
+ aHR0cDovL3JhbmsuMW5ldy5iaXoveG1scnBjLnBocA==
41
+ !binary "bGluaw==":
42
+ - !binary |-
43
+ PGh0dHA6Ly9yYW5rLjFuZXcuYml6Lz9wPTMxOD47IHJlbD1zaG9ydGxpbms=
44
+ !binary "Y29ubmVjdGlvbg==":
45
+ - !binary |-
46
+ Y2xvc2U=
47
+ !binary "Y29udGVudC10eXBl":
48
+ - !binary |-
49
+ dGV4dC9odG1sOyBjaGFyc2V0PVVURi04
50
+ !binary "Y29udGVudC1lbmNvZGluZw==":
51
+ - !binary |-
52
+ Z3ppcA==
53
+ !binary "Y29udGVudC1sZW5ndGg=":
54
+ - !binary |-
55
+ NjQ1OA==
56
+ body:
57
+ encoding: ASCII-8BIT
58
+ string: !binary |-
59
+ H4sIAAAAAAAAA+w7a3PURraf8a/oDDXYrhtZr3lI+JGysUmokMAFEza1teVq
60
+ jTRjhZnRrEa2IbfulmdMWJssCwkEQuCGhEfCIzwSJ1kCDvwYMbb5xF/Y0y11
61
+ S5oxTuxAtrbuGiO3+nG6+7zP6dbAK6N7doy/u3cMTXqVMtp7YGT3rh0oJYji
62
+ QXWHKI6Oj6I/vDH+1m4k90lo3MXVuu3ZThWXRXHs7RRKTXpebbsozszM9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sIMZU1Cs8K
195
+ XO6ZOFZoBPRqDfwMldiuSVRvPGRBOGBtXTcX6rf0aA22vVajihycau2HQTgE
196
+ 0KAr0kryRBInNNrt7nJ/pSfJAoqdLywHoWLqN6JzrKEBCwzXPVPaItyKxDOf
197
+ 1q4NPBFODUw22SszLXle1VJJQ0Fe3yCSngMhQDFJ4Y6ZmN2iq/3RgWI2Nhgr
198
+ N4ALDu80y2NusCoHYhByHvpr9UAJ5VYeZMDxc8u2mG8ZzvU6Zatfow2ZpBmm
199
+ EeW6k8CdIl4LsOSiZ/xoBZQb0/EBVIg8eKkw2taNYhQWTlYGv4ODX0K4RYbl
200
+ +dakoZfA7hLofeJYkP5sbPg6grOrkHbhCBO+6QqWnwP2obGsAuD9saxyFFEs
201
+ 7mGn4NYj43kWmX0vHI3l7PcpUJGbEb+5DDeBtOz9YnpelTXTscb6Ckm0+pyK
202
+ 21BA0g2ASsqLELgvIvwb8FvVuPBOAAA=
203
+ http_version: !binary |-
204
+ MS4x
205
+ recorded_at: Thu, 24 Jan 2013 00:57:23 GMT
206
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,414 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://facebook.com/askdjaklsjdaklsjdaklsdj
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - ! '*/*; q=0.5, application/xml'
12
+ accept-encoding:
13
+ - gzip, deflate
14
+ user-agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 301
19
+ message: Moved Permanently
20
+ headers:
21
+ location:
22
+ - http://www.facebook.com/askdjaklsjdaklsjdaklsdj
23
+ content-type:
24
+ - text/html; charset=utf-8
25
+ x-fb-debug:
26
+ - vsk4H9oNTMDIFSjOqN0Oy9lYsTNGANJ4nuzPdhhUEJU=
27
+ date:
28
+ - Thu, 24 Jan 2013 00:36:00 GMT
29
+ connection:
30
+ - keep-alive
31
+ content-length:
32
+ - '0'
33
+ body:
34
+ encoding: US-ASCII
35
+ string: ''
36
+ http_version: '1.1'
37
+ recorded_at: Thu, 24 Jan 2013 00:36:00 GMT
38
+ - request:
39
+ method: get
40
+ uri: http://www.facebook.com/askdjaklsjdaklsjdaklsdj
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ''
44
+ headers:
45
+ accept:
46
+ - ! '*/*; q=0.5, application/xml'
47
+ accept-encoding:
48
+ - gzip, deflate
49
+ user-agent:
50
+ - Ruby
51
+ response:
52
+ status:
53
+ code: 302
54
+ message: Found
55
+ headers:
56
+ cache-control:
57
+ - private, no-cache, no-store, must-revalidate
58
+ expires:
59
+ - Sat, 01 Jan 2000 00:00:00 GMT
60
+ location:
61
+ - https://www.facebook.com/askdjaklsjdaklsjdaklsdj
62
+ p3p:
63
+ - ! 'CP="Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p"'
64
+ pragma:
65
+ - no-cache
66
+ x-content-type-options:
67
+ - nosniff
68
+ x-frame-options:
69
+ - DENY
70
+ x-xss-protection:
71
+ - 1; mode=block
72
+ set-cookie:
73
+ - datr=8IEAUUAV6NUtpnp0-4zlDc6-; expires=Sat, 24-Jan-2015 00:36:00 GMT; path=/;
74
+ domain=.facebook.com; httponly
75
+ content-type:
76
+ - text/html; charset=utf-8
77
+ x-fb-debug:
78
+ - LpxveDydbRBp/FRhlaaDLvB+wDCULsb3kuPHWSIekt8=
79
+ date:
80
+ - Thu, 24 Jan 2013 00:36:00 GMT
81
+ connection:
82
+ - keep-alive
83
+ content-length:
84
+ - '0'
85
+ body:
86
+ encoding: US-ASCII
87
+ string: ''
88
+ http_version: '1.1'
89
+ recorded_at: Thu, 24 Jan 2013 00:36:01 GMT
90
+ - request:
91
+ method: get
92
+ uri: https://www.facebook.com/askdjaklsjdaklsjdaklsdj
93
+ body:
94
+ encoding: US-ASCII
95
+ string: ''
96
+ headers:
97
+ accept:
98
+ - ! '*/*; q=0.5, application/xml'
99
+ accept-encoding:
100
+ - gzip, deflate
101
+ cookie:
102
+ - datr=8IEAUUAV6NUtpnp0-4zlDc6-; domain=.facebook.com
103
+ user-agent:
104
+ - Ruby
105
+ response:
106
+ status:
107
+ code: 404
108
+ message: !binary |-
109
+ Tm90IEZvdW5k
110
+ headers:
111
+ !binary "Y2FjaGUtY29udHJvbA==":
112
+ - !binary |-
113
+ cHJpdmF0ZSwgbm8tY2FjaGUsIG5vLXN0b3JlLCBtdXN0LXJldmFsaWRhdGU=
114
+ !binary "ZXhwaXJlcw==":
115
+ - !binary |-
116
+ U2F0LCAwMSBKYW4gMjAwMCAwMDowMDowMCBHTVQ=
117
+ !binary "cDNw":
118
+ - !binary |-
119
+ Q1A9IkZhY2Vib29rIGRvZXMgbm90IGhhdmUgYSBQM1AgcG9saWN5LiBMZWFy
120
+ biB3aHkgaGVyZTogaHR0cDovL2ZiLm1lL3AzcCI=
121
+ !binary "cHJhZ21h":
122
+ - !binary |-
123
+ bm8tY2FjaGU=
124
+ !binary "eC1jb250ZW50LXR5cGUtb3B0aW9ucw==":
125
+ - !binary |-
126
+ bm9zbmlmZg==
127
+ !binary "eC1mcmFtZS1vcHRpb25z":
128
+ - !binary |-
129
+ REVOWQ==
130
+ !binary "eC14c3MtcHJvdGVjdGlvbg==":
131
+ - !binary |-
132
+ MTsgbW9kZT1ibG9jaw==
133
+ !binary "c2V0LWNvb2tpZQ==":
134
+ - !binary |-
135
+ ZG9tYWluPWRlbGV0ZWQ7IGV4cGlyZXM9VGh1LCAwMS1KYW4tMTk3MCAwMDow
136
+ MDowMSBHTVQ7IHBhdGg9LzsgZG9tYWluPS5mYWNlYm9vay5jb207IGh0dHBv
137
+ bmx5
138
+ - !binary |-
139
+ cmVnX2V4dF9yZWY9ZGVsZXRlZDsgZXhwaXJlcz1UaHUsIDAxLUphbi0xOTcw
140
+ IDAwOjAwOjAxIEdNVDsgcGF0aD0vOyBkb21haW49LmZhY2Vib29rLmNvbQ==
141
+ - !binary |-
142
+ cmVnX2ZiX2dhdGU9aHR0cHMlM0ElMkYlMkZ3d3cuZmFjZWJvb2suY29tJTJG
143
+ YXNrZGpha2xzamRha2xzamRha2xzZGo7IHBhdGg9LzsgZG9tYWluPS5mYWNl
144
+ Ym9vay5jb20=
145
+ - !binary |-
146
+ cmVnX2ZiX3JlZj1odHRwcyUzQSUyRiUyRnd3dy5mYWNlYm9vay5jb20lMkZh
147
+ c2tkamFrbHNqZGFrbHNqZGFrbHNkajsgcGF0aD0vOyBkb21haW49LmZhY2Vi
148
+ b29rLmNvbQ==
149
+ !binary "Y29udGVudC1lbmNvZGluZw==":
150
+ - !binary |-
151
+ Z3ppcA==
152
+ !binary "Y29udGVudC10eXBl":
153
+ - !binary |-
154
+ dGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04
155
+ !binary "eC1mYi1kZWJ1Zw==":
156
+ - !binary |-
157
+ NHZoc0pzSzlqSmdHMXVEWFRwRUREYXlOSWpGd3QvbDNiS3Bva2QrRHp1bz0=
158
+ !binary "ZGF0ZQ==":
159
+ - !binary |-
160
+ VGh1LCAyNCBKYW4gMjAxMyAwMDozNjowMSBHTVQ=
161
+ !binary "dHJhbnNmZXItZW5jb2Rpbmc=":
162
+ - !binary |-
163
+ Y2h1bmtlZA==
164
+ !binary "Y29ubmVjdGlvbg==":
165
+ - !binary |-
166
+ a2VlcC1hbGl2ZQ==
167
+ body:
168
+ encoding: ASCII-8BIT
169
+ string: !binary |-
170
+ H4sIAAAAAAAAA7Rb23LbSJJ991dgMD1uapoXUZJ1lxwURVlU60KLkm+SBlEE
171
+ iiREAAXjQopy+2VjP2F/YiP2YR8mYt/7C+Yb9mG/Y09WASRIipbdUju6baJu
172
+ mZWVlXmyKmv7L/tn1YuPjZrWjVxn98U2/aM5zOvs6NzTNdva0dvM5C0herpm
173
+ OiwMd3RPGLehTo05s3a3XR4xzeyyIOTRjh5H7cK6rpV2t0MzsP1otx17ZmQL
174
+ T+Ne/8CJw26OLXwZFbZyJr5EkOuzQLM029PYgnll3eww/LX11W7nBrZniUEx
175
+ 4J9jO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dT3ltYBU+VQb2ch3lrCR3Mr5PQsVT7F0WkDRpB1Mtftse
291
+ 4TPp3JHuLsdKVnxkRpXVlBvZMIDHkoqvsH/jb7yxlQQPHNvfl8lQmMaZ9ysf
292
+ SrslH3vBqAuPtPWcdzBBJFrv12Acq3hNtZ8bPc/OLXz5KSdfQCzCJ8lkbjyr
293
+ je4NWBUzRu4Az5WXX61vrK+trZYXaNTvGxTPhrUvGoZWr0oWim1hxiESE7Wv
294
+ SAuITFxcGjhEwWPOBbSTpy7CY22w+T0sZw5oqHkV9hppb/BIcHzzUdBNXkvn
295
+ jWlrqqGh4JIh4RJmjaXN0ZtxTTcN+YJ8QQNzz8jfDOKaYovq8e7XAUcSkeVG
296
+ DIzgxf8DAAD//4I3AEB76pMy0wOAO8GBsYayf1DdCSKuDtw+WA1s5gHzIrAS
297
+ BK4ESU4FLggEzhxDcwNyqwVuLtRMvfw8UGsCuNzVsQi4NAK0/TCzGLiBA5aV
298
+ gCNdoE49RmMDVK0ij4fBOjHQpgww0YO2ewO38wDX0wLTK6QPBax9MsC76Q2Q
299
+ NiqCdm6OgtEQGA0B5BAAAAAA///iom9GRWRN4AIQ4KoU4HZgYP4F16WILcWj
300
+ MTQaAqMhQJ8QAAAAAP//stGHroMDn+kDAAAA//8DAFyescLjRwAA
301
+ http_version: !binary |-
302
+ MS4x
303
+ recorded_at: Thu, 24 Jan 2013 00:36:01 GMT
304
+ - request:
305
+ method: get
306
+ uri: https://github.com/asdasd/asdasd
307
+ body:
308
+ encoding: US-ASCII
309
+ string: ''
310
+ headers:
311
+ accept:
312
+ - ! '*/*; q=0.5, application/xml'
313
+ accept-encoding:
314
+ - gzip, deflate
315
+ user-agent:
316
+ - Ruby
317
+ response:
318
+ status:
319
+ code: 404
320
+ message: !binary |-
321
+ Tm90IEZvdW5k
322
+ headers:
323
+ !binary "c2VydmVy":
324
+ - !binary |-
325
+ R2l0SHViLmNvbQ==
326
+ !binary "ZGF0ZQ==":
327
+ - !binary |-
328
+ VGh1LCAyNCBKYW4gMjAxMyAwMDo1NzoyMCBHTVQ=
329
+ !binary "Y29udGVudC10eXBl":
330
+ - !binary |-
331
+ YXBwbGljYXRpb24veG1sOyBjaGFyc2V0PXV0Zi04
332
+ !binary "dHJhbnNmZXItZW5jb2Rpbmc=":
333
+ - !binary |-
334
+ Y2h1bmtlZA==
335
+ !binary "Y29ubmVjdGlvbg==":
336
+ - !binary |-
337
+ a2VlcC1hbGl2ZQ==
338
+ !binary "c3RhdHVz":
339
+ - !binary |-
340
+ NDA0IE5vdCBGb3VuZA==
341
+ !binary "eC1ydW50aW1l":
342
+ - !binary |-
343
+ NQ==
344
+ !binary "Y2FjaGUtY29udHJvbA==":
345
+ - !binary |-
346
+ bm8tY2FjaGU=
347
+ !binary "Y29udGVudC1lbmNvZGluZw==":
348
+ - !binary |-
349
+ Z3ppcA==
350
+ body:
351
+ encoding: ASCII-8BIT
352
+ string: !binary |-
353
+ H4sIAAAAAAAAA7Oxr8jNUShLLSrOzM+zVTLUM1BSSM1Lzk/JzEu3VQoNcdO1
354
+ ULK347JJLSrKL7LjUlCwyU0tLk5MT7Xzyy9RcMsvzUux0YcJcdnoQ9UBAL/6
355
+ zT5XAAAA
356
+ http_version: !binary |-
357
+ MS4x
358
+ recorded_at: Thu, 24 Jan 2013 00:57:20 GMT
359
+ - request:
360
+ method: get
361
+ uri: https://github.com/asdasd/asdasd
362
+ body:
363
+ encoding: US-ASCII
364
+ string: ''
365
+ headers:
366
+ accept:
367
+ - ! '*/*; q=0.5, application/xml'
368
+ accept-encoding:
369
+ - gzip, deflate
370
+ user-agent:
371
+ - Ruby
372
+ response:
373
+ status:
374
+ code: 404
375
+ message: !binary |-
376
+ Tm90IEZvdW5k
377
+ headers:
378
+ !binary "c2VydmVy":
379
+ - !binary |-
380
+ R2l0SHViLmNvbQ==
381
+ !binary "ZGF0ZQ==":
382
+ - !binary |-
383
+ VGh1LCAyNCBKYW4gMjAxMyAwMDo1NzoyMCBHTVQ=
384
+ !binary "Y29udGVudC10eXBl":
385
+ - !binary |-
386
+ YXBwbGljYXRpb24veG1sOyBjaGFyc2V0PXV0Zi04
387
+ !binary "dHJhbnNmZXItZW5jb2Rpbmc=":
388
+ - !binary |-
389
+ Y2h1bmtlZA==
390
+ !binary "Y29ubmVjdGlvbg==":
391
+ - !binary |-
392
+ a2VlcC1hbGl2ZQ==
393
+ !binary "c3RhdHVz":
394
+ - !binary |-
395
+ NDA0IE5vdCBGb3VuZA==
396
+ !binary "eC1ydW50aW1l":
397
+ - !binary |-
398
+ NQ==
399
+ !binary "Y2FjaGUtY29udHJvbA==":
400
+ - !binary |-
401
+ bm8tY2FjaGU=
402
+ !binary "Y29udGVudC1lbmNvZGluZw==":
403
+ - !binary |-
404
+ Z3ppcA==
405
+ body:
406
+ encoding: ASCII-8BIT
407
+ string: !binary |-
408
+ H4sIAAAAAAAAA7Oxr8jNUShLLSrOzM+zVTLUM1BSSM1Lzk/JzEu3VQoNcdO1
409
+ ULK347JJLSrKL7LjUlCwyU0tLk5MT7Xzyy9RcMsvzUux0YcJcdnoQ9UBAL/6
410
+ zT5XAAAA
411
+ http_version: !binary |-
412
+ MS4x
413
+ recorded_at: Thu, 24 Jan 2013 00:57:20 GMT
414
+ recorded_with: VCR 2.3.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dubdubdub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.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: 2012-12-23 00:00:00.000000000 Z
12
+ date: 2013-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -184,6 +184,7 @@ files:
184
184
  - spec/vcr/follow/base.yml
185
185
  - spec/vcr/follow/eoferror.yml
186
186
  - spec/vcr/follow/https.yml
187
+ - spec/vcr/follow/invalid_uris.yml
187
188
  - spec/vcr/follow/pass_block.yml
188
189
  - spec/vcr/follow/pass_block_iteration.yml
189
190
  - spec/vcr/follow/proxy.yml
@@ -191,6 +192,7 @@ files:
191
192
  - spec/vcr/follow/relative_redirects.yml
192
193
  - spec/vcr/follow/uri_error.yml
193
194
  - spec/vcr/get/basic.yml
195
+ - spec/vcr/get/doesnt_exist.yml
194
196
  - spec/vcr/get/params.yml
195
197
  - spec/vcr/get/proxy.yml
196
198
  homepage: http://github.com/axsuul/dubdubdub
@@ -208,7 +210,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
210
  version: '0'
209
211
  segments:
210
212
  - 0
211
- hash: 4360410541068935812
213
+ hash: 4073235674561133730
212
214
  required_rubygems_version: !ruby/object:Gem::Requirement
213
215
  none: false
214
216
  requirements: