bigbroda 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,713 @@
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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:25 GMT
37
+ Etag:
38
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/kCoxg94-jdolE8FRY130Xf_0FLA"'
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
+ - '388'
51
+ Server:
52
+ - GSE
53
+ Alternate-Protocol:
54
+ - 443:quic
55
+ body:
56
+ encoding: ASCII-8BIT
57
+ string: !binary |-
58
+ H4sIAAAAAAAAAI2R20/CMBTG3/dXLPVVKINxGU/ehsGgxqkBoobU7mxUyjrb
59
+ DkTj/27boIm36Ov5vvP7zuXF89GCFSnq++ie5Y8VyM1OSjRRoNGuEUGT3Iq3
60
+ aBrzETxPs4PL5kaI6mR23Ql4cHyhJlO8OBRPeRTWHlLB494gmQatxiSbNQaj
61
+ /VvkOMxFkJxxqC2YhloYdftSlUBnis5hSZxLAc9GrFhY71zrUvUxXq/X9VyI
62
+ nAMpmapTscTvk+JVE5dSPADVCn9m4+0SCn8L2SoJZCChoGDCXjz/oz50k37t
63
+ 8tE2aPjDIsjzXy2ZUApKGf3GNFim4QhuA1AS7x/FiSOZNQ2bEX4sRVVacYtO
64
+ gKQglaE53BfCOBle/UUYSzPRr4Tz8dlfgPN18b/+SoE82MRLwriVol671ws7
65
+ UdQOmnsprICLEmQ9N64Vo2AOI6pC2+c5tuff2XtRCUQzUVyxpQsIWlEr7LS6
66
+ zTBqR+5XnCh9KlKWMUh/dnmv3hsVsyZKxQIAAA==
67
+ http_version:
68
+ recorded_at: Thu, 27 Feb 2014 01:15:25 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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:26 GMT
103
+ Etag:
104
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/VlpQS_hCGqX4t1vb6BE2E_3uWaA"'
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
+ H4sIAAAAAAAAAHWRUU/CMBSF3/crlvoKlAHBwBvoJBiEMEAhYpayXUalW8da
125
+ IEj473bdjIjwsqbn3u+c27ujYaI1jXzUNNGCBpstJIc7SRYMUEGVQJIgLc3R
126
+ zGY9+Jot26PKgfPtszupW8zqDMV0hl9ZPBy5q4fOZlqT1m5Rb9sV261u30hr
127
+ jrQP1QEkoAyKayqhWGvcNxMRg+cKbwUhKW0FJEL3CmDLHo3WKbGSMhZNjPf7
128
+ fSngPGBAYipKHg/xz7R4V8Fxwj/BkwL/TcA+kUSA0s+jsH6ewL+JWnBgCQlE
129
+ Hqjco2GaKDftXhk9pUyUu2cN5wlZWbtmxSzKME/6fVlPnrKkwHyhbu/qpiUl
130
+ RiRMx0jXVsgUeYi1Mho73X4HpeKpcIXQ53UmV0Pua9Wxh5OuYz/e9iLBP6tu
131
+ f2x3bOc2swcarOQl9tQbtMa3ISrcUC3Yu8Tag0HPbvUzUH0+8g16CRBJeTSm
132
+ GW9VG9VavXpfqZetsv6jjAj5wn2qtutf7zJOxjchapDD/AIAAA==
133
+ http_version:
134
+ recorded_at: Thu, 27 Feb 2014 01:15:26 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":"1393463726","json":{"name":"User 2014-02-26 22:15:26
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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:27 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:15:27 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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:28 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:15:28 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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:29 GMT
274
+ Etag:
275
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/uJhIgI1stSUT7KgT-hkcdH5zheQ"'
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
+ - '397'
288
+ Server:
289
+ - GSE
290
+ Alternate-Protocol:
291
+ - 443:quic
292
+ body:
293
+ encoding: ASCII-8BIT
294
+ string: !binary |-
295
+ H4sIAAAAAAAAAJWSXU/CMBSG7/crlnoL1PEhgTtICA75EBiJRAwp69lWN7a5
296
+ dhIg/He7DhUJJHLTpu85z3nPabvXdOSzkKKmjlbM/Ugh2d4JsgoAFWQIBHGz
297
+ 0ALNO0EfdnOnPS1voyjtLWcPRmB0x/xljtOeZ7qmwcV0ZtWfXKvo+TZ9rO08
298
+ GC+QqsOUAXFZAEWfCShWG/VmwmOwl9z2YE1KKYeEq1wOgdNnoZ8RnhAxb2K8
299
+ 2WxKbhS5AZCY8ZIdrfF3t/izjOMkegdbcPzXAVMiCAepn1phNR7Hv45KmIAD
300
+ CYQ2SN+9puvoWNS80HpG6ehYPU84dcjDqmoezK00/aDmy3OOLg6DgHJ5epUn
301
+ JUkxJOusjezaCrkitrFSptbEHHZRJh4KFwi138jYCRABdEnEOWmZg87Uag2e
302
+ r8Pyg7jZoMvbe/1BFXAjTOiahedQezTqd1rD61Qa0/+NKpe343up62FRaLG8
303
+ hlFpVKoPlXq5cV+rqf8TEC4GEWXyLenlLO2gfQGCF22NagMAAA==
304
+ http_version:
305
+ recorded_at: Thu, 27 Feb 2014 01:15:29 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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:29 GMT
334
+ Date:
335
+ - Thu, 27 Feb 2014 01:15:29 GMT
336
+ Cache-Control:
337
+ - private, max-age=0, must-revalidate, no-transform
338
+ Etag:
339
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/XJ719iEz0XHe0cx60bWA1F-zf5Y"'
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
+ - '252'
352
+ Server:
353
+ - GSE
354
+ Alternate-Protocol:
355
+ - 443:quic
356
+ body:
357
+ encoding: ASCII-8BIT
358
+ string: !binary |-
359
+ H4sIAAAAAAAAAHWPz0/CMBiG7/0rmnp1uhqFwA2SqZBd/BW3iCFd+TYrhc22
360
+ S9zI/nfabiYe4NBLn/d9n3wHhMlW7Ddkikkmip8aVHNhWCYhFtqQS4vBsMLh
361
+ FUkjGUOb5vOXm6Ys6+X6bUQlfXjSSXqdLMd0IqI2TB4h5L+jMHuf0fugze/S
362
+ FfE7flXbpQ+E8cG+c2aXtlB4xAohIdgKA8HtZDxVugK+1vwLduyq1qD0kPbN
363
+ Z8hBwZ6DbXoDJpUqv4GbxYmxvonJhhmmYYj8F/wF/HaPe6X77gZvUzkbeZ3N
364
+ 48iBDuFPf25pmFwY2LmTKerQERyoOg1rAQAA
365
+ http_version:
366
+ recorded_at: Thu, 27 Feb 2014 01:15:30 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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:31 GMT
395
+ Date:
396
+ - Thu, 27 Feb 2014 01:15:31 GMT
397
+ Cache-Control:
398
+ - private, max-age=0, must-revalidate, no-transform
399
+ Etag:
400
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/oqwkjz4LgMSKl-aV0j_VPeYvdfA"'
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
+ H4sIAAAAAAAAAJWSXU/CMBSG7/crlnoLlC8lcAcJIejwA9BI1CxlPZuFbp1r
421
+ xwKG/27XTUUjidys6XvOc95zevZu2WjNIop6Nlqy4C2FZHumyJIDqugQKBLk
422
+ oWe0GHIHdgt/MGtuhUgv3fuLBm+M7uTjAou3bL3atZ1gMrviVfJQX7kPt7DY
423
+ UL//jEwdZgxIwDhU10xBtd3t9BIZg+dK7xVCUkslJNLkSuC+w6J1TrwqFcse
424
+ xlmW1QIhAg4kZrLmiRB/dos3TRwnYgWekvinA6ZEEQlaP7TCZjyJvx2NMAUf
425
+ Eog80L7vlm2jsuj4j9ZzykZl9SLh0KEIm6pFsLCy7L2Zr8gpXXwGnEp9e9I3
426
+ I2kxImHeRv5slUJR29gos/l0fD1Cubiv/EGY80TGS4AooC5Rv8n5eDKczfuT
427
+ 2+Ow/kGCfFD39F6/UAOcCBMasug3NLi5cYb96+NUGtP/jao/L+W+ojQcbBXk
428
+ O0J1VCpTkR0I5gWZiOassGm0uq32RavT7NbPz00GJ1JNBGV63fR41lcz/YEz
429
+ RNbe+gBwDYgqnwMAAA==
430
+ http_version:
431
+ recorded_at: Thu, 27 Feb 2014 01:15:32 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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:33 GMT
460
+ Date:
461
+ - Thu, 27 Feb 2014 01:15:33 GMT
462
+ Cache-Control:
463
+ - private, max-age=0, must-revalidate, no-transform
464
+ Etag:
465
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/XJ719iEz0XHe0cx60bWA1F-zf5Y"'
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
+ - '252'
478
+ Server:
479
+ - GSE
480
+ Alternate-Protocol:
481
+ - 443:quic
482
+ body:
483
+ encoding: ASCII-8BIT
484
+ string: !binary |-
485
+ H4sIAAAAAAAAAHWPz0/CMBiG7/0rmnp1uhqFwA2SqZBd/BW3iCFd+TYrhc22
486
+ S9zI/nfabiYe4NBLn/d9n3wHhMlW7Ddkikkmip8aVHNhWCYhFtqQS4vBsMLh
487
+ FUkjGUOb5vOXm6Ys6+X6bUQlfXjSSXqdLMd0IqI2TB4h5L+jMHuf0fugze/S
488
+ FfE7flXbpQ+E8cG+c2aXtlB4xAohIdgKA8HtZDxVugK+1vwLduyq1qD0kPbN
489
+ Z8hBwZ6DbXoDJpUqv4GbxYmxvonJhhmmYYj8F/wF/HaPe6X77gZvUzkbeZ3N
490
+ 48iBDuFPf25pmFwY2LmTKerQERyoOg1rAQAA
491
+ http_version:
492
+ recorded_at: Thu, 27 Feb 2014 01:15:33 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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:34 GMT
528
+ Etag:
529
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/_PhsnmT7XoUICfvzCejGugSbTso"'
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
+ - '453'
542
+ Server:
543
+ - GSE
544
+ Alternate-Protocol:
545
+ - 443:quic
546
+ body:
547
+ encoding: ASCII-8BIT
548
+ string: !binary |-
549
+ H4sIAAAAAAAAAJ1STW/iMBC951dE7pXiAm0R3KBCiBW0XUglUFtFJp4EFyfO
550
+ 2k4RrfjvtZ0sSz84sBdbfjPvvZnxvHs+WrOMoq6Pliz5U4Dcnmmy5IBqJgSa
551
+ JDb0hBYDPoa3RdyfNbdCFL/Ch+sGbwx/q/kCh/crlaVBey4eRjfx69sNvAyL
552
+ ZLYMlHhCToc5A5IwDudrpuH8stPuSpVDFKpoBSmpFwqkcrkKeDxm2doyVlrn
553
+ qovxZrOpJ0IkHEjOVD0SKf5bLX5t4lyKF4i0wp8dMCWaKDD4oRV27Sn8z9EB
554
+ U4hBQhaB8X33fB9VoqMfSrcsH1XqZcKhQxl2qmWwtPL8nXWjoCLJcs1E5pQp
555
+ BerHUqR+yhJJHO7mUGpV1cQMOFXm9WheDjJgRlJbrh1vrUT0NnfILJiObofI
556
+ grvaDwx3n8iJJBANNCT6KzMYTQazoDe5P042i5TYgYSn17qnOsKJZEJTln0l
557
+ 9e/uxoPe7XFWkdP/bzUvlpypFXxr9JOtOZ6rjciKtL/VYH8XXaAKmYrNAeBm
558
+ bzYjYKVHo9VpXV632s3OxdWVy+BE6YmgzCwKPZ61b6PXHw+Qt/M+AAnymTYB
559
+ BAAA
560
+ http_version:
561
+ recorded_at: Thu, 27 Feb 2014 01:15:34 GMT
562
+ - request:
563
+ method: get
564
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
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_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
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:15:35 GMT
590
+ Date:
591
+ - Thu, 27 Feb 2014 01:15:35 GMT
592
+ Cache-Control:
593
+ - private, max-age=0, must-revalidate, no-transform
594
+ Etag:
595
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/EzvdSNkMI9tIO0ev_B1nMqVFYg0"'
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
+ - '253'
608
+ Server:
609
+ - GSE
610
+ Alternate-Protocol:
611
+ - 443:quic
612
+ body:
613
+ encoding: ASCII-8BIT
614
+ string: !binary |-
615
+ H4sIAAAAAAAAAHWPUUvDMBSF3/MrQnx1bhVRtjcLVSqdonNi2aRk7V2Nzdou
616
+ uR10o//dJK3ggz7kJd855+OeCGWFKDM2o2wj8n0Dqj1DvpEQCY3s3GBAnlu8
617
+ ZnEgIzjGW39x2VZV85Asrz3p3T/r93gcHA/Z4rGYh1MMnyZwSHyvnO/f7uJ8
618
+ smZux61qs7QilJ7M+89s0wYKh3guJIwKgTC6mt7MlK4hTXT6CTt+0WhQeki7
619
+ 5gtsQUGZgmk6A2W1qr4gxfCPsb5JWcaRaxgivwU/Abfd415pv7vB29bWxl5v
620
+ /SiwoCP0w51bIZchws6e7JGOfAPQzz2DawEAAA==
621
+ http_version:
622
+ recorded_at: Thu, 27 Feb 2014 01:15:35 GMT
623
+ - request:
624
+ method: delete
625
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users
626
+ body:
627
+ encoding: UTF-8
628
+ string: ''
629
+ headers:
630
+ User-Agent:
631
+ - |-
632
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
633
+ (gzip)
634
+ Accept-Encoding:
635
+ - gzip
636
+ Content-Type:
637
+ - ''
638
+ Authorization:
639
+ - Bearer ya29.1.AADtN_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
640
+ Cache-Control:
641
+ - no-store
642
+ Accept:
643
+ - '*/*'
644
+ response:
645
+ status:
646
+ code: 204
647
+ message: No Content
648
+ headers:
649
+ Cache-Control:
650
+ - no-cache, no-store, max-age=0, must-revalidate
651
+ Pragma:
652
+ - no-cache
653
+ Expires:
654
+ - Fri, 01 Jan 1990 00:00:00 GMT
655
+ Date:
656
+ - Thu, 27 Feb 2014 01:15:36 GMT
657
+ Etag:
658
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
659
+ Server:
660
+ - GSE
661
+ Alternate-Protocol:
662
+ - 443:quic
663
+ body:
664
+ encoding: UTF-8
665
+ string: ''
666
+ http_version:
667
+ recorded_at: Thu, 27 Feb 2014 01:15:36 GMT
668
+ - request:
669
+ method: delete
670
+ uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema
671
+ body:
672
+ encoding: UTF-8
673
+ string: ''
674
+ headers:
675
+ User-Agent:
676
+ - |-
677
+ google-api-ruby-client/0.7.1 Mac OS X/10.9
678
+ (gzip)
679
+ Accept-Encoding:
680
+ - gzip
681
+ Content-Type:
682
+ - ''
683
+ Authorization:
684
+ - Bearer ya29.1.AADtN_XhqguaqxV0pr8U9vF1JIHDrYQIKxWqFK1XJc6HFECUC39WsFei8BrCOGLS
685
+ Cache-Control:
686
+ - no-store
687
+ Accept:
688
+ - '*/*'
689
+ response:
690
+ status:
691
+ code: 204
692
+ message: No Content
693
+ headers:
694
+ Cache-Control:
695
+ - no-cache, no-store, max-age=0, must-revalidate
696
+ Pragma:
697
+ - no-cache
698
+ Expires:
699
+ - Fri, 01 Jan 1990 00:00:00 GMT
700
+ Date:
701
+ - Thu, 27 Feb 2014 01:15:36 GMT
702
+ Etag:
703
+ - '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
704
+ Server:
705
+ - GSE
706
+ Alternate-Protocol:
707
+ - 443:quic
708
+ body:
709
+ encoding: UTF-8
710
+ string: ''
711
+ http_version:
712
+ recorded_at: Thu, 27 Feb 2014 01:15:37 GMT
713
+ recorded_with: VCR 2.8.0