marsdate 1.1.7 → 2.0.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: 43d0d5309c0b6cfd0458a09aa1f838b9fb319c988759f4df885ee128bdda94af
4
- data.tar.gz: 93031b0359ad5b295ea45afa29b049308757e072cdcd86016315c88f03c5c48f
3
+ metadata.gz: c49b576aba2091aab8084a14303416f82e9d123456cd4f4dbe9c4eab5d664524
4
+ data.tar.gz: 35d8687e881970a096d6ffa4123dde1ec725698590d0a1dd865d4d0161749b4e
5
5
  SHA512:
6
- metadata.gz: c61b43f7d18c05f7996d5e63aa8b533c1e00fd06e64c431a8db87a149ab732c2dbe1ff7df75c022a220d6b5c0a198e4359513bdae54622cc0e424514f4750a06
7
- data.tar.gz: e4fcf41647a8968c29bdd49a36f1423d2b2c2b7181f0ec66e7d304f873e354b0b88e78efc0dd4cedf3545971d0a2d22860868869e1ed52f66b23bfa9178fed46
6
+ metadata.gz: 8ccb2ce584c5f44d060a7f6a57119a381026e1c5664e6b1d19af8c0efa6558483d7ea3708cf6fbc29647b236006628514a6bb90816c7e67f4e5f1b9ada556c80
7
+ data.tar.gz: 948a52f66791445705fa1532fe81c52d1738af0d3f7224ab19dae47ea39d7b2541828e0e16dc67485928d93f241766b2ee004f31f0c148f47b5121f60342fbb4
data/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+
3
+ ## 2.0.1
4
+
5
+ - Avoid warnings about string literals becoming frozen in future Ruby releases
6
+
7
+ ## 2.0.0
8
+
9
+ Breaking rewrite. `MarsDateTime` stores one MSD. 00:00 is Airy-0
10
+ mean midnight (MTC). MXT is the same instant in SI hours.
11
+
12
+ - Civil constructors: `mxt` / `new(y,m,sol,…)` (MXT), `mtc`, `at(msd)`
13
+ - Views: `md.mxt` / `md.mtc`; `format` (not `strftime`); `%Z` is the clock name
14
+ - `today` is the current MCE sol at 00:00; `now` is the current instant
15
+ - Year-1 Earth times are TT-as-UT captions (`epoch_caption`)
16
+ - MTC remains in `[00:00, 24:00)` when rounding at a sol boundary
17
+ - Calendar highlighting includes the year; CLI errors exit nonzero
18
+ - See `README.md` and `design-issues.md`
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hal Fulton
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 all
13
+ 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 THE
21
+ SOFTWARE.