split_dmy 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/split_dmy/version.rb +1 -1
- data/split_dmy.gemspec +4 -4
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d5f2692704ad5aaf8a5b0958c75d91d11ec741b
|
4
|
+
data.tar.gz: 0995b8ee482f70ec8e1de6aa5d765288c3028464
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 401188b51ecb7281bfedd7817c37cd94d5c74a62576b53c6c8a8b90b0e6e5c473dfbec42f23fb972386c482ddf9a2b41a2666ca72c65bb71740d330ac83e9e11
|
7
|
+
data.tar.gz: 5ead4d9920fc5dca084b6874adfe42f4b772574b14c639ec31081a3d2cba4eeaff3dfa98831c983dfb974814956b73c8a9be8a8b629f0b9d4694eae63a9df8c8
|
data/README.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
[](https://hakiri.io/github/CeeBeeUK/split_dmy/master)
|
7
7
|
[](http://waffle.io/CeeBeeUK/split_dmy)
|
8
|
+
[](http://badge.fury.io/rb/split_dmy)
|
8
9
|
|
9
10
|
Allow splitting a date field into constituent day, month and year parts.
|
10
11
|
|
data/lib/split_dmy/version.rb
CHANGED
data/split_dmy.gemspec
CHANGED
@@ -8,11 +8,11 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = SplitDmy::VERSION
|
9
9
|
spec.authors = ['Colin Bruce']
|
10
10
|
spec.email = ['colinbruce@gmail.com']
|
11
|
-
spec.summary = 'Add split accessors for date fields
|
12
|
-
into day, month, year parts'
|
11
|
+
spec.summary = 'Add split accessors for date fields into day, month, year parts'
|
13
12
|
spec.description = <<-EOF
|
14
|
-
|
15
|
-
|
13
|
+
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.
|
14
|
+
It also allows for month as short and long text inputs, e.g. Jan, March. It will validate resulting dates and generate
|
15
|
+
errors when parts are invalid and where combined parts are incorrect.
|
16
16
|
EOF
|
17
17
|
spec.homepage = 'https://github.com/CeeBeeUK/split_dmy'
|
18
18
|
spec.license = 'MIT'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: split_dmy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin Bruce
|
@@ -150,9 +150,10 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
-
description:
|
154
|
-
|
155
|
-
|
153
|
+
description: " Adds accessors to a class so that the date can be set as a string
|
154
|
+
while days, months and years can be set as integers. \n It also allows for month
|
155
|
+
as short and long text inputs, e.g. Jan, March. It will validate resulting dates
|
156
|
+
and generate \n errors when parts are invalid and where combined parts are incorrect.\n"
|
156
157
|
email:
|
157
158
|
- colinbruce@gmail.com
|
158
159
|
executables: []
|
@@ -199,5 +200,5 @@ rubyforge_project:
|
|
199
200
|
rubygems_version: 2.4.4
|
200
201
|
signing_key:
|
201
202
|
specification_version: 4
|
202
|
-
summary: Add split accessors for date fields
|
203
|
+
summary: Add split accessors for date fields into day, month, year parts
|
203
204
|
test_files: []
|