From 25dc0e0e46b4a2f406e4c44663701ef6354ef9e0 Mon Sep 17 00:00:00 2001 From: Xavi Ablaza Date: Tue, 28 May 2024 00:30:11 -0500 Subject: [PATCH 1/2] Declare type for instance variables --- src/bentonow/client.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bentonow/client.cr b/src/bentonow/client.cr index 3211b7f..8e705d7 100644 --- a/src/bentonow/client.cr +++ b/src/bentonow/client.cr @@ -2,7 +2,7 @@ module Bentonow class Client BASE_URI = "app.bentonow.com" - def initialize(@publishable_key, @secret_key) + def initialize(@publishable_key : String, @secret_key : String) end def reset_client From 872c0eba2f6cfbb34c6335501faed64db364ea49 Mon Sep 17 00:00:00 2001 From: Xavi Ablaza Date: Tue, 28 May 2024 00:30:32 -0500 Subject: [PATCH 2/2] Bump version to 1.0.1 --- shard.yml | 2 +- src/bentonow_client.cr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shard.yml b/shard.yml index 9220352..fefa9f4 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: bentonow_client -version: 1.0.0 +version: 1.0.1 authors: - paula4230 diff --git a/src/bentonow_client.cr b/src/bentonow_client.cr index ec4d3b6..30510df 100644 --- a/src/bentonow_client.cr +++ b/src/bentonow_client.cr @@ -2,7 +2,7 @@ require "json" require "http/client" module BentonowClient - VERSION = "1.0.0" + VERSION = "1.0.1" end require "./bentonow/**"