sequel-bigquery 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sequel-bigquery.rb +2 -1
- data/lib/sequel_bigquery/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 288cbe303c3db264ccc9e71f7c39c63185428056bfebfe67e1cb520ddeef5243
|
4
|
+
data.tar.gz: 583b3d835d03762ef0ba1ba821d6545032db97202a672b4cd08be9cd50e134d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2691185b162d701bc1c8d78acbb0ea7624716a10612eedbbcf5c4feb0d04f34b6ef5f7c1e8936052d3ab28a6196a75613c8c09aaa7713245105ddc989f0a1266
|
7
|
+
data.tar.gz: e642c036248215c810e2c066b37f5864d753fa0ad52cb0352538c661e7ec41b475cf43cb5a0b7220d0410402e6b2100e02b1b4411ce4c2c8fd7511b810a7c928
|
data/lib/sequel-bigquery.rb
CHANGED
@@ -49,6 +49,7 @@ module Sequel
|
|
49
49
|
dataset_names_to_drop.each do |dataset_name_to_drop|
|
50
50
|
puts "Dropping dataset #{dataset_name_to_drop.inspect}"
|
51
51
|
dataset_to_drop = @bigquery.dataset(dataset_name_to_drop)
|
52
|
+
next unless dataset_to_drop
|
52
53
|
dataset_to_drop.tables.each(&:delete)
|
53
54
|
dataset_to_drop.delete
|
54
55
|
end
|
@@ -220,7 +221,7 @@ module Sequel
|
|
220
221
|
|
221
222
|
# Like MySQL, BigQuery uses the nonstandard ` (backtick) for quoting identifiers.
|
222
223
|
def quoted_identifier_append(sql, c)
|
223
|
-
sql << '`%s`' % c
|
224
|
+
sql << ('`%s`' % c)
|
224
225
|
end
|
225
226
|
|
226
227
|
def input_identifier(v)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-bigquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brendan Weibrecht
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
101
|
+
rubygems_version: 3.1.6
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: A Sequel adapter for Google's BigQuery
|