Skip to content

Commit

Permalink
Prepare 0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
glejeune committed May 29, 2018
1 parent 409c358 commit ce8a570
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@

Copyright (c) 2015, 2016, 2017 G-Corp

__Version:__ 0.1.0
__Version:__ 0.2.0

__Authors:__ Gregoire Lejeune ([`gregoire.lejeune@gmail.com`](mailto:gregoire.lejeune@gmail.com)).

Expand Down
13 changes: 8 additions & 5 deletions bu.mk
@@ -1,5 +1,5 @@
# Copyright (c) 2013-2015, Loïc Hoguin <essen@ninenines.eu>
# Copyright (c) 2016, Grégoire Lejeune
# Copyright (c) 2016-2017, Grégoire Lejeune
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
Expand Down Expand Up @@ -186,7 +186,11 @@ endif
$(verbose) $(REBAR) as $(REBAR_ENV) compile

tests: ## Run tests
ifndef TEST_MODULES
$(verbose) $(REBAR) eunit
else
$(verbose) $(REBAR) eunit --module=$(TEST_MODULES)
endif

doc:: ## Generate doc
ifndef NO_DOC
Expand All @@ -201,9 +205,9 @@ distclean:: $(DISTCLEAN) ## Clean the distribution

dev: compile-erl
ifdef ERL_CONFIG
$(verbose) erl -pa _build/$(REBAR_ENV)/lib/*/ebin _build/$(REBAR_ENV)/lib/*/include -config ${ERL_CONFIG} -name ${NODE_NAME}@${NODE_HOST} -setcookie ${current_dir}
$(verbose) erl -pa $(CURDIR)/_build/$(REBAR_ENV)/lib/*/ebin $(CURDIR)/_build/$(REBAR_ENV)/lib/*/include -config ${ERL_CONFIG} -name ${NODE_NAME}@${NODE_HOST} -setcookie ${current_dir}
else
$(verbose) erl -pa _build/$(REBAR_ENV)/lib/*/ebin _build/$(REBAR_ENV)/lib/*/include -name ${NODE_NAME}@${NODE_HOST} -setcookie ${current_dir}
$(verbose) erl -pa $(CURDIR)/_build/$(REBAR_ENV)/lib/*/ebin $(CURDIR)/_build/$(REBAR_ENV)/lib/*/include -name ${NODE_NAME}@${NODE_HOST} -setcookie ${current_dir}
endif

dist-erl: clean compile-erl tests $(LINT) $(XREF) doc
Expand Down Expand Up @@ -234,7 +238,7 @@ local.rebar: ## Install rebar for Mix

# Update

BU_MK_REPO ?= https://github.com/botsunit/bu.mk
BU_MK_REPO ?= https://github.com/G-Corp/bu.mk
BU_MK_COMMIT ?=
BU_MK_BUILD_DIR ?= .bu.mk.build

Expand All @@ -250,4 +254,3 @@ endif

help: ## Show this help.
$(verbose) echo "$$(grep -hE '^\S+:.*##' $(MAKEFILE_LIST) | sed -e 's/:.*##\s*/:/' -e 's/^\(.\+\):\(.*\)/\\033[33m\1\\033[m:\2/' | column -c2 -t -s :)"

2 changes: 1 addition & 1 deletion doc/README.md
Expand Up @@ -4,7 +4,7 @@

Copyright (c) 2015, 2016, 2017 G-Corp

__Version:__ 0.1.0
__Version:__ 0.2.0

__Authors:__ Gregoire Lejeune ([`gregoire.lejeune@gmail.com`](mailto:gregoire.lejeune@gmail.com)).

