bigbroda 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +25 -0
  3. data/.pryrc +3 -0
  4. data/.rspec +2 -0
  5. data/.rvmrc +1 -0
  6. data/Gemfile +18 -0
  7. data/LICENSE.txt +22 -0
  8. data/README.md +408 -0
  9. data/Rakefile +12 -0
  10. data/google_bigquery.gemspec +30 -0
  11. data/lib/.DS_Store +0 -0
  12. data/lib/active_record/.DS_Store +0 -0
  13. data/lib/active_record/connection_adapters/bigquery_adapter.rb +949 -0
  14. data/lib/active_record/tasks/bigquery_database_tasks.rb +42 -0
  15. data/lib/generators/.DS_Store +0 -0
  16. data/lib/generators/google_bigquery/.DS_Store +0 -0
  17. data/lib/generators/google_bigquery/install/install_generator.rb +21 -0
  18. data/lib/generators/templates/README +11 -0
  19. data/lib/generators/templates/bigquery.rb.erb +7 -0
  20. data/lib/google_bigquery/auth.rb +27 -0
  21. data/lib/google_bigquery/client.rb +52 -0
  22. data/lib/google_bigquery/config.rb +17 -0
  23. data/lib/google_bigquery/dataset.rb +77 -0
  24. data/lib/google_bigquery/engine.rb +21 -0
  25. data/lib/google_bigquery/jobs.rb +173 -0
  26. data/lib/google_bigquery/project.rb +16 -0
  27. data/lib/google_bigquery/railtie.rb +39 -0
  28. data/lib/google_bigquery/table.rb +63 -0
  29. data/lib/google_bigquery/table_data.rb +23 -0
  30. data/lib/google_bigquery/version.rb +3 -0
  31. data/lib/google_bigquery.rb +27 -0
  32. data/spec/.DS_Store +0 -0
  33. data/spec/dummy/.DS_Store +0 -0
  34. data/spec/dummy/.gitignore +20 -0
  35. data/spec/dummy/README.rdoc +261 -0
  36. data/spec/dummy/Rakefile +7 -0
  37. data/spec/dummy/app/assets/javascripts/application.js +16 -0
  38. data/spec/dummy/app/assets/stylesheets/application.css.scss +13 -0
  39. data/spec/dummy/app/controllers/application_controller.rb +4 -0
  40. data/spec/dummy/app/helpers/application_helper.rb +3 -0
  41. data/spec/dummy/app/mailers/.gitkeep +0 -0
  42. data/spec/dummy/app/models/log_data.rb +3 -0
  43. data/spec/dummy/app/models/post.rb +3 -0
  44. data/spec/dummy/app/models/user.rb +4 -0
  45. data/spec/dummy/app/views/layouts/application.html.haml +32 -0
  46. data/spec/dummy/config/application.rb +23 -0
  47. data/spec/dummy/config/boot.rb +11 -0
  48. data/spec/dummy/config/database.yml +32 -0
  49. data/spec/dummy/config/environment.rb +6 -0
  50. data/spec/dummy/config/environments/development.rb +29 -0
  51. data/spec/dummy/config/environments/production.rb +80 -0
  52. data/spec/dummy/config/environments/test.rb +36 -0
  53. data/spec/dummy/config/initializers/backtrace_silencers.rb +8 -0
  54. data/spec/dummy/config/initializers/bigquery.rb +19 -0
  55. data/spec/dummy/config/initializers/inflections.rb +16 -0
  56. data/spec/dummy/config/initializers/mime_types.rb +6 -0
  57. data/spec/dummy/config/initializers/secret_token.rb +8 -0
  58. data/spec/dummy/config/initializers/session_store.rb +9 -0
  59. data/spec/dummy/config/initializers/wrap_parameters.rb +15 -0
  60. data/spec/dummy/config/locales/devise.en.yml +58 -0
  61. data/spec/dummy/config/locales/en.yml +5 -0
  62. data/spec/dummy/config/locales/simple_form.en.yml +26 -0
  63. data/spec/dummy/config/routes.rb +4 -0
  64. data/spec/dummy/config.ru +4 -0
  65. data/spec/dummy/db/migrate/20140224051640_create_users.rb +11 -0
  66. data/spec/dummy/db/migrate/20140224063709_add_last_name_to_user.rb +5 -0
  67. data/spec/dummy/db/migrate/20140225014314_create_log_data.rb +12 -0
  68. data/spec/dummy/db/migrate/20140227015551_create_posts.rb +9 -0
  69. data/spec/dummy/db/schema.rb +39 -0
  70. data/spec/dummy/db/schema_migrations.json +1 -0
  71. data/spec/dummy/lib/assets/.gitkeep +0 -0
  72. data/spec/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
  73. data/spec/dummy/log/.gitkeep +0 -0
  74. data/spec/dummy/public/404.html +26 -0
  75. data/spec/dummy/public/422.html +26 -0
  76. data/spec/dummy/public/500.html +25 -0
  77. data/spec/dummy/public/favicon.ico +0 -0
  78. data/spec/dummy/script/rails +6 -0
  79. data/spec/dummy/test/fixtures/log_data.yml +9 -0
  80. data/spec/dummy/test/fixtures/posts.yml +11 -0
  81. data/spec/dummy/test/fixtures/users.yml +11 -0
  82. data/spec/dummy/test/models/log_data_test.rb +7 -0
  83. data/spec/dummy/test/models/post_test.rb +7 -0
  84. data/spec/dummy/test/models/user_test.rb +7 -0
  85. data/spec/fixtures/.DS_Store +0 -0
  86. data/spec/fixtures/configs/account_config.yml-example +6 -0
  87. data/spec/fixtures/keys/.DS_Store +0 -0
  88. data/spec/fixtures/keys/example-privatekey-p12 +0 -0
  89. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/.DS_Store +0 -0
  90. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/adapter/simple_quering.yml +324 -0
  91. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/after_each.yml +154 -0
  92. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/authorize_config.yml +367 -0
  93. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/create_each.yml +195 -0
  94. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/_down/adds_the_email_at_utc_hour_column.yml +575 -0
  95. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/_up/adds_the_created_at_updated_at_column.yml +644 -0
  96. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/add_column/adds_published_column.yml +779 -0
  97. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/associations/users_posts.yml +1464 -0
  98. data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/remove_column/should_raise_error.yml +713 -0
  99. data/spec/fixtures/vcr_cassettes/Dataset/_list.yml +64 -0
  100. data/spec/fixtures/vcr_cassettes/Dataset/authorize_config.yml +367 -0
  101. data/spec/fixtures/vcr_cassettes/Dataset/operations/_get_delete.yml +237 -0
  102. data/spec/fixtures/vcr_cassettes/Dataset/operations/_patch_delete.yml +240 -0
  103. data/spec/fixtures/vcr_cassettes/Dataset/operations/_update_delete.yml +297 -0
  104. data/spec/fixtures/vcr_cassettes/Dataset/operations/create_delete.yml +173 -0
  105. data/spec/fixtures/vcr_cassettes/Project/_list.yml +64 -0
  106. data/spec/fixtures/vcr_cassettes/Project/authorize_config.yml +2166 -0
  107. data/spec/fixtures/vcr_cassettes/Table/authorize_config.yml +367 -0
  108. data/spec/fixtures/vcr_cassettes/Table/operations/creation_edition/_create_delete.yml +404 -0
  109. data/spec/fixtures/vcr_cassettes/Table/operations/creation_edition/_create_update_delete.yml +471 -0
  110. data/spec/fixtures/vcr_cassettes/Table/operations/list.yml +232 -0
  111. data/spec/fixtures/vcr_cassettes/TableData/authorize_config.yml +2166 -0
  112. data/spec/fixtures/vcr_cassettes/TableData/create_each.yml +135 -0
  113. data/spec/fixtures/vcr_cassettes/TableData/delete_each.yml +154 -0
  114. data/spec/fixtures/vcr_cassettes/TableData/insertAll2.yml +189 -0
  115. data/spec/fixtures/vcr_cassettes/auth.yml +2168 -0
  116. data/spec/fixtures/vcr_cassettes/authorize_config.yml +2166 -0
  117. data/spec/fixtures/vcr_cassettes/datasets.yml +119 -0
  118. data/spec/fixtures/vcr_cassettes/delete_each_dataset.yml +48 -0
  119. data/spec/functional/adapter/adapter_spec.rb +213 -0
  120. data/spec/functional/auth_spec.rb +24 -0
  121. data/spec/functional/client_spec.rb +9 -0
  122. data/spec/functional/config_spec.rb +24 -0
  123. data/spec/functional/dataset_spec.rb +77 -0
  124. data/spec/functional/project_spec.rb +24 -0
  125. data/spec/functional/table_data_spec.rb +61 -0
  126. data/spec/functional/table_spec.rb +105 -0
  127. data/spec/models/user_spec.rb +0 -0
  128. data/spec/spec_helper.rb +48 -0
  129. data/spec/support/models.rb +11 -0
  130. data/spec/support/schema.rb +43 -0
  131. metadata +370 -0
@@ -0,0 +1,779 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"datasetReference":{"datasetId":"rspec_schema"}}'
9
+ headers:
10
+ User-Agent:
11
+ - |-
12
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
13
+ (gzip)
14
+ Content-Type:
15
+ - application/json
16
+ Accept-Encoding:
17
+ - gzip
18
+ Authorization:
19
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
20
+ Cache-Control:
21
+ - no-store
22
+ Accept:
23
+ - '*/*'
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Cache-Control:
30
+ - no-cache, no-store, max-age=0, must-revalidate
31
+ Pragma:
32
+ - no-cache
33
+ Expires:
34
+ - Fri, 01 Jan 1990 00:00:00 GMT
35
+ Date:
36
+ - Thu, 27 Feb 2014 01:13:13 GMT
37
+ Etag:
38
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/79bXtkjAQOCsKdNpQn_DXmRR8TI"'
39
+ Content-Type:
40
+ - application/json; charset=UTF-8
41
+ Content-Encoding:
42
+ - gzip
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Frame-Options:
46
+ - SAMEORIGIN
47
+ X-Xss-Protection:
48
+ - 1; mode=block
49
+ Content-Length:
50
+ - '387'
51
+ Server:
52
+ - GSE
53
+ Alternate-Protocol:
54
+ - 443:quic
55
+ body:
56
+ encoding: ASCII-8BIT
57
+ string: !binary |-
58
+ H4sIAAAAAAAAAI2RXU/CMBSG7/crlnqrNON7XIlCDIoQJgaIGlK6w6x062w7
59
+ CBL/u22DJioGb8/7nuc9HzvPRyuWxajlowVLXguQ25OYaKJAo1MjgiaJFR/R
60
+ rMv78DZbXtyVt0IU1/P7esCDq5GaznAjXEz16qU9Gl6qm3iQj7J5Z5pGUXPc
61
+ e0SOw1wESRiHsxXTcFYNGy2pcqBzRZ8hJc6lgC/7LFtZ77PWuWphvNlsSokQ
62
+ CQeSM1WiIsWfk+J1GedSvADVCn9n4/0SCv8K2SsRLEFCRsGE7Tz/q95zk/7s
63
+ 8tE+qHdgEeT575ZMKAWljP5gGizTcAS3ASjqtjvdyJHMmobNCL+SosituEdH
64
+ QGKQytAc7gdhEvXGxwgTaSb6kzCcDI4Bhpvsf/2FAnmx7aaEcSuFzVqzWa2H
65
+ YS0on8ewBi5ykKXEuNaMgjmMKDJtn+fYnv9k70UlEM1ENmapCwgqYaVar9TC
66
+ SlCuuV9xovStiNmSQXzY5b17H8rjVrrFAgAA
67
+ http_version:
68
+ recorded_at: Thu, 27 Feb 2014 01:13:13 GMT
69
+ - request:
70
+ method: post
71
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
72
+ body:
73
+ encoding: UTF-8
74
+ string: '{"tableReference":{"projectId":"985884699512","datasetId":"rspec_schema","tableId":"users"},"schema":[{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string","mode":"REQUIRED"},{"name":"age","type":"integer"},{"name":"weight","type":"float"},{"name":"is_magic","type":"boolean"}]}]}'
75
+ headers:
76
+ User-Agent:
77
+ - |-
78
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
79
+ (gzip)
80
+ Content-Type:
81
+ - application/json
82
+ Accept-Encoding:
83
+ - gzip
84
+ Authorization:
85
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
86
+ Cache-Control:
87
+ - no-store
88
+ Accept:
89
+ - '*/*'
90
+ response:
91
+ status:
92
+ code: 200
93
+ message: OK
94
+ headers:
95
+ Cache-Control:
96
+ - no-cache, no-store, max-age=0, must-revalidate
97
+ Pragma:
98
+ - no-cache
99
+ Expires:
100
+ - Fri, 01 Jan 1990 00:00:00 GMT
101
+ Date:
102
+ - Thu, 27 Feb 2014 01:13:16 GMT
103
+ Etag:
104
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/OLp5EFAyU9Ayi3xMHaNRHllzkOM"'
105
+ Content-Type:
106
+ - application/json; charset=UTF-8
107
+ Content-Encoding:
108
+ - gzip
109
+ X-Content-Type-Options:
110
+ - nosniff
111
+ X-Frame-Options:
112
+ - SAMEORIGIN
113
+ X-Xss-Protection:
114
+ - 1; mode=block
115
+ Content-Length:
116
+ - '397'
117
+ Server:
118
+ - GSE
119
+ Alternate-Protocol:
120
+ - 443:quic
121
+ body:
122
+ encoding: ASCII-8BIT
123
+ string: !binary |-
124
+ H4sIAAAAAAAAAHWRX0/CMBTF3/cplvqKNIBixhvE8ccMFgckEjGkbJdR6da5
125
+ FnEQvrtdNyMivKzpufd3zu3dwTDRhsYBaploScOPLaTZjSRLBqiiSiBJmJfm
126
+ aGYzB/azVWdczzjfPi2mzRqr9Z7Fywy7TnJvd9vZ1GpntPE17JOR12dsv3GH
127
+ c6R9qA4gIWVwu6ESbu+sh1YqEvAXwl9DRKpbAanQvQLYyqHxJifWUiaihfFu
128
+ t6uGnIcMSEJF1ecR/pkWf9ZxkvJ38KXAfxNwQCQRoPTTKKyfJ/BvohY8WEEK
129
+ sQ8q92CYJipNBxdGzykTle5Fw2lCUdauRbGIMsyjfl/RU6asKLBAqNurumlJ
130
+ iTGJ8jHytVUKRWaJVsYTbzDqoVw8Vi4Q+rzMlGrEA6169vN04NmP171I+M9q
131
+ MJrYPdu7zuyAhmt5jnUdtz25DlGxiNSC/XOs47qO3R4VoPq8lRv0UyCS8nhC
132
+ C77WsBp3zca91aw9WPqPMiLkkAdUbTe43GUcjW9vcWzz/AIAAA==
133
+ http_version:
134
+ recorded_at: Thu, 27 Feb 2014 01:13:16 GMT
135
+ - request:
136
+ method: post
137
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users/insertAll
138
+ body:
139
+ encoding: UTF-8
140
+ string: '{"rows":[{"insertId":"1393463596","json":{"name":"User 2014-02-26 22:13:16
141
+ -0300"}}]}'
142
+ headers:
143
+ User-Agent:
144
+ - |-
145
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
146
+ (gzip)
147
+ Content-Type:
148
+ - application/json
149
+ Accept-Encoding:
150
+ - gzip
151
+ Authorization:
152
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
153
+ Cache-Control:
154
+ - no-store
155
+ Accept:
156
+ - '*/*'
157
+ response:
158
+ status:
159
+ code: 200
160
+ message: OK
161
+ headers:
162
+ Cache-Control:
163
+ - no-cache, no-store, max-age=0, must-revalidate
164
+ Pragma:
165
+ - no-cache
166
+ Expires:
167
+ - Fri, 01 Jan 1990 00:00:00 GMT
168
+ Date:
169
+ - Thu, 27 Feb 2014 01:13:17 GMT
170
+ Etag:
171
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
172
+ Content-Type:
173
+ - application/json; charset=UTF-8
174
+ Content-Encoding:
175
+ - gzip
176
+ X-Content-Type-Options:
177
+ - nosniff
178
+ X-Frame-Options:
179
+ - SAMEORIGIN
180
+ X-Xss-Protection:
181
+ - 1; mode=block
182
+ Content-Length:
183
+ - '69'
184
+ Server:
185
+ - GSE
186
+ Alternate-Protocol:
187
+ - 443:quic
188
+ body:
189
+ encoding: ASCII-8BIT
190
+ string: !binary |-
191
+ H4sIAAAAAAAAAKvmUlDKzsxLUbJSUErKTC8sTS2qVC5JTMpJdUksSfTMK04t
192
+ KnHMyQlKLS7IB3KUuGq5AH1Qqg4zAAAA
193
+ http_version:
194
+ recorded_at: Thu, 27 Feb 2014 01:13:17 GMT
195
+ - request:
196
+ method: delete
197
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users
198
+ body:
199
+ encoding: UTF-8
200
+ string: ''
201
+ headers:
202
+ User-Agent:
203
+ - |-
204
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
205
+ (gzip)
206
+ Accept-Encoding:
207
+ - gzip
208
+ Content-Type:
209
+ - ''
210
+ Authorization:
211
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
212
+ Cache-Control:
213
+ - no-store
214
+ Accept:
215
+ - '*/*'
216
+ response:
217
+ status:
218
+ code: 204
219
+ message: No Content
220
+ headers:
221
+ Cache-Control:
222
+ - no-cache, no-store, max-age=0, must-revalidate
223
+ Pragma:
224
+ - no-cache
225
+ Expires:
226
+ - Fri, 01 Jan 1990 00:00:00 GMT
227
+ Date:
228
+ - Thu, 27 Feb 2014 01:13:18 GMT
229
+ Etag:
230
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
231
+ Server:
232
+ - GSE
233
+ Alternate-Protocol:
234
+ - 443:quic
235
+ body:
236
+ encoding: UTF-8
237
+ string: ''
238
+ http_version:
239
+ recorded_at: Thu, 27 Feb 2014 01:13:18 GMT
240
+ - request:
241
+ method: post
242
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
243
+ body:
244
+ encoding: UTF-8
245
+ string: '{"tableReference":{"projectId":"985884699512","datasetId":"rspec_schema","tableId":"users"},"schema":[{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"created_at","type":"timestamp"},{"name":"taggable_id","type":"string"},{"name":"taggable_type","type":"string"},{"name":"admin","type":"boolean"},{"name":"updated_at","type":"timestamp"}]}]}'
246
+ headers:
247
+ User-Agent:
248
+ - |-
249
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
250
+ (gzip)
251
+ Content-Type:
252
+ - application/json
253
+ Accept-Encoding:
254
+ - gzip
255
+ Authorization:
256
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
257
+ Cache-Control:
258
+ - no-store
259
+ Accept:
260
+ - '*/*'
261
+ response:
262
+ status:
263
+ code: 200
264
+ message: OK
265
+ headers:
266
+ Cache-Control:
267
+ - no-cache, no-store, max-age=0, must-revalidate
268
+ Pragma:
269
+ - no-cache
270
+ Expires:
271
+ - Fri, 01 Jan 1990 00:00:00 GMT
272
+ Date:
273
+ - Thu, 27 Feb 2014 01:13:19 GMT
274
+ Etag:
275
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/4m8CNjY27kn-O-tOI14-h-Ti73g"'
276
+ Content-Type:
277
+ - application/json; charset=UTF-8
278
+ Content-Encoding:
279
+ - gzip
280
+ X-Content-Type-Options:
281
+ - nosniff
282
+ X-Frame-Options:
283
+ - SAMEORIGIN
284
+ X-Xss-Protection:
285
+ - 1; mode=block
286
+ Content-Length:
287
+ - '396'
288
+ Server:
289
+ - GSE
290
+ Alternate-Protocol:
291
+ - 443:quic
292
+ body:
293
+ encoding: ASCII-8BIT
294
+ string: !binary |-
295
+ H4sIAAAAAAAAAJWSXU/CMBSG7/crlnrLaMamfNyBIWQGmMJMXMSQsp2Nwr5c
296
+ OwkS/rtdh4oEErlp0/ec57zntN0pKlrTxEcdFS1o+F5Avr3hZBEBqokQcBKW
297
+ oRly+9EQPt2gN21s07R4mD/f6ZE+eGIvLjbj1v145Taa60SzNW5buqktNYc2
298
+ jXCGZB0qDUhII9DWlINmtpudnGXgzZm3hJjUCwY5k7kMomBIk3VJLDnPWAfj
299
+ zWZTD9M0jIBklNW9NMbf3eKPBs7ydAUeZ/ivA/YJJwyEfmyF5XgM/zpKYQIB
300
+ 5JB4IHx3iqqiQ1HrTOslpaJD9Srh2KEKy6pVsLJS1L2cr8o5uAQUIp+J06s4
301
+ SUmICYnLNsprq1UK32ZSmToTazxApbivnSHkfiXj5UA4+HPCT0nHGvWnTnf0
302
+ eBkWHyQsB51f3+sPKoErYeLHNDmFerY97HfHl6ki8/83qljeDu8lr4emiUOr
303
+ GrrRNsw747bdNlu6/D8RYXyU+lS8pX8+S9krX2gKQ9tqAwAA
304
+ http_version:
305
+ recorded_at: Thu, 27 Feb 2014 01:13:19 GMT
306
+ - request:
307
+ method: get
308
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
309
+ body:
310
+ encoding: UTF-8
311
+ string: ''
312
+ headers:
313
+ User-Agent:
314
+ - |-
315
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
316
+ (gzip)
317
+ Accept-Encoding:
318
+ - gzip
319
+ Content-Type:
320
+ - ''
321
+ Authorization:
322
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
323
+ Cache-Control:
324
+ - no-store
325
+ Accept:
326
+ - '*/*'
327
+ response:
328
+ status:
329
+ code: 200
330
+ message: OK
331
+ headers:
332
+ Expires:
333
+ - Thu, 27 Feb 2014 01:13:20 GMT
334
+ Date:
335
+ - Thu, 27 Feb 2014 01:13:20 GMT
336
+ Cache-Control:
337
+ - private, max-age=0, must-revalidate, no-transform
338
+ Etag:
339
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/0sirPFirr1rWuv3V0QSBPNhmoK8"'
340
+ Content-Type:
341
+ - application/json; charset=UTF-8
342
+ Content-Encoding:
343
+ - gzip
344
+ X-Content-Type-Options:
345
+ - nosniff
346
+ X-Frame-Options:
347
+ - SAMEORIGIN
348
+ X-Xss-Protection:
349
+ - 1; mode=block
350
+ Content-Length:
351
+ - '253'
352
+ Server:
353
+ - GSE
354
+ Alternate-Protocol:
355
+ - 443:quic
356
+ body:
357
+ encoding: ASCII-8BIT
358
+ string: !binary |-
359
+ H4sIAAAAAAAAAHWPy07DMBBF9/4Ka9hSaADx6I5IBRUi1FJeEUWVm05TU6cO
360
+ HgcpVPl3bCdILGDhjc+992h2jMNGbpcw4LCQ+UeFpt6zYqEwkWRh32G0Ivd4
361
+ BulQJfiVruLpUa11dTN/PI1UdD2hl/SwT9KMr6QxkXmuPo+f+pNpPL5bF/r2
362
+ fAZhJ6ySW3plnO/c+8/s0w7KgEQuFfY20mLv5OJsYKjEbE7ZGgtxUBEa6tKh
363
+ eY8rNLjN0DWDgUNp9DtmdvTHWNvksBRWEHaR34KfQNhucav0303nrUtvg4fL
364
+ OBl60DD+Fs7VVqiRxcKfHLGGfQOsOIAGawEAAA==
365
+ http_version:
366
+ recorded_at: Thu, 27 Feb 2014 01:13:20 GMT
367
+ - request:
368
+ method: get
369
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users
370
+ body:
371
+ encoding: UTF-8
372
+ string: ''
373
+ headers:
374
+ User-Agent:
375
+ - |-
376
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
377
+ (gzip)
378
+ Accept-Encoding:
379
+ - gzip
380
+ Content-Type:
381
+ - ''
382
+ Authorization:
383
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
384
+ Cache-Control:
385
+ - no-store
386
+ Accept:
387
+ - '*/*'
388
+ response:
389
+ status:
390
+ code: 200
391
+ message: OK
392
+ headers:
393
+ Expires:
394
+ - Thu, 27 Feb 2014 01:13:20 GMT
395
+ Date:
396
+ - Thu, 27 Feb 2014 01:13:20 GMT
397
+ Cache-Control:
398
+ - private, max-age=0, must-revalidate, no-transform
399
+ Etag:
400
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/QkgNLATnHKnHreDFOO2cmAypVT4"'
401
+ Content-Type:
402
+ - application/json; charset=UTF-8
403
+ Content-Encoding:
404
+ - gzip
405
+ X-Content-Type-Options:
406
+ - nosniff
407
+ X-Frame-Options:
408
+ - SAMEORIGIN
409
+ X-Xss-Protection:
410
+ - 1; mode=block
411
+ Content-Length:
412
+ - '418'
413
+ Server:
414
+ - GSE
415
+ Alternate-Protocol:
416
+ - 443:quic
417
+ body:
418
+ encoding: ASCII-8BIT
419
+ string: !binary |-
420
+ H4sIAAAAAAAAAJWSb0/CMBDG3+9TLPUtUPkjCu9GREEHKEwjUUPqdozK1s61
421
+ k0zDd7frJiKRRN6s6XP3u+eut0/DREvKPNQ20Qv13xKI0yNJXgJAJRUCSfws
422
+ 9ISm3cCGj+m8M6mlnCdXs7tmNahe3oqHKb5d+kPbcljvmvViOL8YjWpuaKXR
423
+ vdN4QroO1QbEpwGUl1RCudE6bcciAncm3AWEpJIIiIXOFRDMbcqWGbGQMhJt
424
+ jFerVcXn3A+ARFRUXB7i727xew1HMX8FVwr82wF7RBIBSt+2wno8gX8ctTCG
425
+ OcTAXFC+n4ZpoqJo/4/WM8pERfU8YdshD+uqeTC3Msy1ni/PKVzmFAJPqNuj
426
+ umlJiYyEWRvZs5VyRaaRVibOuD+8RJm4Lv1B6PNAxo2BSPBmRO6STn/QnTjW
427
+ 4GY/rH4QPxt0dnivG1QDB8LECynbhTqjkd21hvupJPL+N6r6PBf7YknYSSVk
428
+ O0LHqFDGfLUl6BeknDk0t6nWW/VGs37SajXOqjojIEIOuEfVur39WZtmrI7d
429
+ Rcba+AKdZI7QnwMAAA==
430
+ http_version:
431
+ recorded_at: Thu, 27 Feb 2014 01:13:21 GMT
432
+ - request:
433
+ method: get
434
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
435
+ body:
436
+ encoding: UTF-8
437
+ string: ''
438
+ headers:
439
+ User-Agent:
440
+ - |-
441
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
442
+ (gzip)
443
+ Accept-Encoding:
444
+ - gzip
445
+ Content-Type:
446
+ - ''
447
+ Authorization:
448
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
449
+ Cache-Control:
450
+ - no-store
451
+ Accept:
452
+ - '*/*'
453
+ response:
454
+ status:
455
+ code: 200
456
+ message: OK
457
+ headers:
458
+ Expires:
459
+ - Thu, 27 Feb 2014 01:13:21 GMT
460
+ Date:
461
+ - Thu, 27 Feb 2014 01:13:21 GMT
462
+ Cache-Control:
463
+ - private, max-age=0, must-revalidate, no-transform
464
+ Etag:
465
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/0sirPFirr1rWuv3V0QSBPNhmoK8"'
466
+ Content-Type:
467
+ - application/json; charset=UTF-8
468
+ Content-Encoding:
469
+ - gzip
470
+ X-Content-Type-Options:
471
+ - nosniff
472
+ X-Frame-Options:
473
+ - SAMEORIGIN
474
+ X-Xss-Protection:
475
+ - 1; mode=block
476
+ Content-Length:
477
+ - '253'
478
+ Server:
479
+ - GSE
480
+ Alternate-Protocol:
481
+ - 443:quic
482
+ body:
483
+ encoding: ASCII-8BIT
484
+ string: !binary |-
485
+ H4sIAAAAAAAAAHWPy07DMBBF9/4Ka9hSaADx6I5IBRUi1FJeEUWVm05TU6cO
486
+ HgcpVPl3bCdILGDhjc+992h2jMNGbpcw4LCQ+UeFpt6zYqEwkWRh32G0Ivd4
487
+ BulQJfiVruLpUa11dTN/PI1UdD2hl/SwT9KMr6QxkXmuPo+f+pNpPL5bF/r2
488
+ fAZhJ6ySW3plnO/c+8/s0w7KgEQuFfY20mLv5OJsYKjEbE7ZGgtxUBEa6tKh
489
+ eY8rNLjN0DWDgUNp9DtmdvTHWNvksBRWEHaR34KfQNhucav0303nrUtvg4fL
490
+ OBl60DD+Fs7VVqiRxcKfHLGGfQOsOIAGawEAAA==
491
+ http_version:
492
+ recorded_at: Thu, 27 Feb 2014 01:13:21 GMT
493
+ - request:
494
+ method: put
495
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users
496
+ body:
497
+ encoding: UTF-8
498
+ string: '{"tableReference":{"projectId":"985884699512","datasetId":"rspec_schema","tableId":"users"},"schema":[{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"created_at","type":"timestamp"},{"name":"taggable_id","type":"string"},{"name":"taggable_type","type":"string"},{"name":"admin","type":"boolean"},{"name":"updated_at","type":"timestamp"},{"name":"published","type":"boolean"}]}],"description":"added
499
+ from migration"}'
500
+ headers:
501
+ User-Agent:
502
+ - |-
503
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
504
+ (gzip)
505
+ Content-Type:
506
+ - application/json
507
+ Accept-Encoding:
508
+ - gzip
509
+ Authorization:
510
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
511
+ Cache-Control:
512
+ - no-store
513
+ Accept:
514
+ - '*/*'
515
+ response:
516
+ status:
517
+ code: 200
518
+ message: OK
519
+ headers:
520
+ Cache-Control:
521
+ - no-cache, no-store, max-age=0, must-revalidate
522
+ Pragma:
523
+ - no-cache
524
+ Expires:
525
+ - Fri, 01 Jan 1990 00:00:00 GMT
526
+ Date:
527
+ - Thu, 27 Feb 2014 01:13:22 GMT
528
+ Etag:
529
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/tN_8ANXTn2eoSDafQmqnIKbkVqc"'
530
+ Content-Type:
531
+ - application/json; charset=UTF-8
532
+ Content-Encoding:
533
+ - gzip
534
+ X-Content-Type-Options:
535
+ - nosniff
536
+ X-Frame-Options:
537
+ - SAMEORIGIN
538
+ X-Xss-Protection:
539
+ - 1; mode=block
540
+ Content-Length:
541
+ - '454'
542
+ Server:
543
+ - GSE
544
+ Alternate-Protocol:
545
+ - 443:quic
546
+ body:
547
+ encoding: ASCII-8BIT
548
+ string: !binary |-
549
+ H4sIAAAAAAAAAJ1STXPaMBC9+1d41CtB5aNp4AZTJkMLpAE3E6bpeIS1Niqy
550
+ ZCS5DM3w3yvJTkrScKAXafR233u7q30MQrRhgqJ+iFYs25ag9u8MWXFADRsC
551
+ QzIXekDLEZ/A72U6XLT3Upaf42+XLd66vtX3S2xm8dVgdh+JNsjFJ5Le5lsx
552
+ /rLa3G2TB+R1mDcgGeNwsWEGLrq9j32lC0hinawhJ81Sg9I+VwNPJ0xsHGNt
553
+ TKH7GO92u2YmZcaBFEw3E5njp2rxrzYulPwJidH4pQOmxBANFj+2wr49jf86
554
+ emAOKSgQCVjfxyAMUS06fqN0xwpRrV4lHDtUYa9aBSurIDw4Nwo6UawwTAqv
555
+ TCnQMFUyD3OWKeJxP4dKq64mZcCptq/v9uUhCwqSu3LdeBsVYvaFRxbRfDy7
556
+ Rg48NN5g+PtMTqKAGKAxMa+Z0Xg6WkSD6dfTZLtImRtIfH6tz1RPOJNMaM7E
557
+ a9Lw5mYyGsxOs8qC/n+rRbniTK/hn0Zf2NrjR70RosyHewPud9F7VCNzuTsC
558
+ /OztZkSs8mh1ep3uZedDr9e9avkMTrSZSsrsotDTWc9tDIaTEQoOwR+Wupfj
559
+ AQQAAA==
560
+ http_version:
561
+ recorded_at: Thu, 27 Feb 2014 01:13:22 GMT
562
+ - request:
563
+ method: get
564
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users
565
+ body:
566
+ encoding: UTF-8
567
+ string: ''
568
+ headers:
569
+ User-Agent:
570
+ - |-
571
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
572
+ (gzip)
573
+ Accept-Encoding:
574
+ - gzip
575
+ Content-Type:
576
+ - ''
577
+ Authorization:
578
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
579
+ Cache-Control:
580
+ - no-store
581
+ Accept:
582
+ - '*/*'
583
+ response:
584
+ status:
585
+ code: 200
586
+ message: OK
587
+ headers:
588
+ Expires:
589
+ - Thu, 27 Feb 2014 01:13:23 GMT
590
+ Date:
591
+ - Thu, 27 Feb 2014 01:13:23 GMT
592
+ Cache-Control:
593
+ - private, max-age=0, must-revalidate, no-transform
594
+ Etag:
595
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/WaHS-_IYT53B9AZ9sdOpjCCKZuo"'
596
+ Content-Type:
597
+ - application/json; charset=UTF-8
598
+ Content-Encoding:
599
+ - gzip
600
+ X-Content-Type-Options:
601
+ - nosniff
602
+ X-Frame-Options:
603
+ - SAMEORIGIN
604
+ X-Xss-Protection:
605
+ - 1; mode=block
606
+ Content-Length:
607
+ - '462'
608
+ Server:
609
+ - GSE
610
+ Alternate-Protocol:
611
+ - 443:quic
612
+ body:
613
+ encoding: ASCII-8BIT
614
+ string: !binary |-
615
+ H4sIAAAAAAAAAJ1SwXLaMBC9+ys86hVQDITU3HCGSWkhtOBOS5qOR1hro2Bb
616
+ qiSXoRn+vbLstIQmB3qRRm/3vbe72kfHRVtWUDR00ZqlP0qQ+zearDNALRMC
617
+ TdIqdI9W42wKv1ZJsOzuOS/fR58HXubdfFJfV/gLebdsR5NVeNkL/NGdr+hc
618
+ PFxff7gr+T2yOswakJRl0N4yDe2+fzWUSkAcqXgDOemUCqSyuQqyZMqKbcXY
619
+ aC3UEOPdbtdJOU8zIIKpTsxz/FQt/tnFQvIHiLXCzx0wJZooMPixFbbtKfzX
620
+ 0QILSEBCEYPxfXRcFzWikxdKr1guatTrhGOHOmxV62Bt5biHyo2CiiUTmvHC
621
+ KlMK1E0kz92cpZJY3M6h1mqqSRhkVJnXN/OykAELklflVuNt1YjeC4ssw8Xk
622
+ 9gZV4KH1AsPeZ3JiCUQDjYg+ZYaT2XgZjmYfXyebRUqrgUTn1/qHaglnkgnN
623
+ WXFKCubz6Xh0+zqrFPT/WxXlOmNqA/80+szWHN+bjSjKPNhrqH4XXaAGWfDd
624
+ EWBnbzYjZLWH1/N7/UHv0vf7bz2bkRGlZ5wysyj0JGtw0R14V/WqP7UxCqZj
625
+ 5Byc39B+vsUBBAAA
626
+ http_version:
627
+ recorded_at: Thu, 27 Feb 2014 01:13:23 GMT
628
+ - request:
629
+ method: get
630
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
631
+ body:
632
+ encoding: UTF-8
633
+ string: ''
634
+ headers:
635
+ User-Agent:
636
+ - |-
637
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
638
+ (gzip)
639
+ Accept-Encoding:
640
+ - gzip
641
+ Content-Type:
642
+ - ''
643
+ Authorization:
644
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
645
+ Cache-Control:
646
+ - no-store
647
+ Accept:
648
+ - '*/*'
649
+ response:
650
+ status:
651
+ code: 200
652
+ message: OK
653
+ headers:
654
+ Expires:
655
+ - Thu, 27 Feb 2014 01:13:24 GMT
656
+ Date:
657
+ - Thu, 27 Feb 2014 01:13:24 GMT
658
+ Cache-Control:
659
+ - private, max-age=0, must-revalidate, no-transform
660
+ Etag:
661
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/1HDTHv5DD0RqPTWbmaj0gvtGLUA"'
662
+ Content-Type:
663
+ - application/json; charset=UTF-8
664
+ Content-Encoding:
665
+ - gzip
666
+ X-Content-Type-Options:
667
+ - nosniff
668
+ X-Frame-Options:
669
+ - SAMEORIGIN
670
+ X-Xss-Protection:
671
+ - 1; mode=block
672
+ Content-Length:
673
+ - '253'
674
+ Server:
675
+ - GSE
676
+ Alternate-Protocol:
677
+ - 443:quic
678
+ body:
679
+ encoding: ASCII-8BIT
680
+ string: !binary |-
681
+ H4sIAAAAAAAAAHWPPW/CMBRFd/8K67GWllT9EGygIKDK0NIgiEqFnPAIBocE
682
+ 20FKUf57bSeVOrSDF59779G7EgpHftrCgELM03OJsupoFgsMuNJwYzBqllq8
683
+ hmgsAvyKdqP3+yrPy5fN4skT3uRNraI7b+qH08uj7/fm59dwGWfs0EsvehIs
684
+ hmtwO25VmaUPQunVvP/MNm0gd4ilXGD3yDV2H/rPA6kKTDYq2WPGbkuFUrVp
685
+ 15zjDiWeEjRNZ6BQyPyAiZ79MdY0KWyZZgrbyG/BT8BtN7hR2u+69VaFtUE4
686
+ HAVjC2pCP925uWZipjGzJ3ukJt96EXDzawEAAA==
687
+ http_version:
688
+ recorded_at: Thu, 27 Feb 2014 01:13:24 GMT
689
+ - request:
690
+ method: delete
691
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users
692
+ body:
693
+ encoding: UTF-8
694
+ string: ''
695
+ headers:
696
+ User-Agent:
697
+ - |-
698
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
699
+ (gzip)
700
+ Accept-Encoding:
701
+ - gzip
702
+ Content-Type:
703
+ - ''
704
+ Authorization:
705
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
706
+ Cache-Control:
707
+ - no-store
708
+ Accept:
709
+ - '*/*'
710
+ response:
711
+ status:
712
+ code: 204
713
+ message: No Content
714
+ headers:
715
+ Cache-Control:
716
+ - no-cache, no-store, max-age=0, must-revalidate
717
+ Pragma:
718
+ - no-cache
719
+ Expires:
720
+ - Fri, 01 Jan 1990 00:00:00 GMT
721
+ Date:
722
+ - Thu, 27 Feb 2014 01:13:25 GMT
723
+ Etag:
724
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
725
+ Server:
726
+ - GSE
727
+ Alternate-Protocol:
728
+ - 443:quic
729
+ body:
730
+ encoding: UTF-8
731
+ string: ''
732
+ http_version:
733
+ recorded_at: Thu, 27 Feb 2014 01:13:25 GMT
734
+ - request:
735
+ method: delete
736
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema
737
+ body:
738
+ encoding: UTF-8
739
+ string: ''
740
+ headers:
741
+ User-Agent:
742
+ - |-
743
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
744
+ (gzip)
745
+ Accept-Encoding:
746
+ - gzip
747
+ Content-Type:
748
+ - ''
749
+ Authorization:
750
+ - Bearer ya29.1.AADtN_Wu4qvCYADDzQgjnOOqfMEdwXV6TDGcsCrYI8TCjwz4eFCTsfdiuzSy2UBq
751
+ Cache-Control:
752
+ - no-store
753
+ Accept:
754
+ - '*/*'
755
+ response:
756
+ status:
757
+ code: 204
758
+ message: No Content
759
+ headers:
760
+ Cache-Control:
761
+ - no-cache, no-store, max-age=0, must-revalidate
762
+ Pragma:
763
+ - no-cache
764
+ Expires:
765
+ - Fri, 01 Jan 1990 00:00:00 GMT
766
+ Date:
767
+ - Thu, 27 Feb 2014 01:13:26 GMT
768
+ Etag:
769
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
770
+ Server:
771
+ - GSE
772
+ Alternate-Protocol:
773
+ - 443:quic
774
+ body:
775
+ encoding: UTF-8
776
+ string: ''
777
+ http_version:
778
+ recorded_at: Thu, 27 Feb 2014 01:13:26 GMT
779
+ recorded_with: VCR 2.8.0