stock_market_days 1.4.0 → 1.4.1

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: 8d61c32b60900d16cb6ee57f741f0d74fa2556c63710352de949743ad4ff82ca
4
- data.tar.gz: 2ff834dde4fea0d936e81caf164814641073f3a84c5c1703bd202bbb7cc2b6d1
3
+ metadata.gz: bddb3b1d05325356714d9f6e11b4756786f69ae227bd5b66666fbd3daa70646c
4
+ data.tar.gz: 39ef59865cb3eefcc68cdedc8beedff8bc8ddb6cdaa905add9c229d83ec40bcd
5
5
  SHA512:
6
- metadata.gz: e0dce8a2fde9546be6089944094ad6920018cea524bbf91955e9a88c007cbd1775d9edacd012ffbc9a83b2026566565f7458f241897b5a41a5d108c8edd828bc
7
- data.tar.gz: 4ea934aa90a2ac27ab0232c4ab4c496e693ee369103a4641851c7b2d8ebc48708d0ec08bbf012862b52d0354a43759872b728113749db0d65032ffac231703e9
6
+ metadata.gz: 764b10f435b3da3135bdef3aeae5fdec1e4d28b55dcbeea0da5bc3f07953856671b86de74438ed9b596e83d2c84153ef12d3b58ca1cd0d3d18bdc4c4f71ca00b
7
+ data.tar.gz: 807409ab2bc05a5c696f1e91bebae51e13d1563eb9cd6c35849cf1b2e4ad85a1f6ed7b447855ed072da92054dc1ab5c9e3e8d0d3ef247768fde8b3f3f9016fac
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ Version 1.4.1 (2/14/2025)
2
+ * Change setting to make rspec default test suite
3
+
1
4
  Verion 1.4.0 (2/14/2025)
2
5
  * Expanded covered date range to 1990-2060.
3
6
 
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
@@ -1,3 +1,3 @@
1
1
  module StockMarketDays
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stock_market_days
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winston Kotzan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-14 00:00:00.000000000 Z
11
+ date: 2025-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler