fat_core 5.5.0 → 5.5.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 +4 -4
- data/lib/fat_core/date.rb +6 -2
- data/lib/fat_core/version.rb +1 -1
- data/spec/lib/string_spec.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fed5378f234eb9dffdbfcc63a3520afc343e0879734d990576ac5871059d7bf3
|
4
|
+
data.tar.gz: eb267ad2fd68502779a921535655b24edc3311cad9a901dc5768b3e3ef41e44c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ad4723ce97c1f7c765be45abafa288b57146f787ce3a355025ddb7b86bbe1f197f0308e9a603753b79589c392e0092dd38c0cec012a973e0da116e35afe6d1d
|
7
|
+
data.tar.gz: 142bd5d034880bcb2a5418db6a05c38e9a88463294669bb3a823535a8ecd35a1d6878847548fbdbe4edad12e91832099e53f1ffca820d43ee4b93d7dd0950689
|
data/lib/fat_core/date.rb
CHANGED
@@ -942,7 +942,9 @@ module FatCore
|
|
942
942
|
::Date.parse('2018-12-24'),
|
943
943
|
::Date.parse('2019-12-24'),
|
944
944
|
::Date.parse('2020-12-24'),
|
945
|
-
|
945
|
+
# Biden
|
946
|
+
::Date.parse('2024-12-24'),
|
947
|
+
]
|
946
948
|
|
947
949
|
# Presidential funeral since JFK
|
948
950
|
PRESIDENTIAL_FUNERALS = [
|
@@ -962,7 +964,9 @@ module FatCore
|
|
962
964
|
::Date.parse('2007-01-02'),
|
963
965
|
# GHWBFuneral
|
964
966
|
::Date.parse('2018-12-05'),
|
965
|
-
|
967
|
+
# JEC Funeral
|
968
|
+
::Date.parse('2025-01-09'),
|
969
|
+
]
|
966
970
|
|
967
971
|
# Return whether this date is a United States federal holiday.
|
968
972
|
#
|
data/lib/fat_core/version.rb
CHANGED
data/spec/lib/string_spec.rb
CHANGED
@@ -139,7 +139,7 @@ the people, for the people, shall not perish from the earth."
|
|
139
139
|
expect('-8.008'.number?).to be true
|
140
140
|
expect('8.008e33'.number?).to be true
|
141
141
|
expect('-8.008e33'.number?).to be true
|
142
|
-
expect('0x8.008'.number?).to
|
142
|
+
expect('0x8.008'.number?).to be_truthy
|
143
143
|
expect('hello world'.number?).to be false
|
144
144
|
end
|
145
145
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fat_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel E. Doherty
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-23 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activesupport
|
@@ -127,7 +126,6 @@ licenses:
|
|
127
126
|
- MIT
|
128
127
|
metadata:
|
129
128
|
yard.run: yri
|
130
|
-
post_install_message:
|
131
129
|
rdoc_options: []
|
132
130
|
require_paths:
|
133
131
|
- lib
|
@@ -142,8 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
140
|
- !ruby/object:Gem::Version
|
143
141
|
version: '0'
|
144
142
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
146
|
-
signing_key:
|
143
|
+
rubygems_version: 3.6.3
|
147
144
|
specification_version: 4
|
148
145
|
summary: some useful core extensions
|
149
146
|
test_files: []
|