From e55f0ec0db87604eed87015c70048edf3f5e5454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Gagn=C3=A9?= Date: Sat, 30 Nov 2019 00:22:29 -0500 Subject: [PATCH] Release 1.0.0 --- README.rst | 13 ++++++++++++- src/robots.app.src | 9 ++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 023e5cd..9b268b2 100644 --- a/README.rst +++ b/README.rst @@ -14,10 +14,21 @@ robots A library that parses and validates rules from ``robots.txt``. +Installation +============ + +This library is available on `hex.pm _`. +To install this library, simply add the following lines to your +``rebar.config``: + +.. code-block: erlang + + {robots, "1.0.0"} + Usage ===== -.. code::block:: erlang +.. code-block:: erlang Content = <<"User-Agent: bot\nAllow: /fish">>, %% This will return an opaque type that contains all the rules and their agents diff --git a/src/robots.app.src b/src/robots.app.src index 95f5241..d207bab 100644 --- a/src/robots.app.src +++ b/src/robots.app.src @@ -1,6 +1,6 @@ {application, robots, - [{description, "An OTP library"}, - {vsn, "0.1.0"}, + [{description, "A parser for robots.txt."}, + {vsn, "1.0.0"}, {registered, []}, {applications, [kernel, @@ -8,7 +8,6 @@ ]}, {env,[]}, {modules, []}, - - {licenses, ["Apache 2.0"]}, - {links, []} + {licenses, ["BSD3"]}, + {links, [{"Github", "https://github.com/AntoineGagne/robots"}]} ]}.