stock_market_days 1.3.0 → 1.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e76a55bcd76b991250ce5791ac9dec3e9a925166d40edad0b208cdbc12071cd
4
- data.tar.gz: 3452283cbc55cd4ec99b2483111e83bd908b2e16f327feafc55e0bb40c2d765c
3
+ metadata.gz: bddb3b1d05325356714d9f6e11b4756786f69ae227bd5b66666fbd3daa70646c
4
+ data.tar.gz: 39ef59865cb3eefcc68cdedc8beedff8bc8ddb6cdaa905add9c229d83ec40bcd
5
5
  SHA512:
6
- metadata.gz: c40613090f2a9302d31af6f927f37d9329e0ba561cb8e675694b8ef15053526715752dd6160ab687ddbb5107b747d78a2abf30fd43e4800c555358a3f10d3db6
7
- data.tar.gz: ac5ff806c47c7e09742389b99c0f868d2d3d1f54c10845043edac45edfe1cdbcff8ead09578b0446760e20acaebedc5d3d9a16b3380892d2157a7d821c376872
6
+ metadata.gz: 764b10f435b3da3135bdef3aeae5fdec1e4d28b55dcbeea0da5bc3f07953856671b86de74438ed9b596e83d2c84153ef12d3b58ca1cd0d3d18bdc4c4f71ca00b
7
+ data.tar.gz: 807409ab2bc05a5c696f1e91bebae51e13d1563eb9cd6c35849cf1b2e4ad85a1f6ed7b447855ed072da92054dc1ab5c9e3e8d0d3ef247768fde8b3f3f9016fac
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
- pkg/
1
+ pkg/
2
+ Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ Version 1.4.1 (2/14/2025)
2
+ * Change setting to make rspec default test suite
3
+
4
+ Verion 1.4.0 (2/14/2025)
5
+ * Expanded covered date range to 1990-2060.
6
+
1
7
  Version 1.3.0 (12/30/2024)
2
8
  * Add 1/9/25 market closed day for Jimmy Carter's death
3
9
 
data/README.md CHANGED
@@ -8,7 +8,7 @@ Typically, markets are closed on weekends and the following holidays:
8
8
  * New Year's Day (January 1st, or first Monday of January if on weekend)
9
9
  * Martin Luther King Day (third Monday of January)
10
10
  * Washington's Birthday (third Monday of Feburary)
11
- * Good Friday (Determined by http://www.maa.clell.de/StarDate/publ_holidays.html)
11
+ * Good Friday (Determined by [https://spider.seds.org/spider/ScholarX/publ_holidays.html](https://spider.seds.org/spider/ScholarX/publ_holidays.html))
12
12
  * Memorial Day (last Monday of May)
13
13
  * Juneteenth (June 19, or nearest Monday or Friday if on a weekend)
14
14
  * Independence Day (July 4, or July 3rd if on Saturday, July 5th if on Sunday)
@@ -29,9 +29,9 @@ gem 'stock_market_days'
29
29
 
30
30
  ## Available Methods
31
31
 
32
- `is_market_day?` - tells you whether the given date is a date US markets are open
33
- `market_days_between` - tells number of trading days between two dates
34
- `market_days_from` - gives you the trading day of given date, plus number of trading days
32
+ * `is_market_day?` - tells you whether the given date is a date US markets are open
33
+ * `market_days_between` - tells number of trading days between two dates
34
+ * `market_days_from` - gives you the trading day of given date, plus number of trading days
35
35
 
36
36
 
37
37
  Look at the test suite for examples of usage.
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
- require "bundler/gem_tasks"
2
- require 'stock_market_days'
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
3
 
4
- # This is just a placeholder
5
- # task :taskname do
6
- # # perform logic
7
- # end
4
+ RSpec::Core::RakeTask.new(:spec) do |t|
5
+ t.pattern = 'spec/**/*_spec.rb'
6
+ end
8
7
 
8
+ task default: :spec