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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 9b56d8d1f13af9d5bfb46d5ac5df429e7ec1dacff0b195f0467bce46fc9c75e9
4
- data.tar.gz: 0e680df43c152481c9127179838f21d66e250366431d3d0a524d405420c67fd1
2
+ SHA1:
3
+ metadata.gz: 35c38135c8805c3d07cf4f04099182e724e64587
4
+ data.tar.gz: 826a6ea16a84ab6672c1ab5db6bd3ab198c5199a
5
5
  SHA512:
6
- metadata.gz: 0a942f8dcf8cb7da5d30c995c4e90966a1302d6c75db6f746689563072bdc0f9865ec95e3809d5676ca73f1ebe7608cd7389796ebcce96183ced6a00dc941f89
7
- data.tar.gz: b10bd25e94c7a8c234db0008245296caa91370fb165f4cd2bb6341fa0fb13e6b478d9b5a5da8830c5b3021ac34702c81bd546b30e2c6920ee2066f16a17cd347
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
@@ -1,7 +1,7 @@
1
1
  module FatCore
2
2
  MAJOR = 4
3
3
  MINOR = 3
4
- PATCH = 0
4
+ PATCH = 2
5
5
 
6
6
  # FatCore version number
7
7
  VERSION = [MAJOR, MINOR, PATCH].compact.join('.')
@@ -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.0
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-06 00:00:00.000000000 Z
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.7.3
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