run_tasks 3.1.2 → 3.1.3
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/src/run/error/non_existing_runfile.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83bdaff7d74bf3104dd2610ab19cbf7666591f8a08cba2527b22fec0ddd7909f
|
|
4
|
+
data.tar.gz: f6d121239d0faf3c899a94589a2c7af506e3392347dc782ec2361c738083f8c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22d7c77617c5c825be18c61ed18558880790c325f2936a7e394138b912be2807d05a976a95f2f1f309bd492ab72d2b58cca65b0420626fcfe31671b1ade5ec18
|
|
7
|
+
data.tar.gz: e65c02340150c8065790cd635e7d97566f5908a0990932402dfe623634904c6d0a048176482f93018f3eb7a0cd53ac090d3e133eb9446cf0a36fd8b4c3b6ec1d
|
|
@@ -5,7 +5,9 @@ module Run
|
|
|
5
5
|
class NonExistingRunfile < StandardError
|
|
6
6
|
def initialize
|
|
7
7
|
path = ENV['RUNFILE'] || 'Runfile.rb'
|
|
8
|
-
super File.file?(path) ?
|
|
8
|
+
super File.file?(path) ?
|
|
9
|
+
"'#{path}' is not a valid Runfile" :
|
|
10
|
+
"Runfile.rb does not exist in '#{Dir.pwd}'"
|
|
9
11
|
end
|
|
10
12
|
end
|
|
11
13
|
end
|