retail_calendars 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +50 -0
- data/LICENSE.txt +21 -0
- data/README.md +56 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/retail_calendar.rb +10 -0
- data/lib/retail_calendar/calendar.rb +104 -0
- data/lib/retail_calendar/version.rb +3 -0
- data/retail_calendar.gemspec +42 -0
- data/retail_calendars-0.1.0.gem +0 -0
- metadata +124 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3db4ee8429e1bb3f4710b1fa3e1dd07c295c40a95bdcfb977afa18f98ef72b90
|
4
|
+
data.tar.gz: 4c7017d1445f63a09a0d9b032975e84f71340240230ac7f01ac7a513150e45b1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4c9f9d4579f87da55626be4b854def7903c0d9ac85c08d9eceb7040421a734406ca07c43139335e9267bb13c25501f7349b2daa928d7e2f86b868ec2a2cacdf6
|
7
|
+
data.tar.gz: 43e9b08dc8571f407ac491854ff798cc5bbab0fdd14f270d99239629cf61be0ec5a659313fad123a53bd41bc44cdb693af5b0d84210f9452988f67986d46f8af
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at j.blum@youngcapital.nl. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
retail_calendars (0.1.0)
|
5
|
+
activesupport (>= 3, < 7)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activesupport (6.0.3.2)
|
11
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
12
|
+
i18n (>= 0.7, < 2)
|
13
|
+
minitest (~> 5.1)
|
14
|
+
tzinfo (~> 1.1)
|
15
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
16
|
+
concurrent-ruby (1.1.6)
|
17
|
+
diff-lcs (1.4.2)
|
18
|
+
i18n (1.8.3)
|
19
|
+
concurrent-ruby (~> 1.0)
|
20
|
+
minitest (5.14.1)
|
21
|
+
rake (10.5.0)
|
22
|
+
rspec (3.9.0)
|
23
|
+
rspec-core (~> 3.9.0)
|
24
|
+
rspec-expectations (~> 3.9.0)
|
25
|
+
rspec-mocks (~> 3.9.0)
|
26
|
+
rspec-core (3.9.2)
|
27
|
+
rspec-support (~> 3.9.3)
|
28
|
+
rspec-expectations (3.9.2)
|
29
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
+
rspec-support (~> 3.9.0)
|
31
|
+
rspec-mocks (3.9.1)
|
32
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
+
rspec-support (~> 3.9.0)
|
34
|
+
rspec-support (3.9.3)
|
35
|
+
thread_safe (0.3.6)
|
36
|
+
tzinfo (1.2.7)
|
37
|
+
thread_safe (~> 0.1)
|
38
|
+
zeitwerk (2.3.0)
|
39
|
+
|
40
|
+
PLATFORMS
|
41
|
+
ruby
|
42
|
+
|
43
|
+
DEPENDENCIES
|
44
|
+
bundler (~> 2.0)
|
45
|
+
rake (~> 10.0)
|
46
|
+
retail_calendars!
|
47
|
+
rspec (~> 3.0)
|
48
|
+
|
49
|
+
BUNDLED WITH
|
50
|
+
2.0.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Joel Blum
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# RetailCalendar
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
This gem implements 4-4-5 / 4-5-4 / 5-4-4 retail calendar in a very lightweight manner.
|
8
|
+
https://en.wikipedia.org/wiki/4%E2%80%934%E2%80%935_calendar
|
9
|
+
|
10
|
+
While several similar gems that do this exist (most notably the gem retail_calendar), I couldn't find one that supports all forms 445, 454, 544 and that doesn't have serious issues and stale pull requests.
|
11
|
+
|
12
|
+
Credit due to Brian K https://stackoverflow.com/questions/23531481/is-there-a-way-in-ruby-to-find-the-beginning-of-the-year-in-a-4-5-4-retail-cal
|
13
|
+
|
14
|
+
IMPORTANT: when installing, make sure you type the gem's name 'retail_calendars' and not retail_calendar
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
gem 'retail_calendars'
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install retail_calendars
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
calendar = RetailCalendar::Calendar.new(type: 445)
|
31
|
+
|
32
|
+
puts calendar.start_of_year(2020) # 2020-02-02
|
33
|
+
puts calendar.start_of_year_by_date(Date.today) # 2020-02-02
|
34
|
+
puts calendar.end_of_year(2020) # 2021-01-30
|
35
|
+
puts calendar.start_of_month(2020, 1) # 2020-02-02
|
36
|
+
puts calendar.end_of_month(2020, 1) # 2020-02-29
|
37
|
+
puts calendar.weeks_in_year(2020) # 52
|
38
|
+
puts calendar.retail_week_to_date(2, 2020) # {:start_week=>Sun, 09 Feb 2020, :end_week=>Sat, 15 Feb 2020}
|
39
|
+
|
40
|
+
## Development
|
41
|
+
|
42
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
43
|
+
|
44
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
45
|
+
|
46
|
+
## Contributing
|
47
|
+
|
48
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/retail_calendar. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
49
|
+
|
50
|
+
## License
|
51
|
+
|
52
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
53
|
+
|
54
|
+
## Code of Conduct
|
55
|
+
|
56
|
+
Everyone interacting in the RetailCalendar project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/retail_calendar/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "retail_calendar"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
module RetailCalendar
|
2
|
+
class Calendar
|
3
|
+
def initialize(type: 445, year_end_month: 1)
|
4
|
+
raise ArgumentError, "Bad calendar type #{type}" unless [544, 454, 445].include?(type)
|
5
|
+
raise ArgumentError, "Bad year-end month #{year_end_month}" unless year_end_month.between?(1, 12)
|
6
|
+
|
7
|
+
@type = type
|
8
|
+
@yr_end_mo = year_end_month
|
9
|
+
end
|
10
|
+
|
11
|
+
# Return the ending date for a particular year
|
12
|
+
def end_of_year(year)
|
13
|
+
year += 1 unless @yr_end_mo == 12
|
14
|
+
year_end = Date.new year, @yr_end_mo, -1
|
15
|
+
wday = (year_end.wday + 1) % 7 # Saturday-origin day-of-week
|
16
|
+
# Advance or retreat to closest Saturday
|
17
|
+
if wday > 3 then year_end += 7 - wday
|
18
|
+
elsif wday > 0 then year_end -= wday
|
19
|
+
end
|
20
|
+
year_end
|
21
|
+
end
|
22
|
+
|
23
|
+
# Return starting of retail date for a particular year
|
24
|
+
def start_of_year(year)
|
25
|
+
end_of_year(year - 1) + 1
|
26
|
+
end
|
27
|
+
|
28
|
+
# Returns the start of the retail_year for the given date
|
29
|
+
def start_of_year_by_date(date)
|
30
|
+
date -= 1.year if date < start_of_year(date.year)
|
31
|
+
start_of_year(date.year)
|
32
|
+
end
|
33
|
+
|
34
|
+
# Return starting date for a particular month
|
35
|
+
# param: month is the merch month of the year
|
36
|
+
def start_of_month(year, month)
|
37
|
+
start = start_of_year(year) + ((month - 1) / 3).to_i * 91
|
38
|
+
case @type * 10 + (month - 1) % 3
|
39
|
+
when 4451, 4541 then start += 28
|
40
|
+
when 5441 then start += 35
|
41
|
+
when 4452 then start += 56
|
42
|
+
when 4542, 5442 then start += 63
|
43
|
+
end
|
44
|
+
start
|
45
|
+
end
|
46
|
+
|
47
|
+
# Return the ending date for a particular month
|
48
|
+
def end_of_month(year, month)
|
49
|
+
if month == 12 then end_of_year year
|
50
|
+
else start_of_month(year, month + 1) - 1
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Return the number of weeks in a particular year
|
55
|
+
def weeks_in_year(year)
|
56
|
+
((start_of_year(year + 1) - start_of_year(year)) / 7).to_i
|
57
|
+
end
|
58
|
+
|
59
|
+
# What week it is within the retail year from 1-53
|
60
|
+
# @return [Integer] The week number of the year, from 1-53
|
61
|
+
def year_week(date)
|
62
|
+
(((date - start_of_year_by_date(date)) + 1) / 7.0).ceil
|
63
|
+
end
|
64
|
+
|
65
|
+
# what month it is within the retail year for a given date
|
66
|
+
def year_month(date)
|
67
|
+
month = date.month
|
68
|
+
RetailCalendar.julian_to_merch(month)
|
69
|
+
end
|
70
|
+
|
71
|
+
# accetps retail week (1..53) and returns the week's date
|
72
|
+
def retail_week_to_date(retail_week, year)
|
73
|
+
start_week = start_of_year(year) + (retail_week - 1).weeks
|
74
|
+
{ start_week: start_week, end_week: start_week + 6.days }
|
75
|
+
end
|
76
|
+
|
77
|
+
# Converts a retail month to the correct julian month
|
78
|
+
# @param merch_month [Integer] the merch month to convert
|
79
|
+
# @return [Integer] the julian month
|
80
|
+
def self.merch_to_julian(merch_month)
|
81
|
+
raise ArgumentError if merch_month > 12 || merch_month <= 0
|
82
|
+
|
83
|
+
if merch_month == 12
|
84
|
+
1
|
85
|
+
else
|
86
|
+
merch_month + 1
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Converts a julian month to a merch month
|
91
|
+
#
|
92
|
+
# @param julian_month [Integer] the julian month to convert
|
93
|
+
# @return [Integer] the merch month
|
94
|
+
def self.julian_to_merch(julian_month)
|
95
|
+
raise ArgumentError if julian_month > 12 || julian_month <= 0
|
96
|
+
|
97
|
+
if julian_month == 1
|
98
|
+
12
|
99
|
+
else
|
100
|
+
julian_month - 1
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "retail_calendar/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "retail_calendars"
|
8
|
+
spec.version = RetailCalendar::VERSION
|
9
|
+
spec.authors = ["Joel Blum"]
|
10
|
+
spec.email = ["yoelblumenator@gmail.com"]
|
11
|
+
spec.required_ruby_version = '~> 2.0'
|
12
|
+
spec.summary = %q{Implements retail calendar}
|
13
|
+
spec.description = %q{Supports 445, 454 and 544 calendars}
|
14
|
+
spec.homepage = "https://github.com/yoelblum/retail_calendar"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
|
21
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
22
|
+
spec.metadata["source_code_uri"] = "https://github.com/yoelblum/retail_calendar"
|
23
|
+
spec.metadata["changelog_uri"] = "http://todo.com"
|
24
|
+
else
|
25
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
26
|
+
"public gem pushes."
|
27
|
+
end
|
28
|
+
|
29
|
+
# Specify which files should be added to the gem when it is released.
|
30
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
31
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
32
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
33
|
+
end
|
34
|
+
spec.bindir = "exe"
|
35
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
|
+
spec.require_paths = ["lib"]
|
37
|
+
|
38
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
39
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
40
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
41
|
+
spec.add_dependency "activesupport", ">=3", "<7"
|
42
|
+
end
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: retail_calendars
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Joel Blum
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-06-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: activesupport
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3'
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '7'
|
65
|
+
type: :runtime
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '3'
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '7'
|
75
|
+
description: Supports 445, 454 and 544 calendars
|
76
|
+
email:
|
77
|
+
- yoelblumenator@gmail.com
|
78
|
+
executables: []
|
79
|
+
extensions: []
|
80
|
+
extra_rdoc_files: []
|
81
|
+
files:
|
82
|
+
- ".gitignore"
|
83
|
+
- ".rspec"
|
84
|
+
- ".travis.yml"
|
85
|
+
- CODE_OF_CONDUCT.md
|
86
|
+
- Gemfile
|
87
|
+
- Gemfile.lock
|
88
|
+
- LICENSE.txt
|
89
|
+
- README.md
|
90
|
+
- Rakefile
|
91
|
+
- bin/console
|
92
|
+
- bin/setup
|
93
|
+
- lib/retail_calendar.rb
|
94
|
+
- lib/retail_calendar/calendar.rb
|
95
|
+
- lib/retail_calendar/version.rb
|
96
|
+
- retail_calendar.gemspec
|
97
|
+
- retail_calendars-0.1.0.gem
|
98
|
+
homepage: https://github.com/yoelblum/retail_calendar
|
99
|
+
licenses:
|
100
|
+
- MIT
|
101
|
+
metadata:
|
102
|
+
homepage_uri: https://github.com/yoelblum/retail_calendar
|
103
|
+
source_code_uri: https://github.com/yoelblum/retail_calendar
|
104
|
+
changelog_uri: http://todo.com
|
105
|
+
post_install_message:
|
106
|
+
rdoc_options: []
|
107
|
+
require_paths:
|
108
|
+
- lib
|
109
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "~>"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '2.0'
|
114
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
requirements: []
|
120
|
+
rubygems_version: 3.0.3
|
121
|
+
signing_key:
|
122
|
+
specification_version: 4
|
123
|
+
summary: Implements retail calendar
|
124
|
+
test_files: []
|