sucker 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/CHANGELOG.md +9 -18
  2. data/README.md +9 -5
  3. data/lib/sucker.rb +0 -3
  4. data/lib/sucker/request.rb +96 -18
  5. data/lib/sucker/response.rb +20 -14
  6. data/lib/sucker/version.rb +1 -1
  7. data/spec/integration/multiple_locales_spec.rb +28 -3
  8. data/spec/support/vcr.rb +3 -2
  9. data/spec/unit/sucker/request_spec.rb +109 -29
  10. data/spec/unit/sucker/response_spec.rb +26 -23
  11. metadata +23 -137
  12. data/lib/sucker.rbc +0 -341
  13. data/lib/sucker/request.rbc +0 -2481
  14. data/lib/sucker/response.rbc +0 -1554
  15. data/lib/sucker/version.rbc +0 -130
  16. data/spec/fixtures/cassette_library/integration/alternate_versions.yml +0 -27
  17. data/spec/fixtures/cassette_library/integration/errors.yml +0 -27
  18. data/spec/fixtures/cassette_library/integration/france.yml +0 -27
  19. data/spec/fixtures/cassette_library/integration/images.yml +0 -27
  20. data/spec/fixtures/cassette_library/integration/item_lookup/multiple.yml +0 -27
  21. data/spec/fixtures/cassette_library/integration/item_lookup/single.yml +0 -27
  22. data/spec/fixtures/cassette_library/integration/item_search.yml +0 -27
  23. data/spec/fixtures/cassette_library/integration/japan.yml +0 -27
  24. data/spec/fixtures/cassette_library/integration/keyword_search.yml +0 -27
  25. data/spec/fixtures/cassette_library/integration/kindle.yml +0 -27
  26. data/spec/fixtures/cassette_library/integration/kindle_2.yml +0 -27
  27. data/spec/fixtures/cassette_library/integration/multiple_locales.yml +0 -157
  28. data/spec/fixtures/cassette_library/integration/power_search.yml +0 -27
  29. data/spec/fixtures/cassette_library/integration/related_items/child.yml +0 -27
  30. data/spec/fixtures/cassette_library/integration/related_items/parent.yml +0 -27
  31. data/spec/fixtures/cassette_library/integration/seller_listings_search.yml +0 -27
  32. data/spec/fixtures/cassette_library/integration/twenty_items.yml +0 -27
  33. data/spec/fixtures/cassette_library/unit/sucker/request.yml +0 -29
  34. data/spec/fixtures/cassette_library/unit/sucker/response.yml +0 -27
  35. data/spec/integration/alternate_versions_spec.rbc +0 -843
  36. data/spec/integration/errors_spec.rbc +0 -964
  37. data/spec/integration/france_spec.rbc +0 -1012
  38. data/spec/integration/images_spec.rbc +0 -1047
  39. data/spec/integration/item_lookup_spec.rbc +0 -1723
  40. data/spec/integration/item_search_spec.rbc +0 -926
  41. data/spec/integration/japan_spec.rbc +0 -849
  42. data/spec/integration/keyword_search_spec.rbc +0 -838
  43. data/spec/integration/kindle_spec.rbc +0 -1425
  44. data/spec/integration/multiple_locales_spec.rbc +0 -1090
  45. data/spec/integration/power_search_spec.rbc +0 -838
  46. data/spec/integration/related_items_spec.rbc +0 -1228
  47. data/spec/integration/seller_listing_search_spec.rbc +0 -852
  48. data/spec/integration/twenty_items_spec.rbc +0 -1166
  49. data/spec/spec_helper.rbc +0 -231
  50. data/spec/support/amazon.yml +0 -3
  51. data/spec/support/amazon_credentials.rbc +0 -154
  52. data/spec/support/asins.rbc +0 -335
  53. data/spec/support/vcr.rbc +0 -360
  54. data/spec/unit/sucker/request_spec.rbc +0 -4031
  55. data/spec/unit/sucker/response_spec.rbc +0 -3787
  56. data/spec/unit/sucker_spec.rbc +0 -299
@@ -35,6 +35,10 @@ module Sucker
35
35
  it "initializes the response time" do
36
36
  response.time.should be_an_instance_of Float
37
37
  end
38
+
39
+ it "initializes the request URI" do
40
+ response.uri.should be_an_instance_of String
41
+ end
38
42
  end
39
43
 
40
44
  describe "#xml" do
@@ -67,11 +71,11 @@ module Sucker
67
71
 
68
72
  end
69
73
 
70
- describe "#each" do
74
+ describe "#each" do
71
75
 
72
- context "when a block is given" do
76
+ context "when a block is given" do
73
77
 
74
- it "yields each match to a block" do
78
+ it "yields each match to a block" do
75
79
  has_yielded = false
76
80
 
77
81
  response.each("ItemAttributes") do |item|
@@ -84,41 +88,40 @@ module Sucker
84
88
 
85
89
  end
86
90
 
87
- context "when no block is given" do
91
+ context "when no block is given" do
88
92
 
89
- it "raises error" do
90
- lambda { response.each("ItemAttributes") }.should raise_error(LocalJumpError)
91
- end
93
+ it "raises error" do
94
+ lambda { response.each("ItemAttributes") }.should raise_error(LocalJumpError)
95
+ end
92
96
 
93
- end
97
+ end
94
98
 
95
- end
99
+ end
96
100
 
97
101
 
98
- describe "#map" do
102
+ describe "#map" do
99
103
 
100
- context "when a block is given" do
104
+ context "when a block is given" do
101
105
 
102
- it "yields each match to a block and maps returned values" do
103
- result = response.map("ItemAttributes") do |item|
104
- item.should be_an_instance_of Hash
105
- "foo"
106
- end
106
+ it "yields each match to a block and maps returned values" do
107
+ # Collect EANs
108
+ eans = response.map("ItemAttributes") { |item| item["EAN"] }
107
109
 
108
- result.uniq.should eql ["foo"]
110
+ eans.should be_an_instance_of Array
111
+ eans.each { |ean| ean.match(/^[0-9]{13}$/).should be_true }
109
112
  end
110
113
 
111
114
  end
112
115
 
113
- context "when no block is given" do
116
+ context "when no block is given" do
114
117
 
115
- it "raises error" do
116
- lambda { response.map("ItemAttributes") }.should raise_error(LocalJumpError)
117
- end
118
+ it "raises error" do
119
+ lambda { response.map("ItemAttributes") }.should raise_error(LocalJumpError)
120
+ end
118
121
 
119
- end
122
+ end
120
123
 
121
- end
124
+ end
122
125
 
123
126
 
124
127
  describe "#to_hash" do
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sucker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
7
+ - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ version: 1.1.0
11
10
  platform: ruby
12
11
  authors:
13
12
  - Hakan Ensari
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-11-04 00:00:00 +01:00
18
+ date: 2010-11-16 00:00:00 +00:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -27,7 +26,6 @@ dependencies:
27
26
  requirements:
28
27
  - - ">="
29
28
  - !ruby/object:Gem::Version
30
- hash: 7
31
29
  segments:
32
30
  - 2
33
31
  - 3
@@ -43,7 +41,6 @@ dependencies:
43
41
  requirements:
44
42
  - - ~>
45
43
  - !ruby/object:Gem::Version
46
- hash: 7
47
44
  segments:
48
45
  - 1
49
46
  - 4
@@ -59,7 +56,6 @@ dependencies:
59
56
  requirements:
60
57
  - - ~>
61
58
  - !ruby/object:Gem::Version
62
- hash: 3
63
59
  segments:
64
60
  - 0
65
61
  - 7
@@ -67,118 +63,96 @@ dependencies:
67
63
  version: 0.7.0
68
64
  type: :runtime
69
65
  version_requirements: *id003
70
- - !ruby/object:Gem::Dependency
71
- name: rake
72
- prerelease: false
73
- requirement: &id004 !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ~>
77
- - !ruby/object:Gem::Version
78
- hash: 49
79
- segments:
80
- - 0
81
- - 8
82
- - 7
83
- version: 0.8.7
84
- type: :development
85
- version_requirements: *id004
86
66
  - !ruby/object:Gem::Dependency
87
67
  name: rdiscount
88
68
  prerelease: false
89
- requirement: &id005 !ruby/object:Gem::Requirement
69
+ requirement: &id004 !ruby/object:Gem::Requirement
90
70
  none: false
91
71
  requirements:
92
72
  - - ~>
93
73
  - !ruby/object:Gem::Version
94
- hash: 5
95
74
  segments:
96
75
  - 1
97
76
  - 6
98
77
  - 5
99
78
  version: 1.6.5
100
79
  type: :development
