periodoxical 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e68e36720b518a871efe0ea34eb09f94b99880f5ebda37f5123469839b8a6b94
4
+ data.tar.gz: 7dd9b4f9e7439c6875dc689bd08fc4b3e145f81a886eaaa5b8f5c879f1839377
5
+ SHA512:
6
+ metadata.gz: 8f5fd0e511bc2363d7487247b4fe528b5c8bd2e8b05d590b35ecf3d0726cda68b673f6f69dcb5c1e9d66b27998fb702161f8925afbc474e00df19ac13c105d6f
7
+ data.tar.gz: f8fc94f6e17ddeba3815c6f5baf4dc1881dd4c0fd8cfd6bf1e5e756cc393499da79c8d11f72b37fd1f3797d18c9bd1e62b95699b2c62ba3b61de524ce91f3308
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.10
7
+ before_install: gem install bundler -v 1.17.2
@@ -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 steven@fountain.com. 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
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in periodoxical.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,56 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ periodoxical (0.1.0)
5
+ tzinfo (>= 2.0.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ binding_of_caller (1.0.1)
11
+ debug_inspector (>= 1.2.0)
12
+ byebug (11.1.3)
13
+ coderay (1.1.3)
14
+ concurrent-ruby (1.2.3)
15
+ debug_inspector (1.2.0)
16
+ diff-lcs (1.5.1)
17
+ method_source (1.1.0)
18
+ pry (0.14.2)
19
+ coderay (~> 1.1)
20
+ method_source (~> 1.0)
21
+ pry-byebug (3.10.1)
22
+ byebug (~> 11.0)
23
+ pry (>= 0.13, < 0.15)
24
+ pry-stack_explorer (0.6.1)
25
+ binding_of_caller (~> 1.0)
26
+ pry (~> 0.13)
27
+ rake (10.5.0)
28
+ rspec (3.13.0)
29
+ rspec-core (~> 3.13.0)
30
+ rspec-expectations (~> 3.13.0)
31
+ rspec-mocks (~> 3.13.0)
32
+ rspec-core (3.13.0)
33
+ rspec-support (~> 3.13.0)
34
+ rspec-expectations (3.13.0)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.13.0)
37
+ rspec-mocks (3.13.1)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.13.0)
40
+ rspec-support (3.13.1)
41
+ tzinfo (2.0.6)
42
+ concurrent-ruby (~> 1.0)
43
+
44
+ PLATFORMS
45
+ arm64-darwin-22
46
+
47
+ DEPENDENCIES
48
+ bundler (~> 2.4)
49
+ periodoxical!
50
+ pry-byebug
51
+ pry-stack_explorer
52
+ rake (~> 10.0)
53
+ rspec (~> 3.0)
54
+
55
+ BUNDLED WITH
56
+ 2.4.22
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Steven Li
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,86 @@
1
+ # Periodoxical
2
+
3
+ _"Up, and down, and in the end, it's only round and round and round..._" - Pink Floyd, "Us and Them"
4
+
5
+ Generate periodic dates/times based on rules. Great for (but not limited to) calendar and scheduling applications.
6
+ See Usage for examples/details.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'periodoxical'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install periodoxical
23
+
24
+ ## Usage
25
+
26
+ ```rb
27
+ # generates 9:00AM - 10:30AM and 2:00PM - 2:30PM time blocks
28
+ # on Mondays, Wednesdays, and Thursdays, between the dates of
29
+ # May 23, 2024 and June 24, 2024
30
+
31
+ Periodoxical.generate(
32
+ time_zone: 'America/Los_Angeles',
33
+ days_of_week: %w[mon wed thu],
34
+ time_blocks: [
35
+ {
36
+ start_time: '9:00AM',
37
+ end_time: '10:30AM'
38
+ },
39
+ {
40
+ start_time: '2:00PM',
41
+ end_time: '2:30PM'
42
+ }
43
+ ],
44
+ start_date: Date.parse('2024-05-23'),
45
+ end_date: Date.parse('2024-06-24')
46
+ )
47
+ # returns an array of hashes, each with a :start, :end
48
+ #=>
49
+ [
50
+ {
51
+ :start=>#<DateTime: 2024-05-23T16:00:00+00:00>,
52
+ :end=>#<DateTime: 2024-05-23T16:00:00+00:00>
53
+ },
54
+ {
55
+ :start=>#<DateTime: 2024-05-23T16:00:00+00:00>,
56
+ :end=>#<DateTime: 2024-05-23T16:00:00+00:00>
57
+ },
58
+ {
59
+ :start=>#<DateTime: 2024-05-30T16:00:00+00:00>,
60
+ :end=>#<DateTime: 2024-05-30T16:00:00+00:00>
61
+ },
62
+ { :start=>#<DateTime: 2024-05-30T16:00:00+00:00>,
63
+ :end=>#<DateTime: 2024-05-30T16:00:00+00:00>
64
+ },
65
+
66
+ ...
67
+ ]
68
+ ```
69
+
70
+ ## Development
71
+
72
+ 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.
73
+
74
+ 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).
75
+
76
+ ## Contributing
77
+
78
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/periodoxical. 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.
79
+
80
+ ## License
81
+
82
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
83
+
84
+ ## Code of Conduct
85
+
86
+ Everyone interacting in the Periodoxical project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/periodoxical/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "periodoxical"
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,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ module Periodoxical
2
+ VERSION = "0.1.1"
3
+ end
@@ -0,0 +1,122 @@
1
+ require "periodoxical/version"
2
+ require "date"
3
+ require "time"
4
+ require "tzinfo"
5
+
6
+ module Periodoxical
7
+ class << self
8
+ def generate(**opts)
9
+ Core.new(**opts).generate
10
+ end
11
+ end
12
+
13
+ class Core
14
+ VALID_DAYS_OF_WEEK = %w[mon tue wed thu fri sat sun].freeze
15
+ # @param [String] time_zone
16
+ # Ex: 'America/Los_Angeles', 'America/Chicago',
17
+ # TZInfo::DataTimezone#name from the tzinfo gem (https://github.com/tzinfo/tzinfo)
18
+ # @param [Date] start_date
19
+ # @param [Date] end_date
20
+ # @param [Array<String>, nil] days_of_week
21
+ # Days of the week to generate the times for, if nil, then times are generated
22
+ # for every day.
23
+ # Ex: %w(mon tue wed sat)
24
+ # @param [Integer] limit
25
+ # How many date times to generate. To be used when `end_date` is nil.
26
+ # @param [Hash<Hash>] day_of_week_hours
27
+ # To be used when hours are different between days of the week
28
+ # Ex: {
29
+ # mon: [{ start_time: '10:15AM', end_time: '11:35AM' }, { start_time: '9:00AM' }, {end_time: '4:30PM'} ],
30
+ # tue: { start_time: '11:30PM', end_time: '12:00AM' },
31
+ # fri: { start_time: '7:00PM', end_time: '9:00PM' },
32
+ # }
33
+ def initialize(time_zone: 'Etc/UTC', days_of_week: nil,
34
+ start_date:, end_date:, time_blocks: nil, day_of_week_hours: nil, limit: nil)
35
+ @time_zone = TZInfo::Timezone.get(time_zone)
36
+ @days_of_week = days_of_week
37
+ @time_blocks = time_blocks
38
+ @day_of_week_hours = day_of_week_hours
39
+ @start_date = start_date
40
+ @end_date = end_date
41
+ @limit = limit
42
+ validate!
43
+ end
44
+
45
+ # @return [Array<Hash<DateTime>>]
46
+ # Ex: [
47
+ # {
48
+ # start: #<DateTime>,
49
+ # end: #<DateTime>,
50
+ # }
51
+ # ]
52
+ def generate
53
+ if @days_of_week && @time_blocks
54
+ generate_from_days_of_week_time_blocks
55
+ end
56
+ end
57
+
58
+ private
59
+
60
+ def generate_from_days_of_week_time_blocks
61
+ times = []
62
+ current_date = @start_date
63
+ while current_date <= @end_date
64
+ day_of_week = day_of_week_long_to_short(current_date.strftime("%A"))
65
+ if @days_of_week.include?(day_of_week)
66
+ @time_blocks.each do |tb|
67
+ times << {
68
+ start: time_str_to_object(current_date, tb[:start_time]),
69
+ end: time_str_to_object(current_date, tb[:end_date])
70
+ }
71
+ end
72
+ end
73
+ current_date = current_date + 1
74
+ end
75
+ times
76
+ end
77
+
78
+ def validate!
79
+ # days of week are valid
80
+ if @days_of_week
81
+ @days_of_week.each do |day|
82
+ unless VALID_DAYS_OF_WEEK.include?(day.to_s)
83
+ raise "#{day} is not valid day of week format. Must be: #{VALID_DAYS_OF_WEEK}"
84
+ end
85
+ end
86
+ end
87
+
88
+ if @day_of_week_hours
89
+ @day_of_week_hours.keys.each do |d|
90
+ unless VALID_DAYS_OF_WEEK.include?(d)
91
+ raise "#{d} is not a valid day of week format. Must be #{VALID_DAYS_OF_WEEK}"
92
+ end
93
+ end
94
+ end
95
+
96
+ unless (@days_of_week && @start_time && @end_time) || (@day_of_week_hours)
97
+ end
98
+ end
99
+
100
+ def day_of_week_long_to_short(dow)
101
+ {
102
+ "Thursday" => "thu"
103
+ }[dow]
104
+ end
105
+
106
+ # @param [String] time_str
107
+ # Ex: '9:00AM'
108
+ # @param [Date] date
109
+ def time_str_to_object(date, time_str)
110
+ time = Time.strptime("9:00AM", "%I:%M%p")
111
+ date_time = DateTime.new(
112
+ date.year,
113
+ date.month,
114
+ date.day,
115
+ time.hour,
116
+ time.min,
117
+ time.sec,
118
+ )
119
+ @time_zone.local_to_utc(date_time).new_offset(@time_zone.current_period.offset.utc_total_offset)
120
+ end
121
+ end
122
+ end
@@ -0,0 +1,46 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "periodoxical/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "periodoxical"
8
+ spec.version = Periodoxical::VERSION
9
+ spec.authors = ["Steven Li"]
10
+ spec.email = ["stevenji@gmail.com"]
11
+
12
+ spec.summary = %q{Generating date/times based on rules. Perfect for (but not limited to) calendar/scheduling applications.}
13
+ spec.description = %q{Generating date/times based on rules. Perfect for (but not limited to) calendar/scheduling applications. Generate times based on rules like days of the week, timezones, time blocks, start dates, end dates, etc.}
14
+ spec.homepage = "https://github.com/StevenJL/periodoxical"
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
+ spec.metadata["homepage_uri"] = spec.homepage
21
+ spec.metadata["source_code_uri"] = "https://github.com/StevenJL/periodoxical"
22
+ spec.metadata["changelog_uri"] = "https://github.com/StevenJL/periodoxical"
23
+ else
24
+ raise "RubyGems 2.0 or newer is required to protect against " \
25
+ "public gem pushes."
26
+ end
27
+
28
+ # Specify which files should be added to the gem when it is released.
29
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
30
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
31
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
32
+ end
33
+ spec.bindir = "exe"
34
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
35
+ spec.require_paths = ["lib"]
36
+
37
+ spec.add_dependency 'tzinfo', '~> 2.0', '>= 2.0.0'
38
+
39
+ spec.add_development_dependency "bundler", "~> 2.4"
40
+ spec.add_development_dependency "rake", "~> 10.0"
41
+ spec.add_development_dependency "rspec", "~> 3.0"
42
+ spec.add_development_dependency "pry-byebug", "~> 3.10"
43
+ spec.add_development_dependency "pry-stack_explorer", "~> 0.6"
44
+
45
+ spec.required_ruby_version = '>= 3.0.0'
46
+ end
metadata ADDED
@@ -0,0 +1,153 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: periodoxical
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Steven Li
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tzinfo
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.0.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '2.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.4'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.4'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '10.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '10.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rspec
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: pry-byebug
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3.10'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '3.10'
89
+ - !ruby/object:Gem::Dependency
90
+ name: pry-stack_explorer
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.6'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.6'
103
+ description: Generating date/times based on rules. Perfect for (but not limited to)
104
+ calendar/scheduling applications. Generate times based on rules like days of the
105
+ week, timezones, time blocks, start dates, end dates, etc.
106
+ email:
107
+ - stevenji@gmail.com
108
+ executables: []
109
+ extensions: []
110
+ extra_rdoc_files: []
111
+ files:
112
+ - ".gitignore"
113
+ - ".rspec"
114
+ - ".travis.yml"
115
+ - CODE_OF_CONDUCT.md
116
+ - Gemfile
117
+ - Gemfile.lock
118
+ - LICENSE.txt
119
+ - README.md
120
+ - Rakefile
121
+ - bin/console
122
+ - bin/setup
123
+ - lib/periodoxical.rb
124
+ - lib/periodoxical/version.rb
125
+ - periodoxical.gemspec
126
+ homepage: https://github.com/StevenJL/periodoxical
127
+ licenses:
128
+ - MIT
129
+ metadata:
130
+ homepage_uri: https://github.com/StevenJL/periodoxical
131
+ source_code_uri: https://github.com/StevenJL/periodoxical
132
+ changelog_uri: https://github.com/StevenJL/periodoxical
133
+ post_install_message:
134
+ rdoc_options: []
135
+ require_paths:
136
+ - lib
137
+ required_ruby_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: 3.0.0
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ requirements: []
148
+ rubygems_version: 3.3.26
149
+ signing_key:
150
+ specification_version: 4
151
+ summary: Generating date/times based on rules. Perfect for (but not limited to) calendar/scheduling
152
+ applications.
153
+ test_files: []