Skip to content

Commit

Permalink
Merge pull request #110 from ThomasPohl/feature/repository-checker
Browse files Browse the repository at this point in the history
Fix findings
  • Loading branch information
ThomasPohl authored Oct 26, 2024
2 parents 0599a3b + 1a61ab1 commit d6fd43d
Show file tree
Hide file tree
Showing 15 changed files with 477 additions and 317 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/iobroker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM iobroker/iobroker:latest
FROM buanet/iobroker:latest
RUN ln -s /opt/iobroker/node_modules/ /root/.node_modules
6 changes: 3 additions & 3 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: ioBroker/testing-action-check@v1
with:
node-version: '18.x'
node-version: '20.x'
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
type-checking: true
Expand All @@ -41,7 +41,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
steps:
- uses: ioBroker/testing-action-deploy@v1
with:
node-version: '18.x'
node-version: '20.x'
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
build: true
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Add the following information to the configuration of your adapter instance in i
- **Service Account** - The email address of the service account you created.
- **Private Key** - Open the downloaded JSON file, and locate the private key within the file. Copy only the part starting with "-----BEGIN PRIVATE KEY-----."

![Settings](img/settings.png)

#### Find the Spreadsheet ID in the URL

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


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

Copyright 2023 Thomas Pohl
Copyright 2024 Thomas Pohl

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
7 changes: 5 additions & 2 deletions build/lib/google.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/lib/google.js.map

Large diffs are not rendered by default.

39 changes: 13 additions & 26 deletions build/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions build/main.js.map

Large diffs are not rendered by default.

Empty file added features/write
Empty file.
Binary file added img/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 19 additions & 30 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,8 @@
{
"common": {
"name": "google-spreadsheet",
"version": "0.3.0",
"version": "0.3.1",
"news": {
"0.0.1": {
"en": "initial release",
"de": "Erstveröffentlichung",
"ru": "Начальная версия",
"pt": "lançamento inicial",
"nl": "Eerste uitgave",
"fr": "Première version",
"it": "Versione iniziale",
"es": "Versión inicial",
"pl": "Pierwsze wydanie",
"uk": "Початкова версія",
"zh-cn": "首次出版"
},
"0.0.2": {
"en": "added 'delete rows'",
"de": "'Zeilen löschen' hinzugefügt",
"ru": "добавлены 'удалить строки « »",
"pt": "adicionado 'excluir linhas '",
"nl": "Toegevoegd: 'verwijder roeien'",
"fr": "ajouté 'delete rows '",
"it": "aggiunto 'cancella righe '",
"es": "añadidos 'delete filas '",
"pl": "dodała 'delete rows'. '",
"uk": "доданий 'delete рядки р",
"zh-cn": "增幅 评 注"
},
"0.0.3": {
"en": "added 'add sheet' and 'delete sheet'",
"de": "„Blatt hinzufügen“ und „Blatt löschen“ hinzugefügt",
Expand Down Expand Up @@ -119,6 +93,19 @@
"pl": "Dodano odczyt i zapis pojedynczych komórek",
"uk": "Додано читання та запис окремих клітинок",
"zh-cn": "增加单细胞的读写"
},
"0.3.1": {
"en": "Fixed reading cells and added error handling",
"de": "Das Lesen von Zellen wurde korrigiert und die Fehlerbehandlung hinzugefügt",
"ru": "Исправлено чтение ячеек и добавлена ​​обработка ошибок.",
"pt": "Células de leitura corrigidas e tratamento de erros adicionado",
"nl": "Vaste leescellen en toegevoegde foutafhandeling",
"fr": "Correction des cellules de lecture et ajout de la gestion des erreurs",
"it": "Risolte le celle di lettura e aggiunta la gestione degli errori",
"es": "Se corrigieron las celdas de lectura y se agregó manejo de errores.",
"pl": "Naprawiono odczytywanie komórek i dodano obsługę błędów",
"uk": "Виправлено читання клітинок і додано обробку помилок",
"zh-cn": "修复了读取单元并添加了错误处理"
}
},
"titleLang": {
Expand Down Expand Up @@ -154,9 +141,11 @@
"google",
"spreadsheet"
],
"license": "Apache-2.0",
"licenseInformation": {
"license": "Apache-2.0",
"type": "free"
},
"platform": "Javascript/Node.js",
"main": "build/main.js",
"icon": "google-spreadsheet.png",
"enabled": true,
"extIcon": "https://raw.githubusercontent.com/ThomasPohl/ioBroker.google-spreadsheet/main/admin/google-spreadsheet.png",
Expand All @@ -174,7 +163,7 @@
},
"dependencies": [
{
"js-controller": ">=3.3.22"
"js-controller": ">=5.0.19"
}
],
"globalDependencies": [
Expand Down
Loading

0 comments on commit d6fd43d

Please sign in to comment.