improve_typography 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/improve_typography/processors/nbsp.rb +1 -1
- data/lib/improve_typography/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cec41c6f83e217ebd03670350795cf31a2ea1637
|
4
|
+
data.tar.gz: 3013e3167e6a390cae35834756dcdd20a25a6281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8590ddac3b2f8d3d19f4d70fd9a7e9792f284364dc81cb87b2601aeeffc71536c65687de540196faafb765ab383c5dd681c12537576bb3b8a247fca81af4408b
|
7
|
+
data.tar.gz: 06ed93b83a3e05dac8d149dbd1ab56a7ce33b3a2e79ef329c79df47c0559924a69d6373fc0fa8522af8119136c46b0488c50c6daa1bbb3fd7124f1b1ce924274
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,7 @@ module ImproveTypography
|
|
6
6
|
.gsub(/(\s+)(\S|\d+|\S\.)(\s+)(\S)/, '\1\2 \4') # in the middle of string
|
7
7
|
.gsub(/\A(\w|\d+|\w\.)(\s+)(\S)/, '\1 \3') # at the beginning of string
|
8
8
|
.gsub(/([^\S\n])(\S|\d+|\S\.)(\z|[\.?!]\z|[\.?!]\s)/, ' \2\3') # at the end of string!!
|
9
|
-
.gsub(/(\A|\s+)(©)(\s+)(\d+)/, '\1\2 \
|
9
|
+
.gsub(/(\A|\s+)(©)(\s+)(\d+)/, '\1\2 \4')
|
10
10
|
.gsub(/(\A|\s+)(No\.|Vol\.)(\s+)(\d+)/, '\1\2 \3')
|
11
11
|
end
|
12
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: improve_typography
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Celizna
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|