rspec-match_ignoring_whitespace 1.2.0 → 1.2.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
  SHA256:
3
- metadata.gz: ff9ce088ce7143fb56aafd1ae8772f49d099fcf164f374cc9e12134abdfd8e13
4
- data.tar.gz: 4e625d1f22a6cb3ce627560769277155295a600b81a68ba24691f56ed5e17065
3
+ metadata.gz: 33119980bfe815d64a4a3e0da0830b9ae568f43108f3bd05959874ee7b1276d1
4
+ data.tar.gz: 375c4cf404783217bc9e37b64d28994fd91297b6df7f389aba625b22d14b5976
5
5
  SHA512:
6
- metadata.gz: 52790bacc48aaa665d69d11296ff6ffcf39c93983cf59dfe3fdbfa9f9457fae1291bcb6794628016f75780b157ae57921abfd5a02be57b23d75c46978ffad66e
7
- data.tar.gz: c65fc9dcb248ef77aada6da8782ca12de933a2fa516f4a5c32cf1d34a800976bb61a0666e4e0db5ef169550c70944cef394065790a8479a8b524ddafac9047be
6
+ metadata.gz: c5dfa1e075f5805daf35fca38db21515ba3317ec9dc7edcbcfe9c21ca954f9131317612ae6cfb71939ed4566daf0150dad3ea3dbe5329d921fd2add32c3efcdf
7
+ data.tar.gz: 89648c8b5d09f25e2ac0ea22cf1d89130d75f9e6a648ebed8b2266f3d9967d8163cfd7fd0bc10969139249cf73ce0bd8ebe66a48be08868de21481379a50cf81
@@ -3,7 +3,7 @@ require 'levenstein_with_path'
3
3
  require 'word_wrap'
4
4
 
5
5
  def collapse_spaces(str)
6
- str.gsub(/[\n[[:blank:]]]+/, ' ').strip
6
+ str.gsub(/[[:space:]]+/, ' ').strip
7
7
  end
8
8
 
9
9
  RSpec::Matchers.define :match_ignoring_whitespace do |expected|
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module MatchIgnoringWhitespace
3
- VERSION = '1.2.0'.freeze
3
+ VERSION = '1.2.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-match_ignoring_whitespace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul A. Jungwirth