google-cloud-redis 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/redis.rb +13 -7
- data/lib/google/cloud/redis/version.rb +1 -1
- metadata +2 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b3ffe73e1b771edffe7585d4a120f89d409d280146ea1f7677889b93fbd72f1
|
4
|
+
data.tar.gz: 79744a9e19d5efcf3d9e398674a8883fc492982554fb2c9d8cd95f8982a724e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 121030c82ef5acc7a72154baaefab6fc2ae78a077f7daaaec909c79871ce93c3466044df84f3f722a7148af9c6e255e829e60b77c7595cac4d1cbec4f347df90
|
7
|
+
data.tar.gz: 9696fdcbc0b69d1e41949b877e1fdfa7264c48ec2590979ec1b6a5e342af646bd349af970b60d61f6108e1bacc6253943914f980dd36e1c625f61ef5c75a7cf7
|
data/lib/google/cloud/redis.rb
CHANGED
@@ -29,13 +29,16 @@ require "google/cloud/config"
|
|
29
29
|
|
30
30
|
# Set the default configuration
|
31
31
|
::Google::Cloud.configure.add_config! :redis do |config|
|
32
|
-
config.add_field! :
|
33
|
-
config.add_field! :
|
34
|
-
config.add_field! :
|
35
|
-
config.add_field! :
|
36
|
-
config.add_field! :
|
37
|
-
config.add_field! :
|
38
|
-
config.add_field! :
|
32
|
+
config.add_field! :endpoint, "redis.googleapis.com", match: ::String
|
33
|
+
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
|
34
|
+
config.add_field! :scope, nil, match: [::Array, ::String]
|
35
|
+
config.add_field! :lib_name, nil, match: ::String
|
36
|
+
config.add_field! :lib_version, nil, match: ::String
|
37
|
+
config.add_field! :interceptors, nil, match: ::Array
|
38
|
+
config.add_field! :timeout, nil, match: ::Numeric
|
39
|
+
config.add_field! :metadata, nil, match: ::Hash
|
40
|
+
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
|
41
|
+
config.add_field! :quota_project, nil, match: ::String
|
39
42
|
end
|
40
43
|
|
41
44
|
module Google
|
@@ -121,3 +124,6 @@ module Google
|
|
121
124
|
end
|
122
125
|
end
|
123
126
|
end
|
127
|
+
|
128
|
+
helper_path = ::File.join __dir__, "redis", "helpers.rb"
|
129
|
+
require "google/cloud/redis/helpers" if ::File.file? helper_path
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
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-05-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: autotest-suffix
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.1'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.1'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: google-style
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,20 +80,6 @@ dependencies:
|
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '5.14'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: minitest-autotest
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '1.0'
|
111
83
|
- !ruby/object:Gem::Dependency
|
112
84
|
name: minitest-focus
|
113
85
|
requirement: !ruby/object:Gem::Requirement
|