Conversation
added 2 commits
May 3, 2026 16:06
…ervice(GoogleCredentials) private helper in GsheetsWriter, identical pattern to GsheetsReader.
Removed now-unused HttpRequestInitializer import.
2 Fully-qualified @groovy.transform.CompileDynamic Added import groovy.transform.CompileDynamic to GsConverter and changed annotation to @CompileDynamic.
3 update() has no tests Added 5 validation tests to GsheetsWriterTest: null spreadsheetId, null range, null matrix, empty matrix, no-row mat
rix.
4 release.md rename entry under wrong version Already correctly placed under 0.2.0, In progress — no change needed.
5 Breaking rename with no migration note Created docs/0.1-0.2-MIGRATION.md documenting the BqAuthenticator → GsAuthenticator / BqAuthUtils → GsAuthUtils rena
mes with before/after code examples, plus new update() and spreadsheetUrl() features.
6 GsExporter Javadoc shows raw URL Updated the deprecated class's example to use GsheetsWriter.spreadsheetUrl(spreadsheetId).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements all 14 tasks from the v0.2.0 roadmap for the matrix-gsheets module.
Changes
Production code (6 files)
sanitizeSheetName/toCell/MAX_SHEET_NAME_LENGTH, now delegates toGsUtil. AddedspreadsheetUrl(String)convenience method. Addedupdate(String, String, Matrix, ...)for writing to existing spreadsheets.buildSheetsService()helper. Fixed sheet-name extraction to use''when no!prefix is present.log.infoindentation bug. Fixed static field ordering (PROP_USER_HOMEbeforeADC_FILE_PATH). Added historical-naming GroovyDoc note.loginAndWriteAdc. Added historical-naming note.val.intValue()→val.longValue()inasLocalDate(Number). Added missing return type declarations (LocalTime,BigDecimal).catch (Exception)→catch (IOException)ingetSheetNames; addedthrows IOException.Idiomatic cleanup
returnkeywords from final expressions acrossGsUtil,GsheetsReader,GsheetsWriter,GsConverter.new ArrayList<>()+.add()with Groovy[]literals and<</collect.Tests (4 files)
sanitizeSheetName/toCelltests toGsUtilTestwhere they belong.toSerials(LocalDates, LocalDateTimes, LocalTimes, mixed types, empty list).Test commands run
Result: ✅ 115 tests passed, 0 failed. Spotless clean. CodeNarc 0 violations.