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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0225787642879143122ffa300d01e2f69c903d9a'
4
- data.tar.gz: 64ef49fbdf4b0e413cdf0a44e16c4427b650c8de
3
+ metadata.gz: cec41c6f83e217ebd03670350795cf31a2ea1637
4
+ data.tar.gz: 3013e3167e6a390cae35834756dcdd20a25a6281
5
5
  SHA512:
6
- metadata.gz: 0a056252bc24e78bdd0f41118e3cde2105ed1f9b38d097106ea871c4c18dcad27dc3f9ee577da7be5ebc6bfa0447a064c5af24ea71121b30485db0a011d74b65
7
- data.tar.gz: e04674c1ebb7417e2621ea988683f9bbe1e8afd9343d88329fda7c9e7a5b1b5c7a04293764c5b68acccab1a553eff687d64c81b90be6296347a127ca8006493c
6
+ metadata.gz: 8590ddac3b2f8d3d19f4d70fd9a7e9792f284364dc81cb87b2601aeeffc71536c65687de540196faafb765ab383c5dd681c12537576bb3b8a247fca81af4408b
7
+ data.tar.gz: 06ed93b83a3e05dac8d149dbd1ab56a7ce33b3a2e79ef329c79df47c0559924a69d6373fc0fa8522af8119136c46b0488c50c6daa1bbb3fd7124f1b1ce924274
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.11
4
+
5
+ * Fix `Nbsp` bug
6
+
3
7
  ## 0.1.9
4
8
 
5
9
  * Improve `Nbsp` processor (avoid matching newlines etc.)
@@ -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 \3')
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
@@ -1,3 +1,3 @@
1
1
  module ImproveTypography
2
- VERSION = '0.1.10'.freeze
2
+ VERSION = '0.1.11'.freeze
3
3
  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.10
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-03 00:00:00.000000000 Z
11
+ date: 2017-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n