Skip to content

Commit

Permalink
Update Pocketbase library properties and Arduino lint compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
jeoooo committed Jan 29, 2024
1 parent fab474e commit ace496f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
- uses: arduino/arduino-lint-action@v1
with:
library-manager: update
compliance: specification
compliance: permissive
2 changes: 1 addition & 1 deletion PocketbaseArduino.cpp → PocketbaseExtended.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// PocketbaseArduino.cpp

#include "PocketbaseArduino.h"
#include "PocketbaseExtended.h"
// #include <ESP8266HTTPClient.h>
// #include <ESP8266WiFi.h>
// #include <ESP8266HTTPClient.h>
Expand Down
12 changes: 6 additions & 6 deletions PocketbaseArduino.h → PocketbaseExtended.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// PocketbaseArduino.h
// PocketbaseExtended.h

#ifndef PocketbaseArduino_h
#define PocketbaseArduino_h
#ifndef PocketbaseExtended_h
#define PocketbaseExtended_h

#include "Arduino.h"

Expand All @@ -11,13 +11,13 @@

#include <BearSSLHelpers.h>

class PocketbaseArduino
class PocketbaseExtended
{
public:
PocketbaseArduino(const char *baseUrl); // Constructor
PocketbaseExtended(const char *baseUrl); // Constructor

// Methods to build collection and record URLs
PocketbaseArduino &collection(const char *collection);
PocketbaseExtended &collection(const char *collection);

/**
* @brief Fetches a single record from a Pocketbase collection
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name=PocketbaseExtended
version=0.3.5
author=Jeo Carlo Lubao
maintainer=Jeo Carlo Lubao
maintainer=
sentence=Pocketbase Library for Arduino
paragraph=[Create, Update and Auth In Progress] This library simplifies the process of communicating with Pocketbase. It hides the complexity of authentication and json parsing.
category=Communication
url=https://github.com/jeoooo/pocketbasearduino
architectures=esp8266
architectures=esp8266,esp32

0 comments on commit ace496f

Please sign in to comment.