flakey_spec_catcher 0.9.0 → 0.9.1
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 +4 -4
- data/lib/flakey_spec_catcher/git_controller.rb +1 -1
- data/lib/flakey_spec_catcher/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc06031fb90bd9c4c2c6fa24adba0ae0cf1258a59a1e0da987c8c1d8ab55fb40
|
|
4
|
+
data.tar.gz: 0f57f9915d914fd6beef160a48a15fa1506f6eb227c02c9494e289d2b1777f98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8b176b42027dd46fd4babcf98920558d42fa21a59e396cf1874758552def055d7a02fce1a4fecf02f4f312e8be79401d978816f83b58f7b59ec82b2cde1875e
|
|
7
|
+
data.tar.gz: 6883e6f623ef3d94d9eca75d78eae51086111358a1e0951a4c44ebb989e8661650f0203f408f3b22cbe99758eea4b7fb8a0927b872abedc179f88d8a35d4b799
|
|
@@ -106,7 +106,7 @@ module FlakeySpecCatcher
|
|
|
106
106
|
next unless filename =~ /_spec.rb/
|
|
107
107
|
|
|
108
108
|
# Get diff pairs [ /path/to/file, "@@ -19 +19,4 @@" ]
|
|
109
|
-
diff = `git diff --unified=0 #{@git_comparison} #{filename}`
|
|
109
|
+
diff = `git diff --unified=0 #{@git_comparison} -- #{filename}`
|
|
110
110
|
diff_pairs = diff.split("\n").select { |line| line =~ /^@@/ || line =~ /^diff --git/ }
|
|
111
111
|
|
|
112
112
|
diff_pairs.each do |line|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flakey_spec_catcher
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Watson
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2020-02-
|
|
13
|
+
date: 2020-02-12 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
123
|
version: '0'
|
|
124
124
|
requirements: []
|
|
125
|
-
rubygems_version: 3.
|
|
125
|
+
rubygems_version: 3.1.2
|
|
126
126
|
signing_key:
|
|
127
127
|
specification_version: 4
|
|
128
128
|
summary: Run new or changed specs many times to prevent unreliable specs
|