sucker 1.2.0 → 1.3.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/LICENSE +1 -1
  2. data/README.md +45 -20
  3. data/lib/sucker/parameters.rb +11 -7
  4. data/lib/sucker/parameters.rbc +723 -0
  5. data/lib/sucker/request.rb +52 -154
  6. data/lib/sucker/request.rbc +2719 -0
  7. data/lib/sucker/response.rb +14 -36
  8. data/lib/sucker/response.rbc +1307 -0
  9. data/lib/sucker/version.rb +3 -1
  10. data/lib/sucker/version.rbc +130 -0
  11. data/lib/sucker.rb +4 -2
  12. data/lib/sucker.rbc +286 -0
  13. data/spec/fixtures/cassette_library/0394751221.yml +26 -0
  14. data/spec/fixtures/cassette_library/0415246334.yml +26 -0
  15. data/spec/fixtures/cassette_library/0679753354.yml +26 -0
  16. data/spec/fixtures/cassette_library/0816614024-0007218095.yml +26 -0
  17. data/spec/fixtures/cassette_library/0816614024-0143105825.yml +26 -0
  18. data/spec/fixtures/cassette_library/0816614024.yml +26 -0
  19. data/spec/fixtures/cassette_library/482224816x.yml +26 -0
  20. data/spec/fixtures/cassette_library/816614024.yml +151 -0
  21. data/spec/fixtures/cassette_library/a2h6nh4sqyfz4m.yml +26 -0
  22. data/spec/fixtures/cassette_library/a2jyso6w6kep83.yml +26 -0
  23. data/spec/fixtures/cassette_library/author-lacan-or-deleuze-and-not-fiction.yml +26 -0
  24. data/spec/fixtures/cassette_library/b000aspues.yml +26 -0
  25. data/spec/fixtures/cassette_library/deleuze-binding-kindle.yml +26 -0
  26. data/spec/fixtures/cassette_library/deleuze.yml +26 -0
  27. data/spec/fixtures/cassette_library/george-orwell.yml +26 -0
  28. data/spec/fixtures/cassette_library/spec/sucker/request.yml +4 -4
  29. data/spec/fixtures/cassette_library/spec/sucker/response.yml +3 -3
  30. data/spec/spec_helper.rbc +230 -0
  31. data/spec/sucker/parameters_spec.rbc +1476 -0
  32. data/spec/sucker/request_spec.rb +34 -217
  33. data/spec/sucker/request_spec.rbc +2473 -0
  34. data/spec/sucker/response_spec.rb +46 -95
  35. data/spec/sucker/response_spec.rbc +2854 -0
  36. data/spec/sucker_spec.rbc +287 -0
  37. data/spec/support/amazon_credentials.rbc +154 -0
  38. data/spec/support/asins.rbc +335 -0
  39. data/spec/support/vcr.rbc +356 -0
  40. metadata +72 -96
  41. data/CHANGELOG.md +0 -47
@@ -0,0 +1,230 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 77
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
+ 45
42
+ 4
43
+ 5
44
+ 7
45
+ 6
46
+ 64
47
+ 65
48
+ 49
49
+ 7
50
+ 0
51
+ 49
52
+ 8
53
+ 2
54
+ 47
55
+ 49
56
+ 1
57
+ 1
58
+ 15
59
+ 45
60
+ 9
61
+ 10
62
+ 45
63
+ 4
64
+ 11
65
+ 65
66
+ 49
67
+ 7
68
+ 0
69
+ 49
70
+ 12
71
+ 1
72
+ 47
73
+ 101
74
+ 13
75
+ 7
76
+ 14
77
+ 63
78
+ 2
79
+ 49
80
+ 15
81
+ 1
82
+ 56
83
+ 16
84
+ 50
85
+ 17
86
+ 0
87
+ 15
88
+ 2
89
+ 11
90
+ I
91
+ 4
92
+ I
93
+ 0
94
+ I
95
+ 0
96
+ I
97
+ 0
98
+ n
99
+ p
100
+ 18
101
+ s
102
+ 8
103
+ rubygems
104
+ x
105
+ 7
106
+ require
107
+ s
108
+ 13
109
+ bundler/setup
110
+ s
111
+ 5
112
+ rspec
113
+ x
114
+ 4
115
+ File
116
+ n
117
+ s
118
+ 16
119
+ ../../lib/sucker
120
+ x
121
+ 11
122
+ active_path
123
+ x
124
+ 11
125
+ expand_path
126
+ x
127
+ 3
128
+ Dir
129
+ n
130
+ n
131
+ x
132
+ 7
133
+ dirname
134
+ x
135
+ 4
136
+ to_s
137
+ s
138
+ 16
139
+ /support/**/*.rb
140
+ x
141
+ 2
142
+ []
143
+ M
144
+ 1
145
+ p
146
+ 2
147
+ x
148
+ 9
149
+ for_block
150
+ t
151
+ n
152
+ x
153
+ 9
154
+ __block__
155
+ i
156
+ 12
157
+ 57
158
+ 19
159
+ 0
160
+ 15
161
+ 5
162
+ 20
163
+ 0
164
+ 47
165
+ 49
166
+ 0
167
+ 1
168
+ 11
169
+ I
170
+ 4
171
+ I
172
+ 1
173
+ I
174
+ 1
175
+ I
176
+ 1
177
+ n
178
+ p
179
+ 1
180
+ x
181
+ 7
182
+ require
183
+ p
184
+ 3
185
+ I
186
+ 0
187
+ I
188
+ 7
189
+ I
190
+ c
191
+ x
192
+ 50
193
+ /Users/hakanensari/code/sucker/spec/spec_helper.rb
194
+ p
195
+ 1
196
+ x
197
+ 1
198
+ f
199
+ x
200
+ 4
201
+ each
202
+ p
203
+ 11
204
+ I
205
+ 0
206
+ I
207
+ 1
208
+ I
209
+ 9
210
+ I
211
+ 2
212
+ I
213
+ 12
214
+ I
215
+ 3
216
+ I
217
+ 1b
218
+ I
219
+ 5
220
+ I
221
+ 2e
222
+ I
223
+ 7
224
+ I
225
+ 4d
226
+ x
227
+ 50
228
+ /Users/hakanensari/code/sucker/spec/spec_helper.rb
229
+ p
230
+ 0