rubisc 0.3.5 → 0.3.6
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/lib/fileutil.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4a0f85330a558e438ebc3075bfbf01408e4eb01
|
|
4
|
+
data.tar.gz: ceb73ae59f31ad54064c8db3e5ff828cd13c1293
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 439041a76ac0907d5675b32265e7ce31224f2a231486afa02ed0406e08325a6c7bb27a575d2d08620112e0678f5584a25c5a2b45bdae940f119f5c557069cd08
|
|
7
|
+
data.tar.gz: 8023e6e3da46ab29cfd60c918e588cb310f0d7f0da1b4252bc9385bc7eae31d949698bc308acd78211f1aba2c984c06109e3dc22fd618756848c279b9b67132d
|
data/lib/fileutil.rb
CHANGED
|
@@ -57,11 +57,11 @@ module Rubisc
|
|
|
57
57
|
matches!=nil
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
def self.iterate_files path
|
|
60
|
+
def self.iterate_files path,&block
|
|
61
61
|
if File.directory?(path)
|
|
62
62
|
Dir.entries(path).each do |sub|
|
|
63
63
|
if sub!="." and sub!=".."
|
|
64
|
-
iterate_files "#{path}/#{sub}"
|
|
64
|
+
iterate_files "#{path}/#{sub}",&block
|
|
65
65
|
end
|
|
66
66
|
end
|
|
67
67
|
else
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubisc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- luqyluqe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Wicked cool ruby scripts
|
|
14
14
|
email: luqy.luqe@gmail.com
|