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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ede3c29141606225570c7a537c24ebe4691cc15
4
- data.tar.gz: 2f8e6b87e421028f198e1677bf907a67f2fa5e86
3
+ metadata.gz: 5d41f23004b441572f536da653b967f335c6a227
4
+ data.tar.gz: cf69d83395e3ba989d7eec303743bb3159e0e0dd
5
5
  SHA512:
6
- metadata.gz: d76b65020298eca66ddc383fa6d46061b553d70f1ec558b2730db036063c109d16a67bee201d2b1290a8704a903b227b14249ff14de84973c060318ccbab9a7c
7
- data.tar.gz: a16fa7332f0fba5a5ff3c2bbdd5e8af3d8bab2c5e821c1cf330de9fef1564620508a7e9c5066fc76ac61bfa292bfff0cbe64d805057a1f4705f793faf62aff33
6
+ metadata.gz: 03011f8e8556bea60fadb20f4869ba8e12540dfdfb082d2cb1b59a78dae0c9a89a308c5d18458a19eaf2c461183c9e7b5e983819974e13b845790324101e0edc
7
+ data.tar.gz: 6c8b48938633ba00da067eca51e6e14df0d5c80b8e9c8028ce56a7e542d7063c0cd1504e1f430bb01cfaa9d3fcc85697ab6bd5f494a4e172a03a78b96a6c02f2
@@ -1,3 +1,10 @@
1
+ # 0.2.31
2
+
3
+ ## Enhancements
4
+
5
+ * Add `autodetect` keyword argument to `load`.
6
+ * Support google-api-client.gem v0.16.x and v0.17.x series.
7
+
1
8
  # 0.2.30
2
9
 
3
10
  ## Enhancements
@@ -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", [">= 0.9.11", "< 0.16.0"]
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"
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Kura
2
- VERSION = "0.2.30"
2
+ VERSION = "0.2.31"
3
3
  end
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.30
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-10-11 00:00:00.000000000 Z
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