path_expander 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.rdoc +6 -0
- data/Manifest.txt +1 -0
- data/lib/path_expander.rb +2 -2
- data/test/bad_named_dir.rb/.ignore +0 -0
- metadata +14 -13
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '078794a2686ec79aee95140d174dd05ea1ccbd8c'
|
4
|
+
data.tar.gz: 2fb711acd045afc03765cfccb572ea5ca8154a9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a22db0c268baed2eef264cc30650ba7c3d750db464c3652037161831df613dce7266c307b47ee5cc11d3b6885d753f57e0100c41d9ac4b6d347d657a8e9a0bbd
|
7
|
+
data.tar.gz: 274a8cb6da20b77e9c2180ab3759d1bc5f942bef0503883153793f7823e2aafc7519b65c6b9830f43a05fef47bf6fa0ca71160f3e97bdc23062d12afb8326c71
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/lib/path_expander.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
# PathExpander.
|
14
14
|
|
15
15
|
class PathExpander
|
16
|
-
VERSION = "1.0.
|
16
|
+
VERSION = "1.0.2" # :nodoc:
|
17
17
|
|
18
18
|
##
|
19
19
|
# The args array to process.
|
@@ -42,7 +42,7 @@ class PathExpander
|
|
42
42
|
def expand_dirs_to_files *dirs
|
43
43
|
dirs.flatten.map { |p|
|
44
44
|
if File.directory? p then
|
45
|
-
Dir[File.join(p, glob)]
|
45
|
+
Dir[File.join(p, glob)].find_all { |f| File.file? f }
|
46
46
|
else
|
47
47
|
p
|
48
48
|
end
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: path_expander
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -30,36 +30,36 @@ cert_chain:
|
|
30
30
|
E4oJcnPkJAr0rw504JGtlZtONZQblwmRJOIdXzolaE3NRGUzGVOUSptZppAKiavY
|
31
31
|
fO6tdKQc/5RfA8oQEkg8hrxA5PQSz4TOFJGLpFvIapEk6tMruQ0bHgkhr9auXg==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2017-05-09 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rdoc
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '4.0'
|
42
42
|
type: :development
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - ~>
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '4.0'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: hoe
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - ~>
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '3.
|
55
|
+
version: '3.16'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '3.
|
62
|
+
version: '3.16'
|
63
63
|
description: |-
|
64
64
|
PathExpander helps pre-process command-line arguments expanding
|
65
65
|
directories into their constituent files. It further helps by
|
@@ -82,12 +82,13 @@ extra_rdoc_files:
|
|
82
82
|
- Manifest.txt
|
83
83
|
- README.rdoc
|
84
84
|
files:
|
85
|
-
- .autotest
|
85
|
+
- ".autotest"
|
86
86
|
- History.rdoc
|
87
87
|
- Manifest.txt
|
88
88
|
- README.rdoc
|
89
89
|
- Rakefile
|
90
90
|
- lib/path_expander.rb
|
91
|
+
- test/bad_named_dir.rb/.ignore
|
91
92
|
- test/test_bad.rb
|
92
93
|
- test/test_path_expander.rb
|
93
94
|
homepage: https://github.com/seattlerb/path_expander
|
@@ -96,23 +97,23 @@ licenses:
|
|
96
97
|
metadata: {}
|
97
98
|
post_install_message:
|
98
99
|
rdoc_options:
|
99
|
-
- --main
|
100
|
+
- "--main"
|
100
101
|
- README.rdoc
|
101
102
|
require_paths:
|
102
103
|
- lib
|
103
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
104
105
|
requirements:
|
105
|
-
- -
|
106
|
+
- - ">="
|
106
107
|
- !ruby/object:Gem::Version
|
107
108
|
version: '0'
|
108
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
110
|
requirements:
|
110
|
-
- -
|
111
|
+
- - ">="
|
111
112
|
- !ruby/object:Gem::Version
|
112
113
|
version: '0'
|
113
114
|
requirements: []
|
114
115
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.6.8
|
116
117
|
signing_key:
|
117
118
|
specification_version: 4
|
118
119
|
summary: PathExpander helps pre-process command-line arguments expanding directories
|
metadata.gz.sig
CHANGED
Binary file
|