Skip to content

Commit 1fe4636

Browse files
author
Igor Kapkov
authored
Bump 0.12.0
1 parent c7925b8 commit 1fe4636

File tree

6 files changed

+54
-12
lines changed

6 files changed

+54
-12
lines changed

.travis.yml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,38 @@
11
language: elixir
2+
stages:
3+
- lint
4+
- typecheck
5+
- test
26
elixir:
7+
- 1.4
8+
- 1.5
39
- 1.6
410
- 1.7
5-
script:
6-
- mix test && mix credo --strict && mix dialyzer --halt-exit-status
11+
- 1.8
12+
env:
13+
global:
14+
- MIX_ENV=test
15+
jobs:
16+
include:
17+
- script: mix credo --strict
18+
name: "Credo"
19+
stage: lint
20+
elixir:
21+
- 1.8
22+
- script: mix format --check-formatted
23+
name: "Formatter"
24+
stage: lint
25+
elixir:
26+
- 1.8
27+
- script: mix dialyzer --halt-exit-status
28+
name: "Dialyzer"
29+
stage: typecheck
30+
env:
31+
- MIX_ENV=dev
32+
elixir:
33+
- 1.8
34+
- script: mix test
35+
stage: test
736
notifications:
837
recipients:
938
- igasgeek@me.com

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ Change log itself follows [Keep a CHANGELOG](http://keepachangelog.com) format.
2525
### Added
2626

2727
* New maintainer [Vitor Oliveira (@vbrazo)](https://github.com/vbrazo)
28+
* New maintainer [Anthony Smith (@anthonator)](https://github.com/anthonator)
2829
* `Faker.Blockchain` namespace [[@vbrazo][]]
2930
* `Faker.Address.It`, `Faker.Color.It`, `Faker.Internet.It` and `Faker.Name.It` [[@pmontrasio][]]
3031

3132
### Changed
3233

3334
* Bump `ex_doc` from **0.19.1** to **0.19.3**
3435
* Bump `earmark` from **1.3.0** to **1.3.1**
36+
* Bump `credo` from **1.0.1** to **1.0.2**
3537

3638
### Deprecated
3739

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ fake data.
66

77
## Quickstart
88

9-
* add `{:faker, "~> 0.11"}` to your deps in `mix.exs`:
9+
* add `{:faker, "~> 0.12"}` to your deps in `mix.exs`:
1010

1111
```elixir
1212
defp deps do
13-
[{:faker, "~> 0.11", only: :test}]
13+
[{:faker, "~> 0.12", only: :test}]
1414
end
1515
```
1616

@@ -61,6 +61,17 @@ You can build templates for testing purposes with the
6161
[Blacksmith](https://github.com/batate/blacksmith) project. See the Blacksmith
6262
[readme](https://github.com/batate/blacksmith#readme) for details.
6363

64+
## Team
65+
66+
Faker was originally written by [Igor Kapkov](https://igas.me).
67+
68+
Current list of maintainers:
69+
70+
* [Anthony Smith](https://github.com/anthonator)
71+
* [Igor Kapkov](https://igas.me)
72+
* [Toby Hinloopen](https://github.com/tobyhinloopen)
73+
* [Vitor Oliveira](https://github.com/vbrazo)
74+
6475
## Thanks
6576

6677
[![Sponsored by Evil Martians](https://evilmartians.com/badges/sponsored-by-evil-martians.svg)](https://evilmartians.com/)

lib/faker/lorem.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ defmodule Faker.Lorem do
293293
iex> Faker.Lorem.characters(7)
294294
'jycADSd'
295295
"""
296-
@spec characters(integer | Range.t) :: [char]
296+
@spec characters(integer | Range.t()) :: [char]
297297
def characters(range_or_length \\ 15..255)
298298

299299
def characters(first..last) do

mix.exs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
defmodule Faker.Mixfile do
22
use Mix.Project
33

4-
@version "0.11.2"
4+
@version "0.12.0"
55

66
def project do
77
[
88
app: :faker,
99
version: @version,
10-
elixir: "~> 1.3",
10+
elixir: "~> 1.4",
1111
description: "Faker is a pure Elixir library for generating fake data.",
1212
package: package(),
1313
name: "Faker",
@@ -50,11 +50,6 @@ defmodule Faker.Mixfile do
5050
defp package do
5151
%{
5252
files: ["lib", "mix.exs", "mix.lock"],
53-
maintainers: [
54-
"Igor Kapkov",
55-
"Toby Hinloopen",
56-
"Vitor Oliveira"
57-
],
5853
licenses: ["MIT"],
5954
links: %{"GitHub" => "https://github.com/igas/faker"}
6055
}

test/faker/internet_test.exs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ defmodule Faker.InternetTest do
4545

4646
test "user_name/0" do
4747
special_characters_pattern = :binary.compile_pattern(["'", "\""])
48+
4849
Stream.repeatedly(&user_name/0)
4950
|> Enum.take(@iterations)
5051
|> Enum.each(fn generated_value ->
@@ -54,6 +55,7 @@ defmodule Faker.InternetTest do
5455

5556
test "email/0" do
5657
special_characters_pattern = :binary.compile_pattern(["'", "\""])
58+
5759
Stream.repeatedly(&email/0)
5860
|> Enum.take(@iterations)
5961
|> Enum.each(fn generated_value ->
@@ -63,6 +65,7 @@ defmodule Faker.InternetTest do
6365

6466
test "safe_email/0" do
6567
special_characters_pattern = :binary.compile_pattern(["'", "\""])
68+
6669
Stream.repeatedly(&safe_email/0)
6770
|> Enum.take(@iterations)
6871
|> Enum.each(fn generated_value ->
@@ -72,6 +75,7 @@ defmodule Faker.InternetTest do
7275

7376
test "free_email/0" do
7477
special_characters_pattern = :binary.compile_pattern(["'", "\""])
78+
7579
Stream.repeatedly(&free_email/0)
7680
|> Enum.take(@iterations)
7781
|> Enum.each(fn generated_value ->
@@ -81,6 +85,7 @@ defmodule Faker.InternetTest do
8185

8286
test "domain_word/0" do
8387
special_characters_pattern = :binary.compile_pattern(["'", "\""])
88+
8489
Stream.repeatedly(&domain_word/0)
8590
|> Enum.take(@iterations)
8691
|> Enum.each(fn generated_value ->

0 commit comments

Comments
 (0)