google-cloud-bigquery-storage 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea4446d45f329274b51b08b2f847b2042ed08c9f6f4baaa3d137425a795659b7
4
- data.tar.gz: 0f8dd3e9672630b1e21fdb7d61568a76d16fb6dce49508d43508d78e93c12372
3
+ metadata.gz: 9a4acf2657597bc69663f984a46982b0a5c3311adc234ef46434472ed1a4022b
4
+ data.tar.gz: 9d882e13fb99dcccf66cc095c0d9839738a61396ffe7fde8347042f0f13d5372
5
5
  SHA512:
6
- metadata.gz: 8851b2e9837a04ac7206f0610de03b864d64f333a5ce7b8c41b1f506167fed7813aea56d2c9fe0b967d499e58dcc015199e7da81e6eba095e4ec2b4945cad23a
7
- data.tar.gz: 50d2b2f277d9ec60f083e4cdc9850531b72491d98427c431fdf836c4cf58eadc2ea45821e2a05580cef250d475da72d1324e6d3acc13c875b33e4c4d6e258ef1
6
+ metadata.gz: 99c50f14d3d9668100826a3ed2bdade614dd8667c5e7759a27d457db09b42982b709f845d796c5be01bf5e84c0e062d30d9066d885c7ac7bce6f26a3e91ef6ea
7
+ data.tar.gz: 00dd4587604f8da9c6e2c0992840ea2aeaeade34f45c44025537c540cdde0fdda88f5fc940728441f4eb805b0fc70da61232be4d451dc5d7f74f292075cfa98d
data/AUTHENTICATION.md CHANGED
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
64
64
 
65
65
  The environment variables that google-cloud-bigquery-storage
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- `Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Credentials`):
67
+ `::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Credentials`):
68
68
 
69
69
  1. `BIGQUERY_STORAGE_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  2. `BIGQUERY_STORAGE_KEYFILE` - Path to JSON file, or JSON contents
@@ -16,4 +16,4 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "google/cloud/bigquery/storage"
19
+ require "google/cloud/bigquery/storage" unless defined? Google::Cloud::Bigquery::Storage::VERSION
@@ -16,21 +16,26 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
+ # Require this file early so that the version constant gets defined before
20
+ # requiring "google/cloud". This is because google-cloud-core will load the
21
+ # entrypoint (gem name) file, which in turn re-requires this file (hence
22
+ # causing a require cycle) unless the version constant is already defined.
19
23
  require "google/cloud/bigquery/storage/version"
24
+
20
25
  require "googleauth"
21
26
  gem "google-cloud-core"
22
- require "google/cloud" unless defined? Google::Cloud.new
27
+ require "google/cloud" unless defined? ::Google::Cloud.new
23
28
  require "google/cloud/config"
24
29
 
25
30
  # Set the default configuration
26
- Google::Cloud.configure.add_config! :bigquery_storage do |config|
27
- config.add_field! :credentials, nil, match: [String, Hash, Google::Auth::Credentials]
28
- config.add_field! :lib_name, nil, match: String
29
- config.add_field! :lib_version, nil, match: String
30
- config.add_field! :interceptors, nil, match: Array
31
- config.add_field! :timeout, nil, match: Numeric
32
- config.add_field! :metadata, nil, match: Hash
33
- config.add_field! :retry_policy, nil, match: [Hash, Proc]
31
+ ::Google::Cloud.configure.add_config! :bigquery_storage do |config|
32
+ config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
33
+ config.add_field! :lib_name, nil, match: ::String
34
+ config.add_field! :lib_version, nil, match: ::String
35
+ config.add_field! :interceptors, nil, match: ::Array
36
+ config.add_field! :timeout, nil, match: ::Numeric
37
+ config.add_field! :metadata, nil, match: ::Hash
38
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
34
39
  end
35
40
 
36
41
  module Google
@@ -54,7 +59,7 @@ module Google
54
59
  #
55
60
  # The Read API can be used to read data from BigQuery.
56
61
  #
57
- # @param version [String, Symbol] The API version to connect to. Optional.
62
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
58
63
  # Defaults to `:v1`.
59
64
  # @return [BigQueryRead::Client] A client object for the specified version.
60
65
  #
@@ -95,12 +100,12 @@ module Google
95
100
  # * `:retry_codes` (*type:* `Array<String>`) -
96
101
  # The error codes that should trigger a retry.
97
102
  #
98
- # @return [Google::Cloud::Config] The default configuration used by this library
103
+ # @return [::Google::Cloud::Config] The default configuration used by this library
99
104
  #
100
105
  def self.configure
101
- yield Google::Cloud.configure.bigquery_storage if block_given?
106
+ yield ::Google::Cloud.configure.bigquery_storage if block_given?
102
107
 
103
- Google::Cloud.configure.bigquery_storage
108
+ ::Google::Cloud.configure.bigquery_storage
104
109
  end
105
110
  end
106
111
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Bigquery
23
23
  module Storage
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-13 00:00:00.000000000 Z
11
+ date: 2020-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '5.10'
75
+ version: '5.14'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '5.10'
82
+ version: '5.14'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest-autotest
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '5.2'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '12.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '12.0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: redcarpet
127
141
  requirement: !ruby/object:Gem::Requirement