stringex 2.7.0 → 2.7.1

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: 14a1e9e04c5e4e2afcd9dfafbdeac75e4d3c5555
4
- data.tar.gz: 6c161b8ad91a99fc8762c433e0a487e8854bf99e
3
+ metadata.gz: 3e0d61826f60886d8a6ab48f74beef09ac7fdd4e
4
+ data.tar.gz: 899856bad5ffdeec1aabba20c0914b00920291a2
5
5
  SHA512:
6
- metadata.gz: e8561c1e15f08e85444491d99169a2c4ef78c8be7dff5dfd49122a661cbdf362809590ab9c6aa4d6cdcc4575a812c97262dfd49f1322f4a0058d7f44763896ec
7
- data.tar.gz: 5f8a82933cab72a549f614702c57703cf20f98397fd2e52a49b8f708f022923f1bca2ce9c5ed5ca3a43b1802ab2b89bb7af259ce3fb09d29a68706de48f1e2e0
6
+ metadata.gz: 7daba779bd4a850c94bb355cb20523d9320cd08293d171f8bfaca8935ffb2bd9b54e4bbfc52206277697093d6c81272dda7751c41c7670904649527a36b680d9
7
+ data.tar.gz: d5cdd95cd12096b9bc8c31964d84b6758c1abb4a4c86a18a71caf93ecfb69475e7b2763962af981ac9931d65e59464b9589f5536d284c6b10c64abeb2f6502a5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.7.0
1
+ 2.7.1
@@ -25,7 +25,7 @@ module Stringex
25
25
  }
26
26
 
27
27
  # Things that just get converted to spaces
28
- CLEANUP_CHARACTERS = /[\.,:;(){}\[\]\?!\^'ʼ"_\|<>]/
28
+ CLEANUP_CHARACTERS = /[\.,:;(){}\[\]\?!\^'ʼ"`~_\|<>]/
29
29
  CLEANUP_HTML_ENTITIES = /&[^;]+;/
30
30
 
31
31
  CURRENCIES_SUPPORTED_SIMPLE = {
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: stringex 2.7.0 ruby lib
5
+ # stub: stringex 2.7.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "stringex"
9
- s.version = "2.7.0"
9
+ s.version = "2.7.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Russell Norris"]
14
- s.date = "2017-01-18"
14
+ s.date = "2017-02-10"
15
15
  s.description = "Some [hopefully] useful extensions to Ruby's String class. Stringex is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to ASCII transliteration], and StringExtensions [miscellaneous helper methods for the String class]."
16
16
  s.email = "rsl@luckysneaks.com"
17
17
  s.extra_rdoc_files = [
@@ -91,7 +91,11 @@ class StringExtensionsTest < Test::Unit::TestCase
91
91
  "R$ isn't R" =>
92
92
  "reais-isnt-r",
93
93
  "Last Friday Night (T.G.I.F.)" =>
94
- "last-friday-night-tgif"
94
+ "last-friday-night-tgif",
95
+ "foo` bar" =>
96
+ "foo-bar",
97
+ "foo~ bar" =>
98
+ "foo-bar"
95
99
  }.each do |html, plain|
96
100
  assert_equal plain, html.to_url
97
101
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stringex
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Norris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-18 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jeweler