google-cloud-bigtable 2.9.1 → 2.10.0

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: 869ab13c901934adc004a44d5db261a522ec046f0d041e7c4459e547553f09fd
4
- data.tar.gz: 0f8695ea7333b81550cb133821688cecc27659a198d5f8d33080a87380c06416
3
+ metadata.gz: 4d725783627648a929493cac00ba2ce282880c423ad727c4925889d23907954e
4
+ data.tar.gz: 8f754bdb3f8b0193128fadf28432b24ebf121864d08964f6b7acf194a87c2af1
5
5
  SHA512:
6
- metadata.gz: 94f86b473863ecfdada6caf7233b6bfcae87560703e40c0333df435422ea84d56382772eab6bc409e479838bf0710a65a7e54ce753a210fe80736bd7876fcabc
7
- data.tar.gz: e488a6e549ba34f836edb8b50e6c1eb3925af84d59f9bd0d19c9d4a7f664f042f37815df40388bf2b1f9dd8c0b728dcf06c9f80969ac0e1ff982ec65b8c092ce
6
+ metadata.gz: 1d90935ded28874a4227bb7a1a88072a18b6b9e98bbe965dc3311f78ae42e170c8842c7391d6edc99622f08b1b729883e7fde1533f64e73b3ee7b349d0287f4c
7
+ data.tar.gz: 365d71227274e483f955a9ae96d827060cd6a4bc38a908f31d3453e78ff6cb8b30fc5db12cce452de61dadcd8d622613867a6ba87f157cfe5fbcdbe70ce2bd81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 2.10.0 (2024-03-07)
4
+
5
+ #### Features
6
+
7
+ * Update minimum supported Ruby version to 2.7 ([#25298](https://github.com/googleapis/google-cloud-ruby/issues/25298))
8
+
3
9
  ### 2.9.1 (2024-02-09)
4
10
 
5
11
  #### Documentation
@@ -76,11 +76,11 @@ module Google
76
76
  def validate_reset_row
77
77
  return unless chunk.reset_row
78
78
 
79
- value = (!chunk.row_key.empty? ||
80
- chunk.family_name ||
81
- chunk.qualifier ||
82
- !chunk.value.empty? ||
83
- chunk.timestamp_micros.positive?)
79
+ value = !chunk.row_key.empty? ||
80
+ chunk.family_name ||
81
+ chunk.qualifier ||
82
+ !chunk.value.empty? ||
83
+ chunk.timestamp_micros.positive?
84
84
 
85
85
  raise_if value, "A reset should have no data"
86
86
  end
@@ -370,8 +370,7 @@ module Google
370
370
  added_keys = @column_families.keys - comparison_map.keys
371
371
 
372
372
  added_keys.map do |name|
373
- Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest:: \
374
- Modification.new(
373
+ Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification.new(
375
374
  id: name,
376
375
  create: @column_families[name]
377
376
  )
@@ -394,8 +393,7 @@ module Google
394
393
  end
395
394
 
396
395
  updated_keys.map do |name|
397
- Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest:: \
398
- Modification.new(
396
+ Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification.new(
399
397
  id: name,
400
398
  update: @column_families[name]
401
399
  )
@@ -415,8 +413,7 @@ module Google
415
413
  dropped_keys = comparison_map.keys - @column_families.keys
416
414
 
417
415
  dropped_keys.map do |name|
418
- Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest:: \
419
- Modification.new(
416
+ Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification.new(
420
417
  id: name,
421
418
  drop: true
422
419
  )
@@ -658,13 +658,11 @@ module Google
658
658
 
659
659
  def read_rows instance_id, table_id, app_profile_id: nil, rows: nil, filter: nil, rows_limit: nil
660
660
  client(table_path(instance_id, table_id), app_profile_id).read_rows(
661
- **{
662
- table_name: table_path(instance_id, table_id),
663
- rows: rows,
664
- filter: filter,
665
- rows_limit: rows_limit,
666
- app_profile_id: app_profile_id
667
- }
661
+ table_name: table_path(instance_id, table_id),
662
+ rows: rows,
663
+ filter: filter,
664
+ rows_limit: rows_limit,
665
+ app_profile_id: app_profile_id
668
666
  )
669
667
  end
670
668
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Bigtable
19
- VERSION = "2.9.1".freeze
19
+ VERSION = "2.10.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -65,11 +65,13 @@ module Google
65
65
  # bigtable = gcloud.bigtable
66
66
  #
67
67
  def bigtable scope: nil, timeout: nil, credentials: nil
68
+ credentials ||= @keyfile
69
+ timeout ||= @timeout
68
70
  Google::Cloud.bigtable(
69
71
  project_id: @project,
70
- credentials: (credentials || @keyfile),
72
+ credentials: credentials,
71
73
  scope: scope,
72
- timeout: (timeout || @timeout)
74
+ timeout: timeout
73
75
  )
74
76
  end
75
77
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.1
4
+ version: 2.10.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: 2024-02-09 00:00:00.000000000 Z
11
+ date: 2024-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -66,118 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.5'
69
- - !ruby/object:Gem::Dependency
70
- name: google-style
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 1.26.1
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 1.26.1
83
- - !ruby/object:Gem::Dependency
84
- name: minitest
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '5.16'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '5.16'
97
- - !ruby/object:Gem::Dependency
98
- name: minitest-focus
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1.1'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '1.1'
111
- - !ruby/object:Gem::Dependency
112
- name: minitest-rg
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '5.2'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '5.2'
125
- - !ruby/object:Gem::Dependency
126
- name: redcarpet
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '3.0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '3.0'
139
- - !ruby/object:Gem::Dependency
140
- name: simplecov
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '0.9'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '0.9'
153
- - !ruby/object:Gem::Dependency
154
- name: yard
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.9'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.9'
167
- - !ruby/object:Gem::Dependency
168
- name: yard-doctest
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: 0.1.13
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: 0.1.13
181
69
  description: google-cloud-bigtable is the official library for Cloud Bigtable API.
182
70
  email: googleapis-packages@google.com
183
71
  executables: []
@@ -256,14 +144,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
256
144
  requirements:
257
145
  - - ">="
258
146
  - !ruby/object:Gem::Version
259
- version: '2.6'
147
+ version: '2.7'
260
148
  required_rubygems_version: !ruby/object:Gem::Requirement
261
149
  requirements:
262
150
  - - ">="
263
151
  - !ruby/object:Gem::Version
264
152
  version: '0'
265
153
  requirements: []
266
- rubygems_version: 3.5.3
154
+ rubygems_version: 3.5.6
267
155
  signing_key:
268
156
  specification_version: 4
269
157
  summary: API Client library for Cloud Bigtable API