polytypo 1.11.0 → 1.13.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 +4 -4
- data/README.md +20 -0
- data/lib/polytypo/data/VERSION +1 -1
- data/lib/polytypo/data/fixtures/bg.json +253 -0
- data/lib/polytypo/data/fixtures/cs.json +1 -1
- data/lib/polytypo/data/fixtures/de-CH.json +1 -1
- data/lib/polytypo/data/fixtures/de-DE.json +77 -1
- data/lib/polytypo/data/fixtures/el.json +1 -1
- data/lib/polytypo/data/fixtures/en-GB.json +89 -1
- data/lib/polytypo/data/fixtures/en-US.json +450 -1
- data/lib/polytypo/data/fixtures/es.json +1 -1
- data/lib/polytypo/data/fixtures/fi.json +1 -1
- data/lib/polytypo/data/fixtures/fr-CA.json +1 -1
- data/lib/polytypo/data/fixtures/fr.json +41 -1
- data/lib/polytypo/data/fixtures/hr.json +253 -0
- data/lib/polytypo/data/fixtures/hu.json +264 -0
- data/lib/polytypo/data/fixtures/it.json +1 -1
- data/lib/polytypo/data/fixtures/locale-resolution.json +1 -1
- data/lib/polytypo/data/fixtures/nl.json +1 -1
- data/lib/polytypo/data/fixtures/pl.json +1 -1
- data/lib/polytypo/data/fixtures/pt-BR.json +1 -1
- data/lib/polytypo/data/fixtures/pt-PT.json +1 -1
- data/lib/polytypo/data/fixtures/ro.json +234 -0
- data/lib/polytypo/data/fixtures/ru.json +1 -1
- data/lib/polytypo/data/fixtures/sk.json +1 -1
- data/lib/polytypo/data/fixtures/sv.json +1 -1
- data/lib/polytypo/data/fixtures/tr.json +1 -1
- data/lib/polytypo/data/fixtures/uk.json +1 -1
- data/lib/polytypo/data/locales/bg.json +82 -0
- data/lib/polytypo/data/locales/hr.json +82 -0
- data/lib/polytypo/data/locales/hu.json +88 -0
- data/lib/polytypo/data/locales/registry.json +6 -2
- data/lib/polytypo/data/locales/ro.json +82 -0
- data/lib/polytypo/data/rules/analyze.md +16 -4
- data/lib/polytypo/data/rules/dashes.md +2 -1
- data/lib/polytypo/data/rules/modes.md +262 -9
- data/lib/polytypo/data/rules/order.json +1 -1
- data/lib/polytypo/data/rules/quotes.md +9 -0
- data/lib/polytypo/data/rules/ranges.md +6 -5
- data/lib/polytypo/data/schema/fixtures.schema.json +160 -18
- data/lib/polytypo/data/schema/locale.schema.json +2 -2
- data/lib/polytypo/engine/origin.rb +13 -1
- data/lib/polytypo/engine/protect.rb +122 -0
- data/lib/polytypo/modes/runner.rb +0 -1
- data/lib/polytypo/version.rb +1 -1
- data/lib/polytypo.rb +34 -19
- metadata +10 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: polytypo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Iurii Rogulia
|
|
@@ -40,6 +40,7 @@ files:
|
|
|
40
40
|
- lib/polytypo/data/README.md
|
|
41
41
|
- lib/polytypo/data/UNICODE
|
|
42
42
|
- lib/polytypo/data/VERSION
|
|
43
|
+
- lib/polytypo/data/fixtures/bg.json
|
|
43
44
|
- lib/polytypo/data/fixtures/cs.json
|
|
44
45
|
- lib/polytypo/data/fixtures/de-CH.json
|
|
45
46
|
- lib/polytypo/data/fixtures/de-DE.json
|
|
@@ -50,17 +51,21 @@ files:
|
|
|
50
51
|
- lib/polytypo/data/fixtures/fi.json
|
|
51
52
|
- lib/polytypo/data/fixtures/fr-CA.json
|
|
52
53
|
- lib/polytypo/data/fixtures/fr.json
|
|
54
|
+
- lib/polytypo/data/fixtures/hr.json
|
|
55
|
+
- lib/polytypo/data/fixtures/hu.json
|
|
53
56
|
- lib/polytypo/data/fixtures/it.json
|
|
54
57
|
- lib/polytypo/data/fixtures/locale-resolution.json
|
|
55
58
|
- lib/polytypo/data/fixtures/nl.json
|
|
56
59
|
- lib/polytypo/data/fixtures/pl.json
|
|
57
60
|
- lib/polytypo/data/fixtures/pt-BR.json
|
|
58
61
|
- lib/polytypo/data/fixtures/pt-PT.json
|
|
62
|
+
- lib/polytypo/data/fixtures/ro.json
|
|
59
63
|
- lib/polytypo/data/fixtures/ru.json
|
|
60
64
|
- lib/polytypo/data/fixtures/sk.json
|
|
61
65
|
- lib/polytypo/data/fixtures/sv.json
|
|
62
66
|
- lib/polytypo/data/fixtures/tr.json
|
|
63
67
|
- lib/polytypo/data/fixtures/uk.json
|
|
68
|
+
- lib/polytypo/data/locales/bg.json
|
|
64
69
|
- lib/polytypo/data/locales/cs.json
|
|
65
70
|
- lib/polytypo/data/locales/de-CH.json
|
|
66
71
|
- lib/polytypo/data/locales/de-DE.json
|
|
@@ -71,12 +76,15 @@ files:
|
|
|
71
76
|
- lib/polytypo/data/locales/fi.json
|
|
72
77
|
- lib/polytypo/data/locales/fr-CA.json
|
|
73
78
|
- lib/polytypo/data/locales/fr.json
|
|
79
|
+
- lib/polytypo/data/locales/hr.json
|
|
80
|
+
- lib/polytypo/data/locales/hu.json
|
|
74
81
|
- lib/polytypo/data/locales/it.json
|
|
75
82
|
- lib/polytypo/data/locales/nl.json
|
|
76
83
|
- lib/polytypo/data/locales/pl.json
|
|
77
84
|
- lib/polytypo/data/locales/pt-BR.json
|
|
78
85
|
- lib/polytypo/data/locales/pt-PT.json
|
|
79
86
|
- lib/polytypo/data/locales/registry.json
|
|
87
|
+
- lib/polytypo/data/locales/ro.json
|
|
80
88
|
- lib/polytypo/data/locales/ru.json
|
|
81
89
|
- lib/polytypo/data/locales/sk.json
|
|
82
90
|
- lib/polytypo/data/locales/sv.json
|
|
@@ -105,6 +113,7 @@ files:
|
|
|
105
113
|
- lib/polytypo/engine/locale.rb
|
|
106
114
|
- lib/polytypo/engine/origin.rb
|
|
107
115
|
- lib/polytypo/engine/pipeline.rb
|
|
116
|
+
- lib/polytypo/engine/protect.rb
|
|
108
117
|
- lib/polytypo/engine/registry.rb
|
|
109
118
|
- lib/polytypo/engine/rules.rb
|
|
110
119
|
- lib/polytypo/engine/rules/apostrophe.rb
|