effective_test_bot 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/effective_test_bot/version.rb +1 -1
- data/lib/effective_test_bot.rb +8 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c101170504fe05952692ee6a4eb93f1d139bfff229c03cc7d76f789d8416a17a
|
4
|
+
data.tar.gz: 5f9255fcec7e9d98694ade8ccd876f9f97128448d2d8e559fb6b5f3a6d7631ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91f1265237b0319635c3d7f21c2e86939c269cf91f94c568624be3452f39bf19d75baa7b3ad34e81b716861a24556d202ac5ec77d7b71b90eedfbac961e7566e
|
7
|
+
data.tar.gz: 696ee34acdcde6d738c5c12e57f22550195faa4dce858ebc1bac8d8a000f936196f881c1dd91be8fc603365db554f63ec7254732e99b3cf7421c7dfd52cd0d06
|
data/lib/effective_test_bot.rb
CHANGED
@@ -123,9 +123,14 @@ module EffectiveTestBot
|
|
123
123
|
|
124
124
|
EffectiveTestBot.passed_tests[name] = true
|
125
125
|
|
126
|
-
# Make test pass directory
|
127
|
-
|
128
|
-
|
126
|
+
# Make test pass directory. These can inconsistently fail when doing parallel tests
|
127
|
+
unless Dir.exist?("#{Rails.root}/tmp")
|
128
|
+
(Dir.mkdir("#{Rails.root}/tmp") rescue false)
|
129
|
+
end
|
130
|
+
|
131
|
+
unless Dir.exist?("#{Rails.root}/tmp/test_bot")
|
132
|
+
(Dir.mkdir("#{Rails.root}/tmp/test_bot") rescue false)
|
133
|
+
end
|
129
134
|
|
130
135
|
File.open(passed_tests_filename, 'a') { |file| file.puts(name) }
|
131
136
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_test_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|