rumr 1.0.1 → 1.0.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rumr.rb +1 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 084d38dab391c9c3a4ee904bce78266818c64571
4
- data.tar.gz: 03788355356bb7506064ffbbf9ff7f0da9ef56c6
3
+ metadata.gz: 089efb89e304f6137c19866f12b35cb810bb36f0
4
+ data.tar.gz: eccf115034b1b89b16b2909cf31ec929a8adc347
5
5
  SHA512:
6
- metadata.gz: 864e27a2626875de67287e37add706fcb54ba55f46951bd479ab60a7057af0fe41211f0836da0417425e0ee3bc7978580724ef842872ccaab8662ef33d8dc1dc
7
- data.tar.gz: 77993a183b9e2f2685d37320d402ac6b9b8d0ce9b4bcb4ea10a88e2d6f9039d019c00ba079eed77642c7c0dc610e724ce59bb842c1c1d810c1ea82c3a5e46efb
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
- Find.find(options[:basepath]) do |path|
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}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle W. Purdon