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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d9dae6cba86c279a794ffc0d36762d7735e9835
4
- data.tar.gz: a4925e5a75d6fc573a2708072ec832f659f74b53
3
+ metadata.gz: fe3259c99f5b0ed57b6ca3e87fa96591f4dfa71f
4
+ data.tar.gz: 34eff9dac9ff9c60a56fe54b7bc4e9d59a28cca3
5
5
  SHA512:
6
- metadata.gz: 02fd2a7f17575ece4af4d12dc712e117015e8530900a1a51e9dbd680fea8e1ac401b2a75cbed8dc7b357f8966effc031a10a9a134c7ab08d9d292e08f0435b65
7
- data.tar.gz: 5faa63f4bdd781c6be3f46edc999eed1aa0ff928c2dcb3a58201ef752b6d16f6ce9bb3c34328a887e3a70349ea13987bc6339a516783658cfff97a9905ef0f0c
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
@@ -1,3 +1,3 @@
1
1
  module StringTools
2
- VERSION = '0.12.0'.freeze
2
+ VERSION = '0.12.1'.freeze
3
3
  end
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.0
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-07 00:00:00.000000000 Z
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.10
242
+ rubygems_version: 2.6.8
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: String Tools