google-cloud 0.56.2 → 0.56.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 418adf9dc857df6701b4f76007d05139a81c087d7e72546fe759a9edfadf07e8
4
- data.tar.gz: 35cf43cd4b3cba69971835e30f9a976704a9cf5fb9b50222fb10908820240b09
3
+ metadata.gz: 55a121ebdab586fb62893f42cc883be6fffbb6d702e099a9913e8850d168d29e
4
+ data.tar.gz: 873bc797fc9843f575a3d0a3b68a824eae940d12beca0d533e438a93f8b1132f
5
5
  SHA512:
6
- metadata.gz: f0d67a3af8e2897322c341fa81bcb3e3aabe9ad0ed5b4c1fb082c547725b42a65b6ca8185ad010c01fe8bf4c226f0ab7aba31cf681027b0526c32800d0ccc02d
7
- data.tar.gz: 3584cdcd7867c41efe0577afa6421574ccd2325e7d6a100ca83b889c4626d0271e9c089ddb4e789872f838f1fa7c994d447a8283e8124a3217d3928c0e3d5419
6
+ metadata.gz: a710fe9b258d7bbe42470bab0ce4ec493d27317ed86be7921e367f840c7b5e64525c57fe9b6ed63bf5ab917a4763e04cb55fe2caba9f8399a3932c92a39b19b1
7
+ data.tar.gz: 94df8eb8a355ea5565fe3d4ca6e1f0ccc7917c5db7be97fd9ce9262c19a25fbd18a0edbba23ce9623986682d1d61f5a97b1f9eed7602a01b0b8ce40ab276e633
data/README.md CHANGED
@@ -1,14 +1,47 @@
1
1
  # google-cloud
2
2
 
