RubyGems Navigation menu

split_dmy 0.4.2

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:

7d573dfb845760c5d993fee89ef12cd1e66c2b82628be3c4de65ea0a9c3194fc

Total downloads 18,178

For this version 2,284

License:

MIT

Required Ruby Version: >= 0

Links: