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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed4f956c9998345c3172a9110d3adc62a70fff0118c6a1695b1845332a72ba39
4
- data.tar.gz: f02ef5e7cdc9d3882f108050ef0073e43f627ee625883db6236035e3e8867718
3
+ metadata.gz: c101170504fe05952692ee6a4eb93f1d139bfff229c03cc7d76f789d8416a17a
4
+ data.tar.gz: 5f9255fcec7e9d98694ade8ccd876f9f97128448d2d8e559fb6b5f3a6d7631ec
5
5
  SHA512:
6
- metadata.gz: 10a75518b78acca15913f32d3ba6ae6aa9a207402909b87896c6a63c601b6fc3181002edefe101835358df4ef39b32fa58a86217da09f5cf3d7d2ccfd52a49e6
7
- data.tar.gz: a061c43d55c69e7db0b975218dc7f1b29c1c96793488e7725721d6474e406923374e92388f503f543137b15ea1564470a93d4e5995084d6d15f0d9befc2108c7
6
+ metadata.gz: 91f1265237b0319635c3d7f21c2e86939c269cf91f94c568624be3452f39bf19d75baa7b3ad34e81b716861a24556d202ac5ec77d7b71b90eedfbac961e7566e
7
+ data.tar.gz: 696ee34acdcde6d738c5c12e57f22550195faa4dce858ebc1bac8d8a000f936196f881c1dd91be8fc603365db554f63ec7254732e99b3cf7421c7dfd52cd0d06
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.5.0'.freeze
2
+ VERSION = '1.5.1'.freeze
3
3
  end
@@ -123,9 +123,14 @@ module EffectiveTestBot
123
123
 
124
124
  EffectiveTestBot.passed_tests[name] = true
125
125
 
126
- # Make test pass directory
127
- Dir.mkdir("#{Rails.root}/tmp") unless Dir.exist?("#{Rails.root}/tmp")
128
- Dir.mkdir("#{Rails.root}/tmp/test_bot") unless Dir.exist?("#{Rails.root}/tmp/test_bot")
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.0
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-04 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails