dino_utils 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff6f45ba346b77a85b31e81765d3a45aebcbb6ac
4
- data.tar.gz: 9424e89f9f45281be81644765a859fa4579b5278
3
+ metadata.gz: 5682c48fb846e6cd839eedd96c889463c4a139ed
4
+ data.tar.gz: 5da39e00d0397763122a059aea5ab3de932a9174
5
5
  SHA512:
6
- metadata.gz: 84c93f6478c3e276044af5ae8e0c389b78067e10dfb0fd1d9401a99c79deaad0b735606c40de63f11f3d537996c6a13753f42d562691aad747a5eaba53c36e0b
7
- data.tar.gz: 1a38253afa2dc068d145c3ba5a7317316a3c28a6e5cfe4e886a2dedd22914763a5748ee9a5861c4456c79a2516fb48b486e37530ad6f7c30f7b30c83ae1fb28d
6
+ metadata.gz: a059bd4e36207aa59796d650cdbb77772a7f51d6f2e858f90e63236f42bcb4c894b8e25e583a31e5ec59805ca3e145d64a6f0172ac1edf989525fc72a2251fe7
7
+ data.tar.gz: 5476b4bb2cdd5f504d33f2db4c9793b4afe2477dc72e0f15ce4f913b2d50500e266555f7c5879db5d4d8ce41db838f7085f229aea97ab6f2e00d5f8b7496a7fe
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in dino_utils.gemspec
4
4
  gemspec
5
5
 
6
- group :development do
6
+ group :development, :test do
7
7
  gem 'guard-rspec', require: false
8
+ gem 'rspec-given'
8
9
  end
@@ -1,3 +1,3 @@
1
1
  module DinoUtils
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/dino_utils.rb CHANGED
@@ -1,2 +1,3 @@
1
1
  require "dino_utils/version"
2
2
  require_relative 'dino/upsert'
3
+ require_relative 'string_monkeypatch'
@@ -0,0 +1,5 @@
1
+ class String
2
+ def remove_control_characters
3
+ gsub(/[^ [^[:cntrl:]] | [\s] ]/, '')
4
+ end
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dino_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Van Dyk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-06-11 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -99,6 +99,7 @@ files:
99
99
  - lib/dino/upsert.rb
100
100
  - lib/dino_utils.rb
101
101
  - lib/dino_utils/version.rb
102
+ - lib/string_monkeypatch.rb
102
103
  homepage: https://github.com/tanga/dino_utils
103
104
  licenses:
104
105
  - MIT
@@ -119,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
120
  version: '0'
120
121
  requirements: []
121
122
  rubyforge_project:
122
- rubygems_version: 2.4.5
123
+ rubygems_version: 2.4.5.1
123
124
  signing_key:
124
125
  specification_version: 4
125
126
  summary: Dino stuff