hike 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hike/index.rb +1 -1
- metadata +39 -19
data/lib/hike/index.rb
CHANGED
@@ -77,7 +77,7 @@ module Hike
|
|
77
77
|
# not exist.
|
78
78
|
def entries(path)
|
79
79
|
key = path.to_s
|
80
|
-
@entries[key] ||= Pathname.new(path).entries.reject { |entry| entry.to_s =~ /^\.|~$|^\#.*\#$/ }
|
80
|
+
@entries[key] ||= Pathname.new(path).entries.reject { |entry| entry.to_s =~ /^\.|~$|^\#.*\#$/ }.sort
|
81
81
|
rescue Errno::ENOENT
|
82
82
|
@entries[key] = []
|
83
83
|
end
|
metadata
CHANGED
@@ -1,24 +1,34 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: hike
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
- 1
|
10
|
+
version: 1.2.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Sam Stephenson
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
17
|
+
|
18
|
+
date: 2011-08-17 00:00:00 -05:00
|
13
19
|
default_executable:
|
14
20
|
dependencies: []
|
21
|
+
|
15
22
|
description: A Ruby library for finding files in a set of paths.
|
16
|
-
email:
|
23
|
+
email:
|
17
24
|
- sstephenson@gmail.com
|
18
25
|
executables: []
|
26
|
+
|
19
27
|
extensions: []
|
28
|
+
|
20
29
|
extra_rdoc_files: []
|
21
|
-
|
30
|
+
|
31
|
+
files:
|
22
32
|
- README.md
|
23
33
|
- LICENSE
|
24
34
|
- lib/hike/extensions.rb
|
@@ -30,26 +40,36 @@ files:
|
|
30
40
|
has_rdoc: true
|
31
41
|
homepage: http://github.com/sstephenson/hike
|
32
42
|
licenses: []
|
43
|
+
|
33
44
|
post_install_message:
|
34
45
|
rdoc_options: []
|
35
|
-
|
46
|
+
|
47
|
+
require_paths:
|
36
48
|
- lib
|
37
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
38
50
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
hash: 3
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
version: "0"
|
58
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
59
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
hash: 3
|
64
|
+
segments:
|
65
|
+
- 0
|
66
|
+
version: "0"
|
49
67
|
requirements: []
|
68
|
+
|
50
69
|
rubyforge_project:
|
51
|
-
rubygems_version: 1.
|
70
|
+
rubygems_version: 1.5.2
|
52
71
|
signing_key:
|
53
72
|
specification_version: 3
|
54
73
|
summary: Find files in a set of paths
|
55
74
|
test_files: []
|
75
|
+
|