RubyGems Navigation menu

split_dmy 0.4

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 ~> 0

Owners:

Authors:

  • Colin Bruce

SHA 256 checksum:

64943cce54c99b6b60c48dd5a49a7bd6f544f88d1c4bb9e293743f5da743913b

Total downloads 18,178

For this version 1,787

License:

MIT

Required Ruby Version: >= 0

Links: