improve_typography 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/improve_typography/processors/nbsp.rb +2 -0
- data/lib/improve_typography/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15c6a003e348a01667d6ee85dd96bfc9f58d5f0e
|
4
|
+
data.tar.gz: eea933bf75e86f1d4e59c95fe1cbfe93afafc588
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21a3b62b600ed600873b1b50e1e4e74b6bfb44868d2d07147078cd63d1c5c470b8013efc5331e3cc2f60294733f375fcc0a902c92333ca965679deda994404a8
|
7
|
+
data.tar.gz: bda6a15c8f7b7feb2d9240793564a71ce095be4520c63ef50169cfcbf358e4a43c48ec59cba3d143a741a2bc6159de0dfe1f8a4668fda2ac3c0b82df9169f92d
|
data/CHANGELOG.md
ADDED
@@ -6,6 +6,8 @@ module ImproveTypography
|
|
6
6
|
.gsub(/(\s+)(.|\d+|.\.)(\s+)(.)/, '\1\2 \4') # in the middle of string
|
7
7
|
.gsub(/\A(.|\d+|.\.)(\s+)(.)/, '\1 \3') # at the beginning of string
|
8
8
|
.gsub(/(\s+)(.|\d+|.\.)(\z|[\.?!]\z|[\.?!]\s)/, ' \2\3') # at the end of string
|
9
|
+
.gsub(/(\A|\s+)(©)(\s+)(\d+)/, '\1\2 \3')
|
10
|
+
.gsub(/(\A|\s+)(No\.|Vol\.)(\s+)(\d+)/, '\1\2 \3')
|
9
11
|
end
|
10
12
|
end
|
11
13
|
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.5
|
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-05-
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -117,6 +117,7 @@ extra_rdoc_files: []
|
|
117
117
|
files:
|
118
118
|
- ".gitignore"
|
119
119
|
- ".travis.yml"
|
120
|
+
- CHANGELOG.md
|
120
121
|
- Gemfile
|
121
122
|
- Guardfile
|
122
123
|
- LICENSE.txt
|