google-cloud-bigquery 1.47.0 → 1.52.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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ae89922b3fcbb32e3a271991fd06d3d67cc0691894c67093ba92aab2e075014
4
- data.tar.gz: 8c8191361353fc7e0bf96dbaaedb23ee9bdfc994f5b82168cd7cbf576db8ed89
3
+ metadata.gz: eebf05291009387d9603457ebcd1012db3b5090e229847394ac56dec3fdb478a
4
+ data.tar.gz: 37e8964677c24c906bc766d2d94f6fffeee743990013c47d73faff07bb591c46
5
5
  SHA512:
6
- metadata.gz: c6d4a196086e10047f137593a2049af71a8de762581f8bcc43b6f71b50fb903a66ea10fa33851a3d9b6ae7c3c6c6952fd23b4c2881e3b86d2a9e966beb2b01b6
7
- data.tar.gz: d375fad8b9cce3951cf2be7beccc4a064104ce9353f3ebce1799c652ab2bca22d00abf278cb0f2679ce1044af1835b060883a6adcfa8b7a65b9fb387c5330b1c
6
+ metadata.gz: 6b7e701313f055af34b881cf8fbad6bb11cf86a5782a3e65d0849eaf8b596cd9ffe046de536f9b222fdfc1fb3024d8db398f860330e60372244b06e6c996c83e
7
+ data.tar.gz: 118423b6a2db399957b190395e0ea1e44fb4474d1215cd126c2d564607ac7429a93a1a509d3682ba15b8027f0ee58f30fdddba253bb8fdbabc4ed999343444b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # Release History
2
2
 
