cartodb-rb-client 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/lib/cartodb-rb-client/cartodb/client/connection/cartodb.rb +1 -1
- data/lib/cartodb-rb-client/cartodb/model/base.rb +1 -1
- data/lib/cartodb-rb-client/cartodb/model/getters.rb +6 -9
- data/lib/cartodb-rb-client/cartodb/model/schema.rb +13 -2
- data/lib/cartodb-rb-client/cartodb/model/setters.rb +5 -9
- data/lib/cartodb-rb-client/version.rb +1 -1
- data/spec/client_spec.rb +3 -3
- data/spec/fixtures/cassettes/CartoDB_client/should_add_and_remove_colums_in_a_previously_created_table.yml +376 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_allow_reserved_words_in_columns_names.yml +121 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_change_a_previously_created_column.yml +174 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_and_get_its_table_definition.yml +123 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_forcing_the_schema_and_get_its_table_definition.yml +123 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_from_a_csv_file.yml +1971 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_with_MULTILINESTRING_type_geometry.yml +123 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_with_MULTIPOLYGON_type_geometry.yml +123 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_with_POINT_type_geometry.yml +123 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_delete_a_table_s_row.yml +221 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_drop_a_table.yml +278 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_escape_properly_input_data_in_insert_queries.yml +121 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_execute_a_select_query_and_return_results.yml +615 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_get_a_table_by_its_name.yml +123 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_import_any_kind_of_data_file.yml +6612 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_insert_a_row_in_a_table.yml +121 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_paginate_records.yml +2624 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_rename_an_existing_table.yml +123 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_return_errors_on_invalid_queries.yml +59 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_return_nil_when_requesting_a_table_which_does_not_exists.yml +68 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_return_user_s_table_list.yml +176 -0
- data/spec/fixtures/cassettes/CartoDB_client/should_update_a_row_in_a_table.yml +170 -0
- data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_destroy_a_previously_created_record.yml +1398 -0
- data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_initialize_attributes_of_the_model_without_persisting_them.yml +223 -0
- data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_persist_into_cartodb_using_the_save_method.yml +1406 -0
- data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_persist_into_cartodb_using_the_static_create_method.yml +1299 -0
- data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_update_an_existing_record.yml +2028 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_add_more_columns_if_the_table_previously_exists.yml +990 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_contain_an_array_of_columns.yml +1443 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_create_a_table_with_custom_name_if_specified.yml +270 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_create_model_with_custom_data_types_columns.yml +421 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_create_model_with_polygon_type_geometry_columns.yml +272 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_create_the_table_in_cartodb_if_it_doesn_t_exists.yml +780 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_have_a_valid_CartoDB_Client_instance_as_a_connection_object.yml +682 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_have_a_valid_table_name.yml +727 -0
- data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_return_only_data_columns.yml +829 -0
- data/spec/fixtures/cassettes/CartoDB_model_scopes/should_allow_to_select_the_specified_fiels.yml +17953 -0
- data/spec/fixtures/cassettes/CartoDB_model_scopes/should_count_all_records.yml +15596 -0
- data/spec/fixtures/cassettes/CartoDB_model_scopes/should_find_a_record_by_its_id.yml +15197 -0
- data/spec/fixtures/cassettes/CartoDB_model_scopes/should_order_results.yml +16439 -0
- data/spec/fixtures/cassettes/CartoDB_model_scopes/should_paginate_results.yml +24501 -0
- data/spec/fixtures/cassettes/CartoDB_model_scopes/should_return_all_records_paginated.yml +16488 -0
- data/spec/fixtures/cassettes/CartoDB_model_scopes/should_search_records_by_certain_filters.yml +4950 -0
- data/spec/fixtures/cassettes/cartodb_spec_models.yml +2467 -0
- data/spec/fixtures/cassettes/clean_tables.yml +266 -0
- data/spec/model/data_spec.rb +6 -6
- data/spec/model/metadata_spec.rb +11 -3
- data/spec/model/scopes_spec.rb +2 -2
- data/spec/model_specs_helper.rb +2 -0
- data/spec/spec_helper.rb +18 -5
- data/spec/support/cartodb_factories.rb +3 -3
- data/spec/support/cartodb_helpers.rb +1 -1
- data/spec/support/cartodb_models.rb +26 -19
- metadata +97 -7
- data/spec/support/data/ngos.xlsx +0 -0
data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_return_only_data_columns.yml
ADDED
@@ -0,0 +1,829 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables?
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- &70259176453560 !ruby/object:MIME::Type
|
12
|
+
content_type: application/json
|
13
|
+
raw_media_type: application
|
14
|
+
raw_sub_type: json
|
15
|
+
simplified: application/json
|
16
|
+
media_type: application
|
17
|
+
sub_type: json
|
18
|
+
extensions:
|
19
|
+
- json
|
20
|
+
encoding: 8bit
|
21
|
+
system: !!null
|
22
|
+
registered: true
|
23
|
+
url:
|
24
|
+
- IANA
|
25
|
+
- RFC4627
|
26
|
+
obsolete: !!null
|
27
|
+
docs: !!null
|
28
|
+
Authorization:
|
29
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="L6nfNkhUVUwPaPWMBnKe1lvkQYBnnh6e4bU0zBm5W0",
|
30
|
+
oauth_signature="ehCtacsQ0bgWNhuKR1o2IYXAGEk%3D", oauth_signature_method="HMAC-SHA1",
|
31
|
+
oauth_timestamp="1337784791", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
32
|
+
oauth_version="1.0"
|
33
|
+
response:
|
34
|
+
status:
|
35
|
+
code: 200
|
36
|
+
message: OK
|
37
|
+
headers:
|
38
|
+
Server:
|
39
|
+
- nginx
|
40
|
+
Date:
|
41
|
+
- Wed, 23 May 2012 14:53:11 GMT
|
42
|
+
Content-Type:
|
43
|
+
- application/json; charset=utf-8
|
44
|
+
Transfer-Encoding:
|
45
|
+
- chunked
|
46
|
+
Connection:
|
47
|
+
- keep-alive
|
48
|
+
Vary:
|
49
|
+
- Accept-Encoding
|
50
|
+
Status:
|
51
|
+
- 200 OK
|
52
|
+
Etag:
|
53
|
+
- ! '"bd4ed0ae8651906cc8827524207a3dc5"'
|
54
|
+
Cache-Control:
|
55
|
+
- max-age=0, private, must-revalidate
|
56
|
+
X-Ua-Compatible:
|
57
|
+
- IE=Edge,chrome=1
|
58
|
+
Set-Cookie:
|
59
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYzU4YWFlZjkxOTNhNTJhMmZkNTI5N2NmMDA5MGExMjRJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--2525898dee16b9e44ed720325bc134636b0476ce;
|
60
|
+
domain=.cartodb.com; path=/; HttpOnly
|
61
|
+
X-Runtime:
|
62
|
+
- '0.013265'
|
63
|
+
Content-Encoding:
|
64
|
+
- gzip
|
65
|
+
body:
|
66
|
+
encoding: ASCII-8BIT
|
67
|
+
string: ! '{"total_entries":1,"tables":[{"id":4658,"name":"moto_gp_circuit","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","point"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]],"updated_at":"2012-05-23T16:53:06+02:00","rows_counted":0}]}'
|
68
|
+
http_version: '1.1'
|
69
|
+
recorded_at: Wed, 23 May 2012 14:53:11 GMT
|
70
|
+
- request:
|
71
|
+
method: delete
|
72
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?
|
73
|
+
body:
|
74
|
+
encoding: US-ASCII
|
75
|
+
string: ''
|
76
|
+
headers:
|
77
|
+
Accept:
|
78
|
+
- *70259176453560
|
79
|
+
Authorization:
|
80
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="il9DrH08drg7QZ7PciCzQEntEv44vXO0ctcwbfJiQ",
|
81
|
+
oauth_signature="pHmcXUz34D%2Fhb09U3dUXDeUy328%3D", oauth_signature_method="HMAC-SHA1",
|
82
|
+
oauth_timestamp="1337784791", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
83
|
+
oauth_version="1.0"
|
84
|
+
response:
|
85
|
+
status:
|
86
|
+
code: 200
|
87
|
+
message: OK
|
88
|
+
headers:
|
89
|
+
Server:
|
90
|
+
- nginx
|
91
|
+
Date:
|
92
|
+
- Wed, 23 May 2012 14:53:12 GMT
|
93
|
+
Content-Type:
|
94
|
+
- application/json; charset=utf-8
|
95
|
+
Transfer-Encoding:
|
96
|
+
- chunked
|
97
|
+
Connection:
|
98
|
+
- keep-alive
|
99
|
+
Vary:
|
100
|
+
- Accept-Encoding
|
101
|
+
Status:
|
102
|
+
- 200 OK
|
103
|
+
Cache-Control:
|
104
|
+
- no-cache
|
105
|
+
X-Ua-Compatible:
|
106
|
+
- IE=Edge,chrome=1
|
107
|
+
Set-Cookie:
|
108
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNzJkMmM5Y2UzNzIzMjVhZDM3Nzg3OTRjZjliYWMyYmNJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--c4c829b4691e82bf0a3f59a8c813c52523851b5c;
|
109
|
+
domain=.cartodb.com; path=/; HttpOnly
|
110
|
+
X-Runtime:
|
111
|
+
- '0.531670'
|
112
|
+
Content-Encoding:
|
113
|
+
- gzip
|
114
|
+
body:
|
115
|
+
encoding: ASCII-8BIT
|
116
|
+
string: ! ' '
|
117
|
+
http_version: '1.1'
|
118
|
+
recorded_at: Wed, 23 May 2012 14:53:12 GMT
|
119
|
+
- request:
|
120
|
+
method: get
|
121
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?
|
122
|
+
body:
|
123
|
+
encoding: US-ASCII
|
124
|
+
string: ''
|
125
|
+
headers:
|
126
|
+
Accept:
|
127
|
+
- *70259176453560
|
128
|
+
Authorization:
|
129
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="r0DSpolclygyNyU5UVKXcVbJp1LiK1rnDeEsuUAdA",
|
130
|
+
oauth_signature="zfMay3pXvqBqKUekHogBMKx%2FYXo%3D", oauth_signature_method="HMAC-SHA1",
|
131
|
+
oauth_timestamp="1337784792", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
132
|
+
oauth_version="1.0"
|
133
|
+
response:
|
134
|
+
status:
|
135
|
+
code: 404
|
136
|
+
message: Not Found
|
137
|
+
headers:
|
138
|
+
Server:
|
139
|
+
- nginx
|
140
|
+
Date:
|
141
|
+
- Wed, 23 May 2012 14:53:12 GMT
|
142
|
+
Content-Type:
|
143
|
+
- application/json; charset=utf-8
|
144
|
+
Transfer-Encoding:
|
145
|
+
- chunked
|
146
|
+
Connection:
|
147
|
+
- keep-alive
|
148
|
+
Vary:
|
149
|
+
- Accept-Encoding
|
150
|
+
Status:
|
151
|
+
- 404 Not Found
|
152
|
+
Cache-Control:
|
153
|
+
- no-cache
|
154
|
+
X-Ua-Compatible:
|
155
|
+
- IE=Edge,chrome=1
|
156
|
+
Set-Cookie:
|
157
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMGVlZDZhYzA3MDBkZjU0NTk2Zjc5NjE1ZGE3ODU2MWNJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--aedee38961a63f6b6576545ba65130c74989978b;
|
158
|
+
domain=.cartodb.com; path=/; HttpOnly
|
159
|
+
X-Runtime:
|
160
|
+
- '0.097136'
|
161
|
+
Content-Encoding:
|
162
|
+
- gzip
|
163
|
+
body:
|
164
|
+
encoding: ASCII-8BIT
|
165
|
+
string: ! ' '
|
166
|
+
http_version: '1.1'
|
167
|
+
recorded_at: Wed, 23 May 2012 14:53:12 GMT
|
168
|
+
- request:
|
169
|
+
method: get
|
170
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?
|
171
|
+
body:
|
172
|
+
encoding: US-ASCII
|
173
|
+
string: ''
|
174
|
+
headers:
|
175
|
+
Accept:
|
176
|
+
- *70259176453560
|
177
|
+
Authorization:
|
178
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="LVn9Suk6N8Q41r4vhL2jbchbwrFG1IsZVMkkyVsA",
|
179
|
+
oauth_signature="AY7NQMK24KimOW9DkXBCYQ3JbTo%3D", oauth_signature_method="HMAC-SHA1",
|
180
|
+
oauth_timestamp="1337784792", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
181
|
+
oauth_version="1.0"
|
182
|
+
response:
|
183
|
+
status:
|
184
|
+
code: 404
|
185
|
+
message: Not Found
|
186
|
+
headers:
|
187
|
+
Server:
|
188
|
+
- nginx
|
189
|
+
Date:
|
190
|
+
- Wed, 23 May 2012 14:53:12 GMT
|
191
|
+
Content-Type:
|
192
|
+
- application/json; charset=utf-8
|
193
|
+
Transfer-Encoding:
|
194
|
+
- chunked
|
195
|
+
Connection:
|
196
|
+
- keep-alive
|
197
|
+
Vary:
|
198
|
+
- Accept-Encoding
|
199
|
+
Status:
|
200
|
+
- 404 Not Found
|
201
|
+
Cache-Control:
|
202
|
+
- no-cache
|
203
|
+
X-Ua-Compatible:
|
204
|
+
- IE=Edge,chrome=1
|
205
|
+
Set-Cookie:
|
206
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlODlmNzM2YjQ5NGM5NWY2YTRjZDZlYzhjY2I3NzE0NmZJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--988f32e972bc02da4b30aa716335d9395b140817;
|
207
|
+
domain=.cartodb.com; path=/; HttpOnly
|
208
|
+
X-Runtime:
|
209
|
+
- '0.009364'
|
210
|
+
Content-Encoding:
|
211
|
+
- gzip
|
212
|
+
body:
|
213
|
+
encoding: ASCII-8BIT
|
214
|
+
string: ! ' '
|
215
|
+
http_version: '1.1'
|
216
|
+
recorded_at: Wed, 23 May 2012 14:53:12 GMT
|
217
|
+
- request:
|
218
|
+
method: post
|
219
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
|
220
|
+
body:
|
221
|
+
encoding: US-ASCII
|
222
|
+
string: ''
|
223
|
+
headers:
|
224
|
+
Accept:
|
225
|
+
- *70259176453560
|
226
|
+
Authorization:
|
227
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="87B19t64TJ6N18cT6qhPSD8csLZ2HRl8fNCHGEL8",
|
228
|
+
oauth_signature="Q8E8Pa39TeAEYdBj002l8esvtNs%3D", oauth_signature_method="HMAC-SHA1",
|
229
|
+
oauth_timestamp="1337784792", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
230
|
+
oauth_version="1.0"
|
231
|
+
response:
|
232
|
+
status:
|
233
|
+
code: 200
|
234
|
+
message: OK
|
235
|
+
headers:
|
236
|
+
Server:
|
237
|
+
- nginx
|
238
|
+
Date:
|
239
|
+
- Wed, 23 May 2012 14:53:13 GMT
|
240
|
+
Content-Type:
|
241
|
+
- application/json; charset=utf-8
|
242
|
+
Transfer-Encoding:
|
243
|
+
- chunked
|
244
|
+
Connection:
|
245
|
+
- keep-alive
|
246
|
+
Vary:
|
247
|
+
- Accept-Encoding
|
248
|
+
Status:
|
249
|
+
- 200 OK
|
250
|
+
Location:
|
251
|
+
- /tables/4659
|
252
|
+
Etag:
|
253
|
+
- ! '"6f9b9ac7369cdf55bfcc95af5774ef25"'
|
254
|
+
Cache-Control:
|
255
|
+
- max-age=0, private, must-revalidate
|
256
|
+
X-Ua-Compatible:
|
257
|
+
- IE=Edge,chrome=1
|
258
|
+
Set-Cookie:
|
259
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZWEzNWE1NWMyN2M5M2EyMTA1ZDUyNTE2NmVmYzcxYzRJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--64453e5f3a79f90fce63ea772bda449cadf68ccb;
|
260
|
+
domain=.cartodb.com; path=/; HttpOnly
|
261
|
+
X-Runtime:
|
262
|
+
- '0.911264'
|
263
|
+
Content-Encoding:
|
264
|
+
- gzip
|
265
|
+
body:
|
266
|
+
encoding: ASCII-8BIT
|
267
|
+
string: ! '{"id":4659,"name":"moto_gp_circuit","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","point"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
268
|
+
http_version: '1.1'
|
269
|
+
recorded_at: Wed, 23 May 2012 14:53:13 GMT
|
270
|
+
- request:
|
271
|
+
method: post
|
272
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
|
273
|
+
body:
|
274
|
+
encoding: US-ASCII
|
275
|
+
string: ''
|
276
|
+
headers:
|
277
|
+
Accept:
|
278
|
+
- *70259176453560
|
279
|
+
Authorization:
|
280
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="v5xFzXWPb9NhgFrNzUQGK14TQzb9jiEZnpZQuUE7cEk",
|
281
|
+
oauth_signature="yjzIe6fra2HdlSmy%2F5dru7M6uWs%3D", oauth_signature_method="HMAC-SHA1",
|
282
|
+
oauth_timestamp="1337784793", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
283
|
+
oauth_version="1.0"
|
284
|
+
response:
|
285
|
+
status:
|
286
|
+
code: 200
|
287
|
+
message: OK
|
288
|
+
headers:
|
289
|
+
Server:
|
290
|
+
- nginx
|
291
|
+
Date:
|
292
|
+
- Wed, 23 May 2012 14:53:14 GMT
|
293
|
+
Content-Type:
|
294
|
+
- application/json; charset=utf-8
|
295
|
+
Transfer-Encoding:
|
296
|
+
- chunked
|
297
|
+
Connection:
|
298
|
+
- keep-alive
|
299
|
+
Vary:
|
300
|
+
- Accept-Encoding
|
301
|
+
Status:
|
302
|
+
- 200 OK
|
303
|
+
Etag:
|
304
|
+
- ! '"1d8ec3575e09ff60ecad35605669b22c"'
|
305
|
+
Cache-Control:
|
306
|
+
- max-age=0, private, must-revalidate
|
307
|
+
X-Ua-Compatible:
|
308
|
+
- IE=Edge,chrome=1
|
309
|
+
Set-Cookie:
|
310
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNTU3MGZkYWQzMTVlYTcwNGFmOWI4MjI2MTg5NTNhNjVJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--32cf65a28839be05af1bebc47909bf2e9b461ffb;
|
311
|
+
domain=.cartodb.com; path=/; HttpOnly
|
312
|
+
X-Runtime:
|
313
|
+
- '0.069270'
|
314
|
+
Content-Encoding:
|
315
|
+
- gzip
|
316
|
+
body:
|
317
|
+
encoding: ASCII-8BIT
|
318
|
+
string: ! '{"name":"length","type":"text","cartodb_type":"string"}'
|
319
|
+
http_version: '1.1'
|
320
|
+
recorded_at: Wed, 23 May 2012 14:53:14 GMT
|
321
|
+
- request:
|
322
|
+
method: post
|
323
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
|
324
|
+
body:
|
325
|
+
encoding: US-ASCII
|
326
|
+
string: ''
|
327
|
+
headers:
|
328
|
+
Accept:
|
329
|
+
- *70259176453560
|
330
|
+
Authorization:
|
331
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="PsD55uRushhjWlxnIkEZAe9Fe1CJo2ZuUAFEetmM",
|
332
|
+
oauth_signature="hAlKGUx1nmoy5nz1uvK8phRCpjE%3D", oauth_signature_method="HMAC-SHA1",
|
333
|
+
oauth_timestamp="1337784794", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
334
|
+
oauth_version="1.0"
|
335
|
+
response:
|
336
|
+
status:
|
337
|
+
code: 200
|
338
|
+
message: OK
|
339
|
+
headers:
|
340
|
+
Server:
|
341
|
+
- nginx
|
342
|
+
Date:
|
343
|
+
- Wed, 23 May 2012 14:53:14 GMT
|
344
|
+
Content-Type:
|
345
|
+
- application/json; charset=utf-8
|
346
|
+
Transfer-Encoding:
|
347
|
+
- chunked
|
348
|
+
Connection:
|
349
|
+
- keep-alive
|
350
|
+
Vary:
|
351
|
+
- Accept-Encoding
|
352
|
+
Status:
|
353
|
+
- 200 OK
|
354
|
+
Etag:
|
355
|
+
- ! '"e82b080654b5df6f5d5f582aae439d58"'
|
356
|
+
Cache-Control:
|
357
|
+
- max-age=0, private, must-revalidate
|
358
|
+
X-Ua-Compatible:
|
359
|
+
- IE=Edge,chrome=1
|
360
|
+
Set-Cookie:
|
361
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYTcyZjA2YmNjZTYzMGE0NThmZjQzMGU4NGI5YjM4ODhJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--ace83536a6fb512e65cd3ba7b67660abce8bac09;
|
362
|
+
domain=.cartodb.com; path=/; HttpOnly
|
363
|
+
X-Runtime:
|
364
|
+
- '0.064580'
|
365
|
+
Content-Encoding:
|
366
|
+
- gzip
|
367
|
+
body:
|
368
|
+
encoding: ASCII-8BIT
|
369
|
+
string: ! '{"name":"width","type":"text","cartodb_type":"string"}'
|
370
|
+
http_version: '1.1'
|
371
|
+
recorded_at: Wed, 23 May 2012 14:53:14 GMT
|
372
|
+
- request:
|
373
|
+
method: post
|
374
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
|
375
|
+
body:
|
376
|
+
encoding: US-ASCII
|
377
|
+
string: ''
|
378
|
+
headers:
|
379
|
+
Accept:
|
380
|
+
- *70259176453560
|
381
|
+
Authorization:
|
382
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="6zL5VdxKnXVr1F3FMvraHfv01tavWA3KLnhUb1Cj4",
|
383
|
+
oauth_signature="I1fKIMSvFftLh56xDTJuJ3j7fEo%3D", oauth_signature_method="HMAC-SHA1",
|
384
|
+
oauth_timestamp="1337784794", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
385
|
+
oauth_version="1.0"
|
386
|
+
response:
|
387
|
+
status:
|
388
|
+
code: 200
|
389
|
+
message: OK
|
390
|
+
headers:
|
391
|
+
Server:
|
392
|
+
- nginx
|
393
|
+
Date:
|
394
|
+
- Wed, 23 May 2012 14:53:14 GMT
|
395
|
+
Content-Type:
|
396
|
+
- application/json; charset=utf-8
|
397
|
+
Transfer-Encoding:
|
398
|
+
- chunked
|
399
|
+
Connection:
|
400
|
+
- keep-alive
|
401
|
+
Vary:
|
402
|
+
- Accept-Encoding
|
403
|
+
Status:
|
404
|
+
- 200 OK
|
405
|
+
Etag:
|
406
|
+
- ! '"72d9dc37fa77b74502b76efdaff059d5"'
|
407
|
+
Cache-Control:
|
408
|
+
- max-age=0, private, must-revalidate
|
409
|
+
X-Ua-Compatible:
|
410
|
+
- IE=Edge,chrome=1
|
411
|
+
Set-Cookie:
|
412
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdlZGNkODljYzBmNDBkNjUzMTQ4MmUxNTBiZTA0YjdJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--f8bb4a004c059eea0e937a02e2c338c824462276;
|
413
|
+
domain=.cartodb.com; path=/; HttpOnly
|
414
|
+
X-Runtime:
|
415
|
+
- '0.084503'
|
416
|
+
Content-Encoding:
|
417
|
+
- gzip
|
418
|
+
body:
|
419
|
+
encoding: ASCII-8BIT
|
420
|
+
string: ! '{"name":"longest_straight","type":"text","cartodb_type":"string"}'
|
421
|
+
http_version: '1.1'
|
422
|
+
recorded_at: Wed, 23 May 2012 14:53:14 GMT
|
423
|
+
- request:
|
424
|
+
method: post
|
425
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
|
426
|
+
body:
|
427
|
+
encoding: US-ASCII
|
428
|
+
string: ''
|
429
|
+
headers:
|
430
|
+
Accept:
|
431
|
+
- *70259176453560
|
432
|
+
Authorization:
|
433
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="prbp4MiooC8vtRha2DUoUohsX2uCNGS3fCRnOOPtw",
|
434
|
+
oauth_signature="y2Owh6sWBltrGQaGrHhoWXVk5es%3D", oauth_signature_method="HMAC-SHA1",
|
435
|
+
oauth_timestamp="1337784794", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
436
|
+
oauth_version="1.0"
|
437
|
+
response:
|
438
|
+
status:
|
439
|
+
code: 200
|
440
|
+
message: OK
|
441
|
+
headers:
|
442
|
+
Server:
|
443
|
+
- nginx
|
444
|
+
Date:
|
445
|
+
- Wed, 23 May 2012 14:53:14 GMT
|
446
|
+
Content-Type:
|
447
|
+
- application/json; charset=utf-8
|
448
|
+
Transfer-Encoding:
|
449
|
+
- chunked
|
450
|
+
Connection:
|
451
|
+
- keep-alive
|
452
|
+
Vary:
|
453
|
+
- Accept-Encoding
|
454
|
+
Status:
|
455
|
+
- 200 OK
|
456
|
+
Etag:
|
457
|
+
- ! '"b602480fcc0e512dc48fc82a407d693c"'
|
458
|
+
Cache-Control:
|
459
|
+
- max-age=0, private, must-revalidate
|
460
|
+
X-Ua-Compatible:
|
461
|
+
- IE=Edge,chrome=1
|
462
|
+
Set-Cookie:
|
463
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMzY3MmI4NGFjNzcwMTg5MjBjMmU1YmIxOGFlZmRiZTJJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--3fe7498528b63467a92bb9e61a85bbe1bf72db20;
|
464
|
+
domain=.cartodb.com; path=/; HttpOnly
|
465
|
+
X-Runtime:
|
466
|
+
- '0.064150'
|
467
|
+
Content-Encoding:
|
468
|
+
- gzip
|
469
|
+
body:
|
470
|
+
encoding: ASCII-8BIT
|
471
|
+
string: ! '{"name":"left_corners","type":"numeric","cartodb_type":"number"}'
|
472
|
+
http_version: '1.1'
|
473
|
+
recorded_at: Wed, 23 May 2012 14:53:14 GMT
|
474
|
+
- request:
|
475
|
+
method: post
|
476
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
|
477
|
+
body:
|
478
|
+
encoding: US-ASCII
|
479
|
+
string: ''
|
480
|
+
headers:
|
481
|
+
Accept:
|
482
|
+
- *70259176453560
|
483
|
+
Authorization:
|
484
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="6Dlny4mHQhConTPVfGJn3fHodFDTeoFM0btVNRsqs",
|
485
|
+
oauth_signature="P%2F9h%2BAeOUFrGWCIzboy3ajYWJQA%3D", oauth_signature_method="HMAC-SHA1",
|
486
|
+
oauth_timestamp="1337784794", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
487
|
+
oauth_version="1.0"
|
488
|
+
response:
|
489
|
+
status:
|
490
|
+
code: 200
|
491
|
+
message: OK
|
492
|
+
headers:
|
493
|
+
Server:
|
494
|
+
- nginx
|
495
|
+
Date:
|
496
|
+
- Wed, 23 May 2012 14:53:14 GMT
|
497
|
+
Content-Type:
|
498
|
+
- application/json; charset=utf-8
|
499
|
+
Transfer-Encoding:
|
500
|
+
- chunked
|
501
|
+
Connection:
|
502
|
+
- keep-alive
|
503
|
+
Vary:
|
504
|
+
- Accept-Encoding
|
505
|
+
Status:
|
506
|
+
- 200 OK
|
507
|
+
Etag:
|
508
|
+
- ! '"2830789a168cdfba40b91cbc98711d74"'
|
509
|
+
Cache-Control:
|
510
|
+
- max-age=0, private, must-revalidate
|
511
|
+
X-Ua-Compatible:
|
512
|
+
- IE=Edge,chrome=1
|
513
|
+
Set-Cookie:
|
514
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlN2JmNjE3ZjhlZDk0ZDM5NGE1ZTFkZjczNDg4M2ZlMTdJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--678e47f59af0655c15a48ec38a52767bf65115e8;
|
515
|
+
domain=.cartodb.com; path=/; HttpOnly
|
516
|
+
X-Runtime:
|
517
|
+
- '0.059610'
|
518
|
+
Content-Encoding:
|
519
|
+
- gzip
|
520
|
+
body:
|
521
|
+
encoding: ASCII-8BIT
|
522
|
+
string: ! '{"name":"right_corners","type":"numeric","cartodb_type":"number"}'
|
523
|
+
http_version: '1.1'
|
524
|
+
recorded_at: Wed, 23 May 2012 14:53:14 GMT
|
525
|
+
- request:
|
526
|
+
method: post
|
527
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
|
528
|
+
body:
|
529
|
+
encoding: US-ASCII
|
530
|
+
string: ''
|
531
|
+
headers:
|
532
|
+
Accept:
|
533
|
+
- *70259176453560
|
534
|
+
Authorization:
|
535
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="T7xA7ajdcwQxxJg6RPCzzj3KHldcq7Q05NChLuzHo",
|
536
|
+
oauth_signature="kAI1sZ4LwmGVeVjIoDZCzEG9KjA%3D", oauth_signature_method="HMAC-SHA1",
|
537
|
+
oauth_timestamp="1337784794", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
538
|
+
oauth_version="1.0"
|
539
|
+
response:
|
540
|
+
status:
|
541
|
+
code: 200
|
542
|
+
message: OK
|
543
|
+
headers:
|
544
|
+
Server:
|
545
|
+
- nginx
|
546
|
+
Date:
|
547
|
+
- Wed, 23 May 2012 14:53:14 GMT
|
548
|
+
Content-Type:
|
549
|
+
- application/json; charset=utf-8
|
550
|
+
Transfer-Encoding:
|
551
|
+
- chunked
|
552
|
+
Connection:
|
553
|
+
- keep-alive
|
554
|
+
Vary:
|
555
|
+
- Accept-Encoding
|
556
|
+
Status:
|
557
|
+
- 200 OK
|
558
|
+
Etag:
|
559
|
+
- ! '"b4f11f170f581e46523ca91965371c28"'
|
560
|
+
Cache-Control:
|
561
|
+
- max-age=0, private, must-revalidate
|
562
|
+
X-Ua-Compatible:
|
563
|
+
- IE=Edge,chrome=1
|
564
|
+
Set-Cookie:
|
565
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZTQyNzVlODgwYzQzOGQ0Zjc5ZWJjNzE3NjEwZTk2MDhJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--1d55c8e11dfe04537d820aefc7bc139eb7cb0409;
|
566
|
+
domain=.cartodb.com; path=/; HttpOnly
|
567
|
+
X-Runtime:
|
568
|
+
- '0.059523'
|
569
|
+
Content-Encoding:
|
570
|
+
- gzip
|
571
|
+
body:
|
572
|
+
encoding: ASCII-8BIT
|
573
|
+
string: ! '{"name":"constructed","type":"timestamp","cartodb_type":"date"}'
|
574
|
+
http_version: '1.1'
|
575
|
+
recorded_at: Wed, 23 May 2012 14:53:14 GMT
|
576
|
+
- request:
|
577
|
+
method: post
|
578
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
|
579
|
+
body:
|
580
|
+
encoding: US-ASCII
|
581
|
+
string: ''
|
582
|
+
headers:
|
583
|
+
Accept:
|
584
|
+
- *70259176453560
|
585
|
+
Authorization:
|
586
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="BmpQeykNYJXuceDql7dYZWlblQTeDTyUArzDe5OoRc",
|
587
|
+
oauth_signature="KN9Fm2%2BOTnfFhr4h6AjsomNKPyU%3D", oauth_signature_method="HMAC-SHA1",
|
588
|
+
oauth_timestamp="1337784794", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
589
|
+
oauth_version="1.0"
|
590
|
+
response:
|
591
|
+
status:
|
592
|
+
code: 200
|
593
|
+
message: OK
|
594
|
+
headers:
|
595
|
+
Server:
|
596
|
+
- nginx
|
597
|
+
Date:
|
598
|
+
- Wed, 23 May 2012 14:53:14 GMT
|
599
|
+
Content-Type:
|
600
|
+
- application/json; charset=utf-8
|
601
|
+
Transfer-Encoding:
|
602
|
+
- chunked
|
603
|
+
Connection:
|
604
|
+
- keep-alive
|
605
|
+
Vary:
|
606
|
+
- Accept-Encoding
|
607
|
+
Status:
|
608
|
+
- 200 OK
|
609
|
+
Etag:
|
610
|
+
- ! '"5b673b3f4b869a800810f0a965941052"'
|
611
|
+
Cache-Control:
|
612
|
+
- max-age=0, private, must-revalidate
|
613
|
+
X-Ua-Compatible:
|
614
|
+
- IE=Edge,chrome=1
|
615
|
+
Set-Cookie:
|
616
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlODJkMmI3Y2QwNDRlODE1ZDg3MzliNWE3NmUyMDI5ODFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--517ddf8ccb174fe61681ee9cb92b456993909697;
|
617
|
+
domain=.cartodb.com; path=/; HttpOnly
|
618
|
+
X-Runtime:
|
619
|
+
- '0.047959'
|
620
|
+
Content-Encoding:
|
621
|
+
- gzip
|
622
|
+
body:
|
623
|
+
encoding: ASCII-8BIT
|
624
|
+
string: ! '{"name":"modified","type":"timestamp","cartodb_type":"date"}'
|
625
|
+
http_version: '1.1'
|
626
|
+
recorded_at: Wed, 23 May 2012 14:53:14 GMT
|
627
|
+
- request:
|
628
|
+
method: get
|
629
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?
|
630
|
+
body:
|
631
|
+
encoding: US-ASCII
|
632
|
+
string: ''
|
633
|
+
headers:
|
634
|
+
Accept:
|
635
|
+
- *70259176453560
|
636
|
+
Authorization:
|
637
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="8gUUQ8gi8V8JJl0oUN35SUYNPcX6CGluj6bkDlwQ1k",
|
638
|
+
oauth_signature="fKqZri2fvFneawOfQDuJ9w6ho2I%3D", oauth_signature_method="HMAC-SHA1",
|
639
|
+
oauth_timestamp="1337784794", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
640
|
+
oauth_version="1.0"
|
641
|
+
response:
|
642
|
+
status:
|
643
|
+
code: 200
|
644
|
+
message: OK
|
645
|
+
headers:
|
646
|
+
Server:
|
647
|
+
- nginx
|
648
|
+
Date:
|
649
|
+
- Wed, 23 May 2012 14:53:14 GMT
|
650
|
+
Content-Type:
|
651
|
+
- application/json; charset=utf-8
|
652
|
+
Transfer-Encoding:
|
653
|
+
- chunked
|
654
|
+
Connection:
|
655
|
+
- keep-alive
|
656
|
+
Vary:
|
657
|
+
- Accept-Encoding
|
658
|
+
Status:
|
659
|
+
- 200 OK
|
660
|
+
Etag:
|
661
|
+
- ! '"80f5eeeaa919a4ff29167ba9953e8163"'
|
662
|
+
Cache-Control:
|
663
|
+
- max-age=0, private, must-revalidate
|
664
|
+
X-Ua-Compatible:
|
665
|
+
- IE=Edge,chrome=1
|
666
|
+
Set-Cookie:
|
667
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYjI4MTQzNTllNjI3MmUzMGJmYmU4MjA0NTA3ZTZkYzFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--7acc3d04bdb695509827a4858964fa92b1fa3e1f;
|
668
|
+
domain=.cartodb.com; path=/; HttpOnly
|
669
|
+
X-Runtime:
|
670
|
+
- '0.020342'
|
671
|
+
Content-Encoding:
|
672
|
+
- gzip
|
673
|
+
body:
|
674
|
+
encoding: ASCII-8BIT
|
675
|
+
string: ! '{"id":4659,"name":"moto_gp_circuit","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","point"],["constructed","date"],["description","string"],["left_corners","number"],["length","string"],["longest_straight","string"],["modified","date"],["name","string"],["right_corners","number"],["width","string"],["created_at","date"],["updated_at","date"]]}'
|
676
|
+
http_version: '1.1'
|
677
|
+
recorded_at: Wed, 23 May 2012 14:53:15 GMT
|
678
|
+
- request:
|
679
|
+
method: get
|
680
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/standard_model?
|
681
|
+
body:
|
682
|
+
encoding: US-ASCII
|
683
|
+
string: ''
|
684
|
+
headers:
|
685
|
+
Accept:
|
686
|
+
- *70259176453560
|
687
|
+
Authorization:
|
688
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="CdbaQAY4tBcgc6qIyxqeugEzqxVitY0tMFBLAgHc60",
|
689
|
+
oauth_signature="wlL%2BQc3SX1gUK219LbKnN%2Fbkgic%3D", oauth_signature_method="HMAC-SHA1",
|
690
|
+
oauth_timestamp="1337784795", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
691
|
+
oauth_version="1.0"
|
692
|
+
response:
|
693
|
+
status:
|
694
|
+
code: 404
|
695
|
+
message: Not Found
|
696
|
+
headers:
|
697
|
+
Server:
|
698
|
+
- nginx
|
699
|
+
Date:
|
700
|
+
- Wed, 23 May 2012 14:53:15 GMT
|
701
|
+
Content-Type:
|
702
|
+
- application/json; charset=utf-8
|
703
|
+
Transfer-Encoding:
|
704
|
+
- chunked
|
705
|
+
Connection:
|
706
|
+
- keep-alive
|
707
|
+
Vary:
|
708
|
+
- Accept-Encoding
|
709
|
+
Status:
|
710
|
+
- 404 Not Found
|
711
|
+
Cache-Control:
|
712
|
+
- no-cache
|
713
|
+
X-Ua-Compatible:
|
714
|
+
- IE=Edge,chrome=1
|
715
|
+
Set-Cookie:
|
716
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZjFmMDY0YmE1NjgyZGZlY2Y1NWI4NDk5MGFmYTUzNjdJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--c9691efa9d7ffd9ed18197e7a90a35d2aae228e5;
|
717
|
+
domain=.cartodb.com; path=/; HttpOnly
|
718
|
+
X-Runtime:
|
719
|
+
- '0.009518'
|
720
|
+
Content-Encoding:
|
721
|
+
- gzip
|
722
|
+
body:
|
723
|
+
encoding: ASCII-8BIT
|
724
|
+
string: ! ' '
|
725
|
+
http_version: '1.1'
|
726
|
+
recorded_at: Wed, 23 May 2012 14:53:15 GMT
|
727
|
+
- request:
|
728
|
+
method: get
|
729
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/standard_model?
|
730
|
+
body:
|
731
|
+
encoding: US-ASCII
|
732
|
+
string: ''
|
733
|
+
headers:
|
734
|
+
Accept:
|
735
|
+
- *70259176453560
|
736
|
+
Authorization:
|
737
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="knd1Ztz1I3QKaWB7LsxFvc9OQA65Y0U6v2o0HUAmAxE",
|
738
|
+
oauth_signature="CPNje4q8faxxfa78rws3WHqkrj8%3D", oauth_signature_method="HMAC-SHA1",
|
739
|
+
oauth_timestamp="1337784795", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
740
|
+
oauth_version="1.0"
|
741
|
+
response:
|
742
|
+
status:
|
743
|
+
code: 404
|
744
|
+
message: Not Found
|
745
|
+
headers:
|
746
|
+
Server:
|
747
|
+
- nginx
|
748
|
+
Date:
|
749
|
+
- Wed, 23 May 2012 14:53:15 GMT
|
750
|
+
Content-Type:
|
751
|
+
- application/json; charset=utf-8
|
752
|
+
Transfer-Encoding:
|
753
|
+
- chunked
|
754
|
+
Connection:
|
755
|
+
- keep-alive
|
756
|
+
Vary:
|
757
|
+
- Accept-Encoding
|
758
|
+
Status:
|
759
|
+
- 404 Not Found
|
760
|
+
Cache-Control:
|
761
|
+
- no-cache
|
762
|
+
X-Ua-Compatible:
|
763
|
+
- IE=Edge,chrome=1
|
764
|
+
Set-Cookie:
|
765
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZmMzMzcyZDhjMGFiOTRlZDgwZGNiYjMwMTUwMjAxOTlJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--06de63bafc6323d89de433ee9a5e19901ab5ff91;
|
766
|
+
domain=.cartodb.com; path=/; HttpOnly
|
767
|
+
X-Runtime:
|
768
|
+
- '0.009273'
|
769
|
+
Content-Encoding:
|
770
|
+
- gzip
|
771
|
+
body:
|
772
|
+
encoding: ASCII-8BIT
|
773
|
+
string: ! ' '
|
774
|
+
http_version: '1.1'
|
775
|
+
recorded_at: Wed, 23 May 2012 14:53:15 GMT
|
776
|
+
- request:
|
777
|
+
method: post
|
778
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
|
779
|
+
body:
|
780
|
+
encoding: US-ASCII
|
781
|
+
string: ''
|
782
|
+
headers:
|
783
|
+
Accept:
|
784
|
+
- *70259176453560
|
785
|
+
Authorization:
|
786
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="glUBTdzuXum652SQ8qllJ2tUcKM6qOML5ZnGLuUNe4",
|
787
|
+
oauth_signature="6UIXpu0BRjKgS%2B7wtgn8bMf4m7E%3D", oauth_signature_method="HMAC-SHA1",
|
788
|
+
oauth_timestamp="1337784795", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
789
|
+
oauth_version="1.0"
|
790
|
+
response:
|
791
|
+
status:
|
792
|
+
code: 200
|
793
|
+
message: OK
|
794
|
+
headers:
|
795
|
+
Server:
|
796
|
+
- nginx
|
797
|
+
Date:
|
798
|
+
- Wed, 23 May 2012 14:53:16 GMT
|
799
|
+
Content-Type:
|
800
|
+
- application/json; charset=utf-8
|
801
|
+
Transfer-Encoding:
|
802
|
+
- chunked
|
803
|
+
Connection:
|
804
|
+
- keep-alive
|
805
|
+
Vary:
|
806
|
+
- Accept-Encoding
|
807
|
+
Status:
|
808
|
+
- 200 OK
|
809
|
+
Location:
|
810
|
+
- /tables/4660
|
811
|
+
Etag:
|
812
|
+
- ! '"204e922b2951895c0a51fc3c001778de"'
|
813
|
+
Cache-Control:
|
814
|
+
- max-age=0, private, must-revalidate
|
815
|
+
X-Ua-Compatible:
|
816
|
+
- IE=Edge,chrome=1
|
817
|
+
Set-Cookie:
|
818
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMTI5NzkxMGRkMjIxOTdkMzYxYjYxYjg5YmI0MDQwZjlJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--0f82b1ce1ad7e3efbbe19c8ab6de5b47a45e0f58;
|
819
|
+
domain=.cartodb.com; path=/; HttpOnly
|
820
|
+
X-Runtime:
|
821
|
+
- '0.823599'
|
822
|
+
Content-Encoding:
|
823
|
+
- gzip
|
824
|
+
body:
|
825
|
+
encoding: ASCII-8BIT
|
826
|
+
string: ! '{"id":4660,"name":"standard_model","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","point"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
827
|
+
http_version: '1.1'
|
828
|
+
recorded_at: Wed, 23 May 2012 14:53:16 GMT
|
829
|
+
recorded_with: VCR 2.1.1
|