Commit Graph

12 Commits

Author SHA1 Message Date
Martin Frost 29598b8dc2 Version 1.0.0
- Renamed Isn -> ISN, following Elixir's [Naming Conventions](http://elixir-lang.org/docs/master/elixir/naming-conventions.html)
- Include a mix task for generating the isn extension creation migration
2016-01-10 12:42:28 +01:00
Martin Frost 0cef21e3da Rename Isn -> ISN 2016-01-10 12:12:38 +01:00
Martin Frost 04463fee19 Remove unused dev dependency 'eh' 2016-01-10 12:04:10 +01:00
Martin Frost 89e3dda530 Bump dependencies, and version 2016-01-03 22:17:57 +01:00
Martin Frost b69b2b4190 Bump outdated dependencies
* ecto ~> 1.0
* ex_doc ~> 0.10
2015-09-30 12:18:07 +02:00
Martin Frost f623e5337c Add earmark dependency. 2015-08-10 22:06:42 +02:00
Martin Frost d166a36b47 Update dependencies
Bump postgrex up to `~> 0.9` and ecto to `~> 0.15`
2015-08-10 22:00:54 +02:00
Martin Frost f3514497fd Add eh for documentation lookup 2015-06-02 08:03:03 +02:00
Martin Frost 6d2965b549 add ex_doc as dev dependency 2015-05-27 19:20:23 +02:00
Martin Frost dc10bf84ad added files to package listing in mix.exs 2015-05-27 19:19:03 +02:00
Martin Frost ba23be86bb v0.1: Flesh out library with all types in isn
Restructuring: Isn.Extension is now called Isn, which means that the postgrex
configuration line becomes a bit shorter now:

```elixir
{:ok, pid} = Postgrex.Connection.start_link(
  database: "isn_test",
  extensions: [{Isn, {}}])
```

instead of the previous version, with `extensions: [{Isn.Extension, {}}]`.

I also implement the entire library in the `lib/isn.ex` file, since it felt
pretty silly to have eight different one-line files under `lib/isn/` looking
like this: `defmodule Isn.ISBN, do: use(Isn.Base, :isbn)`

We now have the following types:

- ISBN
- ISBN13
- ISMN
- ISMN13
- ISSN
- ISSN13
- EAN13
- UPC
2015-05-27 18:22:51 +02:00
Martin Frost 41c9c85cd6 WIP 2015-05-05 22:15:40 +02:00