RubyGems Navigation menu

split_dmy 0.5.0

Adds accessors to a class so that the date can be set as a string while days, months and years can be set as integers. It also allows for month as short and long text inputs, e.g. Jan, March. It will validate resulting dates and generate errors when parts are invalid and where combined parts are incorrect.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.5.0 - March 29, 2016 (11.5 KB)
  2. 0.4.2 - March 23, 2016 (11.5 KB)
  3. 0.4.1 - March 23, 2016 (11.5 KB)
  4. 0.4 - March 23, 2016 (11.5 KB)
  5. 0.3 - March 23, 2016 (11.5 KB)
Show all versions (8 total)

Development Dependencies (8):

activerecord >= 4.2.6, ~> 4.2
bundler ~> 1.7
rake ~> 11.0
rspec ~> 3.2
rubocop ~> 0.37.2
rubocop-rspec = 1.4.0
sqlite3 ~> 1

Owners:

Authors:

  • Colin Bruce

SHA 256 checksum:

a44eafa5a6ac11963e20207372edb603e42963aefd48929632bca766a2ffde75

Total downloads 18,134

For this version 3,248

License:

MIT

Required Ruby Version: >= 0

Links: