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 +4 -4
- data/VERSION +1 -1
- data/lib/stringex/localization/conversion_expressions.rb +1 -1
- data/stringex.gemspec +3 -3
- data/test/unit/string_extensions_test.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e0d61826f60886d8a6ab48f74beef09ac7fdd4e
|
4
|
+
data.tar.gz: 899856bad5ffdeec1aabba20c0914b00920291a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7daba779bd4a850c94bb355cb20523d9320cd08293d171f8bfaca8935ffb2bd9b54e4bbfc52206277697093d6c81272dda7751c41c7670904649527a36b680d9
|
7
|
+
data.tar.gz: d5cdd95cd12096b9bc8c31964d84b6758c1abb4a4c86a18a71caf93ecfb69475e7b2763962af981ac9931d65e59464b9589f5536d284c6b10c64abeb2f6502a5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.7.
|
1
|
+
2.7.1
|
data/stringex.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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-
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jeweler
|