fat_core 4.3.0 → 4.3.2
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 +5 -5
- data/lib/fat_core/date.rb +3 -1
- data/lib/fat_core/version.rb +1 -1
- data/spec/lib/string_spec.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 35c38135c8805c3d07cf4f04099182e724e64587
|
|
4
|
+
data.tar.gz: 826a6ea16a84ab6672c1ab5db6bd3ab198c5199a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64d7d4a8a203befc168f7043b2f088b9dcc5c8dca5eb17e3ceec13f808ac6dcd4212c5d0ff048bf4ef86b601e63a7769749a6ce9f11aa3aee74e8c294946e255
|
|
7
|
+
data.tar.gz: 26c5d8bd3a50ad2cbbf712332f0f1e8bf56f675f59bf1d5547562af31cdbb9612a89db30aa48e6b338d7f25d536fc5f24f4536d06bd5078c9152c41313d63d92
|
data/lib/fat_core/date.rb
CHANGED
|
@@ -779,7 +779,9 @@ module FatCore
|
|
|
779
779
|
[
|
|
780
780
|
# Obama decree extra day before Christmas See
|
|
781
781
|
# http://www.whitehouse.gov/the-press-office/2012/12/21
|
|
782
|
-
::Date.parse('2012-12-24')
|
|
782
|
+
::Date.parse('2012-12-24'),
|
|
783
|
+
# And Trump
|
|
784
|
+
::Date.parse('2018-12-24')
|
|
783
785
|
].freeze
|
|
784
786
|
|
|
785
787
|
# Presidential funeral since JFK
|
data/lib/fat_core/version.rb
CHANGED
data/spec/lib/string_spec.rb
CHANGED
|
@@ -112,6 +112,7 @@ the people, for the people, shall not perish from the earth."
|
|
|
112
112
|
expect('2014-05-21'.as_date.iso).to eq '2014-05-21'
|
|
113
113
|
expect('2014/05/21'.as_date.iso).to eq '2014-05-21'
|
|
114
114
|
expect('2014/5/21'.as_date.iso).to eq '2014-05-21'
|
|
115
|
+
expect('201X/5/21'.as_date).to be_nil
|
|
115
116
|
end
|
|
116
117
|
|
|
117
118
|
it 'should wrap a short string' do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fat_core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.3.
|
|
4
|
+
version: 4.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel E. Doherty
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-12-
|
|
11
|
+
date: 2018-12-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: simplecov
|
|
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
234
234
|
version: '0'
|
|
235
235
|
requirements: []
|
|
236
236
|
rubyforge_project:
|
|
237
|
-
rubygems_version: 2.
|
|
237
|
+
rubygems_version: 2.6.14.3
|
|
238
238
|
signing_key:
|
|
239
239
|
specification_version: 4
|
|
240
240
|
summary: fat_core provides some useful core extensions
|