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,135 @@
|
|
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_XJM9N6TvCqSO_Tyzw6Xs7SpUsJTsKOIJXyDSAexNWIlCiUztVt7AgSVGSE
|
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 03:09:26 GMT
|
37
|
+
Etag:
|
38
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/l9-wseQzc2SuHrePbfEVHiWbl9M"'
|
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/crlnor1AFOxpUSF8WoyPxAIsaU7mxWyjrb
|
59
|
+
jgWM/922QRO/orfnfc/zno8Xz0dzVqSo56MZy58rkKutlGiiQKNtI4ImuRWn
|
60
|
+
aBLzU1hPsv5layVEdfJwHQY8OBqp2wnmUaNWMFrT1mV1LOFilsU3x2w849HZ
|
61
|
+
FDkOcxEkZxwac6ah0Yn2elKVQB8UfYQFcS4FPDtlxdx6H7UuVQ/juq6buRA5
|
62
|
+
B1Iy1aRigd8nxcsWLqV4AqoV/szGmyUU/hayURLIQEJBwYS9eP5HfeAm/drl
|
63
|
+
o03Q4IdFkOe/WjKhFJQy+p1psEzDEdwGoCQ+OIwTRzJrGjYj/EiKqrTiBp0A
|
64
|
+
SUEqQ3O4L4RxMrj6izCWZqJfCcPx+V+AYV38r79SIPureEEYt1LU3e12O2EU
|
65
|
+
7Qat/RSWwEUJspkb15JRMIcRVaHt8xzb8+/tvagEopkortjCBQTtqN3udoIw
|
66
|
+
3AlC9ytOlD4TKcsYpD+7vFfvDbsZhzrFAgAA
|
67
|
+
http_version:
|
68
|
+
recorded_at: Wed, 26 Feb 2014 03:09:26 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":"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_XJM9N6TvCqSO_Tyzw6Xs7SpUsJTsKOIJXyDSAexNWIlCiUztVt7AgSVGSE
|
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 03:09:27 GMT
|
103
|
+
Etag:
|
104
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/sDxxYncQ5CpMscZ1AHghKZKwT5o"'
|
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
|
+
- '393'
|
117
|
+
Server:
|
118
|
+
- GSE
|
119
|
+
Alternate-Protocol:
|
120
|
+
- 443:quic
|
121
|
+
body:
|
122
|
+
encoding: ASCII-8BIT
|
123
|
+
string: !binary |-
|
124
|
+
H4sIAAAAAAAAAHWR3VLCMBCF7/sUnXiLxIqgcIdaEUEYSpkRf4aJ6VIibVOb
|
125
|
+
YEWHdzdNYESEm2by7Z5zNttvy0ZzlgSoYaNXFr4vIFseSfIaASqpEkgSFqVn
|
126
|
+
NHajLnyNp5fD0yXni7vJqOZETmsgHsZYXH9+jhM6qF6l94I+Os3bcNZ57OR+
|
127
|
+
lT8j7cN0AAlZBMdzJuH4rH7eyEQKdCLoDGJSXgjIhO4VEE27LJkXipmUqWhg
|
128
|
+
nOd5OeQ8jICkTJQpj/FmWvxxitOMvwGVAv9NwAGRRIDi21FYP0/g30QNPJhC
|
129
|
+
BgkFlftt2TZam7b3jF6obLR2Nw3bCaasXU3RRFn2Sr/P9KxTpgyiQKjbk7pp
|
130
|
+
pGBC4mIMc5YMk8tUs6HvtXutDY15oKnnDkZtz71GBV6V9niR8J9Vu+e7Ldc7
|
131
|
+
rMmBhTO5K7vp9pv+YRETk1iti+7KLvv9rtvsGaH6vKz3QTMgkvHEZ0bvVOqV
|
132
|
+
ysWZUzs/qdb0/4mIkPc8YGpXwf4ua2X9ADufrTXKAgAA
|
133
|
+
http_version:
|
134
|
+
recorded_at: Wed, 26 Feb 2014 03:09:27 GMT
|
135
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,154 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- |-
|
12
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
13
|
+
(gzip)
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip
|
16
|
+
Content-Type:
|
17
|
+
- ''
|
18
|
+
Authorization:
|
19
|
+
- Bearer ya29.1.AADtN_XJM9N6TvCqSO_Tyzw6Xs7SpUsJTsKOIJXyDSAexNWIlCiUztVt7AgSVGSE
|
20
|
+
Cache-Control:
|
21
|
+
- no-store
|
22
|
+
Accept:
|
23
|
+
- '*/*'
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Expires:
|
30
|
+
- Wed, 26 Feb 2014 03:10:43 GMT
|
31
|
+
Date:
|
32
|
+
- Wed, 26 Feb 2014 03:10:43 GMT
|
33
|
+
Cache-Control:
|
34
|
+
- private, max-age=0, must-revalidate, no-transform
|
35
|
+
Etag:
|
36
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/L7eq8ApR0SBt1KfPN-iP48tOyLI"'
|
37
|
+
Content-Type:
|
38
|
+
- application/json; charset=UTF-8
|
39
|
+
Content-Encoding:
|
40
|
+
- gzip
|
41
|
+
X-Content-Type-Options:
|
42
|
+
- nosniff
|
43
|
+
X-Frame-Options:
|
44
|
+
- SAMEORIGIN
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Content-Length:
|
48
|
+
- '252'
|
49
|
+
Server:
|
50
|
+
- GSE
|
51
|
+
Alternate-Protocol:
|
52
|
+
- 443:quic
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: !binary |-
|
56
|
+
H4sIAAAAAAAAAHWPQU/CMBiG7/0VTbk6dYYIcmMJIcNGETBxEUPK+DYqhY32
|
57
|
+
22GS/XfbbiYe9NBLn/d9n3wXQtlBnnZsRNlW5ucKdN1DsVXApUF2ZTGgyB1e
|
58
|
+
s2SiOHwlWbS8q4uimm1e70MVTl/MW3LDB3AejsvF7TLC8DGbPwVy3h/ic83j
|
59
|
+
NfM7ftXYpXdC6cW+/8wubaH0SORSQXCQCEH/YTDSpoR0Y9I9HMV1ZUCbLu2b
|
60
|
+
C8hAwykF2/QGykpdfEKK8R9jbZOynUBhoIv8FvwE/HaLW6X7bjpvXTobW40j
|
61
|
+
PnGgIfTDn1ugUDHC0Z0ckoZ8A7AfWRdrAQAA
|
62
|
+
http_version:
|
63
|
+
recorded_at: Wed, 26 Feb 2014 03:10:43 GMT
|
64
|
+
- request:
|
65
|
+
method: delete
|
66
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users
|
67
|
+
body:
|
68
|
+
encoding: UTF-8
|
69
|
+
string: ''
|
70
|
+
headers:
|
71
|
+
User-Agent:
|
72
|
+
- |-
|
73
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
74
|
+
(gzip)
|
75
|
+
Accept-Encoding:
|
76
|
+
- gzip
|
77
|
+
Content-Type:
|
78
|
+
- ''
|
79
|
+
Authorization:
|
80
|
+
- Bearer ya29.1.AADtN_XJM9N6TvCqSO_Tyzw6Xs7SpUsJTsKOIJXyDSAexNWIlCiUztVt7AgSVGSE
|
81
|
+
Cache-Control:
|
82
|
+
- no-store
|
83
|
+
Accept:
|
84
|
+
- '*/*'
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 204
|
88
|
+
message: No Content
|
89
|
+
headers:
|
90
|
+
Cache-Control:
|
91
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
92
|
+
Pragma:
|
93
|
+
- no-cache
|
94
|
+
Expires:
|
95
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
96
|
+
Date:
|
97
|
+
- Wed, 26 Feb 2014 03:10:45 GMT
|
98
|
+
Etag:
|
99
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
|
100
|
+
Server:
|
101
|
+
- GSE
|
102
|
+
Alternate-Protocol:
|
103
|
+
- 443:quic
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: ''
|
107
|
+
http_version:
|
108
|
+
recorded_at: Wed, 26 Feb 2014 03:10:45 GMT
|
109
|
+
- request:
|
110
|
+
method: delete
|
111
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema
|
112
|
+
body:
|
113
|
+
encoding: UTF-8
|
114
|
+
string: ''
|
115
|
+
headers:
|
116
|
+
User-Agent:
|
117
|
+
- |-
|
118
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
119
|
+
(gzip)
|
120
|
+
Accept-Encoding:
|
121
|
+
- gzip
|
122
|
+
Content-Type:
|
123
|
+
- ''
|
124
|
+
Authorization:
|
125
|
+
- Bearer ya29.1.AADtN_XJM9N6TvCqSO_Tyzw6Xs7SpUsJTsKOIJXyDSAexNWIlCiUztVt7AgSVGSE
|
126
|
+
Cache-Control:
|
127
|
+
- no-store
|
128
|
+
Accept:
|
129
|
+
- '*/*'
|
130
|
+
response:
|
131
|
+
status:
|
132
|
+
code: 204
|
133
|
+
message: No Content
|
134
|
+
headers:
|
135
|
+
Cache-Control:
|
136
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
137
|
+
Pragma:
|
138
|
+
- no-cache
|
139
|
+
Expires:
|
140
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
141
|
+
Date:
|
142
|
+
- Wed, 26 Feb 2014 03:10:46 GMT
|
143
|
+
Etag:
|
144
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
|
145
|
+
Server:
|
146
|
+
- GSE
|
147
|
+
Alternate-Protocol:
|
148
|
+
- 443:quic
|
149
|
+
body:
|
150
|
+
encoding: UTF-8
|
151
|
+
string: ''
|
152
|
+
http_version:
|
153
|
+
recorded_at: Wed, 26 Feb 2014 03:10:46 GMT
|
154
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,189 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users/insertAll
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"rows":[{"insertId":"1393384167","json":{"name":"User 2014-02-26 00:09:27
|
9
|
+
-0300"}}]}'
|
10
|
+
headers:
|
11
|
+
User-Agent:
|
12
|
+
- |-
|
13
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
14
|
+
(gzip)
|
15
|
+
Content-Type:
|
16
|
+
- application/json
|
17
|
+
Accept-Encoding:
|
18
|
+
- gzip
|
19
|
+
Authorization:
|
20
|
+
- Bearer ya29.1.AADtN_XJM9N6TvCqSO_Tyzw6Xs7SpUsJTsKOIJXyDSAexNWIlCiUztVt7AgSVGSE
|
21
|
+
Cache-Control:
|
22
|
+
- no-store
|
23
|
+
Accept:
|
24
|
+
- '*/*'
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 200
|
28
|
+
message: OK
|
29
|
+
headers:
|
30
|
+
Cache-Control:
|
31
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
32
|
+
Pragma:
|
33
|
+
- no-cache
|
34
|
+
Expires:
|
35
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
36
|
+
Date:
|
37
|
+
- Wed, 26 Feb 2014 03:09:28 GMT
|
38
|
+
Etag:
|
39
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/vyGp6PvFo4RvsFtPoIWeCReyIC8"'
|
40
|
+
Content-Type:
|
41
|
+
- application/json; charset=UTF-8
|
42
|
+
Content-Encoding:
|
43
|
+
- gzip
|
44
|
+
X-Content-Type-Options:
|
45
|
+
- nosniff
|
46
|
+
X-Frame-Options:
|
47
|
+
- SAMEORIGIN
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
Content-Length:
|
51
|
+
- '69'
|
52
|
+
Server:
|
53
|
+
- GSE
|
54
|
+
Alternate-Protocol:
|
55
|
+
- 443:quic
|
56
|
+
body:
|
57
|
+
encoding: ASCII-8BIT
|
58
|
+
string: !binary |-
|
59
|
+
H4sIAAAAAAAAAKvmUlDKzsxLUbJSUErKTC8sTS2qVC5JTMpJdUksSfTMK04t
|
60
|
+
KnHMyQlKLS7IB3KUuGq5AH1Qqg4zAAAA
|
61
|
+
http_version:
|
62
|
+
recorded_at: Wed, 26 Feb 2014 03:09:28 GMT
|
63
|
+
- request:
|
64
|
+
method: post
|
65
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/queries
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"query":"SELECT * FROM [rspec_schema.users] LIMIT 1000"}'
|
69
|
+
headers:
|
70
|
+
User-Agent:
|
71
|
+
- |-
|
72
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
73
|
+
(gzip)
|
74
|
+
Content-Type:
|
75
|
+
- application/json
|
76
|
+
Accept-Encoding:
|
77
|
+
- gzip
|
78
|
+
Authorization:
|
79
|
+
- Bearer ya29.1.AADtN_XJM9N6TvCqSO_Tyzw6Xs7SpUsJTsKOIJXyDSAexNWIlCiUztVt7AgSVGSE
|
80
|
+
Cache-Control:
|
81
|
+
- no-store
|
82
|
+
Accept:
|
83
|
+
- '*/*'
|
84
|
+
response:
|
85
|
+
status:
|
86
|
+
code: 200
|
87
|
+
message: OK
|
88
|
+
headers:
|
89
|
+
Cache-Control:
|
90
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
91
|
+
Pragma:
|
92
|
+
- no-cache
|
93
|
+
Expires:
|
94
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
95
|
+
Date:
|
96
|
+
- Wed, 26 Feb 2014 03:10:34 GMT
|
97
|
+
Etag:
|
98
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/1EdJfGbeSxzxq-JrPrHFTWuHagk"'
|
99
|
+
Content-Type:
|
100
|
+
- application/json; charset=UTF-8
|
101
|
+
Content-Encoding:
|
102
|
+
- gzip
|
103
|
+
X-Content-Type-Options:
|
104
|
+
- nosniff
|
105
|
+
X-Frame-Options:
|
106
|
+
- SAMEORIGIN
|
107
|
+
X-Xss-Protection:
|
108
|
+
- 1; mode=block
|
109
|
+
Content-Length:
|
110
|
+
- '365'
|
111
|
+
Server:
|
112
|
+
- GSE
|
113
|
+
Alternate-Protocol:
|
114
|
+
- 443:quic
|
115
|
+
body:
|
116
|
+
encoding: ASCII-8BIT
|
117
|
+
string: !binary |-
|
118
|
+
H4sIAAAAAAAAAKWSUU/CMBDH3/cplvrKkjJRhLdBJi6OzQwwRkPM2G6jsK1z
|
119
|
+
LRIkfHfbbpiIxoT4cu39e/0197/uNR2tSRGjvo4WJH3bQLW7UDEAVtKCAWqJ
|
120
|
+
EhYtIQ9F0V7TdZQQyGImsheRKUmIRZiDpKi1VWt8VyptMg0cb3RUcxor1Zu5
|
121
|
+
rjVwbSTlQ+sXVpj+QDne1B7ZwfmsLZB0yU9xt65vTc+HEfaahymJTnED33dt
|
122
|
+
y/sbKMJcU1y0oosAEqigiODoblnRFUTciWsHSAbGmnAwOr2u4spL9aHYvJKP
|
123
|
+
Sbt3lT6u7CfLH3fvx671vL7ZxEPLQc0jnPIwC+hWTgy11TyrOpPzU52h5DjN
|
124
|
+
plMdvcvqGYNKN3G7Y2DTMK91jPu41ze7uoEvMVbtNAZ9u1dssux/ZzIKk+Rm
|
125
|
+
/tXDYMeBPVQ0AsZAOYBR4+KQ5mUGXJrIqw1INQrFp70jXEhJmDHQDtonJCQ3
|
126
|
+
8u4CAAA=
|
127
|
+
http_version:
|
128
|
+
recorded_at: Wed, 26 Feb 2014 03:10:34 GMT
|
129
|
+
- request:
|
130
|
+
method: get
|
131
|
+
uri: https://www.googleapis.com/bigquery/v2/projects/985884699512/datasets/rspec_schema/tables/users/data
|
132
|
+
body:
|
133
|
+
encoding: UTF-8
|
134
|
+
string: ''
|
135
|
+
headers:
|
136
|
+
User-Agent:
|
137
|
+
- |-
|
138
|
+
google-api-ruby-client/0.7.1 Mac OS X/10.9
|
139
|
+
(gzip)
|
140
|
+
Accept-Encoding:
|
141
|
+
- gzip
|
142
|
+
Content-Type:
|
143
|
+
- ''
|
144
|
+
Authorization:
|
145
|
+
- Bearer ya29.1.AADtN_XJM9N6TvCqSO_Tyzw6Xs7SpUsJTsKOIJXyDSAexNWIlCiUztVt7AgSVGSE
|
146
|
+
Cache-Control:
|
147
|
+
- no-store
|
148
|
+
Accept:
|
149
|
+
- '*/*'
|
150
|
+
response:
|
151
|
+
status:
|
152
|
+
code: 200
|
153
|
+
message: OK
|
154
|
+
headers:
|
155
|
+
Expires:
|
156
|
+
- Wed, 26 Feb 2014 03:10:39 GMT
|
157
|
+
Date:
|
158
|
+
- Wed, 26 Feb 2014 03:10:39 GMT
|
159
|
+
Cache-Control:
|
160
|
+
- private, max-age=0, must-revalidate, no-transform
|
161
|
+
Etag:
|
162
|
+
- '"YElLezYfBS2yoouJ_U61l1GQsXY/s673rrpTYqfAsSrfdhq4OcOS7vY"'
|
163
|
+
Content-Type:
|
164
|
+
- application/json; charset=UTF-8
|
165
|
+
Content-Encoding:
|
166
|
+
- gzip
|
167
|
+
X-Content-Type-Options:
|
168
|
+
- nosniff
|
169
|
+
X-Frame-Options:
|
170
|
+
- SAMEORIGIN
|
171
|
+
X-Xss-Protection:
|
172
|
+
- 1; mode=block
|
173
|
+
Content-Length:
|
174
|
+
- '200'
|
175
|
+
Server:
|
176
|
+
- GSE
|
177
|
+
Alternate-Protocol:
|
178
|
+
- 443:quic
|
179
|
+
body:
|
180
|
+
encoding: ASCII-8BIT
|
181
|
+
string: !binary |-
|
182
|
+
H4sIAAAAAAAAAKWNQQuCQBCF7/srlu2qtK6i5K0oghAkTGgpCc3VpEVzVw0T
|
183
|
+
/3sq3jp2mGHezPfedACiZ5bHyIYoytKyZqJdVGHE2TasQieTFVIGhFVhOiJX
|
184
|
+
RHfcYR+abDzSFkV9uPmmxrX9UZ7pUpqWLsTrRMtkLT2RxI/ScO+uZzX0iqYc
|
185
|
+
UbzlkHMBEHZDQZTMatbDphn/+JIJSLBmqJioxIQY23hlEwuqWMcYTWiv/Pjy
|
186
|
+
mvP/bmMPwDQEoAdfD2K4Ch8BAAA=
|
187
|
+
http_version:
|
188
|
+
recorded_at: Wed, 26 Feb 2014 03:10:39 GMT
|
189
|
+
recorded_with: VCR 2.8.0
|