rumr 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rumr.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 089efb89e304f6137c19866f12b35cb810bb36f0
|
4
|
+
data.tar.gz: eccf115034b1b89b16b2909cf31ec929a8adc347
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5c996bd0b49037d8e4ef8025ea88f6cf0813ce1b0c944f16c73ba93b7fe329fd39b8aa8346cef625121fdbe3d4a10f07fa47e3825cc0a7af988a17d64d437c5
|
7
|
+
data.tar.gz: a8bf6167aaed92651bd588662e675aa41ec6df2e85237c0387280cad30507f8057e2123c75f8a8fb0d82ecd959a00ee4832881ea61dedef79094d55875e1212c
|
data/lib/rumr.rb
CHANGED
@@ -42,8 +42,7 @@ class Rumr < Thor
|
|
42
42
|
type: :boolean,
|
43
43
|
desc: 'Display (do not execute) the commands to run.'
|
44
44
|
def exec(command)
|
45
|
-
|
46
|
-
next unless File.basename(path) == '.rumr'
|
45
|
+
Dir[File.join(options[:basepath], '**/.rumr')].each do |path|
|
47
46
|
next unless YAML.load_file(path).include? options[:tag]
|
48
47
|
if options['dryrun']
|
49
48
|
puts "Would execute #{command} in #{path}"
|