bigbroda 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +25 -0
- data/.pryrc +3 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/Gemfile +18 -0
- data/LICENSE.txt +22 -0
- data/README.md +408 -0
- data/Rakefile +12 -0
- data/google_bigquery.gemspec +30 -0
- data/lib/.DS_Store +0 -0
- data/lib/active_record/.DS_Store +0 -0
- data/lib/active_record/connection_adapters/bigquery_adapter.rb +949 -0
- data/lib/active_record/tasks/bigquery_database_tasks.rb +42 -0
- data/lib/generators/.DS_Store +0 -0
- data/lib/generators/google_bigquery/.DS_Store +0 -0
- data/lib/generators/google_bigquery/install/install_generator.rb +21 -0
- data/lib/generators/templates/README +11 -0
- data/lib/generators/templates/bigquery.rb.erb +7 -0
- data/lib/google_bigquery/auth.rb +27 -0
- data/lib/google_bigquery/client.rb +52 -0
- data/lib/google_bigquery/config.rb +17 -0
- data/lib/google_bigquery/dataset.rb +77 -0
- data/lib/google_bigquery/engine.rb +21 -0
- data/lib/google_bigquery/jobs.rb +173 -0
- data/lib/google_bigquery/project.rb +16 -0
- data/lib/google_bigquery/railtie.rb +39 -0
- data/lib/google_bigquery/table.rb +63 -0
- data/lib/google_bigquery/table_data.rb +23 -0
- data/lib/google_bigquery/version.rb +3 -0
- data/lib/google_bigquery.rb +27 -0
- data/spec/.DS_Store +0 -0
- data/spec/dummy/.DS_Store +0 -0
- data/spec/dummy/.gitignore +20 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +16 -0
- data/spec/dummy/app/assets/stylesheets/application.css.scss +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +4 -0
- data/spec/dummy/app/helpers/application_helper.rb +3 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/log_data.rb +3 -0
- data/spec/dummy/app/models/post.rb +3 -0
- data/spec/dummy/app/models/user.rb +4 -0
- data/spec/dummy/app/views/layouts/application.html.haml +32 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +11 -0
- data/spec/dummy/config/database.yml +32 -0
- data/spec/dummy/config/environment.rb +6 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +8 -0
- data/spec/dummy/config/initializers/bigquery.rb +19 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +6 -0
- data/spec/dummy/config/initializers/secret_token.rb +8 -0
- data/spec/dummy/config/initializers/session_store.rb +9 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +15 -0
- data/spec/dummy/config/locales/devise.en.yml +58 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/locales/simple_form.en.yml +26 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20140224051640_create_users.rb +11 -0
- data/spec/dummy/db/migrate/20140224063709_add_last_name_to_user.rb +5 -0
- data/spec/dummy/db/migrate/20140225014314_create_log_data.rb +12 -0
- data/spec/dummy/db/migrate/20140227015551_create_posts.rb +9 -0
- data/spec/dummy/db/schema.rb +39 -0
- data/spec/dummy/db/schema_migrations.json +1 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/test/fixtures/log_data.yml +9 -0
- data/spec/dummy/test/fixtures/posts.yml +11 -0
- data/spec/dummy/test/fixtures/users.yml +11 -0
- data/spec/dummy/test/models/log_data_test.rb +7 -0
- data/spec/dummy/test/models/post_test.rb +7 -0
- data/spec/dummy/test/models/user_test.rb +7 -0
- data/spec/fixtures/.DS_Store +0 -0
- data/spec/fixtures/configs/account_config.yml-example +6 -0
- data/spec/fixtures/keys/.DS_Store +0 -0
- data/spec/fixtures/keys/example-privatekey-p12 +0 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/.DS_Store +0 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/adapter/simple_quering.yml +324 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/after_each.yml +154 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/authorize_config.yml +367 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/create_each.yml +195 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/_down/adds_the_email_at_utc_hour_column.yml +575 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/_up/adds_the_created_at_updated_at_column.yml +644 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/add_column/adds_published_column.yml +779 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/associations/users_posts.yml +1464 -0
- data/spec/fixtures/vcr_cassettes/ActiveRecord_Adapter/migrations/remove_column/should_raise_error.yml +713 -0
- data/spec/fixtures/vcr_cassettes/Dataset/_list.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Dataset/authorize_config.yml +367 -0
- data/spec/fixtures/vcr_cassettes/Dataset/operations/_get_delete.yml +237 -0
- data/spec/fixtures/vcr_cassettes/Dataset/operations/_patch_delete.yml +240 -0
- data/spec/fixtures/vcr_cassettes/Dataset/operations/_update_delete.yml +297 -0
- data/spec/fixtures/vcr_cassettes/Dataset/operations/create_delete.yml +173 -0
- data/spec/fixtures/vcr_cassettes/Project/_list.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Project/authorize_config.yml +2166 -0
- data/spec/fixtures/vcr_cassettes/Table/authorize_config.yml +367 -0
- data/spec/fixtures/vcr_cassettes/Table/operations/creation_edition/_create_delete.yml +404 -0
- data/spec/fixtures/vcr_cassettes/Table/operations/creation_edition/_create_update_delete.yml +471 -0
- data/spec/fixtures/vcr_cassettes/Table/operations/list.yml +232 -0
- data/spec/fixtures/vcr_cassettes/TableData/authorize_config.yml +2166 -0
- data/spec/fixtures/vcr_cassettes/TableData/create_each.yml +135 -0
- data/spec/fixtures/vcr_cassettes/TableData/delete_each.yml +154 -0
- data/spec/fixtures/vcr_cassettes/TableData/insertAll2.yml +189 -0
- data/spec/fixtures/vcr_cassettes/auth.yml +2168 -0
- data/spec/fixtures/vcr_cassettes/authorize_config.yml +2166 -0
- data/spec/fixtures/vcr_cassettes/datasets.yml +119 -0
- data/spec/fixtures/vcr_cassettes/delete_each_dataset.yml +48 -0
- data/spec/functional/adapter/adapter_spec.rb +213 -0
- data/spec/functional/auth_spec.rb +24 -0
- data/spec/functional/client_spec.rb +9 -0
- data/spec/functional/config_spec.rb +24 -0
- data/spec/functional/dataset_spec.rb +77 -0
- data/spec/functional/project_spec.rb +24 -0
- data/spec/functional/table_data_spec.rb +61 -0
- data/spec/functional/table_spec.rb +105 -0
- data/spec/models/user_spec.rb +0 -0
- data/spec/spec_helper.rb +48 -0
- data/spec/support/models.rb +11 -0
- data/spec/support/schema.rb +43 -0
- metadata +370 -0
@@ -0,0 +1,240 @@
|
|
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_XDWa2k4hDX5nwfmzNmCOYsPfLzMtP29_tGUbHHrWEOcjPO_LwPhGMlZq1u
|
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
|
+
- Wed, 26 Feb 2014 02:25:21 GMT
|
37
|
+
Etag:
|
38
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/ZXwFqU2nc3lq9RcsjQcLgA_EO54"'
|
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
|
+
H4sIAAAAAAAAAI2RXU/CMBSG7/crlnor1I2hjCs1ToNBiVMC+BFSu8OolHW0
|
59
|
+
HQsa/7ttgyZ+RW/P+57nPR8vno8WrMhQ10ePLF9VIDc7GdFEgUa7RgRNcive
|
60
|
+
o0nC+/A8mR1fhxshqvPpcD/gwdmVGk/w7bg+XQ3Dgrb4Kk6perqi/fxomgza
|
61
|
+
0T1yHOYiSM44NBZMQyOKD7pSlUCnis5hSZxLAZ/1WbGw3rnWpepiXNd1Mxci
|
62
|
+
50BKpppULPH7pHgd4lKKJ6Ba4c9svF1C4W8hWyWFGUgoKJiwF8//qPfcpF+7
|
63
|
+
fLQN6v2wCPL8V0smlIJSRr8zDZZpOILbAJQmRydJ6khmTcNmhJ9JUZVW3KJT
|
64
|
+
IBlIZWgO94UwSns3fxFG0kz0K2EwuvwLMKiL//VXCuTxJlkSxq0Ud9qdTrQf
|
65
|
+
x+0gPMxgDVyUIJu5ca0ZBXMYURXaPs+xPf/B3otKIJqJ4oYtXUDQilutTtAO
|
66
|
+
9+Iocr/iROkLkbEZg+xnl/fqvQE1xWNJxQIAAA==
|
67
|
+
http_version:
|
68
|
+
recorded_at: Wed, 26 Feb 2014 02:25:21 GMT
|
69
|
+
- request:
|
70
|
+
method: put
|
71
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema
|
72
|
+
body:
|
73
|
+
encoding: UTF-8
|
74
|
+
string: '{"datasetReference":{"datasetId":"rspec_schema"},"description":"foobar"}'
|
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_XDWa2k4hDX5nwfmzNmCOYsPfLzMtP29_tGUbHHrWEOcjPO_LwPhGMlZq1u
|
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
|
+
- Wed, 26 Feb 2014 02:25:22 GMT
|
103
|
+
Etag:
|
104
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/pfkuNVeEYJJcuUoiZdRL_pOKiLw"'
|
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
|
+
- '408'
|
117
|
+
Server:
|
118
|
+
- GSE
|
119
|
+
Alternate-Protocol:
|
120
|
+
- 443:quic
|
121
|
+
body:
|
122
|
+
encoding: ASCII-8BIT
|
123
|
+
string: !binary |-
|
124
|
+
H4sIAAAAAAAAAI2RUW/TMBSF3/MrIvPKapK2I+nTNhFNLWUVYaN0bKo85ya7
|
125
|
+
1I2N7TQq0/47tlWQ2EDj9Z7j812f+xDFZINtRSYxucPmewd6/6pilhmw5LUT
|
126
|
+
wbLGizdkVYg5/FjVZ5/SvZTdbH11nIjk/KP5sqKq3nQXn6FYzWa8u5J4XZXz
|
127
|
+
tVq8x3l/Q0IOBgRrUMDRBi0cjfK3E20U8LXh97BlwWVA1HNsN957b60yE0r7
|
128
|
+
vh80UjYCmEIz4HJLf21KdylVWn4Dbg39M5sePmHoM8hBKaEGDS0HB3uI4t/z
|
129
|
+
adj06auYHEDTv3yERPFjSAbDNSqLsvWmWso7pgOTcQ7GuOFXF+VpjiCFR5Oy
|
130
|
+
OH1XlIHhCnBUZOJcy0558QAtgVWgjeME0JOEZTm9fClhqd2u/0xYLC9eClj0
|
131
|
+
7f+97wzos32xZSi8lGfjLBsd5/k4SU8q2IGQCvSgca4dcnDFyK61/qwhO4pv
|
132
|
+
fV9cA/M1XuI2AJJhPhxmyTh9k49GoVHBjP0gK6wRqmeuNEvcUR6jn26diczf
|
133
|
+
AgAA
|
134
|
+
http_version:
|
135
|
+
recorded_at: Wed, 26 Feb 2014 02:25:22 GMT
|
136
|
+
- request:
|
137
|
+
method: get
|
138
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
|
139
|
+
body:
|
140
|
+
encoding: UTF-8
|
141
|
+
string: ''
|
142
|
+
headers:
|
143
|
+
User-Agent:
|
144
|
+
- |-
|
145
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
146
|
+
(gzip)
|
147
|
+
Accept-Encoding:
|
148
|
+
- gzip
|
149
|
+
Content-Type:
|
150
|
+
- ''
|
151
|
+
Authorization:
|
152
|
+
- Bearer ya29.1.AADtN_XDWa2k4hDX5nwfmzNmCOYsPfLzMtP29_tGUbHHrWEOcjPO_LwPhGMlZq1u
|
153
|
+
Cache-Control:
|
154
|
+
- no-store
|
155
|
+
Accept:
|
156
|
+
- '*/*'
|
157
|
+
response:
|
158
|
+
status:
|
159
|
+
code: 200
|
160
|
+
message: OK
|
161
|
+
headers:
|
162
|
+
Expires:
|
163
|
+
- Wed, 26 Feb 2014 02:25:23 GMT
|
164
|
+
Date:
|
165
|
+
- Wed, 26 Feb 2014 02:25:23 GMT
|
166
|
+
Cache-Control:
|
167
|
+
- private, max-age=0, must-revalidate, no-transform
|
168
|
+
Etag:
|
169
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/bl17EzoOcn5KZiiu83RaD39q0E8"'
|
170
|
+
Content-Type:
|
171
|
+
- application/json; charset=UTF-8
|
172
|
+
Content-Encoding:
|
173
|
+
- gzip
|
174
|
+
X-Content-Type-Options:
|
175
|
+
- nosniff
|
176
|
+
X-Frame-Options:
|
177
|
+
- SAMEORIGIN
|
178
|
+
X-Xss-Protection:
|
179
|
+
- 1; mode=block
|
180
|
+
Content-Length:
|
181
|
+
- '137'
|
182
|
+
Server:
|
183
|
+
- GSE
|
184
|
+
Alternate-Protocol:
|
185
|
+
- 443:quic
|
186
|
+
body:
|
187
|
+
encoding: ASCII-8BIT
|
188
|
+
string: !binary |-
|
189
|
+
H4sIAAAAAAAAAKvmUlDKzsxLUbJSUErKTC8sTS2qVC5JTMpJ9cksLlHSAUqn
|
190
|
+
liSmg6RjlCJdc3xSqyLTnIKNKvPzS73iQ80McwzdA4sjIvWTcgzNXavy/ZPz
|
191
|
+
TL2jMjNLLYyDEl2MLQsNXC1ilMDmlOSXJOZ4lqTmFgNNM+Cq5QIATHC61nwA
|
192
|
+
AAA=
|
193
|
+
http_version:
|
194
|
+
recorded_at: Wed, 26 Feb 2014 02:25:23 GMT
|
195
|
+
- request:
|
196
|
+
method: delete
|
197
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema
|
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_XDWa2k4hDX5nwfmzNmCOYsPfLzMtP29_tGUbHHrWEOcjPO_LwPhGMlZq1u
|
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
|
+
- Wed, 26 Feb 2014 02:25:24 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: Wed, 26 Feb 2014 02:25:24 GMT
|
240
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,297 @@
|
|
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_VRd9J17CLjyAsxpE1mATL9cns-ijn-bnEU6nTn8EwflnbIIeJ1_fNAvzXh
|
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
|
+
- Wed, 26 Feb 2014 02:22:57 GMT
|
37
|
+
Etag:
|
38
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/orYZbT-Y0DUd3slAa8ntts11r9E"'
|
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
|
+
- '386'
|
51
|
+
Server:
|
52
|
+
- GSE
|
53
|
+
Alternate-Protocol:
|
54
|
+
- 443:quic
|
55
|
+
body:
|
56
|
+
encoding: ASCII-8BIT
|
57
|
+
string: !binary |-
|
58
|
+
H4sIAAAAAAAAAI2RXU/CMBSG7/crlnor1DKFjSs1LgbjR5wYnB8xtTvMSlln
|
59
|
+
20GQ+N9tGzQRMXp73vc87/lYBiGa8KpA/RA98fK1AbXYKqihGgzatiIYWjrx
|
60
|
+
HuWpOIW3fHx41VlI2Zw8XneJIMeX+ibHUuW3T8NWvnN0XURaHNC4MkYTopL0
|
61
|
+
HnkO9xG05AJaE26gtZv0+krXwB41e4Yp9S4NYnzKq4nzPhtT6z7G8/m8XUpZ
|
62
|
+
CqA1120mp/hzUjzr4FrJF2BG4+9svFpC4x8hKyWDMSioGNiwZRB+1Qd+0vWu
|
63
|
+
EK2CBhsWQUH47siUMdDa6ne2wTEtRwoXgLL04CjNPMmuadmcimMlm9qJK3QG
|
64
|
+
tAClLc3j1gijbDD8izBSdqJfCRej878AF/Pqf/2NBnW4SKeUCycl8V4c73aT
|
65
|
+
ZI909guYgZA1qHZpXTPOwB5GNpVxz/PsIHxw92IKqOGyGvKpDyBREkUxiXo9
|
66
|
+
Qrr+V4JqcyYLPuZQbHYF78EHu/oc2MUCAAA=
|
67
|
+
http_version:
|
68
|
+
recorded_at: Wed, 26 Feb 2014 02:22:57 GMT
|
69
|
+
- request:
|
70
|
+
method: put
|
71
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema
|
72
|
+
body:
|
73
|
+
encoding: UTF-8
|
74
|
+
string: '{"datasetReference":{"datasetId":"rspec_schema"},"description":"foobar"}'
|
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_VRd9J17CLjyAsxpE1mATL9cns-ijn-bnEU6nTn8EwflnbIIeJ1_fNAvzXh
|
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
|
+
- Wed, 26 Feb 2014 02:22:58 GMT
|
103
|
+
Etag:
|
104
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/u_mL4TRyMVwXX7LSPTehUSXV9Aw"'
|
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
|
+
- '409'
|
117
|
+
Server:
|
118
|
+
- GSE
|
119
|
+
Alternate-Protocol:
|
120
|
+
- 443:quic
|
121
|
+
body:
|
122
|
+
encoding: ASCII-8BIT
|
123
|
+
string: !binary |-
|
124
|
+
H4sIAAAAAAAAAI2R3W/aMBTF3/NXRN5rixW+kvA0UFFFRdctQAG1FXKdm+Dh
|
125
|
+
xJntELGK/322xSr1S+2rz7nnd+/xk+ejHStTNPDRI8v/1CAP31KiiQKNzowI
|
126
|
+
muRWvEfrMZ/C33U2mrUPQtRXm0U/4MHlL7Va43pTTLvz5HB926xW4XT2cw7b
|
127
|
+
xWx1Gw+be+RymEOQnHE43zEN5904HEhVAd0ouoWCOJcCnk1ZubPerdaVGmDc
|
128
|
+
NE0rFyLnQCqmWlQU+P+meN/GlRS/gWqFX2bj0xEKv4GclAQykFBSMLAnz39+
|
129
|
+
n7hNX0/56ASavHMI8vyjSwZFJas0E6U1ZUI8EumYhFJQyjzemShLMwTBLRol
|
130
|
+
4+HFOHEMU4ChMsIvpagrK56gCZAUpDIcB3qVsEwm888SltLs+mHCzfLHZwE3
|
131
|
+
Tfm1+VqBHB3GBWHcSnHUi6JuP457Qft7CnvgogLZyo1rzyiYYkRdavutLtvz
|
132
|
+
H2xfVAKxNc5Z4QBBJ+50oqAThkHQd41yovS1SFnGIH3jisJeD3lH7x9k755b
|
133
|
+
3wIAAA==
|
134
|
+
http_version:
|
135
|
+
recorded_at: Wed, 26 Feb 2014 02:22:58 GMT
|
136
|
+
- request:
|
137
|
+
method: get
|
138
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
|
139
|
+
body:
|
140
|
+
encoding: UTF-8
|
141
|
+
string: ''
|
142
|
+
headers:
|
143
|
+
User-Agent:
|
144
|
+
- |-
|
145
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
146
|
+
(gzip)
|
147
|
+
Accept-Encoding:
|
148
|
+
- gzip
|
149
|
+
Content-Type:
|
150
|
+
- ''
|
151
|
+
Authorization:
|
152
|
+
- Bearer ya29.1.AADtN_VRd9J17CLjyAsxpE1mATL9cns-ijn-bnEU6nTn8EwflnbIIeJ1_fNAvzXh
|
153
|
+
Cache-Control:
|
154
|
+
- no-store
|
155
|
+
Accept:
|
156
|
+
- '*/*'
|
157
|
+
response:
|
158
|
+
status:
|
159
|
+
code: 200
|
160
|
+
message: OK
|
161
|
+
headers:
|
162
|
+
Expires:
|
163
|
+
- Wed, 26 Feb 2014 02:22:59 GMT
|
164
|
+
Date:
|
165
|
+
- Wed, 26 Feb 2014 02:22:59 GMT
|
166
|
+
Cache-Control:
|
167
|
+
- private, max-age=0, must-revalidate, no-transform
|
168
|
+
Etag:
|
169
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/bl17EzoOcn5KZiiu83RaD39q0E8"'
|
170
|
+
Content-Type:
|
171
|
+
- application/json; charset=UTF-8
|
172
|
+
Content-Encoding:
|
173
|
+
- gzip
|
174
|
+
X-Content-Type-Options:
|
175
|
+
- nosniff
|
176
|
+
X-Frame-Options:
|
177
|
+
- SAMEORIGIN
|
178
|
+
X-Xss-Protection:
|
179
|
+
- 1; mode=block
|
180
|
+
Content-Length:
|
181
|
+
- '137'
|
182
|
+
Server:
|
183
|
+
- GSE
|
184
|
+
Alternate-Protocol:
|
185
|
+
- 443:quic
|
186
|
+
body:
|
187
|
+
encoding: ASCII-8BIT
|
188
|
+
string: !binary |-
|
189
|
+
H4sIAAAAAAAAAKvmUlDKzsxLUbJSUErKTC8sTS2qVC5JTMpJ9cksLlHSAUqn
|
190
|
+
liSmg6RjlCJdc3xSqyLTnIKNKvPzS73iQ80McwzdA4sjIvWTcgzNXavy/ZPz
|
191
|
+
TL2jMjNLLYyDEl2MLQsNXC1ilMDmlOSXJOZ4lqTmFgNNM+Cq5QIATHC61nwA
|
192
|
+
AAA=
|
193
|
+
http_version:
|
194
|
+
recorded_at: Wed, 26 Feb 2014 02:22:59 GMT
|
195
|
+
- request:
|
196
|
+
method: delete
|
197
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema
|
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_VRd9J17CLjyAsxpE1mATL9cns-ijn-bnEU6nTn8EwflnbIIeJ1_fNAvzXh
|
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
|
+
- Wed, 26 Feb 2014 02:23:00 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: Wed, 26 Feb 2014 02:23:00 GMT
|
240
|
+
- request:
|
241
|
+
method: get
|
242
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
|
243
|
+
body:
|
244
|
+
encoding: UTF-8
|
245
|
+
string: ''
|
246
|
+
headers:
|
247
|
+
User-Agent:
|
248
|
+
- |-
|
249
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
250
|
+
(gzip)
|
251
|
+
Accept-Encoding:
|
252
|
+
- gzip
|
253
|
+
Content-Type:
|
254
|
+
- ''
|
255
|
+
Authorization:
|
256
|
+
- Bearer ya29.1.AADtN_VRd9J17CLjyAsxpE1mATL9cns-ijn-bnEU6nTn8EwflnbIIeJ1_fNAvzXh
|
257
|
+
Cache-Control:
|
258
|
+
- no-store
|
259
|
+
Accept:
|
260
|
+
- '*/*'
|
261
|
+
response:
|
262
|
+
status:
|
263
|
+
code: 404
|
264
|
+
message: Not Found
|
265
|
+
headers:
|
266
|
+
Content-Type:
|
267
|
+
- application/json; charset=UTF-8
|
268
|
+
Content-Encoding:
|
269
|
+
- gzip
|
270
|
+
Date:
|
271
|
+
- Wed, 26 Feb 2014 02:23:01 GMT
|
272
|
+
Expires:
|
273
|
+
- Wed, 26 Feb 2014 02:23:01 GMT
|
274
|
+
Cache-Control:
|
275
|
+
- private, max-age=0
|
276
|
+
X-Content-Type-Options:
|
277
|
+
- nosniff
|
278
|
+
X-Frame-Options:
|
279
|
+
- SAMEORIGIN
|
280
|
+
X-Xss-Protection:
|
281
|
+
- 1; mode=block
|
282
|
+
Content-Length:
|
283
|
+
- '151'
|
284
|
+
Server:
|
285
|
+
- GSE
|
286
|
+
Alternate-Protocol:
|
287
|
+
- 443:quic
|
288
|
+
body:
|
289
|
+
encoding: ASCII-8BIT
|
290
|
+
string: !binary |-
|
291
|
+
H4sIAAAAAAAAAKWMQQqCIRBG955CXPdDCyFyHS27QERMOpikTji2+vHuqdUJ
|
292
|
+
2gy895hvFVJhKVSUkauQX+BO505TdekoQchdKh/pBlFtPr4gME2fqR7pld2v
|
293
|
+
JGQGjyOdqMrZjDxABcYqwYeIyyNUXPR+Zwo/0V7Z3jGBGv+tn8tYUpbcGNFb
|
294
|
+
PfGf2SaaeAOlRvik7wAAAA==
|
295
|
+
http_version:
|
296
|
+
recorded_at: Wed, 26 Feb 2014 02:23:01 GMT
|
297
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,173 @@
|
|
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_VRd9J17CLjyAsxpE1mATL9cns-ijn-bnEU6nTn8EwflnbIIeJ1_fNAvzXh
|
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
|
+
- Wed, 26 Feb 2014 02:21:18 GMT
|
37
|
+
Etag:
|
38
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/a2-vxQhcrSAsCt-wg9Gq8C0F7qU"'
|
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
|
+
H4sIAAAAAAAAAI2RXU/CMBSG7/crlnor1A2VjSsVkWD8iFODRA2p3WFUyjra
|
59
|
+
jomE/27boImI0dvzvud5z8fS89GE5Slq+eiFZbMS5GInJZoo0GjXiKBJZsUn
|
60
|
+
NOjwC3gfjE5uw4UQ5fnw/jDgQfdGPQwwCWvzt5sxlbfHqq1rVRZ3Z1F776w5
|
61
|
+
u39CjsNcBMkYh9qEaajtx82WVAXQoaJjmBLnUsBHFyyfWO9Y60K1MK6qqp4J
|
62
|
+
kXEgBVN1Kqb4c1I8D3EhxStQrfB3Nl4vofCPkLWSwAgk5BRM2NLzv+o9N+lm
|
63
|
+
l4/WQb0tiyDPX1kyoRSUMvqjabBMwxHcBqCkc3zaSRzJrGnYjPCuFGVhxTU6
|
64
|
+
AZKCVIbmcBuEftK7+4vQl2aiXwnX/au/ANdV/r/+UoE8WXSmhHErxdFBFO0f
|
65
|
+
xvFBEB6lMAcuCpD1zLjmjII5jChzbZ/n2J7/bO9FJRDNRH7Hpi4gaMSNRhSE
|
66
|
+
zWivEblfcaL0pUjZiEG63eWtvA9MWJONxQIAAA==
|
67
|
+
http_version:
|
68
|
+
recorded_at: Wed, 26 Feb 2014 02:21:18 GMT
|
69
|
+
- request:
|
70
|
+
method: get
|
71
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
|
72
|
+
body:
|
73
|
+
encoding: UTF-8
|
74
|
+
string: ''
|
75
|
+
headers:
|
76
|
+
User-Agent:
|
77
|
+
- |-
|
78
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
79
|
+
(gzip)
|
80
|
+
Accept-Encoding:
|
81
|
+
- gzip
|
82
|
+
Content-Type:
|
83
|
+
- ''
|
84
|
+
Authorization:
|
85
|
+
- Bearer ya29.1.AADtN_VRd9J17CLjyAsxpE1mATL9cns-ijn-bnEU6nTn8EwflnbIIeJ1_fNAvzXh
|
86
|
+
Cache-Control:
|
87
|
+
- no-store
|
88
|
+
Accept:
|
89
|
+
- '*/*'
|
90
|
+
response:
|
91
|
+
status:
|
92
|
+
code: 200
|
93
|
+
message: OK
|
94
|
+
headers:
|
95
|
+
Expires:
|
96
|
+
- Wed, 26 Feb 2014 02:21:19 GMT
|
97
|
+
Date:
|
98
|
+
- Wed, 26 Feb 2014 02:21:19 GMT
|
99
|
+
Cache-Control:
|
100
|
+
- private, max-age=0, must-revalidate, no-transform
|
101
|
+
Etag:
|
102
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/bl17EzoOcn5KZiiu83RaD39q0E8"'
|
103
|
+
Content-Type:
|
104
|
+
- application/json; charset=UTF-8
|
105
|
+
Content-Encoding:
|
106
|
+
- gzip
|
107
|
+
X-Content-Type-Options:
|
108
|
+
- nosniff
|
109
|
+
X-Frame-Options:
|
110
|
+
- SAMEORIGIN
|
111
|
+
X-Xss-Protection:
|
112
|
+
- 1; mode=block
|
113
|
+
Content-Length:
|
114
|
+
- '137'
|
115
|
+
Server:
|
116
|
+
- GSE
|
117
|
+
Alternate-Protocol:
|
118
|
+
- 443:quic
|
119
|
+
body:
|
120
|
+
encoding: ASCII-8BIT
|
121
|
+
string: !binary |-
|
122
|
+
H4sIAAAAAAAAAKvmUlDKzsxLUbJSUErKTC8sTS2qVC5JTMpJ9cksLlHSAUqn
|
123
|
+
liSmg6RjlCJdc3xSqyLTnIKNKvPzS73iQ80McwzdA4sjIvWTcgzNXavy/ZPz
|
124
|
+
TL2jMjNLLYyDEl2MLQsNXC1ilMDmlOSXJOZ4lqTmFgNNM+Cq5QIATHC61nwA
|
125
|
+
AAA=
|
126
|
+
http_version:
|
127
|
+
recorded_at: Wed, 26 Feb 2014 02:21:19 GMT
|
128
|
+
- request:
|
129
|
+
method: delete
|
130
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema
|
131
|
+
body:
|
132
|
+
encoding: UTF-8
|
133
|
+
string: ''
|
134
|
+
headers:
|
135
|
+
User-Agent:
|
136
|
+
- |-
|
137
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
138
|
+
(gzip)
|
139
|
+
Accept-Encoding:
|
140
|
+
- gzip
|
141
|
+
Content-Type:
|
142
|
+
- ''
|
143
|
+
Authorization:
|
144
|
+
- Bearer ya29.1.AADtN_VRd9J17CLjyAsxpE1mATL9cns-ijn-bnEU6nTn8EwflnbIIeJ1_fNAvzXh
|
145
|
+
Cache-Control:
|
146
|
+
- no-store
|
147
|
+
Accept:
|
148
|
+
- '*/*'
|
149
|
+
response:
|
150
|
+
status:
|
151
|
+
code: 204
|
152
|
+
message: No Content
|
153
|
+
headers:
|
154
|
+
Cache-Control:
|
155
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
156
|
+
Pragma:
|
157
|
+
- no-cache
|
158
|
+
Expires:
|
159
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
160
|
+
Date:
|
161
|
+
- Wed, 26 Feb 2014 02:21:20 GMT
|
162
|
+
Etag:
|
163
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
|
164
|
+
Server:
|
165
|
+
- GSE
|
166
|
+
Alternate-Protocol:
|
167
|
+
- 443:quic
|
168
|
+
body:
|
169
|
+
encoding: UTF-8
|
170
|
+
string: ''
|
171
|
+
http_version:
|
172
|
+
recorded_at: Wed, 26 Feb 2014 02:21:20 GMT
|
173
|
+
recorded_with: VCR 2.8.0
|