Skip to content

Commit 392f013

Browse files
author
remi Taylor
committed
Update existing BigQuery sample
1 parent 1491baf commit 392f013

22 files changed

Lines changed: 268 additions & 972 deletions

bigquery/Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 Google, Inc
1+
# Copyright 2016 Google, Inc
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -14,10 +14,11 @@
1414

1515
source "https://rubygems.org"
1616

17-
gem "gcloud"
17+
gem "google-cloud-bigquery"
1818

1919
group :test do
2020
gem "rake"
2121
gem "rubocop"
2222
gem "rspec"
23+
gem "google-cloud-storage"
2324
end

bigquery/Gemfile.lock

Lines changed: 59 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,96 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (4.2.4)
5-
i18n (~> 0.7)
6-
json (~> 1.7, >= 1.7.7)
7-
minitest (~> 5.1)
8-
thread_safe (~> 0.3, >= 0.3.4)
9-
tzinfo (~> 1.1)
10-
addressable (2.3.8)
11-
ast (2.1.0)
12-
astrolabe (1.3.1)
13-
parser (~> 2.2)
14-
autoparse (0.3.3)
15-
addressable (>= 2.3.1)
16-
extlib (>= 0.9.15)
17-
multi_json (>= 1.0.0)
18-
beefcake (1.1.0)
4+
addressable (2.4.0)
5+
ast (2.3.0)
196
diff-lcs (1.2.5)
207
digest-crc (0.4.1)
21-
extlib (0.9.16)
228
faraday (0.9.2)
239
multipart-post (>= 1.2, < 3)
24-
gcloud (0.5.0)
25-
beefcake (~> 1.0)
26-
digest-crc (~> 0.4)
27-
google-api-client (~> 0.8.3)
28-
mime-types (~> 2.4)
29-
zonefile (~> 1.04)
30-
google-api-client (0.8.6)
31-
activesupport (>= 3.2)
10+
google-api-client (0.9.13)
3211
addressable (~> 2.3)
33-
autoparse (~> 0.3)
34-
extlib (~> 0.9)
35-
faraday (~> 0.9)
36-
googleauth (~> 0.3)
37-
launchy (~> 2.4)
38-
multi_json (~> 1.10)
39-
retriable (~> 1.4)
40-
signet (~> 0.6)
41-
googleauth (0.4.2)
12+
googleauth (~> 0.5)
13+
httpclient (~> 2.7)
14+
hurley (~> 0.1)
15+
memoist (~> 0.11)
16+
mime-types (>= 1.6)
17+
representable (~> 2.3.0)
18+
retriable (~> 2.0)
19+
google-cloud-bigquery (0.20.1)
20+
google-api-client (~> 0.9.11)
21+
google-cloud-core (~> 0.20.0)
22+
google-cloud-core (0.20.1)
23+
google-cloud-storage (0.20.0)
24+
digest-crc (~> 0.4)
25+
google-api-client (~> 0.9.11)
26+
google-cloud-core (~> 0.20.0)
27+
googleauth (0.5.1)
4228
faraday (~> 0.9)
4329
jwt (~> 1.4)
4430
logging (~> 2.0)
4531
memoist (~> 0.12)
4632
multi_json (~> 1.11)
47-
signet (~> 0.6)
48-
i18n (0.7.0)
49-
json (1.8.3)
50-
jwt (1.5.2)
51-
launchy (2.4.3)
52-
addressable (~> 2.3)
33+
os (~> 0.9)
34+
signet (~> 0.7)
35+
httpclient (2.8.2.3)
36+
hurley (0.2)
37+
jwt (1.5.4)
5338
little-plugger (1.1.4)
54-
logging (2.0.0)
39+
logging (2.1.0)
5540
little-plugger (~> 1.1)
5641
multi_json (~> 1.10)
57-
memoist (0.12.0)
58-
mime-types (2.6.2)
59-
minitest (5.8.2)
60-
multi_json (1.11.2)
42+
memoist (0.15.0)
43+
mime-types (3.1)
44+
mime-types-data (~> 3.2015)
45+
mime-types-data (3.2016.0521)
46+
multi_json (1.12.1)
6147
multipart-post (2.0.0)
62-
parser (2.2.3.0)
63-
ast (>= 1.1, < 3.0)
48+
os (0.9.6)
49+
parser (2.3.1.2)
50+
ast (~> 2.2)
6451
powerpack (0.1.1)
65-
rainbow (2.0.0)
66-
rake (10.4.2)
67-
retriable (1.4.1)
68-
rspec (3.3.0)
69-
rspec-core (~> 3.3.0)
70-
rspec-expectations (~> 3.3.0)
71-
rspec-mocks (~> 3.3.0)
72-
rspec-core (3.3.2)
73-
rspec-support (~> 3.3.0)
74-
rspec-expectations (3.3.1)
52+
rainbow (2.1.0)
53+
rake (11.1.2)
54+
representable (2.3.0)
55+
uber (~> 0.0.7)
56+
retriable (2.1.0)
57+
rspec (3.4.0)
58+
rspec-core (~> 3.4.0)
59+
rspec-expectations (~> 3.4.0)
60+
rspec-mocks (~> 3.4.0)
61+
rspec-core (3.4.4)
62+
rspec-support (~> 3.4.0)
63+
rspec-expectations (3.4.0)
7564
diff-lcs (>= 1.2.0, < 2.0)
76-
rspec-support (~> 3.3.0)
77-
rspec-mocks (3.3.2)
65+
rspec-support (~> 3.4.0)
66+
rspec-mocks (3.4.1)
7867
diff-lcs (>= 1.2.0, < 2.0)
79-
rspec-support (~> 3.3.0)
80-
rspec-support (3.3.0)
81-
rubocop (0.35.1)
82-
astrolabe (~> 1.3)
83-
parser (>= 2.2.3.0, < 3.0)
68+
rspec-support (~> 3.4.0)
69+
rspec-support (3.4.1)
70+
rubocop (0.42.0)
71+
parser (>= 2.3.1.1, < 3.0)
8472
powerpack (~> 0.1)
8573
rainbow (>= 1.99.1, < 3.0)
8674
ruby-progressbar (~> 1.7)
87-
tins (<= 1.6.0)
88-
ruby-progressbar (1.7.5)
89-
signet (0.6.1)
75+
unicode-display_width (~> 1.0, >= 1.0.1)
76+
ruby-progressbar (1.8.1)
77+
signet (0.7.3)
9078
addressable (~> 2.3)
91-
extlib (~> 0.9)
9279
faraday (~> 0.9)
9380
jwt (~> 1.5)
9481
multi_json (~> 1.10)
95-
thread_safe (0.3.5)
96-
tins (1.6.0)
97-
tzinfo (1.2.2)
98-
thread_safe (~> 0.1)
99-
zonefile (1.04)
82+
uber (0.0.15)
83+
unicode-display_width (1.1.0)
10084

10185
PLATFORMS
10286
ruby
10387

10488
DEPENDENCIES
105-
gcloud
89+
google-cloud-bigquery
90+
google-cloud-storage
10691
rake
10792
rspec
10893
rubocop
10994

11095
BUNDLED WITH
111-
1.10.6
96+
1.12.5
File renamed without changes.

bigquery/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 Google, Inc
1+
# Copyright 2016 Google, Inc
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)