3
+ ### 1.52.1 (2025-04-25)
4
+
5
+ #### Documentation
6
+
7
+ * Fixed a typo in the overview ([#29526](https://github.com/googleapis/google-cloud-ruby/issues/29526))
8
+
9
+ ### 1.52.0 (2025-03-10)
10
+
11
+ #### Features
12
+
13
+ * Update minimum Ruby version to 3.0 ([#29261](https://github.com/googleapis/google-cloud-ruby/issues/29261))
14
+
15
+ ### 1.51.1 (2024-12-13)
16
+
17
+ #### Bug Fixes
18
+
19
+ * Allow inserts to a target dataset/table in another project ([#28097](https://github.com/googleapis/google-cloud-ruby/issues/28097))
20
+
21
+ ### 1.51.0 (2024-12-04)
22
+
23
+ #### Features
24
+
25
+ * load jobs with dest tables in another project ([#27681](https://github.com/googleapis/google-cloud-ruby/issues/27681))
26
+ #### Bug Fixes
27
+
28
+ * remove reload! call on patch_table ([#27684](https://github.com/googleapis/google-cloud-ruby/issues/27684))
29
+
30
+ ### 1.50.0 (2024-06-27)
31
+
32
+ #### Features
33
+
34
+ * add method in load_job to set column name character map ([#26135](https://github.com/googleapis/google-cloud-ruby/issues/26135))
35
+
36
+ ### 1.49.1 (2024-06-05)
37
+
38
+ #### Bug Fixes
39
+
40
+ * Added bigdecimal to the gem dependencies ([#26012](https://github.com/googleapis/google-cloud-ruby/issues/26012))
41
+
42
+ ### 1.49.0 (2024-03-10)
43
+
44
+ #### Features
45
+
46
+ * Update minimum supported Ruby version to 2.7 ([#25298](https://github.com/googleapis/google-cloud-ruby/issues/25298))
47
+
48
+ ### 1.48.1 (2024-02-10)
49
+
50
+ #### Documentation
51
+
52
+ * Correct an example snippet related to storage_billing_model ([#24796](https://github.com/googleapis/google-cloud-ruby/issues/24796))
53
+
54
+ ### 1.48.0 (2024-02-08)
55
+
56
+ #### Features
57
+
58
+ * Support accessing storage_ billing_model field in a dataset ([#24755](https://github.com/googleapis/google-cloud-ruby/issues/24755))
59
+
3
60
  ### 1.47.0 (2024-02-05)
4
61
 
5
62
  #### Features
data/OVERVIEW.md CHANGED
@@ -87,7 +87,7 @@ advantages over legacy SQL, including:
87
87
  * Complex `JOIN` predicates, including arbitrary expressions
88
88
 
89
89
  For examples that demonstrate some of these features, see [Standard SQL
90
- ghlights](https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#standard_sql_highlights).
90
+ highlights](https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#standard_sql_highlights).
91
91
 
92
92
  As shown in this example, standard SQL is the library default:
93
93
 
@@ -310,6 +310,21 @@ module Google
310
310
  str
311
311
  end
312
312
 
313
+ ##
314
+ # Converts character map strings to API values.
315
+ #
316
+ # @return [String] API representation of character map.
317
+ def self.character_map mapping_version
318
+ val = {
319
+ "default" => "COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED",
320
+ "strict" => "STRICT",
321
+ "v1" => "V1",
322
+ "v2" => "V2"
323
+ }[mapping_version.to_s.downcase]
324
+ return val unless val.nil?
325
+ mapping_version
326
+ end
327
+
313
328
  ##
314
329
  # Converts source format strings to API values.
315
330
  #
@@ -412,6 +412,56 @@ module Google
412
412
  patch_gapi! :default_encryption_configuration
413
413
  end
414
414
 
415
+ ##
416
+ # Gets the Storage Billing Model for the dataset.
417
+ #
418
+ # @see https://cloud.google.com/blog/products/data-analytics/new-bigquery-billing-model-helps-reduce-physical-storage-costs
419
+ #
420
+ # @return [String, nil] A string containing the storage billing model, or `nil`.
421
+ # Possible values of the string are `LOGICAL`, `PHYSICAL`.
422
+ # It returns `nil` if either the object is a reference (see {#reference?}),
423
+ # or if the storage billing model is unspecified.
424
+ #
425
+ # @example
426
+ #
427
+ # require "google/cloud/bigquery"
428
+ #
429
+ # bigquery = Google::Cloud::Bigquery.new
430
+ # dataset = bigquery.dataset "my_dataset"
431
+ #
432
+ # storage_billing_model = dataset.storage_billing_model
433
+ #
434
+ # @!group Attributes
435
+ #
436
+ def storage_billing_model
437
+ return nil if reference?
438
+ ensure_full_data!
439
+ @gapi.storage_billing_model
440
+ end
441
+
442
+ ##
443
+ # Sets the Storage Billing Model for the dataset.
444
+ #
445
+ # @see https://cloud.google.com/blog/products/data-analytics/new-bigquery-billing-model-helps-reduce-physical-storage-costs
446
+ #
447
+ # @param value [String] The new storage billing model. Accepted values
448
+ # are `LOGICAL` and `PHYSICAL`.
449
+ #
450
+ # @example
451
+ # require "google/cloud/bigquery"
452
+ #
453
+ # bigquery = Google::Cloud::Bigquery.new
454
+ # dataset = bigquery.dataset "my_dataset"
455
+ # dataset.storage_billing_model = "LOGICAL"
456
+ #
457
+ # @!group Attributes
458
+ #
459
+ def storage_billing_model= value
460
+ ensure_full_data!
461
+ @gapi.storage_billing_model = value
462
+ patch_gapi! :storage_billing_model
463
+ end
464
+
415
465
  ##
416
466
  # Retrieves the access rules for a Dataset. The rules can be updated
417
467
  # when passing a block, see {Dataset::Access} for all the methods
@@ -849,7 +899,7 @@ module Google
849
899
  def table table_id, skip_lookup: nil, view: nil
850
900
  ensure_service!
851
901
  return Table.new_reference project_id, dataset_id, table_id, service if skip_lookup
852
- gapi = service.get_table dataset_id, table_id, metadata_view: view
902
+ gapi = service.get_project_table project_id, dataset_id, table_id, metadata_view: view
853
903
  Table.from_gapi gapi, service, metadata_view: view
854
904
  rescue Google::Cloud::NotFoundError
855
905
  nil
@@ -2394,7 +2444,7 @@ module Google
2394
2444
  #
2395
2445
  def reload!
2396
2446
  ensure_service!
2397
- @gapi = service.get_dataset dataset_id
2447
+ @gapi = service.get_project_dataset project_id, dataset_id
2398
2448
  @reference = nil
2399
2449
  @exists = nil
2400
2450
  self
@@ -2760,7 +2810,7 @@ module Google
2760
2810
  ensure_service!
2761
2811
 
2762
2812
  # Get table, don't use Dataset#table which handles NotFoundError
2763
- gapi = service.get_table dataset_id, table_id, metadata_view: view
2813
+ gapi = service.get_project_table project_id, dataset_id, table_id, metadata_view: view
2764
2814
  table = Table.from_gapi gapi, service, metadata_view: view
2765
2815
  # Get the AsyncInserter from the table
2766
2816
  table.insert_async skip_invalid: skip_invalid,
@@ -2815,7 +2865,8 @@ module Google
2815
2865
  ensure_service!
2816
2866
  gapi = service.insert_tabledata dataset_id, table_id, rows, skip_invalid: skip_invalid,
2817
2867
  ignore_unknown: ignore_unknown,
2818
- insert_ids: insert_ids
2868
+ insert_ids: insert_ids,
2869
+ project_id: project_id
2819
2870
  InsertResponse.from_gapi rows, gapi
2820
2871
  end
2821
2872
 
@@ -2877,7 +2928,7 @@ module Google
2877
2928
  configuration: Google::Apis::BigqueryV2::JobConfiguration.new(
2878
2929
  load: Google::Apis::BigqueryV2::JobConfigurationLoad.new(
2879
2930
  destination_table: Google::Apis::BigqueryV2::TableReference.new(
2880
- project_id: @service.project,
2931
+ project_id: project_id,
2881
2932
  dataset_id: dataset_id,
2882
2933
  table_id: table_id
2883
2934
  )
@@ -1727,6 +1727,24 @@ module Google
1727
1727
  @gapi.configuration.load.update! source_format: Convert.source_format(new_format)
1728
1728
  end
1729
1729
 
1730
+ ##
1731
+ # Sets the character map for column name conversion. The default value is `default`.
1732
+ #
1733
+ # The following values are supported:
1734
+ #
1735
+ # * `default`
1736
+ # * `strict`
1737
+ # * `v1`
1738
+ # * `v2`
1739
+ #
1740
+ # @param [String] new_character_map The new character map.
1741
+ #
1742
+ # @!group Attributes
1743
+ #
1744
+ def column_name_character_map= new_character_map
1745
+ @gapi.configuration.load.update! column_name_character_map: Convert.character_map(new_character_map)
1746
+ end
1747
+
1730
1748
  ##
1731
1749
  # Sets the create disposition.
1732
1750
  #
@@ -633,6 +633,7 @@ module Google
633
633
  create_session: nil,
634
634
  session_id: nil
635
635
  ensure_service!
636
+ project ||= self.project
636
637
  options = {
637
638
  params: params,
638
639
  types: types,
@@ -644,7 +645,7 @@ module Google
644
645
  write: write,
645
646
  dryrun: dryrun,
646
647
  dataset: dataset,
647
- project: (project || self.project),
648
+ project: project,
648
649
  standard_sql: standard_sql,
649
650
  legacy_sql: legacy_sql,
650
651
  large_results: large_results,
@@ -1110,6 +1111,7 @@ module Google
1110
1111
  # Note: This will work only for tables in _SESSION dataset
1111
1112
  # else the property will be ignored by the backend.
1112
1113
  # @param [string] session_id Session ID in which the load job must run.
1114
+ # @param [string] project_id Project ID where the destination table exists.
1113
1115
  #
1114
1116
  # @yield [updater] A block for setting the schema and other
1115
1117
  # options for the destination table. The schema can be omitted if the
@@ -1137,10 +1139,10 @@ module Google
1137
1139
  projection_fields: nil, jagged_rows: nil, quoted_newlines: nil, encoding: nil,
1138
1140
  delimiter: nil, ignore_unknown: nil, max_bad_records: nil, quote: nil,
1139
1141
  skip_leading: nil, schema: nil, job_id: nil, prefix: nil, labels: nil, autodetect: nil,
1140
- null_marker: nil, dryrun: nil, create_session: nil, session_id: nil, &block
1142
+ null_marker: nil, dryrun: nil, create_session: nil, session_id: nil, project_id: nil, &block
1141
1143
  ensure_service!
1142
1144
  dataset_id ||= "_SESSION" unless create_session.nil? && session_id.nil?
1143
- session_dataset = dataset dataset_id, skip_lookup: true
1145
+ session_dataset = dataset dataset_id, skip_lookup: true, project_id: project_id
1144
1146
  table = session_dataset.table table_id, skip_lookup: true
1145
1147
  table.load_job files,
1146
1148
  format: format, create: create, write: write, projection_fields: projection_fields,
@@ -1375,6 +1377,7 @@ module Google
1375
1377
  # object without verifying that the resource exists on the BigQuery
1376
1378
  # service. Calls made on this object will raise errors if the resource
1377
1379
  # does not exist. Default is `false`. Optional.
1380
+ # @param [String] project_id The GCP Project where the dataset lives.
1378
1381
  #
1379
1382
  # @return [Google::Cloud::Bigquery::Dataset, nil] Returns `nil` if the
1380
1383
  # dataset does not exist.
@@ -1387,6 +1390,14 @@ module Google
1387
1390
  # dataset = bigquery.dataset "my_dataset"
1388
1391
  # puts dataset.name
1389
1392
  #
1393
+ # @example
1394
+ # require "google/cloud/bigquery"
1395
+ #
1396
+ # bigquery = Google::Cloud::Bigquery.new
1397
+ #
1398
+ # dataset = bigquery.dataset "my_dataset", project_id: "another_project"
1399
+ # puts dataset.name
1400
+ #
1390
1401
  # @example Avoid retrieving the dataset resource with `skip_lookup`:
1391
1402
  # require "google/cloud/bigquery"
1392
1403
  #
@@ -1394,10 +1405,11 @@ module Google
1394
1405
  #
1395
1406
  # dataset = bigquery.dataset "my_dataset", skip_lookup: true
1396
1407
  #
1397
- def dataset dataset_id, skip_lookup: nil
1408
+ def dataset dataset_id, skip_lookup: nil, project_id: nil
1398
1409
  ensure_service!
1399
- return Dataset.new_reference project, dataset_id, service if skip_lookup
1400
- gapi = service.get_dataset dataset_id
1410
+ project_id ||= project
1411
+ return Dataset.new_reference project_id, dataset_id, service if skip_lookup
1412
+ gapi = service.get_project_dataset project_id, dataset_id
1401
1413
  Dataset.from_gapi gapi, service
1402
1414
  rescue Google::Cloud::NotFoundError
1403
1415
  nil
@@ -74,7 +74,7 @@ module Google
74
74
  service.client_options.send_timeout_sec = timeout
75
75
  service.request_options.retries = 0 # handle retries in #execute
76
76
  service.request_options.header ||= {}
77
- service.request_options.header["x-goog-api-client"] = \
77
+ service.request_options.header["x-goog-api-client"] =
78
78
  "gl-ruby/#{RUBY_VERSION} gccl/#{Google::Cloud::Bigquery::VERSION}"
79
79
  service.request_options.query ||= {}
80
80
  service.request_options.query["prettyPrint"] = false
@@ -110,9 +110,15 @@ module Google
110
110
  ##
111
111
  # Returns the dataset specified by datasetID.
112
112
  def get_dataset dataset_id
113
+ get_project_dataset @project, dataset_id
114
+ end
115
+
116
+ ##
117
+ # Gets the specified dataset resource by full dataset reference.
118
+ def get_project_dataset project_id, dataset_id
113
119
  # The get operation is considered idempotent
114
120
  execute backoff: true do
115
- service.get_dataset @project, dataset_id
121
+ service.get_dataset project_id, dataset_id
116
122
  end
117
123
  end
118
124
 
@@ -251,15 +257,17 @@ module Google
251
257
  end
252
258
  end
253
259
 
254
- def insert_tabledata dataset_id, table_id, rows, insert_ids: nil, ignore_unknown: nil, skip_invalid: nil
260
+ def insert_tabledata dataset_id, table_id, rows, insert_ids: nil, ignore_unknown: nil,
261
+ skip_invalid: nil, project_id: nil
255
262
  json_rows = Array(rows).map { |row| Convert.to_json_row row }
256
263
  insert_tabledata_json_rows dataset_id, table_id, json_rows, insert_ids: insert_ids,
257
264
  ignore_unknown: ignore_unknown,
258
- skip_invalid: skip_invalid
265
+ skip_invalid: skip_invalid,
266
+ project_id: project_id
259
267
  end
260
268
 
261
269
  def insert_tabledata_json_rows dataset_id, table_id, json_rows, insert_ids: nil, ignore_unknown: nil,
262
- skip_invalid: nil
270
+ skip_invalid: nil, project_id: nil
263
271
  rows_and_ids = Array(json_rows).zip Array(insert_ids)
264
272
  insert_rows = rows_and_ids.map do |json_row, insert_id|
265
273
  if insert_id == :skip
@@ -280,9 +288,10 @@ module Google
280
288
  }.to_json
281
289
 
282
290
  # The insertAll with insertId operation is considered idempotent
291
+ project_id ||= @project
283
292
  execute backoff: true do
284
293
  service.insert_all_table_data(
285
- @project, dataset_id, table_id, insert_req,
294
+ project_id, dataset_id, table_id, insert_req,
286
295
  options: { skip_serialization: true }
287
296
  )
288
297
  end
@@ -558,13 +567,15 @@ module Google
558
567
  def dataset_ref_from dts, pjt = nil
559
568
  return nil if dts.nil?
560
569
  if dts.respond_to? :dataset_id
570
+ pjt ||= dts.project_id || @project
561
571
  Google::Apis::BigqueryV2::DatasetReference.new(
562
- project_id: (pjt || dts.project_id || @project),
572
+ project_id: pjt,
563
573
  dataset_id: dts.dataset_id
564
574
  )
565
575
  else
576
+ pjt ||= @project
566
577
  Google::Apis::BigqueryV2::DatasetReference.new(
567
- project_id: (pjt || @project),
578
+ project_id: pjt,
568
579
  dataset_id: dts
569
580
  )
570
581
  end
@@ -294,7 +294,8 @@ module Google
294
294
  json_rows,
295
295
  skip_invalid: @skip_invalid,
296
296
  ignore_unknown: @ignore_unknown,
297
- insert_ids: insert_ids
297
+ insert_ids: insert_ids,
298
+ project_id: @table.project_id
298
299
 
299
300
  result = Result.new InsertResponse.from_gapi(orig_rows, insert_resp)
300
301
  rescue StandardError => e
@@ -2747,7 +2747,8 @@ module Google
2747
2747
  rows,
2748
2748
  skip_invalid: skip_invalid,
2749
2749
  ignore_unknown: ignore_unknown,
2750
- insert_ids: insert_ids
2750
+ insert_ids: insert_ids,
2751
+ project_id: project_id
2751
2752
  InsertResponse.from_gapi rows, gapi
2752
2753
  end
2753
2754
 
@@ -3061,10 +3062,6 @@ module Google
3061
3062
  patch_gapi = Google::Apis::BigqueryV2::Table.new(**patch_args)
3062
3063
  patch_gapi.etag = etag if etag
3063
3064
  @gapi = service.patch_table dataset_id, table_id, patch_gapi
3064
-
3065
- # TODO: restore original impl after acceptance test indicates that
3066
- # service etag bug is fixed
3067
- reload!
3068
3065
  end
3069
3066
 
3070
3067
  def ensure_job_succeeded! job
@@ -3085,7 +3082,7 @@ module Google
3085
3082
  configuration: Google::Apis::BigqueryV2::JobConfiguration.new(
3086
3083
  load: Google::Apis::BigqueryV2::JobConfigurationLoad.new(
3087
3084
  destination_table: Google::Apis::BigqueryV2::TableReference.new(
3088
- project_id: @service.project,
3085
+ project_id: project_id,
3089
3086
  dataset_id: dataset_id,
3090
3087
  table_id: table_id
3091
3088
  )
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Bigquery
19
- VERSION = "1.47.0".freeze
19
+ VERSION = "1.52.1".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -72,7 +72,7 @@ module Google
72
72
  retries ||= configure.retries
73
73
  timeout ||= configure.timeout
74
74
  endpoint ||= configure.endpoint
75
- credentials ||= (keyfile || default_credentials(scope: scope))
75
+ credentials ||= keyfile || default_credentials(scope: scope)
76
76
  universe_domain ||= configure.universe_domain
77
77
 
78
78
  unless credentials.is_a? Google::Auth::Credentials
@@ -71,9 +71,11 @@ module Google
71
71
  # bigquery = gcloud.bigquery scope: platform_scope
72
72
  #
73
73
  def bigquery scope: nil, retries: nil, timeout: nil
74
+ retries ||= @retries
75
+ timeout ||= @timeout
74
76
  Google::Cloud.bigquery @project, @keyfile, scope: scope,
75
- retries: (retries || @retries),
76
- timeout: (timeout || @timeout)
77
+ retries: retries,
78
+ timeout: timeout
77
79
  end
78
80
 
79
81
  ##
metadata CHANGED
@@ -1,16 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.47.0
4
+ version: 1.52.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  - Chris Smith
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-02-05 00:00:00.000000000 Z
11
+ date: 2025-04-25 00:00:00.000000000 Z
13
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bigdecimal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
14
27
  - !ruby/object:Gem::Dependency
15
28
  name: concurrent-ruby
16
29
  requirement: !ruby/object:Gem::Requirement
@@ -31,14 +44,14 @@ dependencies:
31
44
  requirements:
32
45
  - - "~>"
33
46
  - !ruby/object:Gem::Version
34
- version: '0.62'
47
+ version: '0.71'
35
48
  type: :runtime
36
49
  prerelease: false
37
50
  version_requirements: !ruby/object:Gem::Requirement
38
51
  requirements:
39
52
  - - "~>"
40
53
  - !ruby/object:Gem::Version
41
- version: '0.62'
54
+ version: '0.71'
42
55
  - !ruby/object:Gem::Dependency
43
56
  name: google-apis-core
44
57
  requirement: !ruby/object:Gem::Requirement
@@ -95,160 +108,6 @@ dependencies:
95
108
  - - "~>"
96
109
  - !ruby/object:Gem::Version
97
110
  version: '1.0'
98
- - !ruby/object:Gem::Dependency
99
- name: autotest-suffix
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - "~>"
103
- - !ruby/object:Gem::Version
104
- version: '1.1'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '1.1'
112
- - !ruby/object:Gem::Dependency
113
- name: google-cloud-data_catalog
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '1.2'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: '1.2'
126
- - !ruby/object:Gem::Dependency
127
- name: google-style
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - "~>"
131
- - !ruby/object:Gem::Version
132
- version: 1.26.1
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: 1.26.1
140
- - !ruby/object:Gem::Dependency
141
- name: minitest
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - "~>"
145
- - !ruby/object:Gem::Version
146
- version: '5.16'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: '5.16'
154
- - !ruby/object:Gem::Dependency
155
- name: minitest-autotest
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - "~>"
159
- - !ruby/object:Gem::Version
160
- version: '1.0'
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: '1.0'
168
- - !ruby/object:Gem::Dependency
169
- name: minitest-focus
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: '1.1'
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - "~>"
180
- - !ruby/object:Gem::Version
181
- version: '1.1'
182
- - !ruby/object:Gem::Dependency
183
- name: minitest-rg
184
- requirement: !ruby/object:Gem::Requirement
185
- requirements:
186
- - - "~>"
187
- - !ruby/object:Gem::Version
188
- version: '5.2'
189
- type: :development
190
- prerelease: false
191
- version_requirements: !ruby/object:Gem::Requirement
192
- requirements:
193
- - - "~>"
194
- - !ruby/object:Gem::Version
195
- version: '5.2'
196
- - !ruby/object:Gem::Dependency
197
- name: redcarpet
198
- requirement: !ruby/object:Gem::Requirement
199
- requirements:
200
- - - "~>"
201
- - !ruby/object:Gem::Version
202
- version: '3.0'
203
- type: :development
204
- prerelease: false
205
- version_requirements: !ruby/object:Gem::Requirement
206
- requirements:
207
- - - "~>"
208
- - !ruby/object:Gem::Version
209
- version: '3.0'
210
- - !ruby/object:Gem::Dependency
211
- name: simplecov
212
- requirement: !ruby/object:Gem::Requirement
213
- requirements:
214
- - - "~>"
215
- - !ruby/object:Gem::Version
216
- version: '0.18'
217
- type: :development
218
- prerelease: false
219
- version_requirements: !ruby/object:Gem::Requirement
220
- requirements:
221
- - - "~>"
222
- - !ruby/object:Gem::Version
223
- version: '0.18'
224
- - !ruby/object:Gem::Dependency
225
- name: yard
226
- requirement: !ruby/object:Gem::Requirement
227
- requirements:
228
- - - "~>"
229
- - !ruby/object:Gem::Version
230
- version: '0.9'
231
- type: :development
232
- prerelease: false
233
- version_requirements: !ruby/object:Gem::Requirement
234
- requirements:
235
- - - "~>"
236
- - !ruby/object:Gem::Version
237
- version: '0.9'
238
- - !ruby/object:Gem::Dependency
239
- name: yard-doctest
240
- requirement: !ruby/object:Gem::Requirement
241
- requirements:
242
- - - "~>"
243
- - !ruby/object:Gem::Version
244
- version: 0.1.13
245
- type: :development
246
- prerelease: false
247
- version_requirements: !ruby/object:Gem::Requirement
248
- requirements:
249
- - - "~>"
250
- - !ruby/object:Gem::Version
251
- version: 0.1.13
252
111
  description: google-cloud-bigquery is the official library for Google BigQuery.
253
112
  email:
254
113
  - mike@blowmage.com
@@ -314,7 +173,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-clo
314
173
  licenses:
315
174
  - Apache-2.0
316
175
  metadata: {}
317
- post_install_message:
318
176
  rdoc_options: []
319
177
  require_paths:
320
178
  - lib
@@ -322,15 +180,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
322
180
  requirements:
323
181
  - - ">="
324
182
  - !ruby/object:Gem::Version
325
- version: '2.6'
183
+ version: '3.0'
326
184
  required_rubygems_version: !ruby/object:Gem::Requirement
327
185
  requirements:
328
186
  - - ">="
329
187
  - !ruby/object:Gem::Version
330
188
  version: '0'
331
189
  requirements: []
332
- rubygems_version: 3.5.3
333
- signing_key:
190
+ rubygems_version: 3.6.5
334
191
  specification_version: 4
335
192
  summary: API Client library for Google BigQuery
336
193
  test_files: []