dle 0.1.5 → 0.1.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/VERSION +1 -1
- data/lib/dle/filesystem.rb +3 -4
- data/lib/dle/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9610a354000b1c7637899896842ce7e899aae9a
|
4
|
+
data.tar.gz: 9ba0702a0392005174f54dc0970ca65121e34736
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de22c1ada199e9a04e898da44d1853341833fac723bad34d125a7298a408761cb71e5e285a09ed9abd1f7c32f635df2fae7dd1f31bf68042c17ba74a5a661aa4
|
7
|
+
data.tar.gz: c44287a5f8069d87c1a39c02311a173d214611f30b7137cbee22f15a7c866e7545035bdd160798e6df682cc8f3334bc5e9ae71f0de88563368f5d50a3538c6fb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
data/lib/dle/filesystem.rb
CHANGED
@@ -36,13 +36,12 @@ module Dle
|
|
36
36
|
|
37
37
|
def index!
|
38
38
|
Find.find(@base_dir) do |path|
|
39
|
-
next if @opts[:pattern] == "files" && !FileTest.file?(path)
|
40
|
-
next if @opts[:pattern] == "dirs" && !FileTest.directory?(path)
|
41
|
-
next if @opts[:pattern].is_a?(Regexp) && !path.match(@opts[:pattern])
|
42
|
-
|
43
39
|
if File.basename(path)[0] == ?. && !@opts[:dotfiles]
|
44
40
|
Find.prune
|
45
41
|
else
|
42
|
+
next if @opts[:pattern] == "files" && !FileTest.file?(path)
|
43
|
+
next if @opts[:pattern] == "dirs" && !FileTest.directory?(path)
|
44
|
+
next if @opts[:pattern].is_a?(Regexp) && !path.match(@opts[:pattern])
|
46
45
|
index_node(path)
|
47
46
|
end
|
48
47
|
end
|
data/lib/dle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Pachnit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
106
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.
|
107
|
+
rubygems_version: 2.2.2
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: Directory List Edit – Edit file structures in your favorite editor!
|