101
- version_requirements: *id005
80
+ version_requirements: *id004
102
81
  - !ruby/object:Gem::Dependency
103
82
  name: rspec
104
83
  prerelease: false
105
- requirement: &id006 !ruby/object:Gem::Requirement
84
+ requirement: &id005 !ruby/object:Gem::Requirement
106
85
  none: false
107
86
  requirements:
108
87
  - - ~>
109
88
  - !ruby/object:Gem::Version
110
- hash: 15
111
89
  segments:
112
90
  - 2
91
+ - 1
113
92
  - 0
114
- - 0
115
- version: 2.0.0
93
+ version: 2.1.0
116
94
  type: :development
117
- version_requirements: *id006
95
+ version_requirements: *id005
118
96
  - !ruby/object:Gem::Dependency
119
97
  name: throttler
120
98
  prerelease: false
121
- requirement: &id007 !ruby/object:Gem::Requirement
99
+ requirement: &id006 !ruby/object:Gem::Requirement
122
100
  none: false
123
101
  requirements:
124
102
  - - ~>
125
103
  - !ruby/object:Gem::Version
126
- hash: 21
127
104
  segments:
128
105
  - 0
129
106
  - 2
130
107
  - 1
131
108
  version: 0.2.1
132
109
  type: :development
133
- version_requirements: *id007
110
+ version_requirements: *id006
134
111
  - !ruby/object:Gem::Dependency
135
112
  name: sdoc-helpers
136
113
  prerelease: false
137
- requirement: &id008 !ruby/object:Gem::Requirement
114
+ requirement: &id007 !ruby/object:Gem::Requirement
138
115
  none: false
139
116
  requirements:
140
117
  - - ~>
141
118
  - !ruby/object:Gem::Version
142
- hash: 19
143
119
  segments:
144
120
  - 0
145
121
  - 1
146
122
  - 4
147
123
  version: 0.1.4
148
124
  type: :development
149
- version_requirements: *id008
125
+ version_requirements: *id007
150
126
  - !ruby/object:Gem::Dependency
151
127
  name: vcr
152
128
  prerelease: false
153
- requirement: &id009 !ruby/object:Gem::Requirement
129
+ requirement: &id008 !ruby/object:Gem::Requirement
154
130
  none: false
155
131
  requirements:
156
132
  - - ~>
157
133
  - !ruby/object:Gem::Version
158
- hash: 31
159
134
  segments:
160
135
  - 1
161
- - 2
162
- - 0
163
- version: 1.2.0
136
+ - 3
137
+ - 1
138
+ version: 1.3.1
164
139
  type: :development
165
- version_requirements: *id009
140
+ version_requirements: *id008
166
141
  - !ruby/object:Gem::Dependency
167
142
  name: webmock
168
143
  prerelease: false
169
- requirement: &id010 !ruby/object:Gem::Requirement
144
+ requirement: &id009 !ruby/object:Gem::Requirement
170
145
  none: false
171
146
  requirements:
172
147
  - - ~>
173
148
  - !ruby/object:Gem::Version
174
- hash: 7
175
149
  segments:
176
150
  - 1
177
- - 4
178
- - 0
179
- version: 1.4.0
151
+ - 6
152
+ - 1
153
+ version: 1.6.1
180
154
  type: :development
181
- version_requirements: *id010
155
+ version_requirements: *id009
182
156
  description: A minimal Ruby wrapper to the Amazon Product Advertising API
183
157
  email:
184
158
  - code@papercavalier.com
@@ -190,80 +164,35 @@ extra_rdoc_files: []
190
164
 
191
165
  files:
192
166
  - lib/sucker/request.rb
193
- - lib/sucker/request.rbc
194
167
  - lib/sucker/response.rb
195
- - lib/sucker/response.rbc
196
168
  - lib/sucker/version.rb
197
- - lib/sucker/version.rbc
198
169
  - lib/sucker.rb
199
- - lib/sucker.rbc
200
170
  - LICENSE
201
171
  - README.md
202
172
  - CHANGELOG.md
203
173
  - spec/fixtures/asins.txt