3
- This gem is a convenience package for loading all gems in the google-cloud
4
- project. Users are encouraged to depending on the individual gems needed for
5
- your project instead of using this gem with every dependency. Please see the
6
- [GitHub repository](https://github.com/GoogleCloudPlatform/google-cloud-ruby)
7
- for more information about the individual google-cloud gems.
8
-
9
- - [google-cloud API documentation](http://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud/latest)
3
+ The [google-cloud](https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud)
4
+ gem is a convenience package that lazily loads the vast majority of the
5
+ [google-cloud-*](https://github.com/googleapis/google-cloud-ruby) gems.
6
+ Because there are now so many google-cloud-* gems, instead of using this gem in
7
+ your production application, we encourage you to directly require only the
8
+ individual google-cloud-* gems that you need.
9
+
10
+ - [google-cloud API documentation](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud/latest)
10
11
  - [google-cloud on RubyGems](https://rubygems.org/gems/google-cloud)
11
12
 
13
+ ## List of dependencies
14
+
15
+ This gem depends on and lazily loads the following google-cloud-* gems:
16
+
17
+ - [google-cloud-bigquery](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-bigquery)
18
+ - [google-cloud-bigquery-data_transfer](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-bigquery-data_transfer)
19
+ - [google-cloud-bigtable](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-bigtable)
20
+ - [google-cloud-container](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-container)
21
+ - [google-cloud-dataproc](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-dataproc)
22
+ - [google-cloud-datastore](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-datastore)
23
+ - [google-cloud-dialogflow](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-dialogflow)
24
+ - [google-cloud-dlp](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-dlp)
25
+ - [google-cloud-dns](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-dns)
26
+ - [google-cloud-error_reporting](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-error_reporting)
27
+ - [google-cloud-firestore](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-firestore)
28
+ - [google-cloud-kms](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-kms)
29
+ - [google-cloud-language](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-language)
30
+ - [google-cloud-logging](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-logging)
31
+ - [google-cloud-monitoring](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-monitoring)
32
+ - [google-cloud-os_login](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-os_login)
33
+ - [google-cloud-pubsub](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-pubsub)
34
+ - [google-cloud-resource_manager](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-resource_manager)
35
+ - [google-cloud-spanner](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-spanner)
36
+ - [google-cloud-speech](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-speech)
37
+ - [google-cloud-storage](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-storage)
38
+ - [google-cloud-tasks](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-tasks)
39
+ - [google-cloud-text_to_speech](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-text_to_speech)
40
+ - [google-cloud-trace](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-trace)
41
+ - [google-cloud-translate](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-translate)
42
+ - [google-cloud-video_intelligence](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-video_intelligence)
43
+ - [google-cloud-vision](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-vision)
44
+
12
45
  ## Quick Start
13
46
 
14
47
  ```sh
@@ -18,15 +51,25 @@ $ gem install google-cloud
18
51
  ## Authentication
19
52
 
20
53
  Instructions and configuration options are covered in the [Authentication
21
- Guide](https://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud/latest/file.AUTHENTICATION).
54
+ Guide](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud/latest/file.AUTHENTICATION).
22
55
 
23
56
  ## Example
24
57
 
58
+ As shown in the example below, the google-cloud gem lazily loads its
59
+ google-cloud-* dependencies only as needed.
60
+
25
61
  ```ruby
26
62
  require "google-cloud"
27
63
 
28
64
  gcloud = Google::Cloud.new
65
+
66
+ Google::Cloud::Bigquery #=> NameError: uninitialized constant Google::Cloud::Bigquery
67
+
29
68
  bigquery = gcloud.bigquery
69
+
70
+ Google::Cloud::Bigquery #=> Google::Cloud::Bigquery
71
+ Google::Cloud::Logging #=> NameError: uninitialized constant Google::Cloud::Logging
72
+
30
73
  dataset = bigquery.dataset "my-dataset"
31
74
  table = dataset.table "my-table"
32
75
  table.data.each do |row|
@@ -57,23 +100,23 @@ change at any time and the public API should not be considered stable.
57
100
  Contributions to this library are always welcome and highly encouraged.
58
101
 
59
102
  See the [Contributing
60
- Guide](https://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud/latest/file.CONTRIBUTING)
103
+ Guide](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud/latest/file.CONTRIBUTING)
61
104
  for more information on how to get started.
62
105
 
63
106
  Please note that this project is released with a Contributor Code of Conduct. By
64
107
  participating in this project you agree to abide by its terms. See [Code of
65
- Conduct](https://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud/latest/file.CODE_OF_CONDUCT)
108
+ Conduct](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud/latest/file.CODE_OF_CONDUCT)
66
109
  for more information.
67
110
 
68
111
  ## License
69
112
 
70
113
  This library is licensed under Apache 2.0. Full license text is available in
71
- [LICENSE](https://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud/latest/file.LICENSE).
114
+ [LICENSE](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud/latest/file.LICENSE).
72
115
 
73
116
  ## Support
74
117
 
75
118
  Please [report bugs at the project on
76
- Github](https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues). Don't
119
+ Github](https://github.com/googleapis/google-cloud-ruby/issues). Don't
77
120
  hesitate to [ask
78
121
  questions](http://stackoverflow.com/questions/tagged/google-cloud-platform+ruby)
79
122
  about the client or APIs on [StackOverflow](http://stackoverflow.com).
data/lib/google-cloud.rb CHANGED
@@ -17,4 +17,4 @@
17
17
 
18
18
 
19
19
  gem "google-cloud-core"
20
- require "google/cloud"
20
+ require "google/cloud" unless defined? Google::Cloud.new
@@ -15,6 +15,6 @@
15
15
 
16
16
  module Google
17
17
  module Cloud
18
- VERSION = "0.56.2".freeze
18
+ VERSION = "0.56.3".freeze
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.2
4
+ version: 0.56.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-09-12 00:00:00.000000000 Z
12
+ date: 2018-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-bigquery
@@ -545,7 +545,7 @@ files:
545
545
  - README.md
546
546
  - lib/google-cloud.rb
547
547
  - lib/google/cloud/version.rb
548
- homepage: https://github.com/GoogleCloudPlatform/google-cloud-ruby/tree/master/google-cloud
548
+ homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud
549
549
  licenses:
550
550
  - Apache-2.0
551
551
  metadata: {}