rspec-match_fuzzy 0.1.2 → 0.1.3

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: ea78465ceb641602511a450423384efd96c2507a
4
- data.tar.gz: 0561a7b9e108c1e3f632d527ee78230757581661
3
+ metadata.gz: 9a4fdde6428d4cc50ac1f68bfb23b289e80f648b
4
+ data.tar.gz: f4846eda28ba32c6b3ca2ac71ce0bfeb64cf3a18
5
5
  SHA512:
6
- metadata.gz: a28aef1e4256a2dde9d72780fad68171d1815b2949716c3f8e6c0ca846106855c3d17cdbe33db6843dfcdb379f1065169a0e5c78e962e5e2360d858c21c44659
7
- data.tar.gz: 05ff9e26b29f215fe8d26e9ca3a42084e6e93ae0ff57942e27550184c1f51a8acaa62bc0943e772278b461b6ba1586ea59b234ae2bf5c5b4a6557d6dcd233738
6
+ metadata.gz: b1e93b3a484bd993fd1c5bb654efdbedbb34d2e020a00c91e4cc2615fba42f3a176c09652b69a2af49348db03d1d642aa8b2d6ce876dc97414e1ea83d749f339
7
+ data.tar.gz: 32ebdf50a75e515fbbd75a3c7224f5c001a1fa4d4e328ab123ae717c786173e85bb5a809a5378bb63e0cface7c0f4c9b94d8631c8fe25107c177bbe187c53cf3
@@ -10,8 +10,8 @@ RSpec::Matchers.define :match_fuzzy do |expected|
10
10
 
11
11
  failure_message do |actual|
12
12
  actual = actual.to_s
13
- actual_normalized = actual.strip.gsub(/^\s+/, '').gsub(/\s+$/, '').gsub(/[[:blank:]]+/, "\s").gsub(/\n+/, "\n")
14
- expected_normalized = expected.strip.gsub(/^\s+/, '').gsub(/^\s+$/, '').gsub(/[[:blank:]]+/, "\s").gsub(/\n+/, "\n")
13
+ actual_normalized = actual.strip.gsub(/^\s+/, '').gsub(/[[:blank:]]+/, "\s").gsub(/\n+/, "\n").gsub(/\s+$/, '')
14
+ expected_normalized = expected.strip.gsub(/^\s+/, '').gsub(/[[:blank:]]+/, "\s").gsub(/\n+/, "\n").gsub(/\s+$/, '')
15
15
 
16
16
  message = <<-EOS.strip
17
17
  expected: #{expected_normalized.inspect}
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = 'rspec-match_fuzzy'
4
- spec.version = '0.1.2'
4
+ spec.version = '0.1.3'
5
5
  spec.authors = ['winebarrel']
6
6
  spec.email = ['sgwr_dts@yahoo.co.jp']
7
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-match_fuzzy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-10 00:00:00.000000000 Z
11
+ date: 2016-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec