mayan 0.1.0

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: 4dde3f1ffb9448770ca414cc9d9d5af94c845c8f7ad990cead3890a6689041d9
4
+ data.tar.gz: 6015d4aa0dc3bfff6e85aa5b2a4f74599cd91612e9a96ee83a053a0540aeae5b
5
+ SHA512:
6
+ metadata.gz: 58cd36d2e619b07537daf25650d8c0ea9eea0937a76d00a2e5878fd1ebcd5fc81e0586e69626f9a0c6bd953ed1059c0ae97196aa6b06f55ba4539913ee2a9f1b
7
+ data.tar.gz: 70cd213e6e06c38aa720e828359d3f5d66c967b7fb2b41659a94a54129ba493a2e2e13ac38a4c348945e5f178daa20dc773edad8af2c8eed5d4bd450fe0e4b1b
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/standardrb/standard
3
+ ruby_version: 3.0
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2025-11-12
4
+
5
+ - Initial release
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 nazamoresco
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,130 @@
1
+ # Mayan
2
+
3
+ A Ruby gem for performing calculations and conversions with the ancient Mayan calendar system. This gem supports the three main components of the Mayan calendar: the Long Count, Tzolkin (sacred calendar), and Haab (solar calendar).
4
+
5
+ ## Features
6
+
7
+ - Convert between Gregorian dates and Mayan Long Count dates
8
+ - Calculate Tzolkin dates (260-day sacred calendar)
9
+ - Calculate Haab dates (365-day solar calendar)
10
+ - Full support for Mayan calendar glyphs and day names
11
+ - Accurate conversions using the GMT correlation constant
12
+
13
+ ## Installation
14
+
15
+ Install the gem and add to the application's Gemfile by executing:
16
+
17
+ ```bash
18
+ bundle add mayan
19
+ ```
20
+
21
+ If bundler is not being used to manage dependencies, install the gem by executing:
22
+
23
+ ```bash
24
+ gem install mayan
25
+ ```
26
+
27
+ ## Usage
28
+
29
+ ### Long Count Calendar
30
+
31
+ The Long Count is the Mayan method of tracking long periods of time, represented as five numbers (baktun.katun.tun.winal.kin).
32
+
33
+ ```ruby
34
+ require 'mayan'
35
+
36
+ # Convert a Gregorian date to Long Count
37
+ gregorian_date = Date.new(2012, 12, 21)
38
+ long_count = Mayan::LongCount::Date.from_gregorian(gregorian_date)
39
+ puts long_count.to_s # => "13.0.0.0.0"
40
+
41
+ # Create a Long Count date directly
42
+ long_count = Mayan::LongCount::Date.new(13, 0, 0, 0, 0)
43
+
44
+ # Convert Long Count back to Gregorian
45
+ gregorian = long_count.to_gregorian
46
+ puts gregorian # => #<Date: 2012-12-21>
47
+
48
+ # Get total days since Mayan epoch
49
+ puts long_count.days # => 1872000
50
+ ```
51
+
52
+ ### Tzolkin Calendar
53
+
54
+ The Tzolkin is a 260-day sacred calendar combining 13 numbers with 20 day names.
55
+
56
+ ```ruby
57
+ # Convert Long Count to Tzolkin
58
+ long_count = Mayan::LongCount::Date.from_gregorian(Date.new(2012, 12, 21))
59
+ tzolkin = long_count.to_tzolkin
60
+ puts tzolkin.to_s # => "4 Ajaw"
61
+
62
+ # Access Tzolkin components
63
+ puts tzolkin.number # => 4
64
+ puts tzolkin.glyph.name # => "Ajaw"
65
+
66
+ # Create a Tzolkin date directly
67
+ glyph = Mayan::Tzolkin::Glyph.new("Imix'")
68
+ tzolkin = Mayan::Tzolkin::Date.new(1, glyph)
69
+ puts tzolkin.to_s # => "1 Imix'"
70
+ ```
71
+
72
+ Available Tzolkin day names: Imix', Ik', Ak'bal, K'an, Chikchan, Kimi, Manik', Lamat, Muluk, Ok, Chuwen, Eb, Ben, Hix, Men, K'ib', Kaban, Etz'nab', Kawak, Ajaw
73
+
74
+ ### Haab Calendar
75
+
76
+ The Haab is a 365-day solar calendar with 18 months of 20 days plus a 5-day month called Wayeb'.
77
+
78
+ ```ruby
79
+ # Convert Long Count to Haab
80
+ long_count = Mayan::LongCount::Date.from_gregorian(Date.new(2012, 12, 21))
81
+ haab = long_count.to_haab
82
+ puts haab.to_s # => "3 K'ank'in"
83
+
84
+ # Access Haab components
85
+ puts haab.number # => 3
86
+ puts haab.glyph.name # => "K'ank'in"
87
+
88
+ # Create a Haab date directly
89
+ glyph = Mayan::Haab::Glyph.new("Pop")
90
+ haab = Mayan::Haab::Date.new(0, glyph)
91
+ puts haab.to_s # => "0 Pop"
92
+ ```
93
+
94
+ Available Haab month names: Pop, Wo', Sip, Sotz', Sek, Xul, Yaxk'in', Mol, Ch'en, Yax, Sak', Keh, Mak, K'ank'in, Muwan', Pax, K'ayab', Kumk'u, Wayeb'
95
+
96
+ ### Complete Example
97
+
98
+ ```ruby
99
+ require 'mayan'
100
+ require 'date'
101
+
102
+ # Convert today's date to all three Mayan calendar formats
103
+ gregorian = Date.today
104
+ long_count = Mayan::LongCount::Date.from_gregorian(gregorian)
105
+ tzolkin = long_count.to_tzolkin
106
+ haab = long_count.to_haab
107
+
108
+ puts "Gregorian: #{gregorian}"
109
+ puts "Long Count: #{long_count}"
110
+ puts "Tzolkin: #{tzolkin}"
111
+ puts "Haab: #{haab}"
112
+ ```
113
+
114
+ ## Development
115
+
116
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
117
+
118
+ 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
119
+
120
+ ## Contributing
121
+
122
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mayan_calendar. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/mayan_calendar/blob/main/CODE_OF_CONDUCT.md).
123
+
124
+ ## License
125
+
126
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
127
+
128
+ ## Code of Conduct
129
+
130
+ Everyone interacting in the MayanCalendar project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/mayan_calendar/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "minitest/test_task"
5
+
6
+ Minitest::TestTask.create
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[test standard]
11
+
12
+ task :console do
13
+ require "irb"
14
+ require "mayan"
15
+ ARGV.clear
16
+ IRB.start
17
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mayan
4
+ class Haab
5
+ class Date
6
+ attr_reader :number, :glyph
7
+
8
+ def initialize(number, glyph)
9
+ raise ArgumentError, "glyph must be a Haab::Glyph" unless glyph.is_a?(Glyph)
10
+
11
+ max_day = glyph.name == "Wayeb'" ? 4 : 19
12
+
13
+ unless number.between?(0, max_day)
14
+ raise ArgumentError, "number must be between 0 and #{max_day} for #{glyph.name}"
15
+ end
16
+
17
+ @number = number
18
+ @glyph = glyph
19
+ end
20
+
21
+ def to_s
22
+ "#{@number} #{@glyph.name}"
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mayan
4
+ class Haab
5
+ class Glyph
6
+ attr_reader :name
7
+
8
+ def initialize(name)
9
+ unless GLYPHS.include?(name)
10
+ raise ArgumentError, "name must be one of the 19 Haab month names"
11
+ end
12
+
13
+ @name = name
14
+ end
15
+ end
16
+ end
17
+ end
data/lib/mayan/haab.rb ADDED
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mayan
4
+ class Haab
5
+ GLYPHS = [
6
+ "Pop",
7
+ "Wo'",
8
+ "Sip",
9
+ "Sotz'",
10
+ "Sek",
11
+ "Xul",
12
+ "Yaxk'in'",
13
+ "Mol",
14
+ "Ch'en",
15
+ "Yax",
16
+ "Sak'",
17
+ "Keh",
18
+ "Mak",
19
+ "K'ank'in",
20
+ "Muwan'",
21
+ "Pax",
22
+ "K'ayab'",
23
+ "Kumk'u",
24
+ "Wayeb'"
25
+ ].freeze
26
+ end
27
+ end
28
+
29
+ require_relative "haab/glyph"
30
+ require_relative "haab/date"
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "date"
4
+
5
+ module Mayan
6
+ class LongCount
7
+ class Date
8
+ attr_reader :baktun, :katun, :tun, :winal, :kin
9
+
10
+ def self.from_gregorian(gregorian_date)
11
+ # Convert Gregorian date to Julian Day Number
12
+ jdn = gregorian_date.jd
13
+
14
+ # GMT correlation constant: 0.0.0.0.0 = JDN 584283
15
+ days_since_epoch = jdn - 584_283
16
+
17
+ # Convert days to Long Count components
18
+ baktun = days_since_epoch / 144_000
19
+ remaining = days_since_epoch % 144_000
20
+
21
+ katun = remaining / 7_200
22
+ remaining = remaining % 7_200
23
+
24
+ tun = remaining / 360
25
+ remaining = remaining % 360
26
+
27
+ winal = remaining / 20
28
+ kin = remaining % 20
29
+
30
+ new(baktun, katun, tun, winal, kin)
31
+ end
32
+
33
+ def initialize(baktun, katun, tun, winal, kin)
34
+ raise ArgumentError, "kin must be between 0 and 19" unless kin.between?(0, 19)
35
+ raise ArgumentError, "winal must be between 0 and 17" unless winal.between?(0, 17)
36
+ raise ArgumentError, "tun must be between 0 and 19" unless tun.between?(0, 19)
37
+ raise ArgumentError, "katun must be between 0 and 19" unless katun.between?(0, 19)
38
+
39
+ @baktun = baktun
40
+ @katun = katun
41
+ @tun = tun
42
+ @winal = winal
43
+ @kin = kin
44
+ end
45
+
46
+ def days
47
+ (@baktun * 144_000) + (@katun * 7_200) + (@tun * 360) + (@winal * 20) + @kin
48
+ end
49
+
50
+ def to_gregorian
51
+ # GMT correlation constant: 0.0.0.0.0 = JDN 584283 (September 6, 3114 BCE)
52
+ julian_day_number = 584_283 + days
53
+ ::Date.jd(julian_day_number)
54
+ end
55
+
56
+ def to_tzolkin
57
+ # 0.0.0.0.0 = 4 Ajaw in the Tzolkin calendar
58
+ # Day number cycles 1-13, starting at 4 for day 0
59
+ # Glyph cycles through 20 glyphs, starting at Ajaw (index 19) for day 0
60
+ day_count = days
61
+
62
+ tzolkin_number = ((3 + day_count) % 13) + 1
63
+ glyph_index = (19 + day_count) % 20
64
+
65
+ glyph = Tzolkin::Glyph.new(Tzolkin::GLYPHS[glyph_index])
66
+ Tzolkin::Date.new(tzolkin_number, glyph)
67
+ end
68
+
69
+ def to_haab
70
+ # 0.0.0.0.0 = 8 Kumk'u in the Haab calendar
71
+ # Kumk'u is the 18th month (index 17)
72
+ # 8 Kumk'u is 348 days into the Haab year (17 * 20 + 8)
73
+ day_count = days
74
+
75
+ haab_day_in_cycle = (day_count + 348) % 365
76
+
77
+ # Convert day position to month and day
78
+ month_index = haab_day_in_cycle / 20
79
+ day_of_month = haab_day_in_cycle % 20
80
+
81
+ glyph = Haab::Glyph.new(Haab::GLYPHS[month_index])
82
+ Haab::Date.new(day_of_month, glyph)
83
+ end
84
+
85
+ def to_s
86
+ "#{@baktun}.#{@katun}.#{@tun}.#{@winal}.#{@kin}"
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mayan
4
+ class Tzolkin
5
+ class Date
6
+ attr_reader :number, :glyph
7
+
8
+ def initialize(number, glyph)
9
+ raise ArgumentError, "number must be between 1 and 13" unless number.between?(1, 13)
10
+ raise ArgumentError, "glyph must be a Tzolkin::Glyph" unless glyph.is_a?(Glyph)
11
+
12
+ @number = number
13
+ @glyph = glyph
14
+ end
15
+
16
+ def to_s
17
+ "#{@number} #{@glyph.name}"
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mayan
4
+ class Tzolkin
5
+ class Glyph
6
+ attr_reader :name
7
+
8
+ def initialize(name)
9
+ unless GLYPHS.include?(name)
10
+ raise ArgumentError, "name must be one of the 20 Tzolkin day names"
11
+ end
12
+
13
+ @name = name
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mayan
4
+ class Tzolkin
5
+ GLYPHS = [
6
+ "Imix'",
7
+ "Ik'",
8
+ "Ak'bal",
9
+ "K'an",
10
+ "Chikchan",
11
+ "Kimi",
12
+ "Manik'",
13
+ "Lamat",
14
+ "Muluk",
15
+ "Ok",
16
+ "Chuwen",
17
+ "Eb",
18
+ "Ben",
19
+ "Hix",
20
+ "Men",
21
+ "K'ib'",
22
+ "Kaban",
23
+ "Etz'nab'",
24
+ "Kawak",
25
+ "Ajaw"
26
+ ].freeze
27
+ end
28
+ end
29
+
30
+ require_relative "tzolkin/glyph"
31
+ require_relative "tzolkin/date"
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mayan
4
+ VERSION = "0.1.0"
5
+ end
data/lib/mayan.rb ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "mayan/version"
4
+ require_relative "mayan/long_count"
5
+ require_relative "mayan/tzolkin"
6
+ require_relative "mayan/haab"
7
+
8
+ module Mayan
9
+ class Error < StandardError; end
10
+ # Your code goes here...
11
+ end
@@ -0,0 +1,4 @@
1
+ module MayanCalendar
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mayan
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - nazamoresco
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2025-11-15 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A Ruby gem to perform calculations and conversions related to the Mayan
14
+ calendar.
15
+ email:
16
+ - nazamoresco99@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - ".standard.yml"
22
+ - CHANGELOG.md
23
+ - CODE_OF_CONDUCT.md
24
+ - LICENSE.txt
25
+ - README.md
26
+ - Rakefile
27
+ - lib/mayan.rb
28
+ - lib/mayan/haab.rb
29
+ - lib/mayan/haab/date.rb
30
+ - lib/mayan/haab/glyph.rb
31
+ - lib/mayan/long_count.rb
32
+ - lib/mayan/tzolkin.rb
33
+ - lib/mayan/tzolkin/date.rb
34
+ - lib/mayan/tzolkin/glyph.rb
35
+ - lib/mayan/version.rb
36
+ - sig/mayan_calendar.rbs
37
+ homepage: https://github.com/nazamoresco/mayan
38
+ licenses:
39
+ - MIT
40
+ metadata:
41
+ homepage_uri: https://github.com/nazamoresco/mayan
42
+ source_code_uri: https://github.com/nazamoresco/mayan
43
+ changelog_uri: https://github.com/nazamoresco/mayan/blob/main/CHANGELOG.md
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 3.0.0
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubygems_version: 3.2.3
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: A gem for Mayan calendar calculations.
63
+ test_files: []