204
- - spec/fixtures/cassette_library/integration/alternate_versions.yml
205
- - spec/fixtures/cassette_library/integration/errors.yml
206
- - spec/fixtures/cassette_library/integration/france.yml
207
- - spec/fixtures/cassette_library/integration/images.yml
208
- - spec/fixtures/cassette_library/integration/item_lookup/multiple.yml
209
- - spec/fixtures/cassette_library/integration/item_lookup/single.yml
210
- - spec/fixtures/cassette_library/integration/item_search.yml
211
- - spec/fixtures/cassette_library/integration/japan.yml
212
- - spec/fixtures/cassette_library/integration/keyword_search.yml
213
- - spec/fixtures/cassette_library/integration/kindle.yml
214
- - spec/fixtures/cassette_library/integration/kindle_2.yml
215
- - spec/fixtures/cassette_library/integration/multiple_locales.yml
216
- - spec/fixtures/cassette_library/integration/power_search.yml
217
- - spec/fixtures/cassette_library/integration/related_items/child.yml
218
- - spec/fixtures/cassette_library/integration/related_items/parent.yml
219
- - spec/fixtures/cassette_library/integration/seller_listings_search.yml
220
- - spec/fixtures/cassette_library/integration/twenty_items.yml
221
- - spec/fixtures/cassette_library/unit/sucker/request.yml
222
- - spec/fixtures/cassette_library/unit/sucker/response.yml
223
174
  - spec/integration/alternate_versions_spec.rb
224
- - spec/integration/alternate_versions_spec.rbc
225
175
  - spec/integration/errors_spec.rb
226
- - spec/integration/errors_spec.rbc
227
176
  - spec/integration/france_spec.rb
228
- - spec/integration/france_spec.rbc
229
177
  - spec/integration/images_spec.rb
230
- - spec/integration/images_spec.rbc
231
178
  - spec/integration/item_lookup_spec.rb
232
- - spec/integration/item_lookup_spec.rbc
233
179
  - spec/integration/item_search_spec.rb
234
- - spec/integration/item_search_spec.rbc
235
180
  - spec/integration/japan_spec.rb
236
- - spec/integration/japan_spec.rbc
237
181
  - spec/integration/keyword_search_spec.rb
238
- - spec/integration/keyword_search_spec.rbc
239
182
  - spec/integration/kindle_spec.rb
240
- - spec/integration/kindle_spec.rbc
241
183
  - spec/integration/multiple_locales_spec.rb
242
- - spec/integration/multiple_locales_spec.rbc
243
184
  - spec/integration/power_search_spec.rb
244
- - spec/integration/power_search_spec.rbc
245
185
  - spec/integration/related_items_spec.rb
246
- - spec/integration/related_items_spec.rbc
247
186
  - spec/integration/seller_listing_search_spec.rb
248
- - spec/integration/seller_listing_search_spec.rbc
249
187
  - spec/integration/twenty_items_spec.rb
250
- - spec/integration/twenty_items_spec.rbc
251
188
  - spec/spec_helper.rb
252
- - spec/spec_helper.rbc
253
- - spec/support/amazon.yml
254
189
  - spec/support/amazon.yml.example
255
190
  - spec/support/amazon_credentials.rb
256
- - spec/support/amazon_credentials.rbc
257
191
  - spec/support/asins.rb
258
- - spec/support/asins.rbc
259
192
  - spec/support/vcr.rb
260
- - spec/support/vcr.rbc
261
193
  - spec/unit/sucker/request_spec.rb
262
- - spec/unit/sucker/request_spec.rbc
263
194
  - spec/unit/sucker/response_spec.rb
264
- - spec/unit/sucker/response_spec.rbc
265
195
  - spec/unit/sucker_spec.rb
266
- - spec/unit/sucker_spec.rbc
267
196
  has_rdoc: true
268
197
  homepage: http://gloss.papercavalier.com/sucker
269
198
  licenses: []
@@ -278,7 +207,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
278
207
  requirements:
279
208
  - - ">="
280
209
  - !ruby/object:Gem::Version
281
- hash: 3
282
210
  segments:
283
211
  - 0
284
212
  version: "0"
@@ -287,7 +215,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
287
215
  requirements:
288
216
  - - ">="
289
217
  - !ruby/object:Gem::Version
290
- hash: 3
291
218
  segments:
292
219
  - 0
293
220
  version: "0"
@@ -300,66 +227,25 @@ specification_version: 3
300
227
  summary: A Ruby wrapper to the Amazon Product Advertising API
301
228
  test_files:
302
229
  - spec/fixtures/asins.txt
