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,357 @@
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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxOSBHTVQ=
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
+ IjQzY2U4MTM5MmM0YTE3MTU4ZjlkODI0ODk3NGFmNDBjIg==
58
+ !binary "Q2FjaGUtQ29udHJvbA==":
59
+ - !binary |-
60
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
61
+ !binary "WC1VYS1Db21wYXRpYmxl":
62
+ - !binary |-
63
+ SUU9RWRnZSxjaHJvbWU9MQ==
64
+ !binary "U2V0LUNvb2tpZQ==":
65
+ - !binary |-
66
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
67
+ UmlJbFpXUXlNalkzWlRGaU5XTXdZakpoWVdGaVlXRXdNek13Tm1JM1ltVTJP
68
+ VEJKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
69
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1k
70
+ MTAyMjJlYzJiNjBjNmUyNzkzNTYwODE2ZmU2MjA2NmJjODIwMWNmOyBkb21h
71
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
72
+ !binary "WC1SdW50aW1l":
73
+ - !binary |-
74
+ MC4wMDg0OTk=
75
+ !binary "Q29udGVudC1FbmNvZGluZw==":
76
+ - !binary |-
77
+ Z3ppcA==
78
+ body:
79
+ encoding: ASCII-8BIT
80
+ string: !binary |-
81
+ eyJ0b3RhbF9lbnRyaWVzIjoxLCJ0YWJsZXMiOlt7ImlkIjo4MjA4LCJuYW1l
82
+ IjoibW90b19ncF9jaXJjdWl0IiwicHJpdmFjeSI6IlBVQkxJQyIsInRhZ3Mi
83
+ OiIiLCJzY2hlbWEiOltbImNhcnRvZGJfaWQiLCJudW1iZXIiXSxbInRoZV9n
84
+ ZW9tIiwiZ2VvbWV0cnkiLCJnZW9tZXRyeSIsInBvaW50Il0sWyJjb25zdHJ1
85
+ Y3RlZCIsImRhdGUiXSxbImRlc2NyaXB0aW9uIiwic3RyaW5nIl0sWyJsZWZ0
86
+ X2Nvcm5lcnMiLCJudW1iZXIiXSxbImxlbmd0aCIsInN0cmluZyJdLFsibG9u
87
+ Z2VzdF9zdHJhaWdodCIsInN0cmluZyJdLFsibW9kaWZpZWQiLCJkYXRlIl0s
88
+ WyJuYW1lIiwic3RyaW5nIl0sWyJyaWdodF9jb3JuZXJzIiwibnVtYmVyIl0s
89
+ WyJ3aWR0aCIsInN0cmluZyJdLFsiY3JlYXRlZF9hdCIsImRhdGUiXSxbInVw
90
+ ZGF0ZWRfYXQiLCJkYXRlIl1dLCJ1cGRhdGVkX2F0IjoiMjAxMi0wOC0yMFQx
91
+ Mjo0NjoxNiswMjowMCIsInJvd3NfY291bnRlZCI6MH1dfQ==
92
+ http_version: !binary |-
93
+ MS4x
94
+ recorded_at: Mon, 20 Aug 2012 10:46:19 GMT
95
+ - request:
96
+ method: delete
97
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/moto_gp_circuit?api_key=242015a0c60666b5cdff0ce614334668817b52ac
98
+ body:
99
+ encoding: US-ASCII
100
+ string: ''
101
+ headers:
102
+ Accept:
103
+ - *70293202938040
104
+ response:
105
+ status:
106
+ code: 200
107
+ message: !binary |-
108
+ T0s=
109
+ headers:
110
+ !binary "U2VydmVy":
111
+ - !binary |-
112
+ bmdpbng=
113
+ !binary "RGF0ZQ==":
114
+ - !binary |-
115
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxOSBHTVQ=
116
+ !binary "Q29udGVudC1UeXBl":
117
+ - !binary |-
118
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
119
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
120
+ - !binary |-
121
+ Y2h1bmtlZA==
122
+ !binary "Q29ubmVjdGlvbg==":
123
+ - !binary |-
124
+ a2VlcC1hbGl2ZQ==
125
+ !binary "VmFyeQ==":
126
+ - !binary |-
127
+ QWNjZXB0LUVuY29kaW5n
128
+ !binary "U3RhdHVz":
129
+ - !binary |-
130
+ MjAwIE9L
131
+ !binary "Q2FjaGUtQ29udHJvbA==":
132
+ - !binary |-
133
+ bm8tY2FjaGU=
134
+ !binary "WC1VYS1Db21wYXRpYmxl":
135
+ - !binary |-
136
+ SUU9RWRnZSxjaHJvbWU9MQ==
137
+ !binary "U2V0LUNvb2tpZQ==":
138
+ - !binary |-
139
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
140
+ UmlJbFlUWTNPRGxpTTJOak9UUTJOelZpWTJabVpEaGxOV1U0Tm1SalptTXdN
141
+ R1ZKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
142
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1k
143
+ ZmUxMDRiMWE0ZTQzZWZkNmU4ZTEyMTAzOWJlNDMzOGNmNTA2ZTM5OyBkb21h
144
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
145
+ !binary "WC1SdW50aW1l":
146
+ - !binary |-
147
+ MC4yMjQ5OTE=
148
+ !binary "Q29udGVudC1FbmNvZGluZw==":
149
+ - !binary |-
150
+ Z3ppcA==
151
+ body:
152
+ encoding: ASCII-8BIT
153
+ string: !binary |-
154
+ IA==
155
+ http_version: !binary |-
156
+ MS4x
157
+ recorded_at: Mon, 20 Aug 2012 10:46:19 GMT
158
+ - request:
159
+ method: get
160
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/my_table_with_custom_name?api_key=242015a0c60666b5cdff0ce614334668817b52ac
161
+ body:
162
+ encoding: US-ASCII
163
+ string: ''
164
+ headers:
165
+ Accept:
166
+ - *70293202938040
167
+ response:
168
+ status:
169
+ code: 404
170
+ message: !binary |-
171
+ Tm90IEZvdW5k
172
+ headers:
173
+ !binary "U2VydmVy":
174
+ - !binary |-
175
+ bmdpbng=
176
+ !binary "RGF0ZQ==":
177
+ - !binary |-
178
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxOSBHTVQ=
179
+ !binary "Q29udGVudC1UeXBl":
180
+ - !binary |-
181
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
182
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
183
+ - !binary |-
184
+ Y2h1bmtlZA==
185
+ !binary "Q29ubmVjdGlvbg==":
186
+ - !binary |-
187
+ a2VlcC1hbGl2ZQ==
188
+ !binary "VmFyeQ==":
189
+ - !binary |-
190
+ QWNjZXB0LUVuY29kaW5n
191
+ !binary "U3RhdHVz":
192
+ - !binary |-
193
+ NDA0IE5vdCBGb3VuZA==
194
+ !binary "Q2FjaGUtQ29udHJvbA==":
195
+ - !binary |-
196
+ bm8tY2FjaGU=
197
+ !binary "WC1VYS1Db21wYXRpYmxl":
198
+ - !binary |-
199
+ SUU9RWRnZSxjaHJvbWU9MQ==
200
+ !binary "U2V0LUNvb2tpZQ==":
201
+ - !binary |-
202
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
203
+ UmlJbFpqUmxNalF4WVdWbE5tUm1ZVFF4WXpka01qWXpObVJrWVRoa09XUTFO
204
+ RFpKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
205
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS01
206
+ MTcyZWY5NjBhYmQwYjU0OTFlY2NiOWU4ZTllNDNmMjI0OTJiODYyOyBkb21h
207
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
208
+ !binary "WC1SdW50aW1l":
209
+ - !binary |-
210
+ MC4wMDQ1MDg=
211
+ !binary "Q29udGVudC1FbmNvZGluZw==":
212
+ - !binary |-
213
+ Z3ppcA==
214
+ body:
215
+ encoding: ASCII-8BIT
216
+ string: !binary |-
217
+ IA==
218
+ http_version: !binary |-
219
+ MS4x
220
+ recorded_at: Mon, 20 Aug 2012 10:46:19 GMT
221
+ - request:
222
+ method: get
223
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/my_table_with_custom_name?api_key=242015a0c60666b5cdff0ce614334668817b52ac
224
+ body:
225
+ encoding: US-ASCII
226
+ string: ''
227
+ headers:
228
+ Accept:
229
+ - *70293202938040
230
+ response:
231
+ status:
232
+ code: 404
233
+ message: !binary |-
234
+ Tm90IEZvdW5k
235
+ headers:
236
+ !binary "U2VydmVy":
237
+ - !binary |-
238
+ bmdpbng=
239
+ !binary "RGF0ZQ==":
240
+ - !binary |-
241
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoxOSBHTVQ=
242
+ !binary "Q29udGVudC1UeXBl":
243
+ - !binary |-
244
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
245
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
246
+ - !binary |-
247
+ Y2h1bmtlZA==
248
+ !binary "Q29ubmVjdGlvbg==":
249
+ - !binary |-
250
+ a2VlcC1hbGl2ZQ==
251
+ !binary "VmFyeQ==":
252
+ - !binary |-
253
+ QWNjZXB0LUVuY29kaW5n
254
+ !binary "U3RhdHVz":
255
+ - !binary |-
256
+ NDA0IE5vdCBGb3VuZA==
257
+ !binary "Q2FjaGUtQ29udHJvbA==":
258
+ - !binary |-
259
+ bm8tY2FjaGU=
260
+ !binary "WC1VYS1Db21wYXRpYmxl":
261
+ - !binary |-
262
+ SUU9RWRnZSxjaHJvbWU9MQ==
263
+ !binary "U2V0LUNvb2tpZQ==":
264
+ - !binary |-
265
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
266
+ UmlJbE56bGtPV0psWmpJMllqRTROMlE0T0RBelpETTJOakZrT0dSalpHSXhO
267
+ emxKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
268
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS04
269
+ OTc3MDgxNmU1MDZkMWI1MDVmYmVhYmFmMmEyNmY5ZDUzOWI1YTU1OyBkb21h
270
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
271
+ !binary "WC1SdW50aW1l":
272
+ - !binary |-
273
+ MC4wMDQwNTM=
274
+ !binary "Q29udGVudC1FbmNvZGluZw==":
275
+ - !binary |-
276
+ Z3ppcA==
277
+ body:
278
+ encoding: ASCII-8BIT
279
+ string: !binary |-
280
+ IA==
281
+ http_version: !binary |-
282
+ MS4x
283
+ recorded_at: Mon, 20 Aug 2012 10:46:19 GMT
284
+ - request:
285
+ method: post
286
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
287
+ body:
288
+ encoding: US-ASCII
289
+ string: ''
290
+ headers:
291
+ Accept:
292
+ - *70293202938040
293
+ response:
294
+ status:
295
+ code: 200
296
+ message: !binary |-
297
+ T0s=
298
+ headers:
299
+ !binary "U2VydmVy":
300
+ - !binary |-
301
+ bmdpbng=
302
+ !binary "RGF0ZQ==":
303
+ - !binary |-
304
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjoyMSBHTVQ=
305
+ !binary "Q29udGVudC1UeXBl":
306
+ - !binary |-
307
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
308
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
309
+ - !binary |-
310
+ Y2h1bmtlZA==
311
+ !binary "Q29ubmVjdGlvbg==":
312
+ - !binary |-
313
+ a2VlcC1hbGl2ZQ==
314
+ !binary "VmFyeQ==":
315
+ - !binary |-
316
+ QWNjZXB0LUVuY29kaW5n
317
+ !binary "U3RhdHVz":
318
+ - !binary |-
319
+ MjAwIE9L
320
+ !binary "TG9jYXRpb24=":
321
+ - !binary |-
322
+ L3RhYmxlcy84MjA5
323
+ !binary "RXRhZw==":
324
+ - !binary |-
325
+ Ijk0NDRhMzhhZmU0ZjkzNjM0YjM3ODUzNDZhYWNiOTk3Ig==
326
+ !binary "Q2FjaGUtQ29udHJvbA==":
327
+ - !binary |-
328
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
329
+ !binary "WC1VYS1Db21wYXRpYmxl":
330
+ - !binary |-
331
+ SUU9RWRnZSxjaHJvbWU9MQ==
332
+ !binary "U2V0LUNvb2tpZQ==":
333
+ - !binary |-
334
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
335
+ UmlJbFpqVTJNemc1TURjNE0yWXdZalJoTVRFNU16YzFabUZqT1dJME1qUmla
336
+ V05KSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
337
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0y
338
+ OTU5MTI4YWU0MzFhYWIwM2MwYjVhN2Q4ODhkMzg1YjI2MjgzOGRjOyBkb21h
339
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
340
+ !binary "WC1SdW50aW1l":
341
+ - !binary |-
342
+ MS41MTIzOTE=
343
+ !binary "Q29udGVudC1FbmNvZGluZw==":
344
+ - !binary |-
345
+ Z3ppcA==
346
+ body:
347
+ encoding: ASCII-8BIT
348
+ string: !binary |-
349
+ eyJpZCI6ODIwOSwibmFtZSI6Im15X3RhYmxlX3dpdGhfY3VzdG9tX25hbWUi
350
+ LCJzY2hlbWEiOltbImNhcnRvZGJfaWQiLCJudW1iZXIiXSxbInRoZV9nZW9t
351
+ IiwiZ2VvbWV0cnkiLCJnZW9tZXRyeSIsInBvaW50Il0sWyJkZXNjcmlwdGlv
352
+ biIsInN0cmluZyJdLFsibmFtZSIsInN0cmluZyJdLFsiY3JlYXRlZF9hdCIs
353
+ ImRhdGUiXSxbInVwZGF0ZWRfYXQiLCJkYXRlIl1dfQ==
354
+ http_version: !binary |-
355
+ MS4x
356
+ recorded_at: Mon, 20 Aug 2012 10:46:21 GMT
357
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,565 @@
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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjozNyBHTVQ=
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
+ ImU2MjQ3NDhiYjA4ZmQwYWY3ZWRmNDY0MzEwYmNhZTgxIg==
58
+ !binary "Q2FjaGUtQ29udHJvbA==":
59
+ - !binary |-
60
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
61
+ !binary "WC1VYS1Db21wYXRpYmxl":
62
+ - !binary |-
63
+ SUU9RWRnZSxjaHJvbWU9MQ==
64
+ !binary "U2V0LUNvb2tpZQ==":
65
+ - !binary |-
66
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
67
+ UmlJbE1EVXhaVEkzWWpreU5UVTVOR0U1T1RKallXVmlZVEJpTTJaaVpqZzJZ
68
+ V1ZKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
69
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0w
70
+ MjNkZWZmY2I0YmYxN2JlYzdlNjI3ZjE4Njk4YzllMzk0YTYwY2ZiOyBkb21h
71
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
72
+ !binary "WC1SdW50aW1l":
73
+ - !binary |-
74
+ MC4xODk3MzE=
75
+ !binary "Q29udGVudC1FbmNvZGluZw==":
76
+ - !binary |-
77
+ Z3ppcA==
78
+ body:
79
+ encoding: ASCII-8BIT
80
+ string: !binary |-
81
+ eyJ0b3RhbF9lbnRyaWVzIjoyLCJ0YWJsZXMiOlt7ImlkIjo4MjEzLCJuYW1l
82
+ Ijoic3RhbmRhcmRfbW9kZWwiLCJwcml2YWN5IjoiUFVCTElDIiwidGFncyI6
83
+ IiIsInNjaGVtYSI6W1siY2FydG9kYl9pZCIsIm51bWJlciJdLFsidGhlX2dl
84
+ b20iLCJnZW9tZXRyeSIsImdlb21ldHJ5IiwicG9pbnQiXSxbImRlc2NyaXB0
85
+ aW9uIiwic3RyaW5nIl0sWyJuYW1lIiwic3RyaW5nIl0sWyJjcmVhdGVkX2F0
86
+ IiwiZGF0ZSJdLFsidXBkYXRlZF9hdCIsImRhdGUiXV0sInVwZGF0ZWRfYXQi
87
+ OiIyMDEyLTA4LTIwVDEyOjQ2OjM1KzAyOjAwIiwicm93c19jb3VudGVkIjow
88
+ fSx7ImlkIjo4MjEyLCJuYW1lIjoibW90b19ncF9jaXJjdWl0IiwicHJpdmFj
89
+ eSI6IlBVQkxJQyIsInRhZ3MiOiIiLCJzY2hlbWEiOltbImNhcnRvZGJfaWQi
90
+ LCJudW1iZXIiXSxbInRoZV9nZW9tIiwiZ2VvbWV0cnkiLCJnZW9tZXRyeSIs
91
+ InBvaW50Il0sWyJjb25zdHJ1Y3RlZCIsImRhdGUiXSxbImRlc2NyaXB0aW9u
92
+ Iiwic3RyaW5nIl0sWyJsZWZ0X2Nvcm5lcnMiLCJudW1iZXIiXSxbImxlbmd0
93
+ aCIsInN0cmluZyJdLFsibG9uZ2VzdF9zdHJhaWdodCIsInN0cmluZyJdLFsi
94
+ bW9kaWZpZWQiLCJkYXRlIl0sWyJuYW1lIiwic3RyaW5nIl0sWyJyaWdodF9j
95
+ b3JuZXJzIiwibnVtYmVyIl0sWyJ3aWR0aCIsInN0cmluZyJdLFsiY3JlYXRl
96
+ ZF9hdCIsImRhdGUiXSxbInVwZGF0ZWRfYXQiLCJkYXRlIl1dLCJ1cGRhdGVk
97
+ X2F0IjoiMjAxMi0wOC0yMFQxMjo0NjozMiswMjowMCIsInJvd3NfY291bnRl
98
+ ZCI6MH1dfQ==
99
+ http_version: !binary |-
100
+ MS4x
101
+ recorded_at: Mon, 20 Aug 2012 10:46:37 GMT
102
+ - request:
103
+ method: delete
104
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/standard_model?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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjozNyBHTVQ=
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
+ UmlJbFpUZ3daRGsxTldJNE4yRTFZemMwWWpZeU5EZ3daak00WkRRd05UYzVO
148
+ bVZKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
149
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS05
150
+ MGNkYWVkNTI4NjcyYmFkYzZlY2NhMTc1OWQ0Y2I4NTZlNTk4Zjg1OyBkb21h
151
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
152
+ !binary "WC1SdW50aW1l":
153
+ - !binary |-
154
+ MC4xODY2NjE=
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:37 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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjozNyBHTVQ=
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
+ UmlJbE56Y3haR1ExWVRJek1HWXhOV00yTm1ReFpHUTRNR1F4TmpJeU4yTTBO
211
+ MlZKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
212
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS05
213
+ NDRlODBlODcxZmE2ZTFkZTI2NTc4ODA0ZTM4ZmE3MjlhODhlYjBkOyBkb21h
214
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
215
+ !binary "WC1SdW50aW1l":
216
+ - !binary |-
217
+ MC4yNTkxMjY=
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:38 GMT
228
+ - request:
229
+ method: get
230
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/custom_data_type_column_model?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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjozOCBHTVQ=
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
+ UmlJbFpUQTRObUV5TlRrM01tUTJPRGd6TldGak1EQmhNelF6TTJGak1EazNO
274
+ bUpKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
275
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1h
276
+ ODFkMjQyYzdiMjY4ZmRlOTJlMGU5YTNhYzBhODRkMGEyYzVhYmEyOyBkb21h
277
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
278
+ !binary "WC1SdW50aW1l":
279
+ - !binary |-
280
+ MC4wMDQ1Njc=
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:38 GMT
291
+ - request:
292
+ method: get
293
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/custom_data_type_column_model?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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjozOCBHTVQ=
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
+ UmlJbE1UUXdOV1UyT1dRd1l6TTNOelZpT1dVMVpUa3lOV016TkRoaFpHTTNO
337
+ MkZKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
338
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1m
339
+ NTdmODRmZWNlZDA0ODliMWZhNGZhODI0ZTFkN2U2OThjMmQ1MGJhOyBkb21h
340
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
341
+ !binary "WC1SdW50aW1l":
342
+ - !binary |-
343
+ MC4wMDM5Njg=
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:38 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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjozOSBHTVQ=
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
+ L3RhYmxlcy84MjE0
393
+ !binary "RXRhZw==":
394
+ - !binary |-
395
+ IjUyOGQ1YTM2N2FmNjRiMjFlNDlhNjUyNDcwZDg0OTYzIg==
396
+ !binary "Q2FjaGUtQ29udHJvbA==":
397
+ - !binary |-
398
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
399
+ !binary "WC1VYS1Db21wYXRpYmxl":
400
+ - !binary |-
401
+ SUU9RWRnZSxjaHJvbWU9MQ==
402
+ !binary "U2V0LUNvb2tpZQ==":
403
+ - !binary |-
404
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
405
+ UmlJbE1tSTROVE01TVdNMU1UY3dZV0V5WXpZNU9EQTVOR1kxWVRVeE9UTTVP
406
+ R1pKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
407
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS00
408
+ YjljMzk5NDQzNDI4ZjAwMzY0MmZiMmUyMzMyNTk3NjY2OTljZjMxOyBkb21h
409
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
410
+ !binary "WC1SdW50aW1l":
411
+ - !binary |-
412
+ MS4xNjgwODY=
413
+ !binary "Q29udGVudC1FbmNvZGluZw==":
414
+ - !binary |-
415
+ Z3ppcA==
416
+ body:
417
+ encoding: ASCII-8BIT
418
+ string: !binary |-
419
+ eyJpZCI6ODIxNCwibmFtZSI6ImN1c3RvbV9kYXRhX3R5cGVfY29sdW1uX21v
420
+ ZGVsIiwic2NoZW1hIjpbWyJjYXJ0b2RiX2lkIiwibnVtYmVyIl0sWyJ0aGVf
421
+ Z2VvbSIsImdlb21ldHJ5IiwiZ2VvbWV0cnkiLCJwb2ludCJdLFsiZGVzY3Jp
422
+ cHRpb24iLCJzdHJpbmciXSxbIm5hbWUiLCJzdHJpbmciXSxbImNyZWF0ZWRf
423
+ YXQiLCJkYXRlIl0sWyJ1cGRhdGVkX2F0IiwiZGF0ZSJdXX0=
424
+ http_version: !binary |-
425
+ MS4x
426
+ recorded_at: Mon, 20 Aug 2012 10:46:39 GMT
427
+ - request:
428
+ method: post
429
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/custom_data_type_column_model/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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjozOSBHTVQ=
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
+ Ijk3YmFkNjBmZTQ2ZDc3ZTg4MGQwYTllNmFkOGY0ZTFlIg==
466
+ !binary "Q2FjaGUtQ29udHJvbA==":
467
+ - !binary |-
468
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
469
+ !binary "WC1VYS1Db21wYXRpYmxl":
470
+ - !binary |-
471
+ SUU9RWRnZSxjaHJvbWU9MQ==
472
+ !binary "U2V0LUNvb2tpZQ==":
473
+ - !binary |-
474
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
475
+ UmlJbFpUWmxNamRtTXpabE1qRTJaV0poWWpnMVpXSTNNalptWXpFNU5HRXpa
476
+ bUpKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
477
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1i
478
+ NTM2ODJhMGNjMTBkMWZiNzMxNDUzMzcxMDAwNzZmMmI5NDE1ODRkOyBkb21h
479
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
480
+ !binary "WC1SdW50aW1l":
481
+ - !binary |-
482
+ MC4xMjcxNDA=
483
+ !binary "Q29udGVudC1FbmNvZGluZw==":
484
+ - !binary |-
485
+ Z3ppcA==
486
+ body:
487
+ encoding: ASCII-8BIT
488
+ string: !binary |-
489
+ eyJuYW1lIjoidGVzdCIsInR5cGUiOiJpbnRlZ2VyIiwiY2FydG9kYl90eXBl
490
+ IjoibnVtYmVyIn0=
491
+ http_version: !binary |-
492
+ MS4x
493
+ recorded_at: Mon, 20 Aug 2012 10:46:39 GMT
494
+ - request:
495
+ method: get
496
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/custom_data_type_column_model?api_key=242015a0c60666b5cdff0ce614334668817b52ac
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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NjozOSBHTVQ=
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
+ ImJiZGRhNjM0Mjc0OThmMDg0MmJhOGY1MTgwNGZlNTgxIg==
533
+ !binary "Q2FjaGUtQ29udHJvbA==":
534
+ - !binary |-
535
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
536
+ !binary "WC1VYS1Db21wYXRpYmxl":
537
+ - !binary |-
538
+ SUU9RWRnZSxjaHJvbWU9MQ==
539
+ !binary "U2V0LUNvb2tpZQ==":
540
+ - !binary |-
541
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
542
+ UmlJbFpqQmhNbUZrT1RZek5qSmlNbU0xWVRVMk9USXhZelk1T1ROaU56RXlN
543
+ alJKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
544
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1i
545
+ NDJjNDFkY2ViZDNkMmU3OTNkM2Y1N2UxODA4ZWZmZWRkNTQxNjY1OyBkb21h
546
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
547
+ !binary "WC1SdW50aW1l":
548
+ - !binary |-
549
+ MC4wMTExNTc=
550
+ !binary "Q29udGVudC1FbmNvZGluZw==":
551
+ - !binary |-
552
+ Z3ppcA==
553
+ body:
554
+ encoding: ASCII-8BIT
555
+ string: !binary |-
556
+ eyJpZCI6ODIxNCwibmFtZSI6ImN1c3RvbV9kYXRhX3R5cGVfY29sdW1uX21v
557
+ ZGVsIiwicHJpdmFjeSI6IlBVQkxJQyIsInRhZ3MiOiIiLCJzY2hlbWEiOltb
558
+ ImNhcnRvZGJfaWQiLCJudW1iZXIiXSxbInRoZV9nZW9tIiwiZ2VvbWV0cnki
559
+ LCJnZW9tZXRyeSIsInBvaW50Il0sWyJkZXNjcmlwdGlvbiIsInN0cmluZyJd
560
+ LFsibmFtZSIsInN0cmluZyJdLFsidGVzdCIsIm51bWJlciJdLFsiY3JlYXRl
561
+ ZF9hdCIsImRhdGUiXSxbInVwZGF0ZWRfYXQiLCJkYXRlIl1dfQ==
562
+ http_version: !binary |-
563
+ MS4x
564
+ recorded_at: Mon, 20 Aug 2012 10:46:39 GMT
565
+ recorded_with: VCR 2.2.4