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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f144d29634323e568d9dbed9952cb1117e5888c
4
- data.tar.gz: 8bca3b5ae4e744ba3890858fcc9d403aa85afb47
3
+ metadata.gz: d9610a354000b1c7637899896842ce7e899aae9a
4
+ data.tar.gz: 9ba0702a0392005174f54dc0970ca65121e34736
5
5
  SHA512:
6
- metadata.gz: d890b5a9673df192fc389b831968717524e1f51a188fabc1f0b4956626c63989bd75d47371dbfb76ea045202c46fa8a70bb298d2da475c9579c2f3aa9dd744bd
7
- data.tar.gz: fe407000446c35a8fb02af80005c3f50bcfa813d752945d8e263a0fd8485b5ea843e35c3c097ca0c0482f366b37ff830bb21b7601400c0f3b68ed347ae01fb2a
6
+ metadata.gz: de22c1ada199e9a04e898da44d1853341833fac723bad34d125a7298a408761cb71e5e285a09ed9abd1f7c32f635df2fae7dd1f31bf68042c17ba74a5a661aa4
7
+ data.tar.gz: c44287a5f8069d87c1a39c02311a173d214611f30b7137cbee22f15a7c866e7545035bdd160798e6df682cc8f3334bc5e9ae71f0de88563368f5d50a3538c6fb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Dle
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  UPDATE_URL = "https://raw.githubusercontent.com/2called-chaos/dle/master/VERSION"
4
4
  end
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.5
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-04-26 00:00:00.000000000 Z
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.0.3
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!