303
- - spec/fixtures/cassette_library/integration/alternate_versions.yml
304
- - spec/fixtures/cassette_library/integration/errors.yml
305
- - spec/fixtures/cassette_library/integration/france.yml
306
- - spec/fixtures/cassette_library/integration/images.yml
307
- - spec/fixtures/cassette_library/integration/item_lookup/multiple.yml
308
- - spec/fixtures/cassette_library/integration/item_lookup/single.yml
309
- - spec/fixtures/cassette_library/integration/item_search.yml
310
- - spec/fixtures/cassette_library/integration/japan.yml
311
- - spec/fixtures/cassette_library/integration/keyword_search.yml
312
- - spec/fixtures/cassette_library/integration/kindle.yml
313
- - spec/fixtures/cassette_library/integration/kindle_2.yml
314
- - spec/fixtures/cassette_library/integration/multiple_locales.yml
315
- - spec/fixtures/cassette_library/integration/power_search.yml
316
- - spec/fixtures/cassette_library/integration/related_items/child.yml
317
- - spec/fixtures/cassette_library/integration/related_items/parent.yml
318
- - spec/fixtures/cassette_library/integration/seller_listings_search.yml
319
- - spec/fixtures/cassette_library/integration/twenty_items.yml
320
- - spec/fixtures/cassette_library/unit/sucker/request.yml
321
- - spec/fixtures/cassette_library/unit/sucker/response.yml
322
230
  - spec/integration/alternate_versions_spec.rb
323
- - spec/integration/alternate_versions_spec.rbc
324
231
  - spec/integration/errors_spec.rb
325
- - spec/integration/errors_spec.rbc
326
232
  - spec/integration/france_spec.rb
327
- - spec/integration/france_spec.rbc
328
233
  - spec/integration/images_spec.rb
329
- - spec/integration/images_spec.rbc
330
234
  - spec/integration/item_lookup_spec.rb
331
- - spec/integration/item_lookup_spec.rbc
332
235
  - spec/integration/item_search_spec.rb
333
- - spec/integration/item_search_spec.rbc
334
236
  - spec/integration/japan_spec.rb
335
- - spec/integration/japan_spec.rbc
336
237
  - spec/integration/keyword_search_spec.rb
337
- - spec/integration/keyword_search_spec.rbc
338
238
  - spec/integration/kindle_spec.rb
339
- - spec/integration/kindle_spec.rbc
340
239
  - spec/integration/multiple_locales_spec.rb
341
- - spec/integration/multiple_locales_spec.rbc
342
240
  - spec/integration/power_search_spec.rb
343
- - spec/integration/power_search_spec.rbc
344
241
  - spec/integration/related_items_spec.rb
345
- - spec/integration/related_items_spec.rbc
346
242
  - spec/integration/seller_listing_search_spec.rb
347
- - spec/integration/seller_listing_search_spec.rbc
348
243
  - spec/integration/twenty_items_spec.rb
349
- - spec/integration/twenty_items_spec.rbc
350
244
  - spec/spec_helper.rb
351
- - spec/spec_helper.rbc
352
- - spec/support/amazon.yml
353
245
  - spec/support/amazon.yml.example
354
246
  - spec/support/amazon_credentials.rb
355
- - spec/support/amazon_credentials.rbc
356
247
  - spec/support/asins.rb
357
- - spec/support/asins.rbc
358
248
  - spec/support/vcr.rb
359
- - spec/support/vcr.rbc
360
249
  - spec/unit/sucker/request_spec.rb
361
- - spec/unit/sucker/request_spec.rbc
362
250
  - spec/unit/sucker/response_spec.rb
363
- - spec/unit/sucker/response_spec.rbc
364
251
  - spec/unit/sucker_spec.rb
365
- - spec/unit/sucker_spec.rbc
data/lib/sucker.rbc DELETED
@@ -1,341 +0,0 @@
1
- !RBIX
2
- 0
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 73
13
- 5
14
- 7
15
- 0
16
- 64
17
- 47
18
- 49
19
- 1
20
- 1
21
- 15
22
- 5
23
- 7
24
- 2
25
- 64
26
- 47
27
- 49
28
- 1
29
- 1
30
- 15
31
- 5
32
- 7
33
- 3
34
- 64
35
- 47
36
- 49
37
- 1
38
- 1
39
- 15
40
- 5
41
- 7
42
- 4
43
- 64
44
- 47
45
- 49
46
- 1
47
- 1
48
- 15
49
- 5
50
- 7
51
- 5
52
- 64
53
- 47
54
- 49
55
- 1
56
- 1
57
- 15
58
- 99
59
- 7
60
- 6
61
- 65
62
- 49
63
- 7
64
- 2
65
- 13
66
- 99
67
- 12
68
- 7
69
- 8
70
- 12
71
- 7
72
- 9
73
- 12
74
- 65
75
- 12
76
- 49
77
- 10
78
- 4
79
- 15
80
- 49
81
- 8
82
- 0
83
- 15
84
- 2
85
- 11
86
- I
87
- 6
88
- I
89
- 0
90
- I
91
- 0
92
- I
93
- 0
94
- n
95
- p
96
- 11
97
- s
98
- 32
99
- active_support/xml_mini/nokogiri
100
- x
101
- 7
102
- require
103
- s
104
- 4
105
- curb
106
- s
107
- 14
108
- sucker/request
109
- s
110
- 15
111
- sucker/response
112
- s
113
- 3
114
- uri
115
- x
116
- 6
117
- Sucker
118
- x
119
- 11
120
- open_module
121
- x
122
- 15
123
- __module_init__
124
- M
125
- 1
126
- n
127
- n
128
- x
129
- 6
130
- Sucker
131
- i
132
- 23
133
- 5
134
- 66
135
- 65
136
- 7
137
- 0
138
- 7
139
- 1
140
- 64
141
- 49
142
- 2
143
- 2
144
- 15
145
- 99
146
- 7
147
- 3
148
- 7
149
- 4
150
- 65
151
- 5
152
- 49
153
- 5
154
- 4
155
- 11
156
- I
157
- 5
158
- I
159
- 0
160
- I
161
- 0
162
- I
163
- 0
164
- n
165
- p
166
- 6
167
- x
168
- 26
169
- CURRENT_AMAZON_API_VERSION
170
- s
171
- 10
172
- 2010-09-01
173
- x
174
- 9
175
- const_set
176
- x
177
- 3
178
- new
179
- M
180
- 1
181
- n
182
- n
183
- x
184
- 3
185
- new
186
- i
187
- 45
188
- 23
189
- 0
190
- 10
191
- 14
192
- 44
193
- 43
194
- 0
195
- 78
196
- 49
197
- 1
198
- 1
199
- 19
200
- 0
201
- 15
202
- 45
203
- 2
204
- 3
205
- 43
206
- 4
207
- 13
208
- 71
209
- 5
210
- 47
211
- 9
212
- 39
213
- 47
214
- 49
215
- 6
216
- 0
217
- 13
218
- 20
219
- 0
220
- 47
221
- 49
222
- 7
223
- 1
224
- 15
225
- 8
226
- 44
227
- 20
228
- 0
229
- 49
230
- 5
231
- 1
232
- 11
233
- I
234
- 4
235
- I
236
- 1
237
- I
238
- 0
239
- I
240
- 1
241
- n
242
- p
243
- 8
244
- x
245
- 4
246
- Hash
247
- x
248
- 16
249
- new_from_literal
250
- x
251
- 6
252
- Sucker
253
- n
254
- x
255
- 7
256
- Request
257
- x
258
- 3
259
- new
260
- x
261
- 8
262
- allocate
263
- x
264
- 10
265
- initialize
266
- p
267
- 5
268
- I
269
- 0
270
- I
271
- 14
272
- I
273
- e
274
- I
275
- 15
276
- I
277
- 2d
278
- x
279
- 36
280
- /Users/snl/code/sucker/lib/sucker.rb
281
- p
282
- 1
283
- x
284
- 4
285
- args
286
- x
287
- 13
288
- attach_method
289
- p
290
- 5
291
- I
292
- 2
293
- I
294
- b
295
- I
296
- c
297
- I
298
- 14
299
- I
300
- 17
301
- x
302
- 36
303
- /Users/snl/code/sucker/lib/sucker.rb
304
- p
305
- 0
306
- x
307
- 13
308
- attach_method
309
- p
310
- 13
311
- I
312
- 0
313
- I
314
- 1
315
- I
316
- 9
317
- I
318
- 2
319
- I
320
- 12
321
- I
322
- 3
323
- I
324
- 1b
325
- I
326
- 4
327
- I
328
- 24
329
- I
330
- 5
331
- I
332
- 2d
333
- I
334
- a
335
- I
336
- 49
337
- x
338
- 36
339
- /Users/snl/code/sucker/lib/sucker.rb
340
- p
341
- 0