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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzhlMTg0N2Y1ZjlhYzcxYzM4MzM2Y2ZmMGI4NzEyNzJjMjlmYTEzYg==
4
+ NGZjMGY0OWZhMzkxM2YyNjk0OTllZTVkYTYwYzg0ZTMzNzAyNmNiOA==
5
5
  data.tar.gz: !binary |-
6
- MzcxZjIyMjAzODdlMTYxMzBhZWUxYzZjZDhiNjI1NzE1MTFkMjk5NQ==
6
+ YmM5NzYxMDhiZjg3M2Q4YjBlYjcxNDVkNmQ4MDgxZDdlYzcyY2ExYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzFlYThlNjUzZGI4ZTI2ZWZmY2FmMzQ1NTlmMDNlOTZkYzcxZWIwMmEzZDI5
10
- ZjBiZjAxOTNmYzQ4YWRiM2VlNDgxOWMxODg2NzRmZWM3NTQwMTI2N2JjMmMy
11
- YWRhYjAxNDNlY2Y2NjhhM2E2ZjMwMTQ1Mzc0NzliY2VmODc4NTY=
9
+ ZGFjYjdiOWUzYmUyODgwNmQ2M2Y1MzNmMWU0MDdlY2FhMTE5MzlhZDkwN2E4
10
+ ZTg5MTcwNzY4Yjk5OTM3MmJmNWU4Mjg2ODc5MWM3N2JhZDUzYTA4ZGM1NzY5
11
+ YmVjNTYyYTFkMWU3MDU3NmMzNjUyOTI2YWFiYzlmNDc3YzY3NGE=
12
12
  data.tar.gz: !binary |-
13
- YWM2YjUzY2YyNDI1MmEwZTcxOTBiYmVjOWU4ZDQ1ZDY0MzYzMjBlZmMzMTVi
14
- Y2IwN2UyZGVkYzdhMTNiNTA0ZDI4OTIxMGNiODQwNWJmYjA1ZmJhYTgzZDA1
15
- OTkxZGE4NTIxODk3ZWZhNGRhZTc1OWEwZTRmZjEyOThiMWM0MDU=
13
+ M2MyNzI2NjNjYzM2M2ZkMDZhNzNhNzRjZjNhNmEwMDFjODViZTdhNWU1NTRi
14
+ YzZjMGJhNWQ1YmNjYjJlYjMzMmQ0NGZiOWM4MjdmNTU3NzdiYTUyNWRlZGUy
15
+ NTVlMjg1MTIxMzk2NzlhZjRmYmFlNmQ4NWJhNWM4MWU0ZmQxOTg=
@@ -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
- * SUpport for automatic retires & backoff. Off by default, enable by setting `retries` on `APIClient`
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
- Google::APIClient.logger = app.logger
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
@@ -18,7 +18,7 @@ module Google
18
18
  module VERSION
19
19
  MAJOR = 0
20
20
  MINOR = 8
21
- TINY = 0
21
+ TINY = 1
22
22
  PATCH = nil
23
23
  STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
24
24
  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.0
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-17 00:00:00.000000000 Z
12
+ date: 2014-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable