polytypo 1.17.2 → 1.17.3

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/polytypo/data/VERSION +1 -1
  3. data/lib/polytypo/data/fixtures/bg.json +1 -1
  4. data/lib/polytypo/data/fixtures/cs.json +1 -1
  5. data/lib/polytypo/data/fixtures/de-CH.json +1 -1
  6. data/lib/polytypo/data/fixtures/de-DE.json +9 -26
  7. data/lib/polytypo/data/fixtures/el.json +1 -1
  8. data/lib/polytypo/data/fixtures/en-GB.json +1 -1
  9. data/lib/polytypo/data/fixtures/en-US.json +154 -516
  10. data/lib/polytypo/data/fixtures/es.json +1 -1
  11. data/lib/polytypo/data/fixtures/fi.json +1 -1
  12. data/lib/polytypo/data/fixtures/fr-CA.json +1 -1
  13. data/lib/polytypo/data/fixtures/fr.json +12 -37
  14. data/lib/polytypo/data/fixtures/hr.json +1 -1
  15. data/lib/polytypo/data/fixtures/hu.json +1 -1
  16. data/lib/polytypo/data/fixtures/it.json +1 -1
  17. data/lib/polytypo/data/fixtures/locale-resolution.json +1 -1
  18. data/lib/polytypo/data/fixtures/lt.json +1 -1
  19. data/lib/polytypo/data/fixtures/nl.json +1 -1
  20. data/lib/polytypo/data/fixtures/pl.json +1 -1
  21. data/lib/polytypo/data/fixtures/pt-BR.json +1 -1
  22. data/lib/polytypo/data/fixtures/pt-PT.json +1 -1
  23. data/lib/polytypo/data/fixtures/ro.json +1 -1
  24. data/lib/polytypo/data/fixtures/ru.json +1 -1
  25. data/lib/polytypo/data/fixtures/sk.json +1 -1
  26. data/lib/polytypo/data/fixtures/sl.json +1 -1
  27. data/lib/polytypo/data/fixtures/sr.json +1 -1
  28. data/lib/polytypo/data/fixtures/sv.json +1 -1
  29. data/lib/polytypo/data/fixtures/tr.json +1 -1
  30. data/lib/polytypo/data/fixtures/uk.json +1 -1
  31. data/lib/polytypo/data/locales/registry.json +1 -1
  32. data/lib/polytypo/data/rules/order.json +1 -1
  33. data/lib/polytypo/version.rb +1 -1
  34. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f0403eeaab340a17f36228069025bf2c7c848227e19b636801f066f9d3e7f7d
4
- data.tar.gz: f73c193143caa9fd284d8b766f4a1812d4ab8db768e36cf93289073922b707db
3
+ metadata.gz: edc406d95c832de832c565083d70026c88c9c81fbe5155c028546d4dd62b0bc7
4
+ data.tar.gz: 7a20dab89c59c83926fb46f2d1a068683b41c18a8e9c9366abf57b6e24bf3dd9
5
5
  SHA512:
6
- metadata.gz: c0fbb5f7bc230e5dccf03bd23f60b670816ab00f5ebca90fc0461f95bdbc8496e092ec65d886cc47f88231421af8c2affe76a4b490cda8ccd451cf3d7caff3c5
7
- data.tar.gz: ab7b930e384d2d14777d2b44566987a86bbf1cc236e3457315e42c4a80658c54b1c8855fc682b569be43e40804d08082b9afea3c415942dee40f7009958268ad
6
+ metadata.gz: 3a80f23b401fac0852442eddee666e318fc81658c1eab39c0112536b9310051088232100c1d7ee1ee8483282c47c9841c8c0034ebfa80550f12fb4c662dd1f34
7
+ data.tar.gz: 1eee25a1cff3f33f8a92b7fdd20c8def024658f840a4c5ffafeea6a85a08f2943c878f8101c614c29f5944ae28b80e712037d91cf8cf58261c505e2bbcfa7c6e
@@ -1 +1 @@
1
- 1.17.2
1
+ 1.17.3
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.2",
2
+ "spec": "1.17.3",
3
3
  "locale": "bg",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.2",
2
+ "spec": "1.17.3",
3
3
  "locale": "cs",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.2",
2
+ "spec": "1.17.3",
3
3
  "locale": "de-CH",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.2",
2
+ "spec": "1.17.3",
3
3
  "locale": "de-DE",
4
4
  "cases": [
5
5
  {
@@ -677,9 +677,7 @@
677
677
  "id": "de-de-yaml-colon-split-declines-growth",
678
678
  "rule": "dashes",
679
679
  "mode": "yaml",
680
- "keys": [
681
- "description"
682
- ],
680
+ "keys": ["description"],
683
681
  "in": "description: a:--b\n",
684
682
  "out": "description: a:--b\n",
685
683
  "note": "modes.md §3.8.6: `:` is an opaque unit inside a plain scalar, so the dash token sits at a span extremity and the `-spaced` replacement (2 → 3) is discarded by the edge-growth rule of §3.4. Without the split this becomes `a: – b`, which no longer parses as one scalar."
@@ -688,9 +686,7 @@
688
686
  "id": "de-de-yaml-hash-split-declines-growth",
689
687
  "rule": "dashes",
690
688
  "mode": "yaml",
691
- "keys": [
692
- "description"
693
- ],
689
+ "keys": ["description"],
694
690
  "in": "description: a--#b\n",
695
691
  "out": "description: a--#b\n",
696
692
  "note": "modes.md §3.8.6: `#` is an opaque unit inside a plain scalar for the same reason. Without the split this becomes `a – #b`, and everything from the hash becomes a comment."
@@ -699,9 +695,7 @@
699
695
  "id": "de-de-yaml-block-prose",
700
696
  "rule": "quotes",
701
697
  "mode": "yaml",
702
- "keys": [
703
- "description"
704
- ],
698
+ "keys": ["description"],
705
699
  "in": "description: |\n Er sagte \"hallo\" und ging\n",
706
700
  "out": "description: |\n Er sagte „hallo“ und ging\n",
707
701
  "note": "modes.md §8 item 4: the same construct in a locale whose quote glyphs are structurally different from en-US, so a fixture is not the same English output with a different locale field."
@@ -710,9 +704,7 @@
710
704
  "id": "de-de-yaml-unlisted-key-untouched",
711
705
  "rule": "dashes",
712
706
  "mode": "yaml",
713
- "keys": [
714
- "description"
715
- ],
707
+ "keys": ["description"],
716
708
  "in": "run: git diff -- a--b\n",
717
709
  "out": "run: git diff -- a--b\n",
718
710
  "note": "modes.md §3.8.2: the measured case. A keyless draft rewrote shell inside `run:`; `keys` is what makes it unreachable."
@@ -746,9 +738,7 @@
746
738
  "id": "de-de-yaml-three-dash-against-colon",
747
739
  "rule": "dashes",
748
740
  "mode": "yaml",
749
- "keys": [
750
- "description"
751
- ],
741
+ "keys": ["description"],
752
742
  "in": "description: a:---b\n",
753
743
  "out": "description: a:---b\n",
754
744
  "note": "modes.md §3.8.6 with §3.4's character clause: without it this became `description: a: – b`, which no longer parses — `: ` is a mapping indicator. The two-dash companion de-de-yaml-colon-split-declines-growth is caught by the length clause; only this one needs the character clause."
@@ -757,9 +747,7 @@
757
747
  "id": "de-de-yaml-three-dash-against-hash",
758
748
  "rule": "dashes",
759
749
  "mode": "yaml",
760
- "keys": [
761
- "description"
762
- ],
750
+ "keys": ["description"],
763
751
  "in": "description: a---#b\n",
764
752
  "out": "description: a---#b\n",
765
753
  "note": "modes.md §3.8.6 with §3.4's character clause: without it this became `description: a – #b`, and everything from the hash became a comment — the value silently truncated to `a –`."
@@ -769,10 +757,7 @@
769
757
  "rule": "quotes",
770
758
  "mode": "markdown",
771
759
  "dialect": "commonmark",
772
- "frontmatterKeys": [
773
- "title",
774
- "summary"
775
- ],
760
+ "frontmatterKeys": ["title", "summary"],
776
761
  "in": "---\ntitle: Er sagte \"hallo\" laut\nsummary: Noch \"eins\" hier\nslug: \"er-sagte-hallo\"\n---\n\nIm Text \"so\" hier.\n",
777
762
  "out": "---\ntitle: Er sagte „hallo“ laut\nsummary: Noch „eins“ hier\nslug: \"er-sagte-hallo\"\n---\n\nIm Text „so“ hier.\n",
778
763
  "note": "modes.md §3.7.4: two listed plain scalars in a locale whose quote glyphs differ from English, with an unlisted slug between the block and the body. Each listed scalar is its own span and the marks pair inside it, so the German pair appears three times and the slug keeps its straight quotes."
@@ -781,9 +766,7 @@
781
766
  "id": "de-de-yaml-single-quoted-escape-growth-declined",
782
767
  "rule": "dashes",
783
768
  "mode": "yaml",
784
- "keys": [
785
- "description"
786
- ],
769
+ "keys": ["description"],
787
770
  "in": "description: 'a''--''b'\n",
788
771
  "out": "description: 'a''--''b'\n",
789
772
  "note": "modes.md §3.8.6 and §3.4: de-DE is a `-spaced` locale, so the dash would grow against a unit and the edge-growth rule discards it, as in fr. A second locale so that an implementation that does not split cannot pass on one cell alone."
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.2",
2
+ "spec": "1.17.3",
3
3
  "locale": "el",
4
4
  "cases": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "spec": "1.17.2",
2
+ "spec": "1.17.3",
3
3
  "locale": "en-GB",
4
4
  "cases": [
5
5
  {