kura 0.2.30 → 0.2.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +7 -0
- data/kura.gemspec +1 -1
- data/lib/kura/client.rb +4 -0
- data/lib/kura/version.rb +1 -1
- metadata +2 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d41f23004b441572f536da653b967f335c6a227
|
4
|
+
data.tar.gz: cf69d83395e3ba989d7eec303743bb3159e0e0dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03011f8e8556bea60fadb20f4869ba8e12540dfdfb082d2cb1b59a78dae0c9a89a308c5d18458a19eaf2c461183c9e7b5e983819974e13b845790324101e0edc
|
7
|
+
data.tar.gz: 6c8b48938633ba00da067eca51e6e14df0d5c80b8e9c8028ce56a7e542d7063c0cd1504e1f430bb01cfaa9d3fcc85697ab6bd5f494a4e172a03a78b96a6c02f2
|
data/ChangeLog.md
CHANGED
data/kura.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
|
23
23
|
spec.required_ruby_version = '>= 2.1'
|
24
24
|
|
25
|
-
spec.add_runtime_dependency "google-api-client",
|
25
|
+
spec.add_runtime_dependency "google-api-client", ">= 0.9.11"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 1.10"
|
28
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/kura/client.rb
CHANGED
@@ -456,6 +456,7 @@ module Kura
|
|
456
456
|
allow_quoted_newlines: false,
|
457
457
|
quote: '"', skip_leading_rows: 0,
|
458
458
|
source_format: "CSV",
|
459
|
+
autodetect: false,
|
459
460
|
project_id: @default_project_id,
|
460
461
|
job_project_id: @default_project_id,
|
461
462
|
job_id: nil,
|
@@ -490,6 +491,9 @@ module Kura
|
|
490
491
|
configuration.load.allow_quoted_newlines = normalize_parameter(allow_quoted_newlines)
|
491
492
|
configuration.load.quote = quote
|
492
493
|
configuration.load.skip_leading_rows = skip_leading_rows
|
494
|
+
configuration.load.autodetect = autodetect
|
495
|
+
elsif source_format == "NEWLINE_DELIMITED_JSON"
|
496
|
+
configuration.load.autodetect = autodetect
|
493
497
|
end
|
494
498
|
unless file
|
495
499
|
configuration.load.source_uris = source_uris
|
data/lib/kura/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kura
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chikanaga Tomoyuki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.9.11
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.16.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.9.11
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.16.0
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: bundler
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|