couchdb-jiffy.git
14 months agoMerge remote-tracking branch 'davisp/master' master
Paul J. Davis [Wed, 1 Nov 2017 19:31:06 +0000 (14:31 -0500)] 
Merge remote-tracking branch 'davisp/master'

14 months agoBump to 0.14.13
Paul J. Davis [Wed, 1 Nov 2017 19:30:09 +0000 (14:30 -0500)] 
Bump to 0.14.13

14 months agoFix type spec
Paul J. Davis [Wed, 1 Nov 2017 19:29:37 +0000 (14:29 -0500)] 
Fix type spec

14 months agoBump to 0.14.12
Paul J. Davis [Tue, 31 Oct 2017 17:11:18 +0000 (12:11 -0500)] 
Bump to 0.14.12

14 months agoAdd tests for deduplication in child objects
Paul J. Davis [Tue, 31 Oct 2017 17:10:49 +0000 (12:10 -0500)] 
Add tests for deduplication in child objects

14 months agoDocument dedupe_keys option
Paul J. Davis [Tue, 31 Oct 2017 17:09:56 +0000 (12:09 -0500)] 
Document dedupe_keys option

14 months agoMerge remote-tracking branch 'davisp/master' CouchDB-0.14.11-2
Paul J. Davis [Mon, 30 Oct 2017 21:40:55 +0000 (16:40 -0500)] 
Merge remote-tracking branch 'davisp/master'

14 months agoAdd `dedupe_keys` option
Paul J. Davis [Mon, 30 Oct 2017 19:01:53 +0000 (14:01 -0500)] 
Add `dedupe_keys` option

You can no optionally request that keys are deduplicate inside of Jiffy
instead of having to perform that operation in Erlang.

14 months agoTighten string buffer size calculation in enc_string.
David Hull [Thu, 5 Oct 2017 20:48:56 +0000 (20:48 +0000)] 
Tighten string buffer size calculation in enc_string.

When "\u"-escaping a Unicode character, the esc_extra value doesn't
need to include the number of bytes in the input string.  That is, if
a three-byte UTF-8 character is being escaped to a six-byte "\uXXXX"
sequence, esc_extra only needs to be increased by 3.

16 months agotest erlang 20
getong [Tue, 29 Aug 2017 10:01:58 +0000 (18:01 +0800)] 
test erlang 20

18 months agoMerge remote-tracking branch 'davisp/master' CouchDB-0.14.11-1
Paul J. Davis [Thu, 6 Jul 2017 22:35:24 +0000 (17:35 -0500)] 
Merge remote-tracking branch 'davisp/master'

18 months agoMerge pull request #151 from wohali/win32-cleanup
Paul J. Davis [Thu, 6 Jul 2017 22:33:44 +0000 (17:33 -0500)] 
Merge pull request #151 from wohali/win32-cleanup

Cleanup after new enc lands

18 months agoMerge remote-tracking branch 'davisp/master'
Paul J. Davis [Thu, 6 Jul 2017 22:31:13 +0000 (17:31 -0500)] 
Merge remote-tracking branch 'davisp/master'

18 months agoUpdate enc for Windows support
Paul J. Davis [Thu, 6 Jul 2017 22:26:17 +0000 (17:26 -0500)] 
Update enc for Windows support

18 months agoCleanup after new enc lands
Joan Touzet [Thu, 6 Jul 2017 21:05:55 +0000 (17:05 -0400)] 
Cleanup after new enc lands

19 months agoMerge remote-tracking branch 'davisp/master'
Paul J. Davis [Wed, 7 Jun 2017 16:00:57 +0000 (11:00 -0500)] 
Merge remote-tracking branch 'davisp/master'

Update to latest Jiffy

19 months agoReplace old test case with generated data
Paul J. Davis [Wed, 7 Jun 2017 15:54:35 +0000 (10:54 -0500)] 
Replace old test case with generated data

For some reason I left a 377KiB test case checked in. Replacing this
with a generated test case is obvious in hindsight.

22 months agoSpecify the escript executable for hooks
Paul J. Davis [Fri, 17 Mar 2017 20:34:32 +0000 (15:34 -0500)] 
Specify the escript executable for hooks

Windows appears to not enjoy relative path names for exectuables so
hopefully this fixes things there.

Fixes #83

2 years agoJiffy 0.14.11
Paul J. Davis [Sat, 31 Dec 2016 02:59:49 +0000 (20:59 -0600)] 
Jiffy 0.14.11

2 years agoMaintain my own file list for hex
Paul J. Davis [Sat, 31 Dec 2016 02:57:25 +0000 (20:57 -0600)] 
Maintain my own file list for hex

Apparently hex only includes some files by default but not others
rather than a sane default of anything except for VCS directories. So
now I also get to maintain a list of files in my .app.src.

2 years agoBump to 0.14.10 because rebar3 is inept
Paul J. Davis [Thu, 29 Dec 2016 18:46:54 +0000 (12:46 -0600)] 
Bump to 0.14.10 because rebar3 is inept

Apparently rebar3 can't generate a sane version number from Git tags and
adds a bunch of BS build number and ref tags which hex.pm then rejects.
Given that I can't find any documentation on how that works and reading
code is an exercise in over engineered abstractionism I've succumbed to
the demoralizing conclusion that I'll just have to go back to the dark
ages and maintain my versions both in source and in version control.

2 years agoAdd `use_nil` to `encode_option`
Dan Swain [Thu, 19 May 2016 22:44:53 +0000 (18:44 -0400)] 
Add `use_nil` to `encode_option`

A call to `jiffy:encode(Term, [use_nil]).` will currently cause dialyzer
to issue a warning because `use_nil` is not included in `encode_option`.
This appears to just be an omission.

2 years agoMerge pull request #118 from davisp/feature-add-rebar3-support
Paul J. Davis [Mon, 10 Oct 2016 16:53:57 +0000 (11:53 -0500)] 
Merge pull request #118 from davisp/feature-add-rebar3-support

Add support for rebar3

2 years agoAdd support for rebar3
Paul J. Davis [Fri, 18 Mar 2016 20:48:20 +0000 (15:48 -0500)] 
Add support for rebar3

Allow Jiffy to be used easily in projects using either rebar 2 or 3.

2 years agoUpdate the list of Erlang VMs to use on Travis-CI
Paul J. Davis [Fri, 23 Sep 2016 20:35:20 +0000 (15:35 -0500)] 
Update the list of Erlang VMs to use on Travis-CI

2 years agoReplace PropEr with EQC
Paul J. Davis [Fri, 23 Sep 2016 20:19:19 +0000 (15:19 -0500)] 
Replace PropEr with EQC

PropEr broke my support for R14. Turns out that EQC Mini is quite usable
so I've just switched to that. If EQC Mini exists it will be used, if
not the test is skipped gracefully.

2 years agoMerge branch 'upstream'
Paul J. Davis [Thu, 14 Jul 2016 20:41:24 +0000 (15:41 -0500)] 
Merge branch 'upstream'

2 years agoFix enc_long for 64-bit Windows
Paul J. Davis [Wed, 13 Jul 2016 19:46:22 +0000 (14:46 -0500)] 
Fix enc_long for 64-bit Windows

Originally reported by @NorthNick on apache/couchdb-jiffy.

2 years agoMerge pull request #119 from egobrain/patch-1
Paul J. Davis [Wed, 6 Apr 2016 15:08:49 +0000 (10:08 -0500)] 
Merge pull request #119 from egobrain/patch-1

Fixed wrong jiffy:decode/2 spec

2 years agoFixed wrong jiffy:decode/2 spec
Yakov [Wed, 6 Apr 2016 10:22:01 +0000 (14:22 +0400)] 
Fixed wrong jiffy:decode/2 spec

2 years agoFix force_utf8 for object keys
Paul J. Davis [Thu, 31 Mar 2016 16:00:10 +0000 (11:00 -0500)] 
Fix force_utf8 for object keys

Previously if a key was malformed UTF-8 and the user specified the
`force_utf8` option we would fail to try and encode a fixed up version
of the object. This was due to missing a clause to catch the
`invalid_object_member_key` exception. This adds the clause and a couple
tests to ensure it works.

3 years agoCopy double-conversion license to root LICENSE
Paul J. Davis [Wed, 6 Jan 2016 19:28:05 +0000 (13:28 -0600)] 
Copy double-conversion license to root LICENSE

This was marked in the c_src/double-conversion directory but I've gone
ahead and added a copy to the root LICENSE file.

3 years agoIgnore hexer.config
Paul J. Davis [Wed, 6 Jan 2016 19:07:47 +0000 (13:07 -0600)] 
Ignore hexer.config

3 years agoUpdate jiff.app.src for hex.pm
Paul J. Davis [Wed, 6 Jan 2016 19:03:05 +0000 (13:03 -0600)] 
Update jiff.app.src for hex.pm

Time for Jiffy to enter the world of Erlang package management.

3 years agoRemove ETAP license information
Paul J. Davis [Wed, 6 Jan 2016 18:59:08 +0000 (12:59 -0600)] 
Remove ETAP license information

3 years agoDocument the use_nil option for encoding JSON
Paul J. Davis [Wed, 2 Dec 2015 17:29:36 +0000 (11:29 -0600)] 
Document the use_nil option for encoding JSON

3 years agoRemove old debug printing
Paul J. Davis [Wed, 2 Dec 2015 17:23:30 +0000 (11:23 -0600)] 
Remove old debug printing

3 years agoMerge pull request #113 from jparise/map-iter-destroy
Paul J. Davis [Wed, 2 Dec 2015 17:21:32 +0000 (11:21 -0600)] 
Merge pull request #113 from jparise/map-iter-destroy

Destroy map iterators once we're done with them.

3 years agoDestroy map iterators once we're done with them.
Jon Parise [Wed, 25 Nov 2015 22:58:00 +0000 (17:58 -0500)] 
Destroy map iterators once we're done with them.

Each call to enif_map_iterator_create() must be paired with a call to
enif_map_iterator_destroy(). Otherwise, we'll leak memory.

Fixes #112

3 years agoFix jiffy:encode Dialyzer spec.
Adam Krupicka [Tue, 13 Oct 2015 12:54:39 +0000 (14:54 +0200)] 
Fix jiffy:encode Dialyzer spec.

3 years agoMerge pull request #104 from pinotree/hurd
Paul J. Davis [Mon, 31 Aug 2015 16:51:10 +0000 (11:51 -0500)] 
Merge pull request #104 from pinotree/hurd

rebar.config: set CFLAGS/CXXFLAGS/LDFLAGS on Hurd

3 years agoDon't rely on an environment variable for Travis
Paul J. Davis [Mon, 31 Aug 2015 16:31:28 +0000 (11:31 -0500)] 
Don't rely on an environment variable for Travis

The environment variable approach breaks other projects' Travis-CI runs
if they include other projects that depend on a different version of
PropEr.

Fixes: #106

3 years agoReduce C++ flags to -O2 to fix gcc5 build
Joan Touzet [Thu, 27 Aug 2015 18:25:54 +0000 (14:25 -0400)] 
Reduce C++ flags to -O2 to fix gcc5 build

3 years agofix Windows compile options
Joan Touzet [Thu, 27 Aug 2015 17:53:43 +0000 (13:53 -0400)] 
fix Windows compile options

3 years agorebar.config: set CFLAGS/CXXFLAGS/LDFLAGS on Hurd
Pino Toscano [Mon, 24 Aug 2015 21:08:13 +0000 (23:08 +0200)] 
rebar.config: set CFLAGS/CXXFLAGS/LDFLAGS on Hurd

Use the common CFLAGS/CXXFLAGS/LDFLAGS used on Linux/FreeBSD/etc also
on GNU/Hurd.

3 years agoMerge pull request #103 from vicglarson/master
Paul J. Davis [Fri, 21 Aug 2015 20:04:35 +0000 (15:04 -0500)] 
Merge pull request #103 from vicglarson/master

Fix win32 build

3 years agoFix win32 build
Victor Galkin [Thu, 20 Aug 2015 11:59:58 +0000 (14:59 +0300)] 
Fix win32 build

3 years agoMerge branch 'upstream-merge'
Alexander Shorin [Tue, 28 Jul 2015 22:41:56 +0000 (01:41 +0300)] 
Merge branch 'upstream-merge'

3 years agoFix compiler warning on gcc 5.1.0
Paul J. Davis [Sat, 25 Jul 2015 17:47:52 +0000 (12:47 -0500)] 
Fix compiler warning on gcc 5.1.0

3 years agoRemove travis notification 2/head
Alexander Shorin [Sat, 25 Jul 2015 12:51:07 +0000 (15:51 +0300)] 
Remove travis notification

3 years agoRemove related path to rebar
Alexander Shorin [Sat, 25 Jul 2015 12:50:47 +0000 (15:50 +0300)] 
Remove related path to rebar

3 years agoMerge branch 'upstream' into upstream-merge
Alexander Shorin [Sat, 25 Jul 2015 12:50:15 +0000 (15:50 +0300)] 
Merge branch 'upstream' into upstream-merge

3 years agoAdd latest Erlang VMs to the test matrix upstream
Paul J. Davis [Fri, 17 Jul 2015 17:31:11 +0000 (12:31 -0500)] 
Add latest Erlang VMs to the test matrix

3 years agoRemove flaky test case
Paul J. Davis [Fri, 17 Jul 2015 17:18:21 +0000 (12:18 -0500)] 
Remove flaky test case

This test has proved its point and now just exists to randomly fail some
builds depending on race conditions with the garbage collector.

3 years agoFix map type spec
Paul J. Davis [Fri, 17 Jul 2015 17:16:48 +0000 (12:16 -0500)] 
Fix map type spec

I was being lazy and relying on Travis. This fixes up the map spec for
newer VMs.

3 years agoAdd map typespec for dialyzer
Paul J. Davis [Fri, 17 Jul 2015 16:59:50 +0000 (11:59 -0500)] 
Add map typespec for dialyzer

This obviously only exists on VMs that support it.

3 years agoStrings can be atoms or binaries
Paul J. Davis [Fri, 17 Jul 2015 16:59:39 +0000 (11:59 -0500)] 
Strings can be atoms or binaries

3 years agoFix dialyzer type specs
Paul J. Davis [Wed, 15 Jul 2015 23:43:06 +0000 (18:43 -0500)] 
Fix dialyzer type specs

3 years agoRevamp yields back to Erlang
Paul J. Davis [Wed, 15 Jul 2015 22:00:42 +0000 (17:00 -0500)] 
Revamp yields back to Erlang

In the original PR for `return_trailer` @vlm pointed out that I wasn't
using enif_consume_timeslice correctly. This fixes that by changing out
its called.

Previously we attempted to define the total number of bytes to decode or
encode in a single NIF call and then would consume as much of the
timeslice as we processed. This is wrong because we may start the NIF
call with less than an entire timeslice left.

The new approach is to define the number of bytes to encode or decode
per reduction and then iteratively call enif_consume_timeslice until it
indicates that we should return.

3 years agoAdd new return_trailer option
Paul J. Davis [Wed, 15 Jul 2015 21:18:13 +0000 (16:18 -0500)] 
Add new return_trailer option

Previously Jiffy would throw an error about trailing data if there is
any non-whitespace character encounter after the first term had been
decoded.

This patch adds a decoder option `return_trailer` that will instead
return a sub-binary starting at the first non-whitespace character. This
allows users to be able to decode multiple terms from a single iodata()
term.

Thanks to @vlm for the original patch.

3 years agoIgnore test XML files
Paul J. Davis [Wed, 15 Jul 2015 22:53:57 +0000 (17:53 -0500)] 
Ignore test XML files

3 years agoMerge pull request #65 from lpgauth/no_native
Paul J. Davis [Wed, 15 Jul 2015 20:49:37 +0000 (15:49 -0500)] 
Merge pull request #65 from lpgauth/no_native

Add compile option no_native

3 years agoAdd Dialyzer types and specs
Paul J. Davis [Wed, 15 Jul 2015 20:45:23 +0000 (15:45 -0500)] 
Add Dialyzer types and specs

Thanks to @joedevivo for the contribution.

Fixes #85

3 years agoSquash to new double-conversion
Paul J. Davis [Wed, 15 Jul 2015 20:44:18 +0000 (15:44 -0500)] 
Squash to new double-conversion

3 years agoDocument new encoding and decoding options
Paul J. Davis [Wed, 15 Jul 2015 20:35:51 +0000 (15:35 -0500)] 
Document new encoding and decoding options

3 years agoUpdate double-conversion to latest master
Paul J. Davis [Wed, 15 Jul 2015 20:27:04 +0000 (15:27 -0500)] 
Update double-conversion to latest master

3 years agoFix typo in README.md
Paul J. Davis [Wed, 15 Jul 2015 20:19:29 +0000 (15:19 -0500)] 
Fix typo in README.md

Thanks to @dvliman and @kxepal for noticing.

3 years agoMerge pull request #93 from ratelle/master
Paul J. Davis [Wed, 15 Jul 2015 20:18:30 +0000 (15:18 -0500)] 
Merge pull request #93 from ratelle/master

Add replace_undefined and escape_forward_slashes

3 years agoAdd an option to escape forward slashes
Jeremie Lasalle Ratelle [Wed, 20 May 2015 22:20:17 +0000 (18:20 -0400)] 
Add an option to escape forward slashes

This brings back escaping forward slashes as an option during encoding.
Default is still not to escape.

3 years agoAdd an option to control null value decoding atom
Jeremie Lasalle Ratelle [Fri, 24 Apr 2015 16:35:32 +0000 (12:35 -0400)] 
Add an option to control null value decoding atom

This is pretty much a generalisation of the use_nil option to support an
arbitrary atom.

3 years agoMerge pull request #92 from emfa/master
Paul J. Davis [Fri, 29 May 2015 19:35:26 +0000 (14:35 -0500)] 
Merge pull request #92 from emfa/master

Changed pos to unsigned int to prevent warning from happening.

3 years agoChanged pos to unsigned int to prevent warning from happening.
Emil Falk [Fri, 29 May 2015 14:03:31 +0000 (16:03 +0200)] 
Changed pos to unsigned int to prevent warning from happening.

3 years agoMerge pull request #86 from clonejo/patch-1
Paul J. Davis [Fri, 22 May 2015 20:18:54 +0000 (15:18 -0500)] 
Merge pull request #86 from clonejo/patch-1

update README.md fixing typo in maps example

3 years agoupdate README.md fixing typo in maps example
Feiko Nanninga [Fri, 24 Apr 2015 14:15:05 +0000 (16:15 +0200)] 
update README.md fixing typo in maps example

3 years agoMerge pull request #78 from tuncer/rebar.config-windows
Paul J. Davis [Tue, 3 Feb 2015 20:00:12 +0000 (14:00 -0600)] 
Merge pull request #78 from tuncer/rebar.config-windows

rebar.config: fix Windows support (CFLAGS, CXXFLAGS)

4 years agorebar.config: fix Windows support (CFLAGS, CXXFLAGS)
Tuncer Ayaz [Wed, 14 Jan 2015 14:50:56 +0000 (15:50 +0100)] 
rebar.config: fix Windows support (CFLAGS, CXXFLAGS)

4 years agoAccount for char possibly being unsigned
Paul J. Davis [Thu, 13 Nov 2014 00:46:06 +0000 (18:46 -0600)] 
Account for char possibly being unsigned

This sounds rather insane to me but I've managed to show that `(char)
-1` is converted to 255 on some platforms. This was reproduced on
ppc64el via Qemu on OS X. A simple program that does `fprintf(stderr,
"%d\r\n", (char) -1);` prints 255 to the console. Rather than rely on
the signedness of a char I've just updated things to use an unsigned
char (which hopefully is never signed) and replaced -1 with 255 for the
sentinel value when converting hex values.

Thanks to Balint Reczey (@rbalint) for the report.

Fixes #74

4 years agoTravis.ci added support for Erlang 17.1
Paul J. Davis [Fri, 3 Oct 2014 20:54:26 +0000 (15:54 -0500)] 
Travis.ci added support for Erlang 17.1

4 years agoFix memory leak when encoding bare bignums
Paul J. Davis [Tue, 30 Sep 2014 22:03:37 +0000 (17:03 -0500)] 
Fix memory leak when encoding bare bignums

This fixes a leak when encoding a bare bignum. Technically it would be
possible to hit this memory leak randomly with bignums in objects but
the chances are highly unlikely.

Thanks to @miriampena for the issue.

Fixes #69

4 years agoRemove unnecessary inclusion of proper.hrl
Paul J. Davis [Fri, 19 Sep 2014 19:28:55 +0000 (14:28 -0500)] 
Remove unnecessary inclusion of proper.hrl

4 years agoremove binary rebar
Robert Newson [Wed, 27 Aug 2014 20:14:07 +0000 (21:14 +0100)] 
remove binary rebar

4 years agoPersist the `val` register across yield
Paul J. Davis [Sat, 23 Aug 2014 12:20:37 +0000 (07:20 -0500)] 
Persist the `val` register across yield

The `val` variable is a register value that we need to be able to return
at any time from `decode_iter`. If it happened that a yield was
triggered while processing trailing whitespace the lack of persistance
caused decode to return a term intialized from a random integer value.
Obviously the Erlang VM did not enjoy this.

Thanks to @michalpalka for the report.

Fixes #66

4 years agoImproved encoder errors
Paul J. Davis [Sat, 23 Aug 2014 10:47:59 +0000 (05:47 -0500)] 
Improved encoder errors

This updates encoder errors to report the actual Erlang value that
caused the error. This should make it easier to debug errors when
generating JSON.

4 years agoTweak the nil encoding logic
Paul J. Davis [Sat, 23 Aug 2014 10:49:12 +0000 (05:49 -0500)] 
Tweak the nil encoding logic

I must've managed to miss the PR update from Stanislav the other day
when merging this.

4 years agoImproved Elixir compatibility
Stanislav Vishnevskiy [Tue, 19 Aug 2014 18:44:49 +0000 (11:44 -0700)] 
Improved Elixir compatibility

This implements the `use_nil` option as discussed on issue #64. Passing
the atom `use_nil` as an option to both encode and decode will replace
the atom `null` with `nil` when decoding and encode `nil` as `null` when
encoding values.

Fixes #64
Fixes #68

4 years agoAdd compile option no_native
Louis-Philippe Gauthier [Wed, 16 Jul 2014 00:43:33 +0000 (20:43 -0400)] 
Add compile option no_native

4 years agoAvoid uint64 for 32bit compatibility
Paul J. Davis [Fri, 20 Jun 2014 20:30:17 +0000 (15:30 -0500)] 
Avoid uint64 for 32bit compatibility

Rather than worry about truncation casting from a possibly 64bit value
down to a possibly 32bit size_t we just limit the total bytes per
invocation to 4G using an unsigned integer.

Thanks to @seriyps for the report.

Fixes #61

4 years agoDisable strict aliasing
Paul J. Davis [Tue, 17 Jun 2014 19:48:40 +0000 (14:48 -0500)] 
Disable strict aliasing

This is motivated by issue #60 to see if we can get away with `-O3`
while still handling the cast of a `Decoder**` to `void**`.

Fixes #60

4 years agoBe explicit on the stdlib dependency
Paul J. Davis [Tue, 17 Jun 2014 07:58:27 +0000 (02:58 -0500)] 
Be explicit on the stdlib dependency

4 years agoUpdate optimization flags
Paul J. Davis [Tue, 17 Jun 2014 07:57:50 +0000 (02:57 -0500)] 
Update optimization flags

4 years agoInclude documentation on the maps feature
Paul J. Davis [Tue, 17 Jun 2014 02:52:32 +0000 (21:52 -0500)] 
Include documentation on the maps feature

4 years agoFix timeouts for short doubles
Paul J. Davis [Tue, 17 Jun 2014 02:39:49 +0000 (21:39 -0500)] 
Fix timeouts for short doubles

Timeouts apparently don't actually work unless you use a test generator.
Which makes sense in hindsight.

4 years agoSilence unused function compiler warnings
Paul J. Davis [Tue, 17 Jun 2014 02:23:39 +0000 (21:23 -0500)] 
Silence unused function compiler warnings

4 years agoInclude the Travis-CI status badge in the README
Paul J. Davis [Tue, 17 Jun 2014 02:19:23 +0000 (21:19 -0500)] 
Include the Travis-CI status badge in the README

4 years agoAdjust timeouts to a sane cutoff
Paul J. Davis [Tue, 17 Jun 2014 02:14:57 +0000 (21:14 -0500)] 
Adjust timeouts to a sane cutoff

4 years agoRemove etap target from the Makefile
Paul J. Davis [Tue, 17 Jun 2014 02:14:39 +0000 (21:14 -0500)] 
Remove etap target from the Makefile

4 years agoMake sure to update the config for Travis-CI
Paul J. Davis [Tue, 17 Jun 2014 02:09:49 +0000 (21:09 -0500)] 
Make sure to update the config for Travis-CI

4 years agoEnable Travis-CI builds
Paul J. Davis [Tue, 17 Jun 2014 02:06:22 +0000 (21:06 -0500)] 
Enable Travis-CI builds

4 years agoReplace etap with eunit for the test suite
Paul J. Davis [Tue, 17 Jun 2014 01:58:26 +0000 (20:58 -0500)] 
Replace etap with eunit for the test suite

Finally got off my butt and started using EUnit.

4 years agoBe specific enough that =:= returns true
Paul J. Davis [Tue, 17 Jun 2014 01:55:19 +0000 (20:55 -0500)] 
Be specific enough that =:= returns true

Refactoring the test suite I found that the old etap was only as strict
as the `==` operator where as EUnit uses the `=:=` operator.