cartodb-rb-client-rails-322 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. data/.gitignore +5 -0
  2. data/.rvmrc +1 -0
  3. data/.travis.yml +15 -0
  4. data/Gemfile +15 -0
  5. data/LICENSE +28 -0
  6. data/README.markdown +365 -0
  7. data/Rakefile +10 -0
  8. data/cartodb-rb-client.gemspec +34 -0
  9. data/lib/cartodb-rb-client.rb +18 -0
  10. data/lib/cartodb-rb-client/cartodb.rb +6 -0
  11. data/lib/cartodb-rb-client/cartodb/client.rb +4 -0
  12. data/lib/cartodb-rb-client/cartodb/client/authorization.rb +92 -0
  13. data/lib/cartodb-rb-client/cartodb/client/cache.rb +14 -0
  14. data/lib/cartodb-rb-client/cartodb/client/connection.rb +4 -0
  15. data/lib/cartodb-rb-client/cartodb/client/connection/base.rb +44 -0
  16. data/lib/cartodb-rb-client/cartodb/client/connection/cartodb.rb +280 -0
  17. data/lib/cartodb-rb-client/cartodb/client/connection/postgres.rb +255 -0
  18. data/lib/cartodb-rb-client/cartodb/client/error.rb +68 -0
  19. data/lib/cartodb-rb-client/cartodb/client/utils.rb +20 -0
  20. data/lib/cartodb-rb-client/cartodb/helpers.rb +1 -0
  21. data/lib/cartodb-rb-client/cartodb/helpers/sql_helper.rb +36 -0
  22. data/lib/cartodb-rb-client/cartodb/init.rb +30 -0
  23. data/lib/cartodb-rb-client/cartodb/libs.rb +2 -0
  24. data/lib/cartodb-rb-client/cartodb/libs/object.rb +15 -0
  25. data/lib/cartodb-rb-client/cartodb/libs/string.rb +116 -0
  26. data/lib/cartodb-rb-client/cartodb/model.rb +11 -0
  27. data/lib/cartodb-rb-client/cartodb/model/base.rb +20 -0
  28. data/lib/cartodb-rb-client/cartodb/model/constants.rb +30 -0
  29. data/lib/cartodb-rb-client/cartodb/model/defaults.rb +15 -0
  30. data/lib/cartodb-rb-client/cartodb/model/geo.rb +101 -0
  31. data/lib/cartodb-rb-client/cartodb/model/getters.rb +75 -0
  32. data/lib/cartodb-rb-client/cartodb/model/persistence.rb +69 -0
  33. data/lib/cartodb-rb-client/cartodb/model/query.rb +66 -0
  34. data/lib/cartodb-rb-client/cartodb/model/schema.rb +121 -0
  35. data/lib/cartodb-rb-client/cartodb/model/scope.rb +163 -0
  36. data/lib/cartodb-rb-client/cartodb/model/setters.rb +37 -0
  37. data/lib/cartodb-rb-client/cartodb/types.rb +2 -0
  38. data/lib/cartodb-rb-client/cartodb/types/metadata.rb +97 -0
  39. data/lib/cartodb-rb-client/cartodb/types/pg_result.rb +17 -0
  40. data/lib/cartodb-rb-client/install_utils.rb +19 -0
  41. data/lib/cartodb-rb-client/version.rb +7 -0
  42. data/run_tests.sh +6 -0
  43. data/spec/client_spec.rb +357 -0
  44. data/spec/fixtures/cassettes/CartoDB_client/should_add_and_remove_colums_in_a_previously_created_table.yml +635 -0
  45. data/spec/fixtures/cassettes/CartoDB_client/should_allow_reserved_words_in_columns_names.yml +284 -0
  46. data/spec/fixtures/cassettes/CartoDB_client/should_change_a_previously_created_column.yml +362 -0
  47. data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_and_get_its_table_definition.yml +1634 -0
  48. data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_forcing_the_schema_and_get_its_table_definition.yml +298 -0
  49. data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_from_a_csv_file.yml +2947 -0
  50. data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_with_MULTILINESTRING_type_geometry.yml +299 -0
  51. data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_with_MULTIPOLYGON_type_geometry.yml +298 -0
  52. data/spec/fixtures/cassettes/CartoDB_client/should_create_a_table_with_POINT_type_geometry.yml +580 -0
  53. data/spec/fixtures/cassettes/CartoDB_client/should_delete_a_table_s_row.yml +410 -0
  54. data/spec/fixtures/cassettes/CartoDB_client/should_drop_a_table.yml +380 -0
  55. data/spec/fixtures/cassettes/CartoDB_client/should_escape_properly_input_data_in_insert_queries.yml +295 -0
  56. data/spec/fixtures/cassettes/CartoDB_client/should_execute_a_select_query_and_return_results.yml +987 -0
  57. data/spec/fixtures/cassettes/CartoDB_client/should_get_a_table_by_its_name.yml +298 -0
  58. data/spec/fixtures/cassettes/CartoDB_client/should_import_any_kind_of_data_file.yml +6951 -0
  59. data/spec/fixtures/cassettes/CartoDB_client/should_insert_a_row_in_a_table.yml +357 -0
  60. data/spec/fixtures/cassettes/CartoDB_client/should_paginate_records.yml +3642 -0
  61. data/spec/fixtures/cassettes/CartoDB_client/should_rename_an_existing_table.yml +299 -0
  62. data/spec/fixtures/cassettes/CartoDB_client/should_return_errors_on_invalid_queries.yml +132 -0
  63. data/spec/fixtures/cassettes/CartoDB_client/should_return_nil_when_requesting_a_table_which_does_not_exists.yml +218 -0
  64. data/spec/fixtures/cassettes/CartoDB_client/should_return_user_s_table_list.yml +244 -0
  65. data/spec/fixtures/cassettes/CartoDB_client/should_update_a_row_in_a_table.yml +347 -0
  66. data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_destroy_a_previously_created_record.yml +1920 -0
  67. data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_initialize_attributes_of_the_model_without_persisting_them.yml +963 -0
  68. data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_persist_into_cartodb_using_the_save_method.yml +1946 -0
  69. data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_persist_into_cartodb_using_the_static_create_method.yml +1796 -0
  70. data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_save_polygons_in_different_formats.yml +1801 -0
  71. data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_update_an_existing_record.yml +2856 -0
  72. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_add_more_columns_if_the_table_previously_exists.yml +1509 -0
  73. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_contain_an_array_of_columns.yml +2007 -0
  74. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_create_a_table_with_custom_name_if_specified.yml +357 -0
  75. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_create_model_with_custom_data_types_columns.yml +565 -0
  76. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_create_model_with_polygon_type_geometry_columns.yml +493 -0
  77. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_create_the_table_in_cartodb_if_it_doesn_t_exists.yml +1048 -0
  78. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_have_a_valid_CartoDB_Client_instance_as_a_connection_object.yml +971 -0
  79. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_have_a_valid_table_name.yml +970 -0
  80. data/spec/fixtures/cassettes/CartoDB_model_metadata_methods/should_return_only_data_columns.yml +1096 -0
  81. data/spec/fixtures/cassettes/CartoDB_model_scopes/should_allow_to_select_the_specified_fiels.yml +25828 -0
  82. data/spec/fixtures/cassettes/CartoDB_model_scopes/should_count_all_records.yml +22401 -0
  83. data/spec/fixtures/cassettes/CartoDB_model_scopes/should_find_a_record_by_its_id.yml +21852 -0
  84. data/spec/fixtures/cassettes/CartoDB_model_scopes/should_order_results.yml +23701 -0
  85. data/spec/fixtures/cassettes/CartoDB_model_scopes/should_paginate_results.yml +35644 -0
  86. data/spec/fixtures/cassettes/CartoDB_model_scopes/should_return_all_records_paginated.yml +23699 -0
  87. data/spec/fixtures/cassettes/CartoDB_model_scopes/should_search_records_by_certain_filters.yml +7080 -0
  88. data/spec/fixtures/cassettes/cartodb_spec_models.yml +3409 -0
  89. data/spec/fixtures/cassettes/clean_tables.yml +224 -0
  90. data/spec/model/data_spec.rb +157 -0
  91. data/spec/model/metadata_spec.rb +124 -0
  92. data/spec/model/scopes_spec.rb +171 -0
  93. data/spec/model_specs_helper.rb +2 -0
  94. data/spec/spec_helper.rb +54 -0
  95. data/spec/support/cartodb_config.yml +11 -0
  96. data/spec/support/cartodb_config.yml.sample +16 -0
  97. data/spec/support/cartodb_factories.rb +33 -0
  98. data/spec/support/cartodb_helpers.rb +14 -0
  99. data/spec/support/cartodb_models.rb +29 -0
  100. data/spec/support/data/110m-glaciated-areas.zip +0 -0
  101. data/spec/support/data/CartoDB_csv_export.zip +0 -0
  102. data/spec/support/data/CartoDB_shp_export.zip +0 -0
  103. data/spec/support/data/rmnp.kml +51 -0
  104. data/spec/support/data/states.kml.zip +0 -0
  105. data/spec/support/database.yml +5 -0
  106. data/spec/support/shp/cereal.dbf +0 -0
  107. data/spec/support/shp/cereal.shp +0 -0
  108. data/spec/support/shp/cereal.shx +0 -0
  109. data/spec/support/shp/cereal.zip +0 -0
  110. data/spec/support/shp/parcelas.dbf +0 -0
  111. data/spec/support/shp/parcelas.shp +0 -0
  112. data/spec/support/shp/parcelas.shx +0 -0
  113. data/spec/support/shp/parcelas.zip +0 -0
  114. data/spec/support/shp/zonas.dbf +0 -0
  115. data/spec/support/shp/zonas.shp +0 -0
  116. data/spec/support/shp/zonas.shx +0 -0
  117. data/spec/support/shp/zonas.zip +0 -0
  118. data/spec/support/whs_features.csv +315 -0
  119. data/spec/support/whs_features.csv.zip +0 -0
  120. data/spec/support/whs_features_temp.csv +315 -0
  121. metadata +400 -0
