From 47a4f4b532affd835c81323e5c447f1f4cb91cf2 Mon Sep 17 00:00:00 2001 From: Glenn Rempe Date: Wed, 16 Dec 2015 12:23:13 -0800 Subject: [PATCH] Bump version to 1.1.0 and update README.md --- README.md | 7 ++++++- mix.exs | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e79f665..222cca2 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ You can use ExRated in your projects in two steps: ```elixir def deps do - [{:ex_rated, "~> 0.0.6"}] + [{:ex_rated, "~> 1.1.0"}] end ``` @@ -125,6 +125,11 @@ iex> Benchwarmer.benchmark fn -> {:ok, _} = ExRated.check_rate("my-bucket", 1000 ## Changes +### v1.1.0 + + - Added `delete_bucket/1` function. Takes a bucket name and removes it now instead of waiting for pruning (Nick Sanders). + - Added `inspect_bucket/3` function. Returns metadata about buckets (Nick Sanders). + ### v1.0.0 - [BREAKING] Return {:error, limit} instead of {:fail, limit} to be a bit more idiomatic. Requires semver major version number change. diff --git a/mix.exs b/mix.exs index d39a99b..673a8c4 100644 --- a/mix.exs +++ b/mix.exs @@ -3,7 +3,7 @@ defmodule ExRated.Mixfile do def project do [app: :ex_rated, - version: "1.0.0", + version: "1.1.0", elixir: "~> 1.0", description: description, package: package, @@ -43,7 +43,7 @@ defmodule ExRated.Mixfile do For example, rate-limit calls to your favorite API which requires no more than `limit` API calls within a `scale` milliseconds time window. You can enforce - limits for windows as narrow as milliseconds, or as broad as 25 hours. + limits for windows as narrow as milliseconds, or as broad as you like. """ end