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,410 @@
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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NToyNSBHTVQ=
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
+ IjMyZjVjNmQyZDYxY2Y5MjQ3NTk2N2M2ODY2YmQwYTUxIg==
58
+ !binary "Q2FjaGUtQ29udHJvbA==":
59
+ - !binary |-
60
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
61
+ !binary "WC1VYS1Db21wYXRpYmxl":
62
+ - !binary |-
63
+ SUU9RWRnZSxjaHJvbWU9MQ==
64
+ !binary "U2V0LUNvb2tpZQ==":
65
+ - !binary |-
66
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
67
+ UmlJbE9UUTBNemswWVRreU5HSmhNbVl3TWpsaVpqUTJOVE5pWlRkbU1URTFN
68
+ alJKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
69
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0z
70
+ MWRjZjhjMzllYmJhYmFmYjNlODRiMWNkNzhiMGVhMDk3NTE1ZGFhOyBkb21h
71
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
72
+ !binary "WC1SdW50aW1l":
73
+ - !binary |-
74
+ MC4wNDc3NTk=
75
+ !binary "Q29udGVudC1FbmNvZGluZw==":
76
+ - !binary |-
77
+ Z3ppcA==
78
+ body:
79
+ encoding: ASCII-8BIT
80
+ string: !binary |-
81
+ eyJ0b3RhbF9lbnRyaWVzIjoxLCJ0YWJsZXMiOlt7ImlkIjo4MTkyLCJuYW1l
82
+ IjoidGFibGVfMSIsInByaXZhY3kiOiJQVUJMSUMiLCJ0YWdzIjoiIiwic2No
83
+ ZW1hIjpbWyJjYXJ0b2RiX2lkIiwibnVtYmVyIl0sWyJ0aGVfZ2VvbSIsImdl
84
+ b21ldHJ5IiwiZ2VvbWV0cnkiLCJwb2ludCJdLFsiZGVzY3JpcHRpb24iLCJz
85
+ dHJpbmciXSxbIm5hbWUiLCJzdHJpbmciXSxbImNyZWF0ZWRfYXQiLCJkYXRl
86
+ Il0sWyJ1cGRhdGVkX2F0IiwiZGF0ZSJdXSwidXBkYXRlZF9hdCI6IjIwMTIt
87
+ MDgtMjBUMTI6NDU6MjQrMDI6MDAiLCJyb3dzX2NvdW50ZWQiOjB9XX0=
88
+ http_version: !binary |-
89
+ MS4x
90
+ recorded_at: Mon, 20 Aug 2012 10:45:25 GMT
91
+ - request:
92
+ method: delete
93
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/table_1?api_key=242015a0c60666b5cdff0ce614334668817b52ac
94
+ body:
95
+ encoding: US-ASCII
96
+ string: ''
97
+ headers:
98
+ Accept:
99
+ - *70293202938040
100
+ response:
101
+ status:
102
+ code: 200
103
+ message: !binary |-
104
+ T0s=
105
+ headers:
106
+ !binary "U2VydmVy":
107
+ - !binary |-
108
+ bmdpbng=
109
+ !binary "RGF0ZQ==":
110
+ - !binary |-
111
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NToyNiBHTVQ=
112
+ !binary "Q29udGVudC1UeXBl":
113
+ - !binary |-
114
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
115
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
116
+ - !binary |-
117
+ Y2h1bmtlZA==
118
+ !binary "Q29ubmVjdGlvbg==":
119
+ - !binary |-
120
+ a2VlcC1hbGl2ZQ==
121
+ !binary "VmFyeQ==":
122
+ - !binary |-
123
+ QWNjZXB0LUVuY29kaW5n
124
+ !binary "U3RhdHVz":
125
+ - !binary |-
126
+ MjAwIE9L
127
+ !binary "Q2FjaGUtQ29udHJvbA==":
128
+ - !binary |-
129
+ bm8tY2FjaGU=
130
+ !binary "WC1VYS1Db21wYXRpYmxl":
131
+ - !binary |-
132
+ SUU9RWRnZSxjaHJvbWU9MQ==
133
+ !binary "U2V0LUNvb2tpZQ==":
134
+ - !binary |-
135
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
136
+ UmlJbE9EYzBOVFpoTVdFeU5qYzJOekZpWVRNeU1qa3laR1U1TjJNMk4yRmtN
137
+ R0ZKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
138
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0z
139
+ ZDI3YWRlNDEzMmQ3NzIwZDliZDYxNTI1OTIzNmU1YjU4MzNkYTdlOyBkb21h
140
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
141
+ !binary "WC1SdW50aW1l":
142
+ - !binary |-
143
+ MC4xNzMxNzk=
144
+ !binary "Q29udGVudC1FbmNvZGluZw==":
145
+ - !binary |-
146
+ Z3ppcA==
147
+ body:
148
+ encoding: ASCII-8BIT
149
+ string: !binary |-
150
+ IA==
151
+ http_version: !binary |-
152
+ MS4x
153
+ recorded_at: Mon, 20 Aug 2012 10:45:26 GMT
154
+ - request:
155
+ method: post
156
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
157
+ body:
158
+ encoding: US-ASCII
159
+ string: ''
160
+ headers:
161
+ Accept:
162
+ - *70293202938040
163
+ response:
164
+ status:
165
+ code: 200
166
+ message: !binary |-
167
+ T0s=
168
+ headers:
169
+ !binary "U2VydmVy":
170
+ - !binary |-
171
+ bmdpbng=
172
+ !binary "RGF0ZQ==":
173
+ - !binary |-
174
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NToyNiBHTVQ=
175
+ !binary "Q29udGVudC1UeXBl":
176
+ - !binary |-
177
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
178
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
179
+ - !binary |-
180
+ Y2h1bmtlZA==
181
+ !binary "Q29ubmVjdGlvbg==":
182
+ - !binary |-
183
+ a2VlcC1hbGl2ZQ==
184
+ !binary "VmFyeQ==":
185
+ - !binary |-
186
+ QWNjZXB0LUVuY29kaW5n
187
+ !binary "U3RhdHVz":
188
+ - !binary |-
189
+ MjAwIE9L
190
+ !binary "TG9jYXRpb24=":
191
+ - !binary |-
192
+ L3RhYmxlcy84MTkz
193
+ !binary "RXRhZw==":
194
+ - !binary |-
195
+ IjUwNWQ3NDRiODQwZGM2MzllNzFjOGRlYjFkNDNkODMyIg==
196
+ !binary "Q2FjaGUtQ29udHJvbA==":
197
+ - !binary |-
198
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
199
+ !binary "WC1VYS1Db21wYXRpYmxl":
200
+ - !binary |-
201
+ SUU9RWRnZSxjaHJvbWU9MQ==
202
+ !binary "U2V0LUNvb2tpZQ==":
203
+ - !binary |-
204
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
205
+ UmlJbFlUZGtNMlEwTURGa09EUTRORFJpTldabVlqTmpOekJoWmpoaFpqTTBN
206
+ RGxKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
207
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS01
208
+ ZmU4MDc4MTUxNmE0NTVjM2MwOWMyOGUzY2NmYmFjNTNiYTgwNmRhOyBkb21h
209
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
210
+ !binary "WC1SdW50aW1l":
211
+ - !binary |-
212
+ MC41MTE5NjM=
213
+ !binary "Q29udGVudC1FbmNvZGluZw==":
214
+ - !binary |-
215
+ Z3ppcA==
216
+ body:
217
+ encoding: ASCII-8BIT
218
+ string: !binary |-
219
+ eyJpZCI6ODE5MywibmFtZSI6InRhYmxlXzEiLCJzY2hlbWEiOltbImNhcnRv
220
+ ZGJfaWQiLCJudW1iZXIiXSxbImZpZWxkMSIsInN0cmluZyJdLFsiZmllbGQy
221
+ IiwibnVtYmVyIl0sWyJmaWVsZDMiLCJkYXRlIl0sWyJmaWVsZDQiLCJib29s
222
+ ZWFuIl0sWyJ1cGRhdGVkX2F0IiwiZGF0ZSJdLFsiY3JlYXRlZF9hdCIsImRh
223
+ dGUiXV19
224
+ http_version: !binary |-
225
+ MS4x
226
+ recorded_at: Mon, 20 Aug 2012 10:45:26 GMT
227
+ - request:
228
+ method: post
229
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/sql
230
+ body:
231
+ encoding: US-ASCII
232
+ string: ''
233
+ headers:
234
+ Accept:
235
+ - *70293202938040
236
+ response:
237
+ status:
238
+ code: 200
239
+ message: !binary |-
240
+ T0s=
241
+ headers:
242
+ !binary "U2VydmVy":
243
+ - !binary |-
244
+ bmdpbng=
245
+ !binary "RGF0ZQ==":
246
+ - !binary |-
247
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NToyNiBHTVQ=
248
+ !binary "Q29udGVudC1UeXBl":
249
+ - !binary |-
250
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
251
+ !binary "Q29ubmVjdGlvbg==":
252
+ - !binary |-
253
+ a2VlcC1hbGl2ZQ==
254
+ !binary "WC1Qb3dlcmVkLUJ5":
255
+ - !binary |-
256
+ RXhwcmVzcw==
257
+ !binary "Q29udGVudC1EaXNwb3NpdGlvbg==":
258
+ - !binary |-
259
+ aW5saW5lOyBmaWxlbmFtZT1jYXJ0b2RiLXF1ZXJ5Lmpzb247IG1vZGlmaWNh
260
+ dGlvbi1kYXRlPSJNb24sIDIwIEF1ZyAyMDEyIDEwOjQ1OjI2IEdNVCI7
261
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
262
+ - !binary |-
263
+ Kg==
264
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
265
+ - !binary |-
266
+ WC1SZXF1ZXN0ZWQtV2l0aA==
267
+ !binary "TGFzdC1Nb2RpZmllZA==":
268
+ - !binary |-
269
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NToyNiBHTVQ=
270
+ !binary "Q2FjaGUtQ29udHJvbA==":
271
+ - !binary |-
272
+ bm8tY2FjaGUsbWF4LWFnZT0zNjAwLG11c3QtcmV2YWxpZGF0ZSwgcHVibGlj
273
+ !binary "Q29udGVudC1MZW5ndGg=":
274
+ - !binary |-
275
+ MjEx
276
+ body:
277
+ encoding: ASCII-8BIT
278
+ string: !binary |-
279
+ eyJ0aW1lIjowLjAzNywidG90YWxfcm93cyI6MSwicm93cyI6W3siaWQiOjEs
280
+ InVwZGF0ZWRfYXQiOiIyMDEyLTA4LTIwVDEyOjQ1OjI2LjcyN1oiLCJjcmVh
281
+ dGVkX2F0IjoiMjAxMi0wOC0yMFQxMjo0NToyNi43MjdaIiwiY2FydG9kYl9p
282
+ ZCI6MSwiZmllbGQxIjoibG9yZW0iLCJmaWVsZDIiOjEwMC45OSwiZmllbGQz
283
+ IjoiMjAxMi0wOC0yMCIsImZpZWxkNCI6dHJ1ZX1dfQ==
284
+ http_version: !binary |-
285
+ MS4x
286
+ recorded_at: Mon, 20 Aug 2012 10:45:26 GMT
287
+ - request:
288
+ method: post
289
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/sql
290
+ body:
291
+ encoding: US-ASCII
292
+ string: ''
293
+ headers:
294
+ Accept:
295
+ - *70293202938040
296
+ response:
297
+ status:
298
+ code: 200
299
+ message: !binary |-
300
+ T0s=
301
+ headers:
302
+ !binary "U2VydmVy":
303
+ - !binary |-
304
+ bmdpbng=
305
+ !binary "RGF0ZQ==":
306
+ - !binary |-
307
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NToyNiBHTVQ=
308
+ !binary "Q29udGVudC1UeXBl":
309
+ - !binary |-
310
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
311
+ !binary "Q29ubmVjdGlvbg==":
312
+ - !binary |-
313
+ a2VlcC1hbGl2ZQ==
314
+ !binary "WC1Qb3dlcmVkLUJ5":
315
+ - !binary |-
316
+ RXhwcmVzcw==
317
+ !binary "Q29udGVudC1EaXNwb3NpdGlvbg==":
318
+ - !binary |-
319
+ aW5saW5lOyBmaWxlbmFtZT1jYXJ0b2RiLXF1ZXJ5Lmpzb247IG1vZGlmaWNh
320
+ dGlvbi1kYXRlPSJNb24sIDIwIEF1ZyAyMDEyIDEwOjQ1OjI2IEdNVCI7
321
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
322
+ - !binary |-
323
+ Kg==
324
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
325
+ - !binary |-
326
+ WC1SZXF1ZXN0ZWQtV2l0aA==
327
+ !binary "TGFzdC1Nb2RpZmllZA==":
328
+ - !binary |-
329
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NToyNiBHTVQ=
330
+ !binary "Q2FjaGUtQ29udHJvbA==":
331
+ - !binary |-
332
+ bm8tY2FjaGUsbWF4LWFnZT0zNjAwLG11c3QtcmV2YWxpZGF0ZSwgcHVibGlj
333
+ !binary "Q29udGVudC1MZW5ndGg=":
334
+ - !binary |-
335
+ Mzk=
336
+ body:
337
+ encoding: ASCII-8BIT
338
+ string: !binary |-
339
+ eyJ0aW1lIjowLjA1MSwidG90YWxfcm93cyI6MCwicm93cyI6W119
340
+ http_version: !binary |-
341
+ MS4x
342
+ recorded_at: Mon, 20 Aug 2012 10:45:26 GMT
343
+ - request:
344
+ method: get
345
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/table_1/records?api_key=242015a0c60666b5cdff0ce614334668817b52ac
346
+ body:
347
+ encoding: US-ASCII
348
+ string: ''
349
+ headers:
350
+ Accept:
351
+ - *70293202938040
352
+ response:
353
+ status:
354
+ code: 200
355
+ message: !binary |-
356
+ T0s=
357
+ headers:
358
+ !binary "U2VydmVy":
359
+ - !binary |-
360
+ bmdpbng=
361
+ !binary "RGF0ZQ==":
362
+ - !binary |-
363
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo0NToyNyBHTVQ=
364
+ !binary "Q29udGVudC1UeXBl":
365
+ - !binary |-
366
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
367
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
368
+ - !binary |-
369
+ Y2h1bmtlZA==
370
+ !binary "Q29ubmVjdGlvbg==":
371
+ - !binary |-
372
+ a2VlcC1hbGl2ZQ==
373
+ !binary "VmFyeQ==":
374
+ - !binary |-
375
+ QWNjZXB0LUVuY29kaW5n
376
+ !binary "U3RhdHVz":
377
+ - !binary |-
378
+ MjAwIE9L
379
+ !binary "RXRhZw==":
380
+ - !binary |-
381
+ ImQxNzk4NzQxYzAzYjA1NjJmMzdhMTAyMWFlZTIwMzRlIg==
382
+ !binary "Q2FjaGUtQ29udHJvbA==":
383
+ - !binary |-
384
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
385
+ !binary "WC1VYS1Db21wYXRpYmxl":
386
+ - !binary |-
387
+ SUU9RWRnZSxjaHJvbWU9MQ==
388
+ !binary "U2V0LUNvb2tpZQ==":
389
+ - !binary |-
390
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
391
+ UmlJbE5XUmxZelE1TWpoa09EWXdaalF3TURRNE5XSm1ZbUU1WldZeE1qVXla
392
+ RE5KSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
393
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0y
394
+ Mjk4NDg3ODRiYjRhMmZkODQ4MWUzYjFmMGIzZTlkY2UxODNjMGZhOyBkb21h
395
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
396
+ !binary "WC1SdW50aW1l":
397
+ - !binary |-
398
+ MC4wNDc0OTU=
399
+ !binary "Q29udGVudC1FbmNvZGluZw==":
400
+ - !binary |-
401
+ Z3ppcA==
402
+ body:
403
+ encoding: ASCII-8BIT
404
+ string: !binary |-
405
+ eyJpZCI6ODE5MywibmFtZSI6InRhYmxlXzEiLCJ0b3RhbF9yb3dzIjowLCJy
406
+ b3dzIjpbXX0=
407
+ http_version: !binary |-
408
+ MS4x
409
+ recorded_at: Mon, 20 Aug 2012 10:45:27 GMT
410
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,380 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - &70175296087520 !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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo1ODozMiBHTVQ=
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 "TG9jYXRpb24=":
56
+ - !binary |-
57
+ L3RhYmxlcy84MjI1
58
+ !binary "RXRhZw==":
59
+ - !binary |-
60
+ IjcxNjU2ZTRmNTEwZTZlMTEzMjVhZDkxZjA2NzNhMTRmIg==
61
+ !binary "Q2FjaGUtQ29udHJvbA==":
62
+ - !binary |-
63
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
64
+ !binary "WC1VYS1Db21wYXRpYmxl":
65
+ - !binary |-
66
+ SUU9RWRnZSxjaHJvbWU9MQ==
67
+ !binary "U2V0LUNvb2tpZQ==":
68
+ - !binary |-
69
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
70
+ UmlJbFlUUmpZVE00T0RReU9Ea3dZbVl4WlRKa09EY3pOMk00Tmprek5HWmtN
71
+ bVpKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
72
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1i
73
+ M2VkMjgzMTRlNmUwMTdjZTNmM2E1Y2Y4ZmM1OTIyODAyZGQ3MTk4OyBkb21h
74
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
75
+ !binary "WC1SdW50aW1l":
76
+ - !binary |-
77
+ MS45Nzg2MTM=
78
+ !binary "Q29udGVudC1FbmNvZGluZw==":
79
+ - !binary |-
80
+ Z3ppcA==
81
+ body:
82
+ encoding: ASCII-8BIT
83
+ string: !binary |-
84
+ eyJpZCI6ODIyNSwibmFtZSI6InRhYmxlXzEiLCJzY2hlbWEiOltbImNhcnRv
85
+ ZGJfaWQiLCJudW1iZXIiXSxbInRoZV9nZW9tIiwiZ2VvbWV0cnkiLCJnZW9t
86
+ ZXRyeSIsInBvaW50Il0sWyJkZXNjcmlwdGlvbiIsInN0cmluZyJdLFsibmFt
87
+ ZSIsInN0cmluZyJdLFsiY3JlYXRlZF9hdCIsImRhdGUiXSxbInVwZGF0ZWRf
88
+ YXQiLCJkYXRlIl1dfQ==
89
+ http_version: !binary |-
90
+ MS4x
91
+ recorded_at: Mon, 20 Aug 2012 10:58:32 GMT
92
+ - request:
93
+ method: post
94
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
95
+ body:
96
+ encoding: US-ASCII
97
+ string: ''
98
+ headers:
99
+ Accept:
100
+ - *70175296087520
101
+ response:
102
+ status:
103
+ code: 200
104
+ message: !binary |-
105
+ T0s=
106
+ headers:
107
+ !binary "U2VydmVy":
108
+ - !binary |-
109
+ bmdpbng=
110
+ !binary "RGF0ZQ==":
111
+ - !binary |-
112
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo1ODozMyBHTVQ=
113
+ !binary "Q29udGVudC1UeXBl":
114
+ - !binary |-
115
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
116
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
117
+ - !binary |-
118
+ Y2h1bmtlZA==
119
+ !binary "Q29ubmVjdGlvbg==":
120
+ - !binary |-
121
+ a2VlcC1hbGl2ZQ==
122
+ !binary "VmFyeQ==":
123
+ - !binary |-
124
+ QWNjZXB0LUVuY29kaW5n
125
+ !binary "U3RhdHVz":
126
+ - !binary |-
127
+ MjAwIE9L
128
+ !binary "TG9jYXRpb24=":
129
+ - !binary |-
130
+ L3RhYmxlcy84MjI2
131
+ !binary "RXRhZw==":
132
+ - !binary |-
133
+ Ijc5NmYwMmMzZDFlNDc4YjBiNTczMGZiNmFlZjk5N2M4Ig==
134
+ !binary "Q2FjaGUtQ29udHJvbA==":
135
+ - !binary |-
136
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
137
+ !binary "WC1VYS1Db21wYXRpYmxl":
138
+ - !binary |-
139
+ SUU9RWRnZSxjaHJvbWU9MQ==
140
+ !binary "U2V0LUNvb2tpZQ==":
141
+ - !binary |-
142
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
143
+ UmlJbE5qQXpPRFkxTWpBeFl6ZzFZV05oWVdJME56RXlOVFl5TURVeE0yUmlP
144
+ R0pKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
145
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS02
146
+ YTExODM4NTcyNWM4YTYwNzRjN2YyNTM2MzFkMjkwYWQxMzRkOTZiOyBkb21h
147
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
148
+ !binary "WC1SdW50aW1l":
149
+ - !binary |-
150
+ MC42ODA5Nzg=
151
+ !binary "Q29udGVudC1FbmNvZGluZw==":
152
+ - !binary |-
153
+ Z3ppcA==
154
+ body:
155
+ encoding: ASCII-8BIT
156
+ string: !binary |-
157
+ eyJpZCI6ODIyNiwibmFtZSI6InRhYmxlXzIiLCJzY2hlbWEiOltbImNhcnRv
158
+ ZGJfaWQiLCJudW1iZXIiXSxbInRoZV9nZW9tIiwiZ2VvbWV0cnkiLCJnZW9t
159
+ ZXRyeSIsInBvaW50Il0sWyJkZXNjcmlwdGlvbiIsInN0cmluZyJdLFsibmFt
160
+ ZSIsInN0cmluZyJdLFsiY3JlYXRlZF9hdCIsImRhdGUiXSxbInVwZGF0ZWRf
161
+ YXQiLCJkYXRlIl1dfQ==
162
+ http_version: !binary |-
163
+ MS4x
164
+ recorded_at: Mon, 20 Aug 2012 10:58:33 GMT
165
+ - request:
166
+ method: post
167
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
168
+ body:
169
+ encoding: US-ASCII
170
+ string: ''
171
+ headers:
172
+ Accept:
173
+ - *70175296087520
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
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo1ODozNCBHTVQ=
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 "TG9jYXRpb24=":
202
+ - !binary |-
203
+ L3RhYmxlcy84MjI3
204
+ !binary "RXRhZw==":
205
+ - !binary |-
206
+ ImJkZGMyZTA3NDlkNjcwODEyMWJjMTgyZTlhZTE3MDdjIg==
207
+ !binary "Q2FjaGUtQ29udHJvbA==":
208
+ - !binary |-
209
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
210
+ !binary "WC1VYS1Db21wYXRpYmxl":
211
+ - !binary |-
212
+ SUU9RWRnZSxjaHJvbWU9MQ==
213
+ !binary "U2V0LUNvb2tpZQ==":
214
+ - !binary |-
215
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
216
+ UmlJbE1tTXdOamRqWkRnM05HUXlOakV4TmpReVpqTTRZbVk0TURZMk5EbGhZ
217
+ V1pKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
218
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS1j
219
+ ODM0OGRmZDdkZmM4MWY2N2MwMGQzODc4Zjk4OTZmNTA5YjQ1NTkyOyBkb21h
220
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
221
+ !binary "WC1SdW50aW1l":
222
+ - !binary |-
223
+ MC42OTk1ODU=
224
+ !binary "Q29udGVudC1FbmNvZGluZw==":
225
+ - !binary |-
226
+ Z3ppcA==
227
+ body:
228
+ encoding: ASCII-8BIT
229
+ string: !binary |-
230
+ eyJpZCI6ODIyNywibmFtZSI6InRhYmxlXzMiLCJzY2hlbWEiOltbImNhcnRv
231
+ ZGJfaWQiLCJudW1iZXIiXSxbInRoZV9nZW9tIiwiZ2VvbWV0cnkiLCJnZW9t
232
+ ZXRyeSIsInBvaW50Il0sWyJkZXNjcmlwdGlvbiIsInN0cmluZyJdLFsibmFt
233
+ ZSIsInN0cmluZyJdLFsiY3JlYXRlZF9hdCIsImRhdGUiXSxbInVwZGF0ZWRf
234
+ YXQiLCJkYXRlIl1dfQ==
235
+ http_version: !binary |-
236
+ MS4x
237
+ recorded_at: Mon, 20 Aug 2012 10:58:34 GMT
238
+ - request:
239
+ method: delete
240
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/table_2?api_key=242015a0c60666b5cdff0ce614334668817b52ac
241
+ body:
242
+ encoding: US-ASCII
243
+ string: ''
244
+ headers:
245
+ Accept:
246
+ - *70175296087520
247
+ response:
248
+ status:
249
+ code: 200
250
+ message: !binary |-
251
+ T0s=
252
+ headers:
253
+ !binary "U2VydmVy":
254
+ - !binary |-
255
+ bmdpbng=
256
+ !binary "RGF0ZQ==":
257
+ - !binary |-
258
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo1ODozNCBHTVQ=
259
+ !binary "Q29udGVudC1UeXBl":
260
+ - !binary |-
261
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
262
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
263
+ - !binary |-
264
+ Y2h1bmtlZA==
265
+ !binary "Q29ubmVjdGlvbg==":
266
+ - !binary |-
267
+ a2VlcC1hbGl2ZQ==
268
+ !binary "VmFyeQ==":
269
+ - !binary |-
270
+ QWNjZXB0LUVuY29kaW5n
271
+ !binary "U3RhdHVz":
272
+ - !binary |-
273
+ MjAwIE9L
274
+ !binary "Q2FjaGUtQ29udHJvbA==":
275
+ - !binary |-
276
+ bm8tY2FjaGU=
277
+ !binary "WC1VYS1Db21wYXRpYmxl":
278
+ - !binary |-
279
+ SUU9RWRnZSxjaHJvbWU9MQ==
280
+ !binary "U2V0LUNvb2tpZQ==":
281
+ - !binary |-
282
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
283
+ UmlJbE1URTBNVGhtTWpZd016azFNVFl6WmpFeFl6YzBNbVl5TWpBd01HUTJZ
284
+ ek5KSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
285
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS00
286
+ ZmE0MmVmYzM2MWFjYTE1YTFhMDZmYjJjNTQzNzAwNDExZTgyYzNmOyBkb21h
287
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
288
+ !binary "WC1SdW50aW1l":
289
+ - !binary |-
290
+ MC4xODY5MjA=
291
+ !binary "Q29udGVudC1FbmNvZGluZw==":
292
+ - !binary |-
293
+ Z3ppcA==
294
+ body:
295
+ encoding: ASCII-8BIT
296
+ string: !binary |-
297
+ IA==
298
+ http_version: !binary |-
299
+ MS4x
300
+ recorded_at: Mon, 20 Aug 2012 10:58:34 GMT
301
+ - request:
302
+ method: get
303
+ uri: https://cartodb-rb-client.cartodb.com/api/v1/tables?api_key=242015a0c60666b5cdff0ce614334668817b52ac
304
+ body:
305
+ encoding: US-ASCII
306
+ string: ''
307
+ headers:
308
+ Accept:
309
+ - *70175296087520
310
+ response:
311
+ status:
312
+ code: 200
313
+ message: !binary |-
314
+ T0s=
315
+ headers:
316
+ !binary "U2VydmVy":
317
+ - !binary |-
318
+ bmdpbng=
319
+ !binary "RGF0ZQ==":
320
+ - !binary |-
321
+ TW9uLCAyMCBBdWcgMjAxMiAxMDo1ODozNCBHTVQ=
322
+ !binary "Q29udGVudC1UeXBl":
323
+ - !binary |-
324
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
325
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
326
+ - !binary |-
327
+ Y2h1bmtlZA==
328
+ !binary "Q29ubmVjdGlvbg==":
329
+ - !binary |-
330
+ a2VlcC1hbGl2ZQ==
331
+ !binary "VmFyeQ==":
332
+ - !binary |-
333
+ QWNjZXB0LUVuY29kaW5n
334
+ !binary "U3RhdHVz":
335
+ - !binary |-
336
+ MjAwIE9L
337
+ !binary "RXRhZw==":
338
+ - !binary |-
339
+ ImE1ZWM3ZGQ4YzM0N2JiYWJkY2ViNDg2ODA2NmI1ODBhIg==
340
+ !binary "Q2FjaGUtQ29udHJvbA==":
341
+ - !binary |-
342
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
343
+ !binary "WC1VYS1Db21wYXRpYmxl":
344
+ - !binary |-
345
+ SUU9RWRnZSxjaHJvbWU9MQ==
346
+ !binary "U2V0LUNvb2tpZQ==":
347
+ - !binary |-
348
+ X2NhcnRvZGJfc2Vzc2lvbj1CQWg3QjBraUQzTmxjM05wYjI1ZmFXUUdPZ1pG
349
+ UmlJbFpHVTJOamhsWkdOaE16WXdaamN6WWpZMU56VTNOemcwWkdFeFpqZzNP
350
+ R1pKSWlaM1lYSmtaVzR1ZFhObGNpNWpZWEowYjJSaUxYSmlMV05zYVdWdWRD
351
+ NXJaWGtHT3dCVVNTSVdZMkZ5ZEc5a1lpMXlZaTFqYkdsbGJuUUdPd0JVLS0y
352
+ NzNlMGRiNzQ2Y2JkNGUxOTczOTFiNjcwMzFkYzhkYzRjOTEwNDA1OyBkb21h
353
+ aW49LmNhcnRvZGIuY29tOyBwYXRoPS87IEh0dHBPbmx5
354
+ !binary "WC1SdW50aW1l":
355
+ - !binary |-
356
+ MC4wMzA0MTI=
357
+ !binary "Q29udGVudC1FbmNvZGluZw==":
358
+ - !binary |-
359
+ Z3ppcA==
360
+ body:
361
+ encoding: ASCII-8BIT
362
+ string: !binary |-
363
+ eyJ0b3RhbF9lbnRyaWVzIjoyLCJ0YWJsZXMiOlt7ImlkIjo4MjI3LCJuYW1l
364
+ IjoidGFibGVfMyIsInByaXZhY3kiOiJQVUJMSUMiLCJ0YWdzIjoiIiwic2No
365
+ ZW1hIjpbWyJjYXJ0b2RiX2lkIiwibnVtYmVyIl0sWyJ0aGVfZ2VvbSIsImdl
366
+ b21ldHJ5IiwiZ2VvbWV0cnkiLCJwb2ludCJdLFsiZGVzY3JpcHRpb24iLCJz
367
+ dHJpbmciXSxbIm5hbWUiLCJzdHJpbmciXSxbImNyZWF0ZWRfYXQiLCJkYXRl
368
+ Il0sWyJ1cGRhdGVkX2F0IiwiZGF0ZSJdXSwidXBkYXRlZF9hdCI6IjIwMTIt
369
+ MDgtMjBUMTI6NTg6MzMrMDI6MDAiLCJyb3dzX2NvdW50ZWQiOjB9LHsiaWQi
370
+ OjgyMjUsIm5hbWUiOiJ0YWJsZV8xIiwicHJpdmFjeSI6IlBVQkxJQyIsInRh
371
+ Z3MiOiIiLCJzY2hlbWEiOltbImNhcnRvZGJfaWQiLCJudW1iZXIiXSxbInRo
372
+ ZV9nZW9tIiwiZ2VvbWV0cnkiLCJnZW9tZXRyeSIsInBvaW50Il0sWyJkZXNj
373
+ cmlwdGlvbiIsInN0cmluZyJdLFsibmFtZSIsInN0cmluZyJdLFsiY3JlYXRl
374
+ ZF9hdCIsImRhdGUiXSxbInVwZGF0ZWRfYXQiLCJkYXRlIl1dLCJ1cGRhdGVk
375
+ X2F0IjoiMjAxMi0wOC0yMFQxMjo1ODozMSswMjowMCIsInJvd3NfY291bnRl
376
+ ZCI6MH1dfQ==
377
+ http_version: !binary |-
378
+ MS4x
379
+ recorded_at: Mon, 20 Aug 2012 10:58:34 GMT
380
+ recorded_with: VCR 2.2.4