sterile 1.0.13 → 1.0.14

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: 60d83499bad2b3c475c1ca7a2d45c3a0d0a4b0d4
4
- data.tar.gz: 63901c2a4448c212fb2df572f58ae36e21515e72
3
+ metadata.gz: 8d31cafc41d32220abb1e0b17bfe458ca8e7c7ba
4
+ data.tar.gz: 27662ef8639c3611825057a44ee5a40ee600d36a
5
5
  SHA512:
6
- metadata.gz: 6cb5c3cab63e0ae6b5137b5ac494ab2ccf094ed35078e2f327d1de0d8aa6d7dd7d7f68c4c232b453d8e7cce4a34f4bdf7a8662b6347dfde4f43d38cde56b6ab4
7
- data.tar.gz: b34af8764c8cfa2d83f8787de7391ec1d30d95258881b81304c5f06362c46b0d6812931c4665028634ebc8ab4af147df01a92e3764941145000415fb525c972e
6
+ metadata.gz: c4d8bb76a2af9201d8e99595fd453132ee31e505fd19a61ff3b657368cdae070ad7a12769768e6a24307000d36895825734b7efdd2a8c203d4450b36b579e669
7
+ data.tar.gz: 20b6e32653ed2b0c3eacb4524e2f670b12e25fdd203e6355be51d258127e29aa8a25ab1c862e2cefebcc0d93b502b35b330f8e23f5b3610121e429c4bbfbaa54
data/Gemfile.lock CHANGED
@@ -1,15 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sterile (1.0.12)
4
+ sterile (1.0.14)
5
5
  nokogiri
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- mini_portile2 (2.1.0)
11
- nokogiri (1.7.0.1)
12
- mini_portile2 (~> 2.1.0)
10
+ mini_portile2 (2.4.0)
11
+ nokogiri (1.9.1)
12
+ mini_portile2 (~> 2.4.0)
13
13
 
14
14
  PLATFORMS
15
15
  ruby
@@ -18,4 +18,4 @@ DEPENDENCIES
18
18
  sterile!
19
19
 
20
20
  BUNDLED WITH
21
- 1.13.1
21
+ 1.17.3
@@ -26,7 +26,7 @@ module Sterile
26
26
  ["(c)", "©"],
27
27
  ["(r)", "®"],
28
28
  ["(R)", "®"],
29
- [/\'(\d\d)([\p{P}\p{Z}])/, "’\\1\\2"],
29
+ [/\'(\d\d)(?!’|\')([\p{P}\p{Z}])/, "’\\1\\2"],
30
30
  # [/<p>"/, "<p>\\1″"],
31
31
  [/s\'([^a-zA-Z0-9])/, "s’\\1"],
32
32
  [/"([:;])/, "”\\1"],
@@ -44,4 +44,5 @@ module Sterile
44
44
  ]
45
45
  end
46
46
  end
47
- end
47
+ end
48
+
@@ -1,6 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module Sterile
4
- VERSION = "1.0.13"
4
+ VERSION = "1.0.14"
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sterile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Hogan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-05 00:00:00.000000000 Z
11
+ date: 2019-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project: sterile
78
- rubygems_version: 2.5.1
78
+ rubygems_version: 2.6.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Sterilize your strings! Transliterate, generate slugs, smart format, strip