Skip to content

Commit d6fd43d

Browse files
authored
Merge pull request #110 from ThomasPohl/feature/repository-checker
Fix findings
2 parents 0599a3b + 1a61ab1 commit d6fd43d

File tree

15 files changed

+477
-317
lines changed

15 files changed

+477
-317
lines changed

.devcontainer/iobroker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM iobroker/iobroker:latest
1+
FROM buanet/iobroker:latest
22
RUN ln -s /opt/iobroker/node_modules/ /root/.node_modules

.github/workflows/test-and-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
- uses: ioBroker/testing-action-check@v1
3030
with:
31-
node-version: '18.x'
31+
node-version: '20.x'
3232
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
3333
# install-command: 'npm install'
3434
type-checking: true
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ${{ matrix.os }}
4242
strategy:
4343
matrix:
44-
node-version: [18.x, 20.x]
44+
node-version: [20.x, 22.x]
4545
os: [ubuntu-latest, windows-latest, macos-latest]
4646

4747
steps:
@@ -76,7 +76,7 @@ jobs:
7676
steps:
7777
- uses: ioBroker/testing-action-deploy@v1
7878
with:
79-
node-version: '18.x'
79+
node-version: '20.x'
8080
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
8181
# install-command: 'npm install'
8282
build: true

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Add the following information to the configuration of your adapter instance in i
7171
- **Service Account** - The email address of the service account you created.
7272
- **Private Key** - Open the downloaded JSON file, and locate the private key within the file. Copy only the part starting with "-----BEGIN PRIVATE KEY-----."
7373

74+
![Settings](img/settings.png)
7475

7576
#### Find the Spreadsheet ID in the URL
7677

@@ -100,6 +101,8 @@ Make sure the Service Account has adequate permissions to write to the spreadshe
100101

101102

102103
## Changelog
104+
### 0.3.1
105+
* (Thomas Pohl) Fixed reading cells and added error handling
103106
### 0.3.0
104107
* (Thomas Pohl) Added writing of single cells
105108
* (Thomas Pohl) Added reading of single cells
@@ -331,7 +334,7 @@ Make sure the Service Account has adequate permissions to write to the spreadshe
331334
same "printed page" as the copyright notice for easier
332335
identification within third-party archives.
333336

334-
Copyright 2023 Thomas Pohl
337+
Copyright 2024 Thomas Pohl
335338

336339
Licensed under the Apache License, Version 2.0 (the "License");
337340
you may not use this file except in compliance with the License.

build/lib/google.js

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/lib/google.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/main.js

Lines changed: 13 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/main.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

features/write

Whitespace-only changes.

img/settings.png

150 KB
Loading

io-package.json

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,8 @@
11
{
22
"common": {
33
"name": "google-spreadsheet",
4-
"version": "0.3.0",
4+
"version": "0.3.1",
55
"news": {
6-
"0.0.1": {
7-
"en": "initial release",
8-
"de": "Erstveröffentlichung",
9-
"ru": "Начальная версия",
10-
"pt": "lançamento inicial",
11-
"nl": "Eerste uitgave",
12-
"fr": "Première version",
13-
"it": "Versione iniziale",
14-
"es": "Versión inicial",
15-
"pl": "Pierwsze wydanie",
16-
"uk": "Початкова версія",
17-
"zh-cn": "首次出版"
18-
},
19-
"0.0.2": {
20-
"en": "added 'delete rows'",
21-
"de": "'Zeilen löschen' hinzugefügt",
22-
"ru": "добавлены 'удалить строки « »",
23-
"pt": "adicionado 'excluir linhas '",
24-
"nl": "Toegevoegd: 'verwijder roeien'",
25-
"fr": "ajouté 'delete rows '",
26-
"it": "aggiunto 'cancella righe '",
27-
"es": "añadidos 'delete filas '",
28-
"pl": "dodała 'delete rows'. '",
29-
"uk": "доданий 'delete рядки р",
30-
"zh-cn": "增幅 评 注"
31-
},
326
"0.0.3": {
337
"en": "added 'add sheet' and 'delete sheet'",
348
"de": "„Blatt hinzufügen“ und „Blatt löschen“ hinzugefügt",
@@ -119,6 +93,19 @@
11993
"pl": "Dodano odczyt i zapis pojedynczych komórek",
12094
"uk": "Додано читання та запис окремих клітинок",
12195
"zh-cn": "增加单细胞的读写"
96+
},
97+
"0.3.1": {
98+
"en": "Fixed reading cells and added error handling",
99+
"de": "Das Lesen von Zellen wurde korrigiert und die Fehlerbehandlung hinzugefügt",
100+
"ru": "Исправлено чтение ячеек и добавлена ​​обработка ошибок.",
101+
"pt": "Células de leitura corrigidas e tratamento de erros adicionado",
102+
"nl": "Vaste leescellen en toegevoegde foutafhandeling",
103+
"fr": "Correction des cellules de lecture et ajout de la gestion des erreurs",
104+
"it": "Risolte le celle di lettura e aggiunta la gestione degli errori",
105+
"es": "Se corrigieron las celdas de lectura y se agregó manejo de errores.",
106+
"pl": "Naprawiono odczytywanie komórek i dodano obsługę błędów",
107+
"uk": "Виправлено читання клітинок і додано обробку помилок",
108+
"zh-cn": "修复了读取单元并添加了错误处理"
122109
}
123110
},
124111
"titleLang": {
@@ -154,9 +141,11 @@
154141
"google",
155142
"spreadsheet"
156143
],
157-
"license": "Apache-2.0",
144+
"licenseInformation": {
145+
"license": "Apache-2.0",
146+
"type": "free"
147+
},
158148
"platform": "Javascript/Node.js",
159-
"main": "build/main.js",
160149
"icon": "google-spreadsheet.png",
161150
"enabled": true,
162151
"extIcon": "https://raw.githubusercontent.com/ThomasPohl/ioBroker.google-spreadsheet/main/admin/google-spreadsheet.png",
@@ -174,7 +163,7 @@
174163
},
175164
"dependencies": [
176165
{
177-
"js-controller": ">=3.3.22"
166+
"js-controller": ">=5.0.19"
178167
}
179168
],
180169
"globalDependencies": [

0 commit comments

Comments
 (0)