string_tools 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/string_tools/core_ext/string.rb +1 -3
- data/lib/string_tools/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe3259c99f5b0ed57b6ca3e87fa96591f4dfa71f
|
4
|
+
data.tar.gz: 34eff9dac9ff9c60a56fe54b7bc4e9d59a28cca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c23e3290f516fc558a7eeb5bcee937a77771d8f218f65d348bad7f0931a6697e9ddf3fd8b614edb2b874e939842f1f513aefa3bf20e4019bcdec8387d37246b4
|
7
|
+
data.tar.gz: 90ff4b04e174729d98a7d64ac27952d3a3a8bf341b492330bcf46ed6d7216a761ee71f33ebd17d4e3984aa4953ad116c3599c4d94ffc2e768f9881e514118516
|
@@ -1,5 +1,3 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
1
|
require 'rchardet19'
|
4
2
|
require 'addressable/uri'
|
5
3
|
require 'active_support/core_ext/module'
|
@@ -213,7 +211,7 @@ class String
|
|
213
211
|
#
|
214
212
|
# Returns String
|
215
213
|
def remove_nonprintable
|
216
|
-
gsub(/[^[:print:]]/i, '')
|
214
|
+
gsub(/[^[:print:]\n\t]/i, '')
|
217
215
|
end
|
218
216
|
|
219
217
|
# Public: removes all non-printable characters from string
|
data/lib/string_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: string_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey D.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
version: '0'
|
240
240
|
requirements: []
|
241
241
|
rubyforge_project:
|
242
|
-
rubygems_version: 2.6.
|
242
|
+
rubygems_version: 2.6.8
|
243
243
|
signing_key:
|
244
244
|
specification_version: 4
|
245
245
|
summary: String Tools
|