From 0f96004104c341a0055cdac31e90d2db4b077cfb Mon Sep 17 00:00:00 2001 From: Allen Byron Penner <7310089+ByronAP@users.noreply.github.com> Date: Wed, 14 Dec 2022 23:56:48 -0500 Subject: [PATCH] v3.0.1.2 (#18) * Create FUNDING.yml * Update README.md * 8 feat response caching (#12) * WIP * response caching * Correct one of the identical expressions on both sides of operator '&&' * remove casting from dispose call on the memorycache * 6 naming violation (#13) * fix naming violation * replace duplicate code with call * 7 feat optional automatic rate limiting (#14) * adds rate limiting * remove the rate limiting from tests since it is not built into the library * remove unnecessary async * change field to property * remove useless variable initialization * make RateLimitTimer readonly * dispose of objects * don't cache /ping * up the UpdateAt refresh wait time to 5 minutes since it was failing through no fault of our own * update note * fix issue with semaphore disposal * update readme * bump version 3.0.1.1 * Update README.md * Update README.md * Update publish_dotnet.yml * update * WTF (#16) (#17) * Create FUNDING.yml * Update README.md * 8 feat response caching (#12) * WIP * response caching * Correct one of the identical expressions on both sides of operator '&&' * remove casting from dispose call on the memorycache * 6 naming violation (#13) * fix naming violation * replace duplicate code with call * 7 feat optional automatic rate limiting (#14) * adds rate limiting * remove the rate limiting from tests since it is not built into the library * remove unnecessary async * change field to property * remove useless variable initialization * make RateLimitTimer readonly * dispose of objects * don't cache /ping * up the UpdateAt refresh wait time to 5 minutes since it was failing through no fault of our own * update note * fix issue with semaphore disposal * update readme * bump version 3.0.1.1 * Update README.md * Update README.md * Update publish_dotnet.yml * update * default Enabled to true * bump version 3.0.1.2 * Update CoinGeckoAPI.csproj --- CoinGeckoAPI/CoinGeckoAPI.csproj | 8 ++++---- CoinGeckoAPI/MemCache.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CoinGeckoAPI/CoinGeckoAPI.csproj b/CoinGeckoAPI/CoinGeckoAPI.csproj index 414b983..4ee3ffc 100644 --- a/CoinGeckoAPI/CoinGeckoAPI.csproj +++ b/CoinGeckoAPI/CoinGeckoAPI.csproj @@ -4,10 +4,10 @@ netstandard2.0 False True - 3.0.1.1 + 3.0.1.2 ByronAP - 3.0.1.1 - 3.0.1.1 + 3.0.1.2 + 3.0.1.2 MIT True latest-recommended @@ -19,7 +19,7 @@ git Copyright © 2022 ByronAP, CoinGecko. All rights reserved. See: https://github.com/ByronAP/CoinGeckoApi/releases - coingecko,coin gecko,coingecko api,api,bitcoin,eth,etherium,atom,cosmos,btc,usdt,teather,bnb,usdc,doge,dogecoin,xrp,ripple,ltc,litecoin,crypto,market,price,market cap,cryptocurrencies + coingecko,coin-gecko,coingecko-api,api,bitcoin,eth,ethereum,atom,cosmos,btc,usdt,tether,bnb,usdc,doge,dogecoin,xrp,ripple,ltc,litecoin,crypto,market,price,market-cap,marketcap,cryptocurrencies CoinGecko API Client Library CoinGecko API Client Library diff --git a/CoinGeckoAPI/MemCache.cs b/CoinGeckoAPI/MemCache.cs index c0512b4..de7d842 100644 --- a/CoinGeckoAPI/MemCache.cs +++ b/CoinGeckoAPI/MemCache.cs @@ -9,7 +9,7 @@ namespace CoinGeckoAPI { internal class MemCache : IDisposable { - internal bool Enabled { get; set; } + internal bool Enabled { get; set; } = true; private readonly ILogger _logger; private readonly List _keys;