dircrawl 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dircrawl.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 042b2465ba3729dd8b32b61a6fa55a9732ce6bb0
4
- data.tar.gz: 3c8bb1ef5cf0fffed384f91fdda387f41185ed97
3
+ metadata.gz: b0890e29ec904db777b81c375da8affd1acfca49
4
+ data.tar.gz: abe101ad1276d8edf8f5a087ecf28472827e794a
5
5
  SHA512:
6
- metadata.gz: 29b0dd91babcdf8600b2ac3c7600749986018e418706f539574c274dca51df7ca8e649dcd861dda1869ac2cde206d2fd1b45a4643d260055ad698bf8711efc9e
7
- data.tar.gz: 4bda8db830eedc8f15e11f104874881034ddedc67434d5e86736cdd43ef5ea013cd9a21ff2566c7a857e8409265f3df25366e7f865479999a1090d79dbaef7fa
6
+ metadata.gz: 9f0c4bd4900442407e2bdc9303ecbe8847cb598bce4cbc99fac2a578e61e5901cbde99fc62a50276267a8c2980c3f78066756b346e7032c551d3ec5dd85f30b8
7
+ data.tar.gz: 6713d19c6ad7501844986e08ad4ed9e0564a9e42f9950d21092d7e0cd585d9ac5fc640bdee22beac44109e5be407c71654cd25a686ac25334afe04cdfd35f0ad
@@ -48,7 +48,7 @@ class DirCrawl
48
48
 
49
49
  # Run blocks to process the file
50
50
  if !File.exist?(get_write_path(dir, file))
51
- @extras_block.call("#{@output_dir}/") if !@extras_block.empty?
51
+ @extras_block.call("#{@output_dir}/") if !@extras_block
52
52
  return @process_block.call("#{dir}/#{file}", *args)
53
53
  else # Use already existing file
54
54
  puts "Processed file exists, skipping: #{dir}/#{file}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dircrawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. C. McGrath
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-22 00:00:00.000000000 Z
12
+ date: 2017-05-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Run block on all files in dir
15
15
  email: shidash@shidash.com