google-cloud-bigtable 2.6.5 → 2.7.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: 97a1784cba140215ea8db7b6d43abf58d85363946e10ab682343134dc22a7629
4
- data.tar.gz: 14079406da2a6e296375da01eb5259339ee1b87a6a69789fde5c7ea1d22efc40
3
+ metadata.gz: ec6f4d74dfa766b50aad6316df5d1a573ce463c692a165f7a5b187ba8f7cff57
4
+ data.tar.gz: 725ec7db3d5a85a4071b4914393917381a9a2fc603826700c0ebd00f5962b3a8
5
5
  SHA512:
6
- metadata.gz: 98aff7f194898cc4bc2168412289709c38cb3bab3f57161617cbb353c7db6426393cc419bf507d6858e1854e9b61034808d0db94e45394c10d183dbe15b75340
7
- data.tar.gz: c09df8da6f3dc5a2e40fa8e0d427ca79d2e4772f9665166f133abc18f1bc6d71709e94bb8072326d3227062054e6a5eeb17a9f7c1105b88e89a571d7a7978c03
6
+ metadata.gz: 2f4f3d6b8c14de86c5b6c63187d652ad351d59409507e0c35abe99cfa52a9e0ce83ee57ed8be17c102f18576464a4b09ee4eb15ab076743286f57aa99f603315
7
+ data.tar.gz: 8c33973c6872a227da6b1342e88738072485968df25160d9ad3fa1c5029d5a31cf03ee02ba612bae4c66b0d5665fd2f209940222be931392f4cee6ede2803780
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 2.7.0 (2022-07-01)
4
+
5
+ #### Features
6
+
7
+ * Updated minimum Ruby version to 2.6 ([#18453](https://github.com/googleapis/google-cloud-ruby/issues/18453))
8
+
3
9
  ### 2.6.5 / 2022-01-11
4
10
 
5
11
  #### Documentation
@@ -331,7 +331,7 @@ module Google
331
331
  # @return [Hash]
332
332
  #
333
333
  def to_grpc_hash
334
- Hash[to_grpc.to_a]
334
+ to_grpc.to_a.to_h
335
335
  end
336
336
 
337
337
  ##
@@ -245,7 +245,7 @@ module Google
245
245
  labels ||= {}
246
246
  @grpc.labels = Google::Protobuf::Map.new(
247
247
  :string, :string,
248
- Hash[labels.map { |k, v| [String(k), String(v)] }]
248
+ labels.to_h { |k, v| [String(k), String(v)] }
249
249
  )
250
250
  end
251
251
 
@@ -224,7 +224,7 @@ module Google
224
224
  # end
225
225
  #
226
226
  def create_instance instance_id, display_name: nil, type: nil, labels: nil, clusters: nil
227
- labels = Hash[labels.map { |k, v| [String(k), String(v)] }] if labels
227
+ labels = labels.to_h { |k, v| [String(k), String(v)] } if labels
228
228
 
229
229
  instance_attrs = { display_name: display_name, type: type, labels: labels }.delete_if { |_, v| v.nil? }
230
230
  instance = Google::Cloud::Bigtable::Admin::V2::Instance.new instance_attrs
@@ -649,11 +649,15 @@ module Google
649
649
  end
650
650
 
651
651
  def read_rows instance_id, table_id, app_profile_id: nil, rows: nil, filter: nil, rows_limit: nil
652
- client.read_rows table_name: table_path(instance_id, table_id),
653
- rows: rows,
654
- filter: filter,
655
- rows_limit: rows_limit,
656
- app_profile_id: app_profile_id
652
+ client.read_rows(
653
+ {
654
+ table_name: table_path(instance_id, table_id),
655
+ rows: rows,
656
+ filter: filter,
657
+ rows_limit: rows_limit,
658
+ app_profile_id: app_profile_id
659
+ }
660
+ )
657
661
  end
658
662
 
659
663
  def sample_row_keys table_name, app_profile_id: nil
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Bigtable
19
- VERSION = "2.6.5".freeze
19
+ VERSION = "2.7.0".freeze
20
20
  end
21
21
  end
22
22
  end
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.6.5
4
+ version: 2.7.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: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-bigtable-admin-v2
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.25.1
61
+ version: 1.26.1
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.25.1
68
+ version: 1.26.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '5.14'
75
+ version: '5.16'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '5.14'
82
+ version: '5.16'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest-focus
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -242,14 +242,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
242
242
  requirements:
243
243
  - - ">="
244
244
  - !ruby/object:Gem::Version
245
- version: '2.5'
245
+ version: '2.6'
246
246
  required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  requirements: []
252
- rubygems_version: 3.3.4
252
+ rubygems_version: 3.3.14
253
253
  signing_key:
254
254
  specification_version: 4
255
255
  summary: API Client library for Cloud Bigtable API