Expand Down
2 changes: 1 addition & 1 deletion lib/Jwerl.ex
@@ -1,6 +1,6 @@
# File: Jwerl.ex
# This file was generated from jwerl.beam
# Using rebar3_elixir (https://github.com/botsunit/rebar3_elixir)
# Using rebar3_elixir (https://github.com/G-Corp/rebar3_elixir)
# MODIFY IT AT YOUR OWN RISK AND ONLY IF YOU KNOW WHAT YOU ARE DOING!
defmodule Jwerl do
def unquote(:"sign")(arg1) do
Expand Down
12 changes: 8 additions & 4 deletions mix.exs
@@ -1,10 +1,14 @@
# File: mix.exs
# This file was generated from rebar.config
# Using rebar3_elixir (https://github.com/G-Corp/rebar3_elixir)
# MODIFY IT AT YOUR OWN RISK AND ONLY IF YOU KNOW WHAT YOU ARE DOING!
defmodule Jwerl.Mixfile do
use Mix.Project

def project do
[
app: :jwerl,
version: "0.1.3",
version: "0.2.0",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
Expand All @@ -22,7 +26,7 @@ defmodule Jwerl.Mixfile do

defp deps do
[
{:jsx, "~> 2.8.2"}
{:jsx, "~> 2.9.0"}
]
end

Expand Down Expand Up @@ -61,9 +65,9 @@ defmodule Jwerl.Mixfile do

defp trim(x) do
if Version.compare(System.version, "1.5.0") == :lt do
String.strip(x)
Kernel.apply(String, :strip, [x])
else
String.trim(x)
Kernel.apply(String, :trim, [x])
end
end
end
4 changes: 3 additions & 1 deletion mix.lock
@@ -1 +1,3 @@
%{"jsx": {:hex, :jsx, "2.8.2", "7acc7d785b5abe8a6e9adbde926a24e481f29956dd8b4df49e3e4e7bcc92a018", [], [], "hexpm"}}
%{
"jsx": {:hex, :jsx, "2.9.0", "d2f6e5f069c00266cad52fb15d87c428579ea4d7d73a33669e12679e203329dd", [:mix, :rebar3], [], "hexpm"},
}
2 changes: 1 addition & 1 deletion overview.edoc
@@ -1,6 +1,6 @@
@author Gregoire Lejeune <gregoire.lejeune@gmail.com>
@copyright 2015, 2016, 2017 G-Corp
@version 0.1.0
@version 0.2.0
@title JWErl
@doc

Expand Down
5 changes: 2 additions & 3 deletions rebar.config
Expand Up @@ -8,7 +8,7 @@
{elixir_bindings, [jwerl]}.

{deps, [
{jsx, "~> 2.8.2"}
{jsx, "~> 2.9.0"}
]}.

{eunit_opts, [
Expand All @@ -25,7 +25,7 @@
]},
{docs, [
{deps, [
{edown, {git, "https://github.com/botsunit/edown.git", {branch, "master"}}}
{edown, {git, "https://github.com/uwiger/edown.git", {branch, "master"}}}
]},
{edoc_opts, [
{doclet, edown_doclet}
Expand Down Expand Up @@ -65,4 +65,3 @@
, deprecated_functions]}.

{dialyzer, [{plt_prefix, "jwerl"}]}.

4 changes: 2 additions & 2 deletions rebar.lock
@@ -1,6 +1,6 @@
{"1.1.0",
[{<<"jsx">>,{pkg,<<"jsx">>,<<"2.8.2">>},0}]}.
[{<<"jsx">>,{pkg,<<"jsx">>,<<"2.9.0">>},0}]}.
[
{pkg_hash,[
{<<"jsx">>, <<"7ACC7D785B5ABE8A6E9ADBDE926A24E481F29956DD8B4DF49E3E4E7BCC92A018">>}]}
{<<"jsx">>, <<"D2F6E5F069C00266CAD52FB15D87C428579EA4D7D73A33669E12679E203329DD">>}]}
].
2 changes: 1 addition & 1 deletion src/jwerl.app.src
@@ -1,6 +1,6 @@
{application, jwerl, [
{description, "JWT Library for Erlang and Elixir"}
, {vsn, "0.1.3"}
, {vsn, "0.2.0"}
, {registered, []}
, {modules, []}
, {applications, [kernel, stdlib, jsx]}
Expand Down

0 comments on commit ce8a570

Please sign in to comment.