google-api-client 0.8.0 → 0.8.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 +8 -8
- data/CHANGELOG.md +6 -2
- data/lib/google/api_client/railtie.rb +7 -1
- data/lib/google/api_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NGZjMGY0OWZhMzkxM2YyNjk0OTllZTVkYTYwYzg0ZTMzNzAyNmNiOA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YmM5NzYxMDhiZjg3M2Q4YjBlYjcxNDVkNmQ4MDgxZDdlYzcyY2ExYg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZGFjYjdiOWUzYmUyODgwNmQ2M2Y1MzNmMWU0MDdlY2FhMTE5MzlhZDkwN2E4
|
|
10
|
+
ZTg5MTcwNzY4Yjk5OTM3MmJmNWU4Mjg2ODc5MWM3N2JhZDUzYTA4ZGM1NzY5
|
|
11
|
+
YmVjNTYyYTFkMWU3MDU3NmMzNjUyOTI2YWFiYzlmNDc3YzY3NGE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
M2MyNzI2NjNjYzM2M2ZkMDZhNzNhNzRjZjNhNmEwMDFjODViZTdhNWU1NTRi
|
|
14
|
+
YzZjMGJhNWQ1YmNjYjJlYjMzMmQ0NGZiOWM4MjdmNTU3NzdiYTUyNWRlZGUy
|
|
15
|
+
NTVlMjg1MTIxMzk2NzlhZjRmYmFlNmQ4NWJhNWM4MWU0ZmQxOTg=
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
# 0.8.1
|
|
2
|
+
* Fix logger in rails
|
|
3
|
+
|
|
1
4
|
# 0.8.0
|
|
2
5
|
* Refactored credential storage, added support for redis
|
|
3
6
|
* Update gem depdendencies
|
|
@@ -6,15 +9,16 @@
|
|
|
6
9
|
* Batch requests with the service interface now inherit the service's connection
|
|
7
10
|
* `register_discover_document` now returns the API instance
|
|
8
11
|
* Added `:proxy` option to set Faraday's HTTP proxy setting
|
|
9
|
-
* Drop 1.8.x support
|
|
10
12
|
* Added `:faraday_options` option to allow passthrough settings to Faraday connection
|
|
13
|
+
* Drop 1.8.x support
|
|
14
|
+
* This will be the last release with 1.9.x support
|
|
11
15
|
|
|
12
16
|
# 0.7.1
|
|
13
17
|
* Minor fix to update gem dependencies
|
|
14
18
|
|
|
15
19
|
# 0.7.0
|
|
16
20
|
* Remove CLI
|
|
17
|
-
*
|
|
21
|
+
* Support for automatic retires & backoff. Off by default, enable by setting `retries` on `APIClient`
|
|
18
22
|
* Experimental new interface (see `Google::APIClient::Service`)
|
|
19
23
|
* Fix warnings when using Faraday separately
|
|
20
24
|
* Support Google Compute Engine service accounts
|
|
@@ -10,7 +10,13 @@ module Google
|
|
|
10
10
|
#
|
|
11
11
|
class Railtie < Rails::Railtie
|
|
12
12
|
initializer 'google-api-client' do |app|
|
|
13
|
-
|
|
13
|
+
_logger = case
|
|
14
|
+
when app.respond_to?(:logger) then app.logger
|
|
15
|
+
when app.config.respond_to?(:logger) then app.config.logger
|
|
16
|
+
else Rails.logger
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
Google::APIClient.logger = _logger
|
|
14
20
|
end
|
|
15
21
|
end
|
|
16
22
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-api-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bob Aman
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-12-
|
|
12
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: addressable
|