RubyGems Navigation menu

split_dmy 0.4.1

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:

9b1c3977ada97f92e12df1df89fd011dc11ced6c2e2befd7e83e5784508af380

Total downloads 18,178

For this version 1,772

License:

MIT

Required Ruby Version: >= 0

Links: