Ruby parser to work with ISO8601 dateTimes and durations — http://en.wikipedia.org/wiki/ISO_8601
Ruby Makefile
Latest commit 67bd6e4 May 21, 2016 @arnau Bump version to 0.9.1
Failed to load latest commit information.
docs Update docker images May 21, 2016
lib
mk Update docker images May 21, 2016
spec
.dockerignore Add dockerignore Oct 17, 2015
.editorconfig Add multi-container tests Oct 18, 2015
.gitignore Add Docker and Vagrant to ease testing Jan 26, 2015
.rubocop.yml
.travis.yml
CHANGELOG.md Bump version to 0.9.1 May 21, 2016
CONTRIBUTING.md Add multi-container tests Oct 18, 2015
Dockerfile
Dockerfile.jruby Add multi-container tests Oct 18, 2015
Dockerfile.rbx Add multi-container tests Oct 18, 2015
Gemfile Update docker images May 21, 2016
LICENSE Update license Oct 17, 2015
Makefile
README.md Add the incompatible warning as the first element in the README Dec 13, 2015
Rakefile Fix gemspec Jul 7, 2012
circle.yml Add multi-container tests Oct 18, 2015
iso8601.gemspec Update docker images May 21, 2016

README.md

ISO8601

Version 0.9.0 is not compatible with previous versions. Atoms and Durations changed their interface when treating base dates so it is only applied when computing the Atom length (e.g. #to_seconds). As a consequence, it is no longer possible to do operations like DateTime + Duration.

Version 1.0.0 will lock public interfaces.

Check the changelog if you are upgrading from an older version.

Gitter

ISO8601 is a simple implementation of the ISO 8601 (Data elements and interchange formats — Information interchange — Representation of dates and times) standard.

Build status

Build Status Dependency Status Gem Version

Supported versions

  • MRI 2.x
  • RBX 2
  • JRuby 9

Documentation

Check the rubydoc documentation. Or take a look to the implementation notes:

Testing

Docker

# Install Docker
$ make install
$ make test

You can alse target specific runtimes:

$ make mri-test
$ make rbx-test
$ make jruby-test

Raw

The old fashion way:

# Install a Ruby flavour
$ bundle install
$ bundle exec rspec

Contributing

Contributors

Please see CONTRIBUTING.md

License

Arnau Siches under the MIT License