sheets_v4 0.10.0 → 0.10.2
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 +4 -4
- data/.release-please-manifest.json +3 -0
- data/CHANGELOG.md +15 -0
- data/README.md +21 -23
- data/Rakefile +7 -0
- data/lib/sheets_v4/convert_dates_and_times.rb +2 -0
- data/lib/sheets_v4/version.rb +1 -1
- data/release-please-config.json +22 -0
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c3d783f219c23fb3ae2c8b788d777e90368af28a33cf6f263c4dd87f6d4234b
|
4
|
+
data.tar.gz: 24bf0f38de70b2d007a6b1375ad428ed6a5a95c13c548743f56ed7e3aaf487bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670736596b4c0075d86e09052b962b7430d07ab09506365b9c09d47405c9d09764a6a223ae8db478844fc1b8be171e472718ffb35ab1e8693b58fefa08096856
|
7
|
+
data.tar.gz: b9f71f333a75207a6167de526dbfeb0debc1321e99df5b249c95f954935a5d2b2fc72fd5697edd06eb2c4520d60404eeab4d07be5b16ce01f773b7b36ba2a180
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,21 @@ Changes for each release are listed in this file.
|
|
4
4
|
|
5
5
|
This project adheres to [Semantic Versioning](https://semver.org/) for its releases.
|
6
6
|
|
7
|
+
## [0.10.2](https://github.com/main-branch/sheets_v4/compare/v0.10.1...v0.10.2) (2025-04-17)
|
8
|
+
|
9
|
+
|
10
|
+
### Bug Fixes
|
11
|
+
|
12
|
+
* Do not trigger build workflows after merging to main or for release PRs ([92d3279](https://github.com/main-branch/sheets_v4/commit/92d32796a9ca032a0805ed0ee83d6a9feecd237d))
|
13
|
+
|
14
|
+
## [0.10.1](https://github.com/main-branch/sheets_v4/compare/v0.10.0...v0.10.1) (2025-04-16)
|
15
|
+
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* Automate commit-to-publish workflow ([22e4653](https://github.com/main-branch/sheets_v4/commit/22e4653cc0699225951c1b85bae101677f3dfc04))
|
20
|
+
* Correctly mark constants as private ([3a7a35e](https://github.com/main-branch/sheets_v4/commit/3a7a35e94fec40759c995c24a7a93085407ee415))
|
21
|
+
|
7
22
|
## v0.10.0 (2024-10-11)
|
8
23
|
|
9
24
|
[Full Changelog](https://github.com/main-branch/sheets_v4/compare/v0.9.0..v0.10.0)
|
data/README.md
CHANGED
@@ -4,8 +4,6 @@
|
|
4
4
|
[](https://rubydoc.info/gems/sheets_v4/)
|
5
5
|
[](https://rubydoc.info/gems/sheets_v4/file/CHANGELOG.md)
|
6
6
|
[](https://github.com/main-branch/sheets_v4/actions/workflows/continuous_integration.yml)
|
7
|
-
[](https://codeclimate.com/github/main-branch/sheets_v4/maintainability)
|
8
|
-
[](https://codeclimate.com/github/main-branch/sheets_v4/test_coverage)
|
9
7
|
[](https://conventionalcommits.org)
|
11
9
|
[](https://main-branch.slack.com/archives/C07N5ULJQU9)
|
@@ -24,31 +22,31 @@ Gems in the Google API helper, extensions, and examples series:
|
|
24
22
|
* [Installation](#installation)
|
25
23
|
* [Examples](#examples)
|
26
24
|
* [Important links for programming Google Sheets](#important-links-for-programming-google-sheets)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
* [SheetsV4 documenation](#sheetsv4-documenation)
|
26
|
+
* [General API documentation](#general-api-documentation)
|
27
|
+
* [Ruby implementation of the Sheets API](#ruby-implementation-of-the-sheets-api)
|
28
|
+
* [Other links](#other-links)
|
31
29
|
* [Getting started](#getting-started)
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
* [Create a Google Cloud project](#create-a-google-cloud-project)
|
31
|
+
* [Enable the APIs you want to use](#enable-the-apis-you-want-to-use)
|
32
|
+
* [Download a Google API credential file](#download-a-google-api-credential-file)
|
35
33
|
* [Usage](#usage)
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
34
|
+
* [Obtaining an authenticated SheetsService](#obtaining-an-authenticated-sheetsservice)
|
35
|
+
* [Building a request](#building-a-request)
|
36
|
+
* [Method 1: constructing requests using `Google::Apis::SheetsV4::*` objects](#method-1-constructing-requests-using-googleapissheetsv4-objects)
|
37
|
+
* [Method 2: constructing requests using hashes](#method-2-constructing-requests-using-hashes)
|
38
|
+
* [Which method should be used?](#which-method-should-be-used)
|
39
|
+
* [Validating requests](#validating-requests)
|
40
|
+
* [Google Extensions](#google-extensions)
|
41
|
+
* [SheetsService Extensions](#sheetsservice-extensions)
|
42
|
+
* [Spreadsheet Extensions](#spreadsheet-extensions)
|
43
|
+
* [Sheet Extensions](#sheet-extensions)
|
44
|
+
* [Working with dates and times](#working-with-dates-and-times)
|
45
|
+
* [Working with colors](#working-with-colors)
|
48
46
|
* [Development](#development)
|
49
47
|
* [Contributing](#contributing)
|
50
|
-
|
51
|
-
|
48
|
+
* [Commit message guidelines](#commit-message-guidelines)
|
49
|
+
* [Pull request guidelines](#pull-request-guidelines)
|
52
50
|
* [License](#license)
|
53
51
|
|
54
52
|
## Installation
|
data/Rakefile
CHANGED
@@ -25,6 +25,13 @@ rescue Bundler::BundlerError => e
|
|
25
25
|
exit e.status_code
|
26
26
|
end
|
27
27
|
|
28
|
+
# Make it so that calling `rake release` just calls `rake release:rubygems_push` to
|
29
|
+
# avoid creating and pushing a new tag.
|
30
|
+
|
31
|
+
Rake::Task['release'].clear
|
32
|
+
desc 'Customized release task to avoid creating a new tag'
|
33
|
+
task release: 'release:rubygem_push'
|
34
|
+
|
28
35
|
CLEAN << 'pkg'
|
29
36
|
CLEAN << 'Gemfile.lock'
|
30
37
|
|
@@ -180,6 +180,7 @@ module SheetsV4
|
|
180
180
|
# @return [Integer] number of seconds in a day
|
181
181
|
#
|
182
182
|
SECONDS_PER_DAY = 86_400
|
183
|
+
private_constant :SECONDS_PER_DAY
|
183
184
|
|
184
185
|
# The number of seconds between the Google Sheets Epoch and Unix Epoch
|
185
186
|
#
|
@@ -189,6 +190,7 @@ module SheetsV4
|
|
189
190
|
# @return [Integer] the number of seconds
|
190
191
|
#
|
191
192
|
SECONDS_BETWEEN_GS_AND_UNIX_EPOCHS = 25_569 * 86_400
|
193
|
+
private_constant :SECONDS_BETWEEN_GS_AND_UNIX_EPOCHS
|
192
194
|
|
193
195
|
# Convert a gs_datetime to unix time
|
194
196
|
#
|
data/lib/sheets_v4/version.rb
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"bootstrap-sha": "fd7d9e1b7ebd09c404929cf9ff1dd6a38498f669",
|
3
|
+
"packages": {
|
4
|
+
".": {
|
5
|
+
"release-type": "ruby",
|
6
|
+
"package-name": "sheets_v4",
|
7
|
+
"changelog-path": "CHANGELOG.md",
|
8
|
+
"version-file": "lib/sheets_v4/version.rb",
|
9
|
+
"bump-minor-pre-major": true,
|
10
|
+
"bump-patch-for-minor-pre-major": true,
|
11
|
+
"draft": false,
|
12
|
+
"prerelease": false,
|
13
|
+
"include-component-in-tag": false
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"plugins": [
|
17
|
+
{
|
18
|
+
"type": "sentence-case"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
22
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sheets_v4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Couball
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: bundler-audit
|
@@ -292,6 +291,7 @@ files:
|
|
292
291
|
- ".commitlintrc.yml"
|
293
292
|
- ".husky/commit-msg"
|
294
293
|
- ".markdownlint.yml"
|
294
|
+
- ".release-please-manifest.json"
|
295
295
|
- ".rspec"
|
296
296
|
- ".rubocop.yml"
|
297
297
|
- ".yardopts"
|
@@ -315,6 +315,7 @@ files:
|
|
315
315
|
- lib/sheets_v4/google_extensions/spreadsheet.rb
|
316
316
|
- lib/sheets_v4/version.rb
|
317
317
|
- package.json
|
318
|
+
- release-please-config.json
|
318
319
|
homepage: https://github.com/main-branch/sheets_v4
|
319
320
|
licenses:
|
320
321
|
- MIT
|
@@ -323,9 +324,8 @@ metadata:
|
|
323
324
|
rubygems_mfa_required: 'true'
|
324
325
|
homepage_uri: https://github.com/main-branch/sheets_v4
|
325
326
|
source_code_uri: https://github.com/main-branch/sheets_v4
|
326
|
-
documentation_uri: https://rubydoc.info/gems/sheets_v4/0.10.
|
327
|
-
changelog_uri: https://rubydoc.info/gems/sheets_v4/0.10.
|
328
|
-
post_install_message:
|
327
|
+
documentation_uri: https://rubydoc.info/gems/sheets_v4/0.10.2
|
328
|
+
changelog_uri: https://rubydoc.info/gems/sheets_v4/0.10.2/file/CHANGELOG.md
|
329
329
|
rdoc_options: []
|
330
330
|
require_paths:
|
331
331
|
- lib
|
@@ -342,8 +342,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
342
342
|
requirements:
|
343
343
|
- 'Platform: Mac, Linux, or Windows'
|
344
344
|
- 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
|
345
|
-
rubygems_version: 3.
|
346
|
-
signing_key:
|
345
|
+
rubygems_version: 3.6.7
|
347
346
|
specification_version: 4
|
348
347
|
summary: Unofficial helpers and extensions for the Google Sheets V4 API
|
349
348
|
test_files: []
|