@@ -0,0 +1,970 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables?api_key=242015a0c60666b5cdff0ce614334668817b52ac
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - &70293202938040 !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:
22
+ registered: true
23
+ url:
24
+ - IANA
25
+ - RFC4627
26
+ obsolete:
27
+ docs:
28
+ response:
29
+ status:
30
+ code: 200
31
+ message: !binary |-
32
+ T0s=
33
+ headers:
34
+ !binary "U2VydmVy":
35
+ - !binary |-
36
+ bmdpbng=
37
+ !binary "RGF0ZQ==":
38
+ - !binary |-
39
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxMiBHTVQ=
40
+ !binary "Q29udGVudC1UeXBl":
41
+ - !binary |-
42
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
43
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
44
+ - !binary |-
45
+ Y2h1bmtlZA==
46
+ !binary "Q29ubmVjdGlvbg==":
47
+ - !binary |-
48
+ a2VlcC1hbGl2ZQ==
49
+ !binary "VmFyeQ==":
50
+ - !binary |-
51
+ QWNjZXB0LUVuY29kaW5n
52
+ !binary "U3RhdHVz":
53
+ - !binary |-
54
+ MjAwIE9L
55
+ !binary "RXRhZw==":
56
+ - !binary |-
57
+ IjViZmViOTE1MTExZmY2ODQwM2I1YmZhOGQyZjRjMmJhIg==
58
+ !binary "Q2FjaGUtQ29udHJvbA==":
59
+ - !binary |-
60
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
61
+ !binary "WC1VYS1Db21wYXRpYmxl":
62
+ - !binary |-
63
+ SUU9RWRnZSxjaHJvbWU9MQ==
64
+ !binary "U2V0LUNvb2tpZQ==":
65
+ - !binary |-
66
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
67
+ UmlJbE4yVXhNMlkyT0dFMk1HVTVOekk0T1RrMllXUTRNVGt5WkRGbE5EQTVO
68
+ bVJKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
69
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS05
70
+ NDYxYzcwMzVkMDc3ZDJjYTRmMTg0MTU5OGM2YjViZTVkZDdkY2Q1OyBkb21h
71
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
72
+ !binary "WC1SdW50aW1l":
73
+ - !binary |-
74
+ MC4xMDM4NjU=
75
+ !binary "Q29udGVudC1FbmNvZGluZw==":
76
+ - !binary |-
77
+ Z3ppcA==
78
+ body:
79
+ encoding: ASCII-8BIT
80
+ string: !binary |-
81
+ eyJ0b3RhbF9lbnRyaWVzIjoyLCJ0YWJsZXMiOlt7ImlkIjo4MjA2LCJuYW1l
82
+ IjoibW9kZWxfY29ubmVjdGlvbl90ZXN0IiwicHJpdmFjeSI6IlBVQkxJQyIs
83
+ InRhZ3MiOiIiLCJzY2hlbWEiOltbImNhcnRvZGJfaWQiLCJudW1iZXIiXSxb
84
+ InRoZV9nZW9tIiwiZ2VvbWV0cnkiLCJnZW9tZXRyeSIsInBvaW50Il0sWyJk
85
+ ZXNjcmlwdGlvbiIsInN0cmluZyJdLFsibmFtZSIsInN0cmluZyJdLFsiY3Jl
86
+ YXRlZF9hdCIsImRhdGUiXSxbInVwZGF0ZWRfYXQiLCJkYXRlIl1dLCJ1cGRh
87
+ dGVkX2F0IjoiMjAxMi0wOC0yMFQxMjo0NjoxMSswMjowMCIsInJvd3NfY291
88
+ bnRlZCI6MH0seyJpZCI6ODIwNSwibmFtZSI6Im1vdG9fZ3BfY2lyY3VpdCIs
89
+ InByaXZhY3kiOiJQVUJMSUMiLCJ0YWdzIjoiIiwic2NoZW1hIjpbWyJjYXJ0
90
+ b2RiX2lkIiwibnVtYmVyIl0sWyJ0aGVfZ2VvbSIsImdlb21ldHJ5IiwiZ2Vv
91
+ bWV0cnkiLCJwb2ludCJdLFsiY29uc3RydWN0ZWQiLCJkYXRlIl0sWyJkZXNj
92
+ cmlwdGlvbiIsInN0cmluZyJdLFsibGVmdF9jb3JuZXJzIiwibnVtYmVyIl0s
93
+ WyJsZW5ndGgiLCJzdHJpbmciXSxbImxvbmdlc3Rfc3RyYWlnaHQiLCJzdHJp
94
+ bmciXSxbIm1vZGlmaWVkIiwiZGF0ZSJdLFsibmFtZSIsInN0cmluZyJdLFsi
95
+ cmlnaHRfY29ybmVycyIsIm51bWJlciJdLFsid2lkdGgiLCJzdHJpbmciXSxb
96
+ ImNyZWF0ZWRfYXQiLCJkYXRlIl0sWyJ1cGRhdGVkX2F0IiwiZGF0ZSJdXSwi
97
+ dXBkYXRlZF9hdCI6IjIwMTItMDgtMjBUMTI6NDY6MDkrMDI6MDAiLCJyb3dz
98
+ X2NvdW50ZWQiOjB9XX0=
99
+ http_version: !binary |-
100
+ MS4x
101
+ recorded_at: Mon, 20 Aug 2012 10:46:12 GMT
102
+ - request:
103
+ method: delete
104
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/model_connection_test?api_key=242015a0c60666b5cdff0ce614334668817b52ac
105
+ body:
106
+ encoding: US-ASCII
107
+ string: ''
108
+ headers:
109
+ Accept:
110
+ - *70293202938040
111
+ response:
112
+ status:
113
+ code: 200
114
+ message: !binary |-
115
+ T0s=
116
+ headers:
117
+ !binary "U2VydmVy":
118
+ - !binary |-
119
+ bmdpbng=
120
+ !binary "RGF0ZQ==":
121
+ - !binary |-
122
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxMiBHTVQ=
123
+ !binary "Q29udGVudC1UeXBl":
124
+ - !binary |-
125
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
126
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
127
+ - !binary |-
128
+ Y2h1bmtlZA==
129
+ !binary "Q29ubmVjdGlvbg==":
130
+ - !binary |-
131
+ a2VlcC1hbGl2ZQ==
132
+ !binary "VmFyeQ==":
133
+ - !binary |-
134
+ QWNjZXB0LUVuY29kaW5n
135
+ !binary "U3RhdHVz":
136
+ - !binary |-
137
+ MjAwIE9L
138
+ !binary "Q2FjaGUtQ29udHJvbA==":
139
+ - !binary |-
140
+ bm8tY2FjaGU=
141
+ !binary "WC1VYS1Db21wYXRpYmxl":
142
+ - !binary |-
143
+ SUU9RWRnZSxjaHJvbWU9MQ==
144
+ !binary "U2V0LUNvb2tpZQ==":
145
+ - !binary |-
146
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
147
+ UmlJbFpERTVPREl6T1RFeE9HUTBNR1ZrWTJGbE5ETTFaR1ZqWm1aaE9HWTJZ
148
+ ak5KSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
149
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0z
150
+ YzEwYTlhODgyOTc3MTRlMDVjYmU1MDg4ZWEyMWQ4OTk2YTZkM2E5OyBkb21h
151
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
152
+ !binary "WC1SdW50aW1l":
153
+ - !binary |-
154
+ MC4yNDMxNTA=
155
+ !binary "Q29udGVudC1FbmNvZGluZw==":
156
+ - !binary |-
157
+ Z3ppcA==
158
+ body:
159
+ encoding: ASCII-8BIT
160
+ string: !binary |-
161
+ IA==
162
+ http_version: !binary |-
163
+ MS4x
164
+ recorded_at: Mon, 20 Aug 2012 10:46:12 GMT
165
+ - request:
166
+ method: delete
167
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?api_key=242015a0c60666b5cdff0ce614334668817b52ac
168
+ body:
169
+ encoding: US-ASCII
170
+ string: ''
171
+ headers:
172
+ Accept:
173
+ - *70293202938040
174
+ response:
175
+ status:
176
+ code: 200
177
+ message: !binary |-
178
+ T0s=
179
+ headers:
180
+ !binary "U2VydmVy":
181
+ - !binary |-
182
+ bmdpbng=
183
+ !binary "RGF0ZQ==":
184
+ - !binary |-
185
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxMyBHTVQ=
186
+ !binary "Q29udGVudC1UeXBl":
187
+ - !binary |-
188
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
189
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
190
+ - !binary |-
191
+ Y2h1bmtlZA==
192
+ !binary "Q29ubmVjdGlvbg==":
193
+ - !binary |-
194
+ a2VlcC1hbGl2ZQ==
195
+ !binary "VmFyeQ==":
196
+ - !binary |-
197
+ QWNjZXB0LUVuY29kaW5n
198
+ !binary "U3RhdHVz":
199
+ - !binary |-
200
+ MjAwIE9L
201
+ !binary "Q2FjaGUtQ29udHJvbA==":
202
+ - !binary |-
203
+ bm8tY2FjaGU=
204
+ !binary "WC1VYS1Db21wYXRpYmxl":
205
+ - !binary |-
206
+ SUU9RWRnZSxjaHJvbWU9MQ==
207
+ !binary "U2V0LUNvb2tpZQ==":
208
+ - !binary |-
209
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
210
+ UmlJbFl6azNaVGc1T0dZME0yTTFPV1kyTURZMlpHRTJOVGRrTW1SaFl6a3dZ
211
+ amRKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
212
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS02
213
+ N2ZjOWQwZmIzODJhZjllNTdkZDY5OGFlYmY4NGZkNGQ0MDIzNzBjOyBkb21h
214
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
215
+ !binary "WC1SdW50aW1l":
216
+ - !binary |-
217
+ MC4yODk1NzY=
218
+ !binary "Q29udGVudC1FbmNvZGluZw==":
219
+ - !binary |-
220
+ Z3ppcA==
221
+ body:
222
+ encoding: ASCII-8BIT
223
+ string: !binary |-
224
+ IA==
225
+ http_version: !binary |-
226
+ MS4x
227
+ recorded_at: Mon, 20 Aug 2012 10:46:13 GMT
228
+ - request:
229
+ method: get
230
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?api_key=242015a0c60666b5cdff0ce614334668817b52ac
231
+ body:
232
+ encoding: US-ASCII
233
+ string: ''
234
+ headers:
235
+ Accept:
236
+ - *70293202938040
237
+ response:
238
+ status:
239
+ code: 404
240
+ message: !binary |-
241
+ Tm90IEZvdW5k
242
+ headers:
243
+ !binary "U2VydmVy":
244
+ - !binary |-
245
+ bmdpbng=
246
+ !binary "RGF0ZQ==":
247
+ - !binary |-
248
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxMyBHTVQ=
249
+ !binary "Q29udGVudC1UeXBl":
250
+ - !binary |-
251
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
252
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
253
+ - !binary |-
254
+ Y2h1bmtlZA==
255
+ !binary "Q29ubmVjdGlvbg==":
256
+ - !binary |-
257
+ a2VlcC1hbGl2ZQ==
258
+ !binary "VmFyeQ==":
259
+ - !binary |-
260
+ QWNjZXB0LUVuY29kaW5n
261
+ !binary "U3RhdHVz":
262
+ - !binary |-
263
+ NDA0IE5vdCBGb3VuZA==
264
+ !binary "Q2FjaGUtQ29udHJvbA==":
265
+ - !binary |-
266
+ bm8tY2FjaGU=
267
+ !binary "WC1VYS1Db21wYXRpYmxl":
268
+ - !binary |-
269
+ SUU9RWRnZSxjaHJvbWU9MQ==
270
+ !binary "U2V0LUNvb2tpZQ==":
271
+ - !binary |-
272
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
273
+ UmlJbE0yVm1NelZqT0RFNE56ZzRaREZpWXpRNE1UazNOekEzT0dNeFpEVTFN
274
+ V0pKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
275
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0z
276
+ ZTYyNDI4YjE1ZGE4OWVlYmVlYmVmNTViMzQ4MGVlNmUyNDYyODUwOyBkb21h
277
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
278
+ !binary "WC1SdW50aW1l":
279
+ - !binary |-
280
+ MC4wNDQ2MDI=
281
+ !binary "Q29udGVudC1FbmNvZGluZw==":
282
+ - !binary |-
283
+ Z3ppcA==
284
+ body:
285
+ encoding: ASCII-8BIT
286
+ string: !binary |-
287
+ IA==
288
+ http_version: !binary |-
289
+ MS4x
290
+ recorded_at: Mon, 20 Aug 2012 10:46:13 GMT
291
+ - request:
292
+ method: get
293
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?api_key=242015a0c60666b5cdff0ce614334668817b52ac
294
+ body:
295
+ encoding: US-ASCII
296
+ string: ''
297
+ headers:
298
+ Accept:
299
+ - *70293202938040
300
+ response:
301
+ status:
302
+ code: 404
303
+ message: !binary |-
304
+ Tm90IEZvdW5k
305
+ headers:
306
+ !binary "U2VydmVy":
307
+ - !binary |-
308
+ bmdpbng=
309
+ !binary "RGF0ZQ==":
310
+ - !binary |-
311
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxMyBHTVQ=
312
+ !binary "Q29udGVudC1UeXBl":
313
+ - !binary |-
314
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
315
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
316
+ - !binary |-
317
+ Y2h1bmtlZA==
318
+ !binary "Q29ubmVjdGlvbg==":
319
+ - !binary |-
320
+ a2VlcC1hbGl2ZQ==
321
+ !binary "VmFyeQ==":
322
+ - !binary |-
323
+ QWNjZXB0LUVuY29kaW5n
324
+ !binary "U3RhdHVz":
325
+ - !binary |-
326
+ NDA0IE5vdCBGb3VuZA==
327
+ !binary "Q2FjaGUtQ29udHJvbA==":
328
+ - !binary |-
329
+ bm8tY2FjaGU=
330
+ !binary "WC1VYS1Db21wYXRpYmxl":
331
+ - !binary |-
332
+ SUU9RWRnZSxjaHJvbWU9MQ==
333
+ !binary "U2V0LUNvb2tpZQ==":
334
+ - !binary |-
335
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
336
+ UmlJbE1HSmhNRGN4TWpFek0yUmlaRGMzT1dRd01qZzJZakV5WmpFeE5XVXdN
337
+ amRKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
338
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1k
339
+ ZmFkMzIwN2E1YTkyMWY0OGYzYjA3NWE5NTNmYTU3OWU2OTkxN2JhOyBkb21h
340
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
341
+ !binary "WC1SdW50aW1l":
342
+ - !binary |-
343
+ MC4wMDQzNDU=
344
+ !binary "Q29udGVudC1FbmNvZGluZw==":
345
+ - !binary |-
346
+ Z3ppcA==
347
+ body:
348
+ encoding: ASCII-8BIT
349
+ string: !binary |-
350
+ IA==
351
+ http_version: !binary |-
352
+ MS4x
353
+ recorded_at: Mon, 20 Aug 2012 10:46:13 GMT
354
+ - request:
355
+ method: post
356
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
357
+ body:
358
+ encoding: US-ASCII
359
+ string: ''
360
+ headers:
361
+ Accept:
362
+ - *70293202938040
363
+ response:
364
+ status:
365
+ code: 200
366
+ message: !binary |-
367
+ T0s=
368
+ headers:
369
+ !binary "U2VydmVy":
370
+ - !binary |-
371
+ bmdpbng=
372
+ !binary "RGF0ZQ==":
373
+ - !binary |-
374
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNCBHTVQ=
375
+ !binary "Q29udGVudC1UeXBl":
376
+ - !binary |-
377
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
378
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
379
+ - !binary |-
380
+ Y2h1bmtlZA==
381
+ !binary "Q29ubmVjdGlvbg==":
382
+ - !binary |-
383
+ a2VlcC1hbGl2ZQ==
384
+ !binary "VmFyeQ==":
385
+ - !binary |-
386
+ QWNjZXB0LUVuY29kaW5n
387
+ !binary "U3RhdHVz":
388
+ - !binary |-
389
+ MjAwIE9L
390
+ !binary "TG9jYXRpb24=":
391
+ - !binary |-
392
+ L3RhYmxlcy84MjA3
393
+ !binary "RXRhZw==":
394
+ - !binary |-
395
+ IjcwYWRlNjZkYTU2ZjE5ZDE4ZGY4ZGRlN2M5YzUxMjkyIg==
396
+ !binary "Q2FjaGUtQ29udHJvbA==":
397
+ - !binary |-
398
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
399
+ !binary "WC1VYS1Db21wYXRpYmxl":
400
+ - !binary |-
401
+ SUU9RWRnZSxjaHJvbWU9MQ==
402
+ !binary "U2V0LUNvb2tpZQ==":
403
+ - !binary |-
404
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
405
+ UmlJbFpHRXpaalV3T0RRNU0yTTRPRFl3WmpCa00ySTRaRGRsTlRVd1pUTmpa
406
+ V1pKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
407
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS00
408
+ OWM0NDllMDhlODc0YTQzYWZjNjQyZjgxMzJmZTQ4NjdkZmQwZTgwOyBkb21h
409
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
410
+ !binary "WC1SdW50aW1l":
411
+ - !binary |-
412
+ MC45Nzc4NjU=
413
+ !binary "Q29udGVudC1FbmNvZGluZw==":
414
+ - !binary |-
415
+ Z3ppcA==
416
+ body:
417
+ encoding: ASCII-8BIT
418
+ string: !binary |-
419
+ eyJpZCI6ODIwNywibmFtZSI6Im1vdG9fZ3BfY2lyY3VpdCIsInNjaGVtYSI6
420
+ W1siY2FydG9kYl9pZCIsIm51bWJlciJdLFsidGhlX2dlb20iLCJnZW9tZXRy
421
+ eSIsImdlb21ldHJ5IiwicG9pbnQiXSxbImRlc2NyaXB0aW9uIiwic3RyaW5n
422
+ Il0sWyJuYW1lIiwic3RyaW5nIl0sWyJjcmVhdGVkX2F0IiwiZGF0ZSJdLFsi
423
+ dXBkYXRlZF9hdCIsImRhdGUiXV19
424
+ http_version: !binary |-
425
+ MS4x
426
+ recorded_at: Mon, 20 Aug 2012 10:46:14 GMT
427
+ - request:
428
+ method: post
429
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
430
+ body:
431
+ encoding: US-ASCII
432
+ string: ''
433
+ headers:
434
+ Accept:
435
+ - *70293202938040
436
+ response:
437
+ status:
438
+ code: 200
439
+ message: !binary |-
440
+ T0s=
441
+ headers:
442
+ !binary "U2VydmVy":
443
+ - !binary |-
444
+ bmdpbng=
445
+ !binary "RGF0ZQ==":
446
+ - !binary |-
447
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNCBHTVQ=
448
+ !binary "Q29udGVudC1UeXBl":
449
+ - !binary |-
450
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
451
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
452
+ - !binary |-
453
+ Y2h1bmtlZA==
454
+ !binary "Q29ubmVjdGlvbg==":
455
+ - !binary |-
456
+ a2VlcC1hbGl2ZQ==
457
+ !binary "VmFyeQ==":
458
+ - !binary |-
459
+ QWNjZXB0LUVuY29kaW5n
460
+ !binary "U3RhdHVz":
461
+ - !binary |-
462
+ MjAwIE9L
463
+ !binary "RXRhZw==":
464
+ - !binary |-
465
+ IjFkOGVjMzU3NWUwOWZmNjBlY2FkMzU2MDU2NjliMjJjIg==
466
+ !binary "Q2FjaGUtQ29udHJvbA==":
467
+ - !binary |-
468
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
469
+ !binary "WC1VYS1Db21wYXRpYmxl":
470
+ - !binary |-
471
+ SUU9RWRnZSxjaHJvbWU9MQ==
472
+ !binary "U2V0LUNvb2tpZQ==":
473
+ - !binary |-
474
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
475
+ UmlJbE5EazJOR1ZsT1RZMVlqVTJaVEF5WVRrNVpqa3hOV1ZoTURBeE1XUmtO
476
+ elpKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
477
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1j
478
+ YTFmZmJhYzIwYWJkYmQzODhmNDkzZGE0MzMxYmRkZDk5ZmZkMWQzOyBkb21h
479
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
480
+ !binary "WC1SdW50aW1l":
481
+ - !binary |-
482
+ MC4wODA3OTU=
483
+ !binary "Q29udGVudC1FbmNvZGluZw==":
484
+ - !binary |-
485
+ Z3ppcA==
486
+ body:
487
+ encoding: ASCII-8BIT
488
+ string: !binary |-
489
+ eyJuYW1lIjoibGVuZ3RoIiwidHlwZSI6InRleHQiLCJjYXJ0b2RiX3R5cGUi
490
+ OiJzdHJpbmcifQ==
491
+ http_version: !binary |-
492
+ MS4x
493
+ recorded_at: Mon, 20 Aug 2012 10:46:14 GMT
494
+ - request:
495
+ method: post
496
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
497
+ body:
498
+ encoding: US-ASCII
499
+ string: ''
500
+ headers:
501
+ Accept:
502
+ - *70293202938040
503
+ response:
504
+ status:
505
+ code: 200
506
+ message: !binary |-
507
+ T0s=
508
+ headers:
509
+ !binary "U2VydmVy":
510
+ - !binary |-
511
+ bmdpbng=
512
+ !binary "RGF0ZQ==":
513
+ - !binary |-
514
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNCBHTVQ=
515
+ !binary "Q29udGVudC1UeXBl":
516
+ - !binary |-
517
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
518
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
519
+ - !binary |-
520
+ Y2h1bmtlZA==
521
+ !binary "Q29ubmVjdGlvbg==":
522
+ - !binary |-
523
+ a2VlcC1hbGl2ZQ==
524
+ !binary "VmFyeQ==":
525
+ - !binary |-
526
+ QWNjZXB0LUVuY29kaW5n
527
+ !binary "U3RhdHVz":
528
+ - !binary |-
529
+ MjAwIE9L
530
+ !binary "RXRhZw==":
531
+ - !binary |-
532
+ ImU4MmIwODA2NTRiNWRmNmY1ZDVmNTgyYWFlNDM5ZDU4Ig==
533
+ !binary "Q2FjaGUtQ29udHJvbA==":
534
+ - !binary |-
535
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
536
+ !binary "WC1VYS1Db21wYXRpYmxl":
537
+ - !binary |-
538
+ SUU9RWRnZSxjaHJvbWU9MQ==
539
+ !binary "U2V0LUNvb2tpZQ==":
540
+ - !binary |-
541
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
542
+ UmlJbE9HVXdNbUptT1dZd09EVm1NakF5T1dGaVpUa3paRFpqWVdZNFpHRmpa
543
+ V1ZKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
544
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0y
545
+ MjM3OTJiNGQ0ZmNmMGRhZDFmYjU5MDc2YWUxYjE2NzNlYWE4NGJjOyBkb21h
546
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
547
+ !binary "WC1SdW50aW1l":
548
+ - !binary |-
549
+ MC4wOTA0NjU=
550
+ !binary "Q29udGVudC1FbmNvZGluZw==":
551
+ - !binary |-
552
+ Z3ppcA==
553
+ body:
554
+ encoding: ASCII-8BIT
555
+ string: !binary |-
556
+ eyJuYW1lIjoid2lkdGgiLCJ0eXBlIjoidGV4dCIsImNhcnRvZGJfdHlwZSI6
557
+ InN0cmluZyJ9
558
+ http_version: !binary |-
559
+ MS4x
560
+ recorded_at: Mon, 20 Aug 2012 10:46:14 GMT
561
+ - request:
562
+ method: post
563
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
564
+ body:
565
+ encoding: US-ASCII
566
+ string: ''
567
+ headers:
568
+ Accept:
569
+ - *70293202938040
570
+ response:
571
+ status:
572
+ code: 200
573
+ message: !binary |-
574
+ T0s=
575
+ headers:
576
+ !binary "U2VydmVy":
577
+ - !binary |-
578
+ bmdpbng=
579
+ !binary "RGF0ZQ==":
580
+ - !binary |-
581
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNCBHTVQ=
582
+ !binary "Q29udGVudC1UeXBl":
583
+ - !binary |-
584
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
585
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
586
+ - !binary |-
587
+ Y2h1bmtlZA==
588
+ !binary "Q29ubmVjdGlvbg==":
589
+ - !binary |-
590
+ a2VlcC1hbGl2ZQ==
591
+ !binary "VmFyeQ==":
592
+ - !binary |-
593
+ QWNjZXB0LUVuY29kaW5n
594
+ !binary "U3RhdHVz":
595
+ - !binary |-
596
+ MjAwIE9L
597
+ !binary "RXRhZw==":
598
+ - !binary |-
599
+ IjcyZDlkYzM3ZmE3N2I3NDUwMmI3NmVmZGFmZjA1OWQ1Ig==
600
+ !binary "Q2FjaGUtQ29udHJvbA==":
601
+ - !binary |-
602
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
603
+ !binary "WC1VYS1Db21wYXRpYmxl":
604
+ - !binary |-
605
+ SUU9RWRnZSxjaHJvbWU9MQ==
606
+ !binary "U2V0LUNvb2tpZQ==":
607
+ - !binary |-
608
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
609
+ UmlJbE9USTROamswWldKak1ETTROakEzTnprMVlUUTFOVEpqTmpNeFl6STNO
610
+ bU5KSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
611
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0y
612
+ MTJjNmE2MmZmZGMwMzVjNTFjMmYyZjQwODIzYWU5Yjg1Yjc0MTIyOyBkb21h
613
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
614
+ !binary "WC1SdW50aW1l":
615
+ - !binary |-
616
+ MC4wNTU4NTk=
617
+ !binary "Q29udGVudC1FbmNvZGluZw==":
618
+ - !binary |-
619
+ Z3ppcA==
620
+ body:
621
+ encoding: ASCII-8BIT
622
+ string: !binary |-
623
+ eyJuYW1lIjoibG9uZ2VzdF9zdHJhaWdodCIsInR5cGUiOiJ0ZXh0IiwiY2Fy
624
+ dG9kYl90eXBlIjoic3RyaW5nIn0=
625
+ http_version: !binary |-
626
+ MS4x
627
+ recorded_at: Mon, 20 Aug 2012 10:46:14 GMT
628
+ - request:
629
+ method: post
630
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
631
+ body:
632
+ encoding: US-ASCII
633
+ string: ''
634
+ headers:
635
+ Accept:
636
+ - *70293202938040
637
+ response:
638
+ status:
639
+ code: 200
640
+ message: !binary |-
641
+ T0s=
642
+ headers:
643
+ !binary "U2VydmVy":
644
+ - !binary |-
645
+ bmdpbng=
646
+ !binary "RGF0ZQ==":
647
+ - !binary |-
648
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNSBHTVQ=
649
+ !binary "Q29udGVudC1UeXBl":
650
+ - !binary |-
651
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
652
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
653
+ - !binary |-
654
+ Y2h1bmtlZA==
655
+ !binary "Q29ubmVjdGlvbg==":
656
+ - !binary |-
657
+ a2VlcC1hbGl2ZQ==
658
+ !binary "VmFyeQ==":
659
+ - !binary |-
660
+ QWNjZXB0LUVuY29kaW5n
661
+ !binary "U3RhdHVz":
662
+ - !binary |-
663
+ MjAwIE9L
664
+ !binary "RXRhZw==":
665
+ - !binary |-
666
+ ImI2MDI0ODBmY2MwZTUxMmRjNDhmYzgyYTQwN2Q2OTNjIg==
667
+ !binary "Q2FjaGUtQ29udHJvbA==":
668
+ - !binary |-
669
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
670
+ !binary "WC1VYS1Db21wYXRpYmxl":
671
+ - !binary |-
672
+ SUU9RWRnZSxjaHJvbWU9MQ==
673
+ !binary "U2V0LUNvb2tpZQ==":
674
+ - !binary |-
675
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
676
+ UmlJbFlXVTJNVGt6TkRjM05tSTROekkwT0RjeE1URTBaRGxoT0ROalptWmpa
677
+ R1JKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
678
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1l
679
+ M2MyNGZmZTQyOTBhMGFmNmQ3YmQzYzZjODUzNjE3YTk5M2RhNjJmOyBkb21h
680
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
681
+ !binary "WC1SdW50aW1l":
682
+ - !binary |-
683
+ MC4wNDM4NDY=
684
+ !binary "Q29udGVudC1FbmNvZGluZw==":
685
+ - !binary |-
686
+ Z3ppcA==
687
+ body:
688
+ encoding: ASCII-8BIT
689
+ string: !binary |-
690
+ eyJuYW1lIjoibGVmdF9jb3JuZXJzIiwidHlwZSI6Im51bWVyaWMiLCJjYXJ0
691
+ b2RiX3R5cGUiOiJudW1iZXIifQ==
692
+ http_version: !binary |-
693
+ MS4x
694
+ recorded_at: Mon, 20 Aug 2012 10:46:15 GMT
695
+ - request:
696
+ method: post
697
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
698
+ body:
699
+ encoding: US-ASCII
700
+ string: ''
701
+ headers:
702
+ Accept:
703
+ - *70293202938040
704
+ response:
705
+ status:
706
+ code: 200
707
+ message: !binary |-
708
+ T0s=
709
+ headers:
710
+ !binary "U2VydmVy":
711
+ - !binary |-
712
+ bmdpbng=
713
+ !binary "RGF0ZQ==":
714
+ - !binary |-
715
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNSBHTVQ=
716
+ !binary "Q29udGVudC1UeXBl":
717
+ - !binary |-
718
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
719
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
720
+ - !binary |-
721
+ Y2h1bmtlZA==
722
+ !binary "Q29ubmVjdGlvbg==":
723
+ - !binary |-
724
+ a2VlcC1hbGl2ZQ==
725
+ !binary "VmFyeQ==":
726
+ - !binary |-
727
+ QWNjZXB0LUVuY29kaW5n
728
+ !binary "U3RhdHVz":
729
+ - !binary |-
730
+ MjAwIE9L
731
+ !binary "RXRhZw==":
732
+ - !binary |-
733
+ IjI4MzA3ODlhMTY4Y2RmYmE0MGI5MWNiYzk4NzExZDc0Ig==
734
+ !binary "Q2FjaGUtQ29udHJvbA==":
735
+ - !binary |-
736
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
737
+ !binary "WC1VYS1Db21wYXRpYmxl":
738
+ - !binary |-
739
+ SUU9RWRnZSxjaHJvbWU9MQ==
740
+ !binary "U2V0LUNvb2tpZQ==":
741
+ - !binary |-
742
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
743
+ UmlJbE1XRTJZVGt4TmpWbE1UUmlNalF6TW1WbU1ESmlPREEyWm1JMVlqVm1N
744
+ akJKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
745
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS05
746
+ NmZkNjYzZjE5YWU5NmRiMWFkMGMyNzZhZTc0ZTZmM2VhODY5OTk5OyBkb21h
747
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
748
+ !binary "WC1SdW50aW1l":
749
+ - !binary |-
750
+ MC4wNjY0MTY=
751
+ !binary "Q29udGVudC1FbmNvZGluZw==":
752
+ - !binary |-
753
+ Z3ppcA==
754
+ body:
755
+ encoding: ASCII-8BIT
756
+ string: !binary |-
757
+ eyJuYW1lIjoicmlnaHRfY29ybmVycyIsInR5cGUiOiJudW1lcmljIiwiY2Fy
758
+ dG9kYl90eXBlIjoibnVtYmVyIn0=
759
+ http_version: !binary |-
760
+ MS4x
761
+ recorded_at: Mon, 20 Aug 2012 10:46:15 GMT
762
+ - request:
763
+ method: post
764
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
765
+ body:
766
+ encoding: US-ASCII
767
+ string: ''
768
+ headers:
769
+ Accept:
770
+ - *70293202938040
771
+ response:
772
+ status:
773
+ code: 200
774
+ message: !binary |-
775
+ T0s=
776
+ headers:
777
+ !binary "U2VydmVy":
778
+ - !binary |-
779
+ bmdpbng=
780
+ !binary "RGF0ZQ==":
781
+ - !binary |-
782
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNSBHTVQ=
783
+ !binary "Q29udGVudC1UeXBl":
784
+ - !binary |-
785
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
786
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
787
+ - !binary |-
788
+ Y2h1bmtlZA==
789
+ !binary "Q29ubmVjdGlvbg==":
790
+ - !binary |-
791
+ a2VlcC1hbGl2ZQ==
792
+ !binary "VmFyeQ==":
793
+ - !binary |-
794
+ QWNjZXB0LUVuY29kaW5n
795
+ !binary "U3RhdHVz":
796
+ - !binary |-
797
+ MjAwIE9L
798
+ !binary "RXRhZw==":
799
+ - !binary |-
800
+ ImI0ZjExZjE3MGY1ODFlNDY1MjNjYTkxOTY1MzcxYzI4Ig==
801
+ !binary "Q2FjaGUtQ29udHJvbA==":
802
+ - !binary |-
803
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
804
+ !binary "WC1VYS1Db21wYXRpYmxl":
805
+ - !binary |-
806
+ SUU9RWRnZSxjaHJvbWU9MQ==
807
+ !binary "U2V0LUNvb2tpZQ==":
808
+ - !binary |-
809
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
810
+ UmlJbE5qWmtObUUxTkdRd1ltVXhabUk0TldWaE16bGtZekJqWlRBMU0yUTNP
811
+ VGxKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
812
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0w
813
+ ZWFmM2Y5MGJhMDBkZjcyY2IwMzAyOGNmMWIyYzBmOGViMjYwYmE4OyBkb21h
814
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
815
+ !binary "WC1SdW50aW1l":
816
+ - !binary |-
817
+ MC4wNzYwNjg=
818
+ !binary "Q29udGVudC1FbmNvZGluZw==":
819
+ - !binary |-
820
+ Z3ppcA==
821
+ body:
822
+ encoding: ASCII-8BIT
823
+ string: !binary |-
824
+ eyJuYW1lIjoiY29uc3RydWN0ZWQiLCJ0eXBlIjoidGltZXN0YW1wIiwiY2Fy
825
+ dG9kYl90eXBlIjoiZGF0ZSJ9
826
+ http_version: !binary |-
827
+ MS4x
828
+ recorded_at: Mon, 20 Aug 2012 10:46:15 GMT
829
+ - request:
830
+ method: post
831
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit/columns
832
+ body:
833
+ encoding: US-ASCII
834
+ string: ''
835
+ headers:
836
+ Accept:
837
+ - *70293202938040
838
+ response:
839
+ status:
840
+ code: 200
841
+ message: !binary |-
842
+ T0s=
843
+ headers:
844
+ !binary "U2VydmVy":
845
+ - !binary |-
846
+ bmdpbng=
847
+ !binary "RGF0ZQ==":
848
+ - !binary |-
849
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNSBHTVQ=
850
+ !binary "Q29udGVudC1UeXBl":
851
+ - !binary |-
852
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
853
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
854
+ - !binary |-
855
+ Y2h1bmtlZA==
856
+ !binary "Q29ubmVjdGlvbg==":
857
+ - !binary |-
858
+ a2VlcC1hbGl2ZQ==
859
+ !binary "VmFyeQ==":
860
+ - !binary |-
861
+ QWNjZXB0LUVuY29kaW5n
862
+ !binary "U3RhdHVz":
863
+ - !binary |-
864
+ MjAwIE9L
865
+ !binary "RXRhZw==":
866
+ - !binary |-
867
+ IjViNjczYjNmNGI4NjlhODAwODEwZjBhOTY1OTQxMDUyIg==
868
+ !binary "Q2FjaGUtQ29udHJvbA==":
869
+ - !binary |-
870
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
871
+ !binary "WC1VYS1Db21wYXRpYmxl":
872
+ - !binary |-
873
+ SUU9RWRnZSxjaHJvbWU9MQ==
874
+ !binary "U2V0LUNvb2tpZQ==":
875
+ - !binary |-
876
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
877
+ UmlJbFl6QmtOalEwT0RrelpXRXhZV1ppTmpFeU9EQXpaV0UyTVRkbU56WmtO
878
+ VFJKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
879
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0w
880
+ MDJhZTQ0MWU0YmQzNjIzNjIwY2EzNjY3NjViOTYwMTQ3MTZhODc1OyBkb21h
881
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
882
+ !binary "WC1SdW50aW1l":
883
+ - !binary |-
884
+ MC4wODMzMzk=
885
+ !binary "Q29udGVudC1FbmNvZGluZw==":
886
+ - !binary |-
887
+ Z3ppcA==
888
+ body:
889
+ encoding: ASCII-8BIT
890
+ string: !binary |-
891
+ eyJuYW1lIjoibW9kaWZpZWQiLCJ0eXBlIjoidGltZXN0YW1wIiwiY2FydG9k
892
+ Yl90eXBlIjoiZGF0ZSJ9
893
+ http_version: !binary |-
894
+ MS4x
895
+ recorded_at: Mon, 20 Aug 2012 10:46:15 GMT
896
+ - request:
897
+ method: get
898
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?api_key=242015a0c60666b5cdff0ce614334668817b52ac
899
+ body:
900
+ encoding: US-ASCII
901
+ string: ''
902
+ headers:
903
+ Accept:
904
+ - *70293202938040
905
+ response:
906
+ status:
907
+ code: 200
908
+ message: !binary |-
909
+ T0s=
910
+ headers:
911
+ !binary "U2VydmVy":
912
+ - !binary |-
913
+ bmdpbng=
914
+ !binary "RGF0ZQ==":
915
+ - !binary |-
916
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxNSBHTVQ=
917
+ !binary "Q29udGVudC1UeXBl":
918
+ - !binary |-
919
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
920
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
921
+ - !binary |-
922
+ Y2h1bmtlZA==
923
+ !binary "Q29ubmVjdGlvbg==":
924
+ - !binary |-
925
+ a2VlcC1hbGl2ZQ==
926
+ !binary "VmFyeQ==":
927
+ - !binary |-
928
+ QWNjZXB0LUVuY29kaW5n
929
+ !binary "U3RhdHVz":
930
+ - !binary |-
931
+ MjAwIE9L
932
+ !binary "RXRhZw==":
933
+ - !binary |-
934
+ ImZmMjE2Yjc0YTZkYTEzNjM5NzA3YTE3OGYwY2ViZTI1Ig==
935
+ !binary "Q2FjaGUtQ29udHJvbA==":
936
+ - !binary |-
937
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
938
+ !binary "WC1VYS1Db21wYXRpYmxl":
939
+ - !binary |-
940
+ SUU9RWRnZSxjaHJvbWU9MQ==
941
+ !binary "U2V0LUNvb2tpZQ==":
942
+ - !binary |-
943
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
944
+ UmlJbE16QTJNR0poT0dZMFl6SXlPRFE0TTJSak5XUmxNbVl4TVRCbVlUazFZ
945
+ ekJKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
946
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS00
947
+ NmI4Nzc2YWQ4NDNkNGEyNGNhNWEwODIxYmNhZGU0N2M0MGMwNTgyOyBkb21h
948
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
949
+ !binary "WC1SdW50aW1l":
950
+ - !binary |-
951
+ MC4wMTI1MjA=
952
+ !binary "Q29udGVudC1FbmNvZGluZw==":
953
+ - !binary |-
954
+ Z3ppcA==
955
+ body:
956
+ encoding: ASCII-8BIT
957
+ string: !binary |-
958
+ eyJpZCI6ODIwNywibmFtZSI6Im1vdG9fZ3BfY2lyY3VpdCIsInByaXZhY3ki
959
+ OiJQVUJMSUMiLCJ0YWdzIjoiIiwic2NoZW1hIjpbWyJjYXJ0b2RiX2lkIiwi
960
+ bnVtYmVyIl0sWyJ0aGVfZ2VvbSIsImdlb21ldHJ5IiwiZ2VvbWV0cnkiLCJw
961
+ b2ludCJdLFsiY29uc3RydWN0ZWQiLCJkYXRlIl0sWyJkZXNjcmlwdGlvbiIs
962
+ InN0cmluZyJdLFsibGVmdF9jb3JuZXJzIiwibnVtYmVyIl0sWyJsZW5ndGgi
963
+ LCJzdHJpbmciXSxbImxvbmdlc3Rfc3RyYWlnaHQiLCJzdHJpbmciXSxbIm1v
964
+ ZGlmaWVkIiwiZGF0ZSJdLFsibmFtZSIsInN0cmluZyJdLFsicmlnaHRfY29y
965
+ bmVycyIsIm51bWJlciJdLFsid2lkdGgiLCJzdHJpbmciXSxbImNyZWF0ZWRf
966
+ YXQiLCJkYXRlIl0sWyJ1cGRhdGVkX2F0IiwiZGF0ZSJdXX0=
967
+ http_version: !binary |-
968
+ MS4x
969
+ recorded_at: Mon, 20 Aug 2012 10:46:15 GMT
970
+ recorded_with: VCR 2.2.4