improve_typography 0.1.6 → 0.1.7

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: df52b0b9f2d555f644795f629ea0e5a780162acc
4
- data.tar.gz: 5ced3986a2e607975ddba752c8e7fdd98649ab3a
3
+ metadata.gz: 005e4e2cef192543e383394e54f36edc128b4439
4
+ data.tar.gz: 0f627777641cefae531b0854b73853718db5dc75
5
5
  SHA512:
6
- metadata.gz: 0fcbffcf86d3608ad0f18fd70a0bc52863f86565b40f88ef271fadd4e90a3ba7b13e07f4fd15d2f96e28af6037a80665cb53f9851d8d2932dc8e8776603db4c5
7
- data.tar.gz: 10fc67dc749b39cb1ebce049487a63bbd569ec04e55afd9162c3784609b397576ed33c5e8ddd4d6e80a9b39328b644adbb0dbd9cb5b36915cc6e01154f30eb1c
6
+ metadata.gz: bbf9d6d0404ef152d5ac90d84b1fe54508e73915faa6d1dfd2260d9577956cf76139e74e1b78e5f9707c32bae1e8ae652219706b422c5ffe5ce301f948c591e2
7
+ data.tar.gz: efb9fd289a222ed10d65a7e3d3632959e82aaa23b3a862cd8b516602d7d45af7c6f6fa46f35ffd83e68d29c491ccfcb43f74dc7afcc58a5889dfa0c531a3587d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.7
4
+
5
+ * Ellipsis: `. . .`
6
+
3
7
  ## 0.1.6
4
8
 
5
9
  * @asgerb: Right now the DoubleQuotes processor only fixes the cases where both beginning and end quote is a straight double quote (") and not the cases where curly quotes are used wrongly
@@ -1,7 +1,7 @@
1
1
  module ImproveTypography
2
2
  module Processors
3
3
  class Ellipsis < Processor
4
- REGEXP = /\.{3,}/i
4
+ REGEXP = /(\.\s*?){3,}/i
5
5
 
6
6
  def call
7
7
  return str unless ellipsis_sign
@@ -1,3 +1,3 @@
1
1
  module ImproveTypography
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.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.6
4
+ version: 0.1.7
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-28 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n