Browse Source

Bump version and update README

Viktor Söderqvist 10 years ago
parent
commit
835977f61f
2 changed files with 21 additions and 2 deletions
  1. 20 1
      README.md
  2. 1 1
      src/mysql_poolboy.app.src

+ 20 - 1
README.md

@@ -1,7 +1,7 @@
 MySQL/OTP + Poolboy
 ===================
 
-Status: **Work in progress**. Some tests should be added as well.
+Status: Beta.
 
 **MySQL/OTP + Poolboy** provides connection pooling for [MySQL/OTP](//github.com/mysql-otp/mysql-otp) using [Poolboy](//github.com/devinus/poolboy). It provides convenience functions for executing
 SQL queries on a connection in a pool and lets you choose between two methods for createing
@@ -86,6 +86,25 @@ Sometimes you need to checkout a connection to execute multiple queries on it, w
 ok
 ```
 
+Use this as a dependency
+------------------------
+
+Using *erlang.mk*:
+
+```Erlang
+DEPS = mysql_poolboy
+dep_mysql_poolboy = git https://github.com/mysql-otp/mysql-otp-poolboy 0.1.0
+```
+
+Using *rebar*:
+
+```Erlang
+{deps, [
+    {mysql_poolboy, ".*", {git, "https://github.com/mysql-otp/mysql-otp-poolboy",
+                    {tag, "0.1.0"}}}
+]}.
+```
+
 License
 -------
 

+ 1 - 1
src/mysql_poolboy.app.src

@@ -17,7 +17,7 @@
 %% along with this program. If not, see <https://www.gnu.org/licenses/>.
 {application, mysql_poolboy, [
     {description, "MySQL/OTP + Poolboy"},
-    {vsn, "0.0.1"},
+    {vsn, "0.1.0"},
     {modules, []},
     {mod, {mysql_poolboy_app, []}}
 ]}.