From a1bdf3adfcd7c56c820649437a6fd9918b2fa00e Mon Sep 17 00:00:00 2001 From: JEO_CARLO LUBAO Date: Mon, 29 Jan 2024 10:07:33 +0800 Subject: [PATCH] version bump + change library name --- .github/workflows/main.yml | 2 +- PocketbaseExtended.cpp => PocketbaseArduino.cpp | 2 +- PocketbaseExtended.h => PocketbaseArduino.h | 12 ++++++------ library.properties | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) rename PocketbaseExtended.cpp => PocketbaseArduino.cpp (99%) rename PocketbaseExtended.h => PocketbaseArduino.h (95%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index db5de4e..31efcf8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,4 +7,4 @@ jobs: - uses: arduino/arduino-lint-action@v1 with: library-manager: update - compliance: permissive + # compliance: permissive diff --git a/PocketbaseExtended.cpp b/PocketbaseArduino.cpp similarity index 99% rename from PocketbaseExtended.cpp rename to PocketbaseArduino.cpp index bc30883..67303ad 100644 --- a/PocketbaseExtended.cpp +++ b/PocketbaseArduino.cpp @@ -1,6 +1,6 @@ // PocketbaseArduino.cpp -#include "PocketbaseExtended.h" +#include "PocketbaseArduino.h" // #include // #include // #include diff --git a/PocketbaseExtended.h b/PocketbaseArduino.h similarity index 95% rename from PocketbaseExtended.h rename to PocketbaseArduino.h index 3e2fa5b..f54600f 100644 --- a/PocketbaseExtended.h +++ b/PocketbaseArduino.h @@ -1,7 +1,7 @@ -// PocketbaseExtended.h +// PocketbaseArduino.h -#ifndef PocketbaseExtended_h -#define PocketbaseExtended_h +#ifndef PocketbaseArduino_h +#define PocketbaseArduino_h #include "Arduino.h" @@ -11,13 +11,13 @@ #include -class PocketbaseExtended +class PocketbaseArduino { public: - PocketbaseExtended(const char *baseUrl); // Constructor + PocketbaseArduino(const char *baseUrl); // Constructor // Methods to build collection and record URLs - PocketbaseExtended &collection(const char *collection); + PocketbaseArduino &collection(const char *collection); /** * @brief Fetches a single record from a Pocketbase collection diff --git a/library.properties b/library.properties index 6c1b169..757709e 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ -name=PocketbaseExtended -version=0.3.5 +name=PocketbaseArduino +version=0.3.8 author=Jeo Carlo Lubao maintainer=Jeo Carlo Lubao sentence=Pocketbase Library for Arduino