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
@@ -0,0 +1,272 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- &70095016615020 !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="7JUEM8p1aQChcYaQ6i40D2fQ39bDGY8A8F1j63xo54",
|
30
|
+
oauth_signature="vAtp7ydG1X3A3j0KTMojctWaGVo%3D", oauth_signature_method="HMAC-SHA1",
|
31
|
+
oauth_timestamp="1337789849", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
32
|
+
oauth_version="1.0"
|
33
|
+
response:
|
34
|
+
status:
|
35
|
+
code: 404
|
36
|
+
message: Not Found
|
37
|
+
headers:
|
38
|
+
Server:
|
39
|
+
- nginx
|
40
|
+
Date:
|
41
|
+
- Wed, 23 May 2012 16:17:29 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
|
+
- 404 Not Found
|
52
|
+
Cache-Control:
|
53
|
+
- no-cache
|
54
|
+
X-Ua-Compatible:
|
55
|
+
- IE=Edge,chrome=1
|
56
|
+
Set-Cookie:
|
57
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNTA4ZjFmOTgyMjdmZWU2YjMwM2YxZjdkMjhhNDAwODhJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--60e1ae2046576d49fd14c9b48f0c36248a88c57a;
|
58
|
+
domain=.cartodb.com; path=/; HttpOnly
|
59
|
+
X-Runtime:
|
60
|
+
- '0.006573'
|
61
|
+
Content-Encoding:
|
62
|
+
- gzip
|
63
|
+
body:
|
64
|
+
encoding: ASCII-8BIT
|
65
|
+
string: ! ' '
|
66
|
+
http_version: '1.1'
|
67
|
+
recorded_at: Wed, 23 May 2012 16:17:29 GMT
|
68
|
+
- request:
|
69
|
+
method: get
|
70
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
71
|
+
body:
|
72
|
+
encoding: US-ASCII
|
73
|
+
string: ''
|
74
|
+
headers:
|
75
|
+
Accept:
|
76
|
+
- *70095016615020
|
77
|
+
Authorization:
|
78
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="Qvxa2G1ViVYnMsEuUwMtIQYl1T9lcHoTnm5HgO5uQY",
|
79
|
+
oauth_signature="wRVqJ%2BKtyAewezx%2B5hpuGB%2BVpOM%3D", oauth_signature_method="HMAC-SHA1",
|
80
|
+
oauth_timestamp="1337789849", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
81
|
+
oauth_version="1.0"
|
82
|
+
response:
|
83
|
+
status:
|
84
|
+
code: 404
|
85
|
+
message: Not Found
|
86
|
+
headers:
|
87
|
+
Server:
|
88
|
+
- nginx
|
89
|
+
Date:
|
90
|
+
- Wed, 23 May 2012 16:17:30 GMT
|
91
|
+
Content-Type:
|
92
|
+
- application/json; charset=utf-8
|
93
|
+
Transfer-Encoding:
|
94
|
+
- chunked
|
95
|
+
Connection:
|
96
|
+
- keep-alive
|
97
|
+
Vary:
|
98
|
+
- Accept-Encoding
|
99
|
+
Status:
|
100
|
+
- 404 Not Found
|
101
|
+
Cache-Control:
|
102
|
+
- no-cache
|
103
|
+
X-Ua-Compatible:
|
104
|
+
- IE=Edge,chrome=1
|
105
|
+
Set-Cookie:
|
106
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMjE0ZDBiOTVmMGUzOWMxMjVkZDAyYmE1NjI5NDUxNWRJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--915ddaee1f533b2cb25b9e424d0a070e67b664fa;
|
107
|
+
domain=.cartodb.com; path=/; HttpOnly
|
108
|
+
X-Runtime:
|
109
|
+
- '0.006503'
|
110
|
+
Content-Encoding:
|
111
|
+
- gzip
|
112
|
+
body:
|
113
|
+
encoding: ASCII-8BIT
|
114
|
+
string: ! ' '
|
115
|
+
http_version: '1.1'
|
116
|
+
recorded_at: Wed, 23 May 2012 16:17:30 GMT
|
117
|
+
- request:
|
118
|
+
method: post
|
119
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
|
120
|
+
body:
|
121
|
+
encoding: US-ASCII
|
122
|
+
string: ''
|
123
|
+
headers:
|
124
|
+
Accept:
|
125
|
+
- *70095016615020
|
126
|
+
Authorization:
|
127
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="D6ioZT50GSDe3ATX3hqjDJiGPAR9VSl2w5ReRHaQdk",
|
128
|
+
oauth_signature="pLQEA1vn%2B13i3IUaJ%2BhRqhDEsHg%3D", oauth_signature_method="HMAC-SHA1",
|
129
|
+
oauth_timestamp="1337789850", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
130
|
+
oauth_version="1.0"
|
131
|
+
response:
|
132
|
+
status:
|
133
|
+
code: 200
|
134
|
+
message: OK
|
135
|
+
headers:
|
136
|
+
Server:
|
137
|
+
- nginx
|
138
|
+
Date:
|
139
|
+
- Wed, 23 May 2012 16:17:31 GMT
|
140
|
+
Content-Type:
|
141
|
+
- application/json; charset=utf-8
|
142
|
+
Transfer-Encoding:
|
143
|
+
- chunked
|
144
|
+
Connection:
|
145
|
+
- keep-alive
|
146
|
+
Vary:
|
147
|
+
- Accept-Encoding
|
148
|
+
Status:
|
149
|
+
- 200 OK
|
150
|
+
Location:
|
151
|
+
- /tables/4727
|
152
|
+
Etag:
|
153
|
+
- ! '"f5c3fbcc34d44cb47b397aa20e576d7f"'
|
154
|
+
Cache-Control:
|
155
|
+
- max-age=0, private, must-revalidate
|
156
|
+
X-Ua-Compatible:
|
157
|
+
- IE=Edge,chrome=1
|
158
|
+
Set-Cookie:
|
159
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYzJhOTI4ZGQ2MGQ2NzY4ZjUxYzJlZWFhNGQ4YjEzZjhJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--f2b6efaf32a650e095304aa5c49502097473ff5a;
|
160
|
+
domain=.cartodb.com; path=/; HttpOnly
|
161
|
+
X-Runtime:
|
162
|
+
- '1.348892'
|
163
|
+
Content-Encoding:
|
164
|
+
- gzip
|
165
|
+
body:
|
166
|
+
encoding: ASCII-8BIT
|
167
|
+
string: ! '{"id":4727,"name":"polygon_geometry_model","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
168
|
+
http_version: '1.1'
|
169
|
+
recorded_at: Wed, 23 May 2012 16:17:31 GMT
|
170
|
+
- request:
|
171
|
+
method: post
|
172
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model/columns
|
173
|
+
body:
|
174
|
+
encoding: US-ASCII
|
175
|
+
string: ''
|
176
|
+
headers:
|
177
|
+
Accept:
|
178
|
+
- *70095016615020
|
179
|
+
Authorization:
|
180
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="XTFPtFN8yas4iGBUCdamC84eZEUq7nXMbDv3Lqk",
|
181
|
+
oauth_signature="AcLCM0UDaejy%2BVtUyVDyr2euU4w%3D", oauth_signature_method="HMAC-SHA1",
|
182
|
+
oauth_timestamp="1337789851", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
183
|
+
oauth_version="1.0"
|
184
|
+
response:
|
185
|
+
status:
|
186
|
+
code: 200
|
187
|
+
message: OK
|
188
|
+
headers:
|
189
|
+
Server:
|
190
|
+
- nginx
|
191
|
+
Date:
|
192
|
+
- Wed, 23 May 2012 16:17:31 GMT
|
193
|
+
Content-Type:
|
194
|
+
- application/json; charset=utf-8
|
195
|
+
Transfer-Encoding:
|
196
|
+
- chunked
|
197
|
+
Connection:
|
198
|
+
- keep-alive
|
199
|
+
Vary:
|
200
|
+
- Accept-Encoding
|
201
|
+
Status:
|
202
|
+
- 200 OK
|
203
|
+
Etag:
|
204
|
+
- ! '"2b29d6d55604f6cc9dd231b39f6a062c"'
|
205
|
+
Cache-Control:
|
206
|
+
- max-age=0, private, must-revalidate
|
207
|
+
X-Ua-Compatible:
|
208
|
+
- IE=Edge,chrome=1
|
209
|
+
Set-Cookie:
|
210
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOGU0YmY5NTRjYWNlMzk3ZmYxZTgyNTM1N2ZiNzg5OGFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--e0ae0de68163bbd2a8b584c8756e5a53c05da43b;
|
211
|
+
domain=.cartodb.com; path=/; HttpOnly
|
212
|
+
X-Runtime:
|
213
|
+
- '0.065376'
|
214
|
+
Content-Encoding:
|
215
|
+
- gzip
|
216
|
+
body:
|
217
|
+
encoding: ASCII-8BIT
|
218
|
+
string: ! '{"name":"another_column","type":"text","cartodb_type":"string"}'
|
219
|
+
http_version: '1.1'
|
220
|
+
recorded_at: Wed, 23 May 2012 16:17:31 GMT
|
221
|
+
- request:
|
222
|
+
method: get
|
223
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
224
|
+
body:
|
225
|
+
encoding: US-ASCII
|
226
|
+
string: ''
|
227
|
+
headers:
|
228
|
+
Accept:
|
229
|
+
- *70095016615020
|
230
|
+
Authorization:
|
231
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="yOQKLMr0h31CfnPwGQKvzFR4HtcOmKoTuoCWuK7WqJI",
|
232
|
+
oauth_signature="5j%2FIGPHi%2Bumv4yVvFmbu82GVZa0%3D", oauth_signature_method="HMAC-SHA1",
|
233
|
+
oauth_timestamp="1337789851", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
234
|
+
oauth_version="1.0"
|
235
|
+
response:
|
236
|
+
status:
|
237
|
+
code: 200
|
238
|
+
message: OK
|
239
|
+
headers:
|
240
|
+
Server:
|
241
|
+
- nginx
|
242
|
+
Date:
|
243
|
+
- Wed, 23 May 2012 16:17:32 GMT
|
244
|
+
Content-Type:
|
245
|
+
- application/json; charset=utf-8
|
246
|
+
Transfer-Encoding:
|
247
|
+
- chunked
|
248
|
+
Connection:
|
249
|
+
- keep-alive
|
250
|
+
Vary:
|
251
|
+
- Accept-Encoding
|
252
|
+
Status:
|
253
|
+
- 200 OK
|
254
|
+
Etag:
|
255
|
+
- ! '"7f81002ed8c00e7e89b0dda1629d05c7"'
|
256
|
+
Cache-Control:
|
257
|
+
- max-age=0, private, must-revalidate
|
258
|
+
X-Ua-Compatible:
|
259
|
+
- IE=Edge,chrome=1
|
260
|
+
Set-Cookie:
|
261
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTIxN2MxZTFiY2M3MDQ2OTMxNTg4ZDcwNTlhYmMwZGFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--efa0667ca3283c7e4b428698acd51c9142aa085c;
|
262
|
+
domain=.cartodb.com; path=/; HttpOnly
|
263
|
+
X-Runtime:
|
264
|
+
- '0.091449'
|
265
|
+
Content-Encoding:
|
266
|
+
- gzip
|
267
|
+
body:
|
268
|
+
encoding: ASCII-8BIT
|
269
|
+
string: ! '{"id":4727,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
270
|
+
http_version: '1.1'
|
271
|
+
recorded_at: Wed, 23 May 2012 16:17:32 GMT
|
272
|
+
recorded_with: VCR 2.1.1
|
@@ -0,0 +1,780 @@
|
|
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="LZrx7bDR5B9pwB5662RDonWP9WoXubGrL86mM0jyGtQ",
|
30
|
+
oauth_signature="8sTY8KpRUDR94kgIkgTC%2FFUIFH4%3D", oauth_signature_method="HMAC-SHA1",
|
31
|
+
oauth_timestamp="1337784775", 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:52:55 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
|
+
- ! '"b246a79d16a3fb0a3181fd874bb0324c"'
|
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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYjZkOGE0ZjA4OTI0MDQ0MDQyODU4YTM0NjU0MjQ0YTdJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--a70a08e5153963043cbf984644b3d623f5eab021;
|
60
|
+
domain=.cartodb.com; path=/; HttpOnly
|
61
|
+
X-Runtime:
|
62
|
+
- '0.017973'
|
63
|
+
Content-Encoding:
|
64
|
+
- gzip
|
65
|
+
body:
|
66
|
+
encoding: ASCII-8BIT
|
67
|
+
string: ! '{"total_entries":1,"tables":[{"id":4654,"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"]],"updated_at":"2012-05-23T16:52:51+02:00","rows_counted":0}]}'
|
68
|
+
http_version: '1.1'
|
69
|
+
recorded_at: Wed, 23 May 2012 14:52:55 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="nI2djfIuoS6BdQzyqNos57r1AqU76OOzaY2nRJcu4",
|
81
|
+
oauth_signature="pZd9Ngh48%2BtekZErO7yeMUG5%2BFU%3D", oauth_signature_method="HMAC-SHA1",
|
82
|
+
oauth_timestamp="1337784775", 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:52:56 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZDZiYmNkNGQ1OTVkMjBkMjE1YzdiMmY2NWViNzlmYzFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--a06e2f1892f4e064dd8548938216c9d5fd1a6c9c;
|
109
|
+
domain=.cartodb.com; path=/; HttpOnly
|
110
|
+
X-Runtime:
|
111
|
+
- '0.260581'
|
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:52:56 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="h5znWpz8khKuNfqBA7QVHU3j73FXv5x8FW5Vmv8g",
|
130
|
+
oauth_signature="n0CuiPKVGZ1MBPUPiJLrJO3P14Y%3D", oauth_signature_method="HMAC-SHA1",
|
131
|
+
oauth_timestamp="1337784776", 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:52:56 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZjUyNjMwYzc0MWYyNzkzN2Y4YWE2ZmFhZGM0MWRjNjdJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--44d798ea607b5c6121aef55d529fa902772ac4ae;
|
158
|
+
domain=.cartodb.com; path=/; HttpOnly
|
159
|
+
X-Runtime:
|
160
|
+
- '0.009628'
|
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:52:56 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="p9s2hIp4dYtcv6pCXYOWRu0JvWXf2yxzBtezUT924A",
|
179
|
+
oauth_signature="8x3VCUzKL8YHp9HfdeMyFK2rMfo%3D", oauth_signature_method="HMAC-SHA1",
|
180
|
+
oauth_timestamp="1337784776", 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:52:56 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYTAyMGQxZThkNTc1OTk3ZmFlMzQzNjZiNTZlMDg3ZjZJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--42e51fc7c3a31b5bc5cc67bc869edf0658e8cab1;
|
207
|
+
domain=.cartodb.com; path=/; HttpOnly
|
208
|
+
X-Runtime:
|
209
|
+
- '0.009559'
|
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:52:56 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="729gKbbGQBrugMptLal5ys5HCBbqE6EQvYrxwQBI",
|
228
|
+
oauth_signature="0lxB3KiBqpMzGa%2BaUiTSSkUxB8c%3D", oauth_signature_method="HMAC-SHA1",
|
229
|
+
oauth_timestamp="1337784776", 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:52:57 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/4655
|
252
|
+
Etag:
|
253
|
+
- ! '"89a118d1a5a02c3f573881959bdacbd6"'
|
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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjJhMTFlNTE4MDI2NTc1YWJkMGYyYzcwMzgzOWVjNmNJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--f12e0211f472d91a18b902958f2d831783c18034;
|
260
|
+
domain=.cartodb.com; path=/; HttpOnly
|
261
|
+
X-Runtime:
|
262
|
+
- '0.959127'
|
263
|
+
Content-Encoding:
|
264
|
+
- gzip
|
265
|
+
body:
|
266
|
+
encoding: ASCII-8BIT
|
267
|
+
string: ! '{"id":4655,"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:52:57 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="5fcfIPiYtxpBbTT2YfN90bP8YyAzQLqvHfUPXPsz1M",
|
281
|
+
oauth_signature="Eqm7EMd9SoYqZX0BYVR4AWOwQac%3D", oauth_signature_method="HMAC-SHA1",
|
282
|
+
oauth_timestamp="1337784777", 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:52:57 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYWQ4YWE3ZmQ5NDhkMzEwZDZiZjRmMDVjODkwNDljYTlJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--4cafbe8049b0a3aedde1c039a581406b89df96f5;
|
311
|
+
domain=.cartodb.com; path=/; HttpOnly
|
312
|
+
X-Runtime:
|
313
|
+
- '0.148963'
|
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:52:57 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="b1uobNDsW9Z4b1EFREdg5Dy3qS0xNeHZLCXdjMIGI",
|
332
|
+
oauth_signature="MAP1O5GHrN%2BNHnrHzpxMSU%2BTyIA%3D", oauth_signature_method="HMAC-SHA1",
|
333
|
+
oauth_timestamp="1337784777", 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:52:58 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNWU5Yjc2ZDYyYmMxMWI3ZWFlNDQ1MDA5YzgzNjllY2ZJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--5829ed953e52e3729a72e3c3ab6543a462666b70;
|
362
|
+
domain=.cartodb.com; path=/; HttpOnly
|
363
|
+
X-Runtime:
|
364
|
+
- '0.038681'
|
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:52:58 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="luFjsUJgvdp1k0BGv7KBbRib7QAUkRHO8gq14NeLjlM",
|
383
|
+
oauth_signature="HqFqtyYVAwquty6NHrj%2B88H2Src%3D", oauth_signature_method="HMAC-SHA1",
|
384
|
+
oauth_timestamp="1337784778", 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:52:58 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZjg2NjkzYWMzYjhjY2JmZTYzZjI2YWM1NWRkY2Q3MGJJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--8080959f6661192903baf206a221dd1e3fb63fef;
|
413
|
+
domain=.cartodb.com; path=/; HttpOnly
|
414
|
+
X-Runtime:
|
415
|
+
- '0.057659'
|
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:52:58 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="95iqLv8wx5Ib3plXpskOfer9fXjrtVZcSPySqfd8SMg",
|
434
|
+
oauth_signature="w%2Fy57W7xJEr3sVTmAVuDlW8fA9c%3D", oauth_signature_method="HMAC-SHA1",
|
435
|
+
oauth_timestamp="1337784778", 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:52:58 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMjc1NmNlZmY5YmU5ZjFlM2E1ZTA3MmEwODA2YzU5OTVJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--d8971c267d43db71c2c397671715e0b9a50c86de;
|
464
|
+
domain=.cartodb.com; path=/; HttpOnly
|
465
|
+
X-Runtime:
|
466
|
+
- '0.038900'
|
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:52:58 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="DrDE2YMt206vu1bbH3N9WWd1oWNmpr8mH0VxejDqM",
|
485
|
+
oauth_signature="964xanWjvLeUCkJFQV6LttHII5s%3D", oauth_signature_method="HMAC-SHA1",
|
486
|
+
oauth_timestamp="1337784778", 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:52:58 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlY2ZmZjhmZWY4MDgwNzA4YzVjNGI2NjRjMjhjZDQyNjNJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--a3c6227b330ba6bacc815868b6308b15d466e87b;
|
515
|
+
domain=.cartodb.com; path=/; HttpOnly
|
516
|
+
X-Runtime:
|
517
|
+
- '0.059795'
|
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:52:58 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="azJt2woHfJ2tzHMUsyNTRp6gdnL0bJ9E6PNxZxwsik",
|
536
|
+
oauth_signature="fDnphUWgG9pvWPVt0FpbGu5JHag%3D", oauth_signature_method="HMAC-SHA1",
|
537
|
+
oauth_timestamp="1337784778", 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:52:58 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYjFiNjNmNjVmNTkyZTEzZjU5MDBiNjJhZTYxNmIwYWRJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--6bb1711b46bab692342f68661549cae6e97d51d8;
|
566
|
+
domain=.cartodb.com; path=/; HttpOnly
|
567
|
+
X-Runtime:
|
568
|
+
- '0.078740'
|
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:52:58 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="cl0K0HaDV1WuNJ1dGQbeFt581PZshmrkZeA0z7lWcY",
|
587
|
+
oauth_signature="fjK%2BCoRp5nyk0exOIIxWlThty04%3D", oauth_signature_method="HMAC-SHA1",
|
588
|
+
oauth_timestamp="1337784778", 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:52:58 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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlN2NmYjNlOTQ5NDg1ZTdhODNiODNhYjE5ODQ3MWMwMGNJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--897428803e0fb8aa2568c2129a4f7bc1f08297f3;
|
617
|
+
domain=.cartodb.com; path=/; HttpOnly
|
618
|
+
X-Runtime:
|
619
|
+
- '0.067157'
|
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:52:58 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="YFPkoWl40rAn3RLSkZgedgi1MVPxZIk6jjoePldC6U",
|
638
|
+
oauth_signature="UH7LjMLJ7k6QGqaMDzuIPC0i5eY%3D", oauth_signature_method="HMAC-SHA1",
|
639
|
+
oauth_timestamp="1337784778", 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:52:58 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
|
+
- ! '"9976f6ae86c49cd46d1f64a43231852d"'
|
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=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMWI5MzUyNzNlMTRmZTExYzY4ZDJiMDZlMDJlNDQ3MGJJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--2b359461c9b1eb975d87ed4a509b633444516037;
|
668
|
+
domain=.cartodb.com; path=/; HttpOnly
|
669
|
+
X-Runtime:
|
670
|
+
- '0.015563'
|
671
|
+
Content-Encoding:
|
672
|
+
- gzip
|
673
|
+
body:
|
674
|
+
encoding: ASCII-8BIT
|
675
|
+
string: ! '{"id":4655,"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:52:58 GMT
|
678
|
+
- request:
|
679
|
+
method: get
|
680
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?
|
681
|
+
body:
|
682
|
+
encoding: US-ASCII
|
683
|
+
string: ''
|
684
|
+
headers:
|
685
|
+
Accept:
|
686
|
+
- *70259176453560
|
687
|
+
Authorization:
|
688
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="b7SeWupAc3zG2Rb5qAv3zILbEGH91TJTPmihFrKsI",
|
689
|
+
oauth_signature="djYBihIEUL9ZcojtsEC9ZwFM19g%3D", oauth_signature_method="HMAC-SHA1",
|
690
|
+
oauth_timestamp="1337784778", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
691
|
+
oauth_version="1.0"
|
692
|
+
response:
|
693
|
+
status:
|
694
|
+
code: 200
|
695
|
+
message: OK
|
696
|
+
headers:
|
697
|
+
Server:
|
698
|
+
- nginx
|
699
|
+
Date:
|
700
|
+
- Wed, 23 May 2012 14:52:58 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
|
+
- 200 OK
|
711
|
+
Etag:
|
712
|
+
- ! '"9976f6ae86c49cd46d1f64a43231852d"'
|
713
|
+
Cache-Control:
|
714
|
+
- max-age=0, private, must-revalidate
|
715
|
+
X-Ua-Compatible:
|
716
|
+
- IE=Edge,chrome=1
|
717
|
+
Set-Cookie:
|
718
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlM2JkNGQ0OTE0MTczOGU0MmJjYWUwMzYxMmRkNTYzMTVJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--ec15e11db7902625d4b89521be3f8accb0452c61;
|
719
|
+
domain=.cartodb.com; path=/; HttpOnly
|
720
|
+
X-Runtime:
|
721
|
+
- '0.016822'
|
722
|
+
Content-Encoding:
|
723
|
+
- gzip
|
724
|
+
body:
|
725
|
+
encoding: ASCII-8BIT
|
726
|
+
string: ! '{"id":4655,"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"]]}'
|
727
|
+
http_version: '1.1'
|
728
|
+
recorded_at: Wed, 23 May 2012 14:52:58 GMT
|
729
|
+
- request:
|
730
|
+
method: get
|
731
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?
|
732
|
+
body:
|
733
|
+
encoding: US-ASCII
|
734
|
+
string: ''
|
735
|
+
headers:
|
736
|
+
Accept:
|
737
|
+
- *70259176453560
|
738
|
+
Authorization:
|
739
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="4YCZuihGFxtKP9GgsoeoqDSvghX957tmarAI2tRPD04",
|
740
|
+
oauth_signature="V2tZEZmFQKEoMoKDfl0gbbYh3XQ%3D", oauth_signature_method="HMAC-SHA1",
|
741
|
+
oauth_timestamp="1337784778", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
742
|
+
oauth_version="1.0"
|
743
|
+
response:
|
744
|
+
status:
|
745
|
+
code: 200
|
746
|
+
message: OK
|
747
|
+
headers:
|
748
|
+
Server:
|
749
|
+
- nginx
|
750
|
+
Date:
|
751
|
+
- Wed, 23 May 2012 14:52:59 GMT
|
752
|
+
Content-Type:
|
753
|
+
- application/json; charset=utf-8
|
754
|
+
Transfer-Encoding:
|
755
|
+
- chunked
|
756
|
+
Connection:
|
757
|
+
- keep-alive
|
758
|
+
Vary:
|
759
|
+
- Accept-Encoding
|
760
|
+
Status:
|
761
|
+
- 200 OK
|
762
|
+
Etag:
|
763
|
+
- ! '"9976f6ae86c49cd46d1f64a43231852d"'
|
764
|
+
Cache-Control:
|
765
|
+
- max-age=0, private, must-revalidate
|
766
|
+
X-Ua-Compatible:
|
767
|
+
- IE=Edge,chrome=1
|
768
|
+
Set-Cookie:
|
769
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMzg5ZDk0ZTdkZjQ5OWJmZDUwMzRhZDhmMjkxOWY5NThJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--94db5be2c07603092542afcf8e466e82ab951fc9;
|
770
|
+
domain=.cartodb.com; path=/; HttpOnly
|
771
|
+
X-Runtime:
|
772
|
+
- '0.016694'
|
773
|
+
Content-Encoding:
|
774
|
+
- gzip
|
775
|
+
body:
|
776
|
+
encoding: ASCII-8BIT
|
777
|
+
string: ! '{"id":4655,"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"]]}'
|
778
|
+
http_version: '1.1'
|
779
|
+
recorded_at: Wed, 23 May 2012 14:52:59 GMT
|
780
|
+
recorded_with: VCR 2.1.1
|