fat_core 4.13.1 → 4.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f42829c28090affb51b78c2bd93d5db4ecdeab1dc498e62698e761838e3e04d
4
- data.tar.gz: a2464144aaa61f911fbaeb56f7c1a51f19c167c5dd2c1c627d44140941f23bc3
3
+ metadata.gz: 8346fec82bf15a334c820d144c1ca1dd1dced6caf277d422d7436d8acc802da4
4
+ data.tar.gz: 9fd7625a54123c14e2b267d4e0edfd476ec3ed651a0206601146ac56eefb201b
5
5
  SHA512:
6
- metadata.gz: 9d21826f4ef71cdca46ee84f7f57874462c8226b6bb3d147b8d6a6232bf5221fd397c0618652ea9625b567da15c061ab5d294bc814a92d4f86aa9899fea1fddc
7
- data.tar.gz: 9a100a53cefdc722929a312e1c8cdb21ee9c93ce847968917103c2cf89c73d43c39bda9957df47ea7c2e7f522911a75e7b2e77d8aae9ee1368f1fe3963d8f19e
6
+ metadata.gz: 0c8af36daf08287547b58ff26f83ec7adec26e3e1965b98ff89cdc7d73befb0c1b7d7d2b36d13c59a9869d73264a07925a85f611e8a9e2f0027f8716e52123ba
7
+ data.tar.gz: '082df1b45297258a2f313879da999dd19f74a353a69bdcd83343fc84221165f5f7a5c7bcbaea2248e9a1260b35312a1cb4544838872dfe24cfbd74ffe698283f'
data/fat_core.gemspec CHANGED
@@ -9,31 +9,30 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ['ded@ddoherty.net']
10
10
  spec.summary = 'some useful core extensions'
11
11
  spec.description = <<~DESC
12
- Useful extensions to Date, String, Range and other classes
13
- including useful Date extensions for dealing with US Federal
14
- and New York Stock Exchange holidays and working days, a useful
15
- Enumerable#each_with_flags for flagging first and last items in the
16
- iteration, (also for Hash), set operations on Ranges
12
+ Useful extensions to Date, String, Range and other classes
13
+ including useful Date extensions for dealing with US Federal
14
+ and New York Stock Exchange holidays and working days, a useful
15
+ Enumerable#each_with_flags for flagging first and last items in the
16
+ iteration, (also for Hash), set operations on Ranges
17
17
  DESC
18
18
  spec.homepage = 'https://github.com/ddoherty03/fat_core.git'
19
19
  spec.license = 'MIT'
20
20
  spec.required_ruby_version = '>= 2.2.2'
21
21
  spec.metadata['yard.run'] = 'yri' # use "yard" to build full HTML docs.
22
22
 
23
- spec.files = `git ls-files -z`.split("\x0")
23
+ spec.files = %x[git ls-files -z].split("\x0")
24
24
  spec.files.reject! { |fn| fn =~ /^NYSE_closings.pdf/ }
25
25
  spec.executables = spec.files.grep(%r{^bin/easter}) { |f| File.basename(f) }
26
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
27
26
  spec.require_paths = ['lib']
28
27
 
29
- spec.add_development_dependency 'simplecov'
30
28
  spec.add_development_dependency 'bundler'
31
29
  spec.add_development_dependency 'debug', '>= 1.0.0'
32
- spec.add_development_dependency 'rake'
33
- spec.add_development_dependency 'rspec'
34
30
  spec.add_development_dependency 'pry'
35
31
  spec.add_development_dependency 'pry-doc'
32
+ spec.add_development_dependency 'rake'
36
33
  spec.add_development_dependency 'redcarpet'
34
+ spec.add_development_dependency 'rspec'
35
+ spec.add_development_dependency 'simplecov'
37
36
  spec.add_development_dependency 'solargraph'
38
37
 
39
38
  spec.add_runtime_dependency 'activesupport'
data/lib/fat_core/date.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'date'
4
+ require 'active_support'
4
5
  require 'active_support/core_ext/date'
5
6
  require 'active_support/core_ext/time'
6
7
  require 'active_support/core_ext/numeric/time'
@@ -2,8 +2,8 @@
2
2
 
3
3
  module FatCore
4
4
  MAJOR = 4
5
- MINOR = 13
6
- PATCH = 1
5
+ MINOR = 14
6
+ PATCH = 0
7
7
 
8
8
  # FatCore version number
9
9
  VERSION = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.13.1
4
+ version: 4.14.0
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: 2023-03-17 00:00:00.000000000 Z
11
+ date: 2023-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: simplecov
14
+ name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,35 +25,35 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 1.0.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 1.0.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: debug
42
+ name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.0
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.0.0
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rake
56
+ name: pry-doc
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec
70
+ name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: pry
84
+ name: redcarpet
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: pry-doc
98
+ name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: redcarpet
112
+ name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -239,20 +239,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  - !ruby/object:Gem::Version
240
240
  version: '0'
241
241
  requirements: []
242
- rubygems_version: 3.4.1
242
+ rubygems_version: 3.4.9
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: some useful core extensions
246
- test_files:
247
- - spec/lib/array_spec.rb
248
- - spec/lib/bigdecimal_spec.rb
249
- - spec/lib/date_spec.rb
250
- - spec/lib/enumerable_spec.rb
251
- - spec/lib/hash_spec.rb
252
- - spec/lib/kernel_spec.rb
253
- - spec/lib/nil_spec.rb
254
- - spec/lib/numeric_spec.rb
255
- - spec/lib/range_spec.rb
256
- - spec/lib/string_spec.rb
257
- - spec/lib/symbol_spec.rb
258
- - spec/spec_helper.rb
246
+ test_files: []