google-cloud-core 1.2.2 → 1.2.3

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: dbd2ea954800c84bbb3e72339d606dfe01d2aaeeb67d31adf894214ab45a53e2
4
- data.tar.gz: 264ffede247b701716baff0fe40be8fbb31f3da188994d356c5338108a9e7e88
3
+ metadata.gz: b25ce383cc8b5d47e8f61db1849b99bbb9121a008a956c08d55ebf25e7954fea
4
+ data.tar.gz: d7a1c3a44c6ff438d8d81c70d3705e23571b8cb6cb8db039e509e12417d81cea
5
5
  SHA512:
6
- metadata.gz: 27a48ec70300d33c3b9fdb788273a32e8d64cab7b4ed02397f53bfa1f77e9d5c763a265fd164c6a2d706345f8fd421bc63ec4eb5d2fc59bc5ad2662ee1293c75
7
- data.tar.gz: a891af116a638382cd08248d3c281eb0eb22533afc00a81ed2eeac4c6e773e11bb9b9fad74ce11a32e4da7de978d0eb036d0ba589adbbf75c0c668fd0cd0ab22
6
+ metadata.gz: 28f7691d3b17e046c372eb2e1003ceb79d386c9bca2671ce91e1d3164569622bbc8a9f2d198150935f2559bb58931eb9190dcc1abb336e487758d22e5be52305
7
+ data.tar.gz: 5f59820ef830cbb0baa1f8593488688a0153e1e3abbf8d2ccde1f910db89675961dc66154098a933b20e634d5c8acbaf6215d77114f53d0625deae68e26147a5
data/.yardopts CHANGED
@@ -1,6 +1,7 @@
1
1
  --no-private
2
2
  --title=Google Cloud Core
3
3
  --markup markdown
4
+ --markup-provider redcarpet
4
5
 
5
6
  ./lib/**/*.rb
6
7
  -
data/README.md CHANGED
@@ -6,14 +6,14 @@ This library contains shared types, such as error classes, for the google-cloud
6
6
 
7
7
  ## Supported Ruby Versions
8
8
 
9
- This library is currently supported on Ruby 2.0+.
10
-
11
- However, Ruby 2.3 or later is strongly recommended, as earlier releases have
12
- reached or are nearing end-of-life. After June 1, 2018, Google will provide
13
- official support only for Ruby versions that are considered current and
14
- supported by Ruby Core (that is, Ruby versions that are either in normal
15
- maintenance or in security maintenance).
16
- See https://www.ruby-lang.org/en/downloads/branches/ for further details.
9
+ This library is supported on Ruby 2.3+.
10
+
11
+ Google provides official support for Ruby versions that are actively supported
12
+ by Ruby Core—that is, Ruby versions that are either in normal maintenance or
13
+ in security maintenance, and not end of life. Currently, this means Ruby 2.3
14
+ and later. Older versions of Ruby _may_ still work, but are unsupported and not
15
+ recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
16
+ about the Ruby support schedule.
17
17
 
18
18
  ## Versioning
19
19
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Core
19
- VERSION = "1.2.2".freeze
19
+ VERSION = "1.2.3".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -30,8 +30,8 @@ module Google
30
30
  # This class is intended to be inherited by API-specific classes
31
31
  # which overrides the SCOPE constant.
32
32
  class Credentials
33
- TOKEN_CREDENTIAL_URI = "https://accounts.google.com/o/oauth2/token"
34
- AUDIENCE = "https://accounts.google.com/o/oauth2/token"
33
+ TOKEN_CREDENTIAL_URI = "https://oauth2.googleapis.com/token"
34
+ AUDIENCE = "https://oauth2.googleapis.com/token"
35
35
  SCOPE = []
36
36
  PATH_ENV_VARS = %w[GOOGLE_CLOUD_KEYFILE GCLOUD_KEYFILE]
37
37
  JSON_ENV_VARS = %w[GOOGLE_CLOUD_KEYFILE_JSON GCLOUD_KEYFILE_JSON]
@@ -46,7 +46,7 @@ module Google
46
46
  # This is typically present on errors originating from calls to an API
47
47
  # over HTTP/REST.
48
48
  #
49
- # @returns [Object, nil]
49
+ # @return [Object, nil]
50
50
  def status_code
51
51
  return nil unless cause && cause.respond_to?(:status_code)
52
52
  cause.status_code
@@ -59,7 +59,7 @@ module Google
59
59
  # This is typically present on errors originating from calls to an API
60
60
  # over HTTP/REST.
61
61
  #
62
- # @returns [Object, nil]
62
+ # @return [Object, nil]
63
63
  def body
64
64
  return nil unless cause && cause.respond_to?(:body)
65
65
  cause.body
@@ -72,7 +72,7 @@ module Google
72
72
  # This is typically present on errors originating from calls to an API
73
73
  # over HTTP/REST.
74
74
  #
75
- # @returns [Object, nil]
75
+ # @return [Object, nil]
76
76
  def header
77
77
  return nil unless cause && cause.respond_to?(:header)
78
78
  cause.header
@@ -85,7 +85,7 @@ module Google
85
85
  # This is typically present on errors originating from calls to an API
86
86
  # over gRPC.
87
87
  #
88
- # @returns [Object, nil]
88
+ # @return [Object, nil]
89
89
  def code
90
90
  return nil unless cause && cause.respond_to?(:code)
91
91
  cause.code
@@ -98,7 +98,7 @@ module Google
98
98
  # This is typically present on errors originating from calls to an API
99
99
  # over gRPC.
100
100
  #
101
- # @returns [Object, nil]
101
+ # @return [Object, nil]
102
102
  def details
103
103
  return nil unless cause && cause.respond_to?(:details)
104
104
  cause.details
@@ -111,7 +111,7 @@ module Google
111
111
  # This is typically present on errors originating from calls to an API
112
112
  # over gRPC.
113
113
  #
114
- # @returns [Object, nil]
114
+ # @return [Object, nil]
115
115
  def metadata
116
116
  return nil unless cause && cause.respond_to?(:metadata)
117
117
  cause.metadata
@@ -124,7 +124,7 @@ module Google
124
124
  # This is typically present on errors originating from calls to an API
125
125
  # over gRPC.
126
126
  #
127
- # @returns [Object, nil]
127
+ # @return [Object, nil]
128
128
  def status_details
129
129
  return nil unless cause && cause.respond_to?(:status_details)
130
130
  cause.status_details
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-05 00:00:00.000000000 Z
12
+ date: 2018-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-env
@@ -95,6 +95,20 @@ dependencies:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: '1.1'
98
+ - !ruby/object:Gem::Dependency
99
+ name: redcarpet
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '3.0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '3.0'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: rubocop
100
114
  requirement: !ruby/object:Gem::Requirement