google-cloud-translate-v3 0.1.3 → 0.1.4

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: 61b71406223face419d678c9489fc1ab90c557112efe41bf8ab37370572a2235
4
- data.tar.gz: d37e175b00e5d5bc4cc6773265753d76a6f1f2b8f1da3bb4849c3d5c7f8bd002
3
+ metadata.gz: 845dff6180ee02e0bf4eac5880c48e1bf0a7efa98d0d8f6ef420c395d17ed609
4
+ data.tar.gz: 3a16b8dd2c3830afd5f2265e8f14ae6305e43e75e1244111f922fcb45b124259
5
5
  SHA512:
6
- metadata.gz: cdb6b8fd5bd50cd2b67ba1f9339f4a51f678f9b85581e646b7cbd59efef6fc585bf8cfb0d14daf95cbc6391738b825679858b95bd057fe84057d2d314984f302
7
- data.tar.gz: 2d381b7a4db1d11864ae26157d8e6abd70a6835d0b099d7921a8244dc158467bea6e96fe998f9b0a6db20270d09739dbe0fdc35e3c2dd75661f0139e2b536fd9
6
+ metadata.gz: cd230bc2ae3366cd6bb1de64e1a26751beec58f68dbb4675145205ea4b5f12a56285679d6fa8ddcf316036cdd43480061305c68f441ecd6b41c799938a7845be
7
+ data.tar.gz: 16bb7ec214f2e2de8c7e6f322eed311611d2a78ea531a4279e7a34fb2a63122ed351753d57fdec1157e6fc14f576d010d4a9551750911f47d59d9f782ce7f571
@@ -1013,7 +1013,7 @@ module Google
1013
1013
 
1014
1014
  config_attr :endpoint, "translate.googleapis.com", ::String
1015
1015
  config_attr :credentials, nil do |value|
1016
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1016
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1017
1017
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1018
1018
  allowed.any? { |klass| klass === value }
1019
1019
  end
@@ -475,7 +475,7 @@ module Google
475
475
 
476
476
  config_attr :endpoint, "translate.googleapis.com", ::String
477
477
  config_attr :credentials, nil do |value|
478
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
478
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
479
479
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
480
480
  allowed.any? { |klass| klass === value }
481
481
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Translate
23
23
  module V3
24
- VERSION = "0.1.3"
24
+ VERSION = "0.1.4"
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-translate-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
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-08-06 00:00:00.000000000 Z
11
+ date: 2020-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common