path_expander 1.0.3 → 1.0.4
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -2
- data/History.rdoc +6 -0
- data/lib/path_expander.rb +2 -2
- data/test/test_path_expander.rb +8 -0
- metadata +22 -17
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed120692b50f83bb61e393ffc35e08a49bb71dfda9249fea4f6ec1bc61e5ee3a
|
4
|
+
data.tar.gz: c9c2a465c122a03011eb2484b95fab74d9074c4f84b6018571ec856a35dc28bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea6b7c3be8e65bc0ee3b88f2f036fafddd91181cb5a2e166695b503ad40d4aea40bf1ed14b3bb668bd13696702d0643a5d3bcfad6a0abef0823e0c8125a9b758
|
7
|
+
data.tar.gz: de812b35a9e648cb2f3ca4e64da9007f4c2ad1f4dcf2b89e27d2c9c5f27cd8115c19e1d1b8b94023801a76c0ab0e26642dced689884a34df8cecd8b6680b3ae9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
���c�Ҵ�I���M
|
2
|
+
�1�<L�o9
|
3
|
+
��aCg������7��6@��X�[�F�D�e�{:i����m7\eC7�Ͽ��~�p�D����1���U�l���������`Vi&�1����uF�PM���Ii���̾�E��%�S*�_Q��d�G��f|la�8�-�9זq.n̎f�\Ɋ&�ZLw�&U��h�! [;���OA
|
data/History.rdoc
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.4" # :nodoc:
|
17
17
|
|
18
18
|
##
|
19
19
|
# The args array to process.
|
@@ -46,7 +46,7 @@ class PathExpander
|
|
46
46
|
else
|
47
47
|
p
|
48
48
|
end
|
49
|
-
}.flatten
|
49
|
+
}.flatten.sort
|
50
50
|
end
|
51
51
|
|
52
52
|
##
|
data/test/test_path_expander.rb
CHANGED
@@ -34,6 +34,14 @@ class TestPathExpander < Minitest::Test
|
|
34
34
|
assert_equal %w[Rakefile], expander.expand_dirs_to_files("Rakefile")
|
35
35
|
end
|
36
36
|
|
37
|
+
def test_expand_dirs_to_files_sorting
|
38
|
+
exp = %w[test/test_bad.rb test/test_path_expander.rb]
|
39
|
+
input = %w[test/test_path_expander.rb test/test_bad.rb]
|
40
|
+
|
41
|
+
assert_equal exp, expander.expand_dirs_to_files(*input)
|
42
|
+
assert_equal %w[Rakefile], expander.expand_dirs_to_files("Rakefile")
|
43
|
+
end
|
44
|
+
|
37
45
|
def test_filter_files_dir
|
38
46
|
assert_filter_files [], "test/"
|
39
47
|
assert_filter_files_absolute_paths [], "test/"
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4X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u3nvL+zTAGx/U
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2019-05-26 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rdoc
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '4.0'
|
41
|
+
- - "<"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '7'
|
41
44
|
type: :development
|
42
45
|
prerelease: false
|
43
46
|
version_requirements: !ruby/object:Gem::Requirement
|
44
47
|
requirements:
|
45
|
-
- - "
|
48
|
+
- - ">="
|
46
49
|
- !ruby/object:Gem::Version
|
47
50
|
version: '4.0'
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '7'
|
48
54
|
- !ruby/object:Gem::Dependency
|
49
55
|
name: hoe
|
50
56
|
requirement: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
60
|
+
version: '3.17'
|
55
61
|
type: :development
|
56
62
|
prerelease: false
|
57
63
|
version_requirements: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
67
|
+
version: '3.17'
|
62
68
|
description: |-
|
63
69
|
PathExpander helps pre-process command-line arguments expanding
|
64
70
|
directories into their constituent files. It further helps by
|
@@ -111,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
117
|
- !ruby/object:Gem::Version
|
112
118
|
version: '0'
|
113
119
|
requirements: []
|
114
|
-
|
115
|
-
rubygems_version: 2.7.3
|
120
|
+
rubygems_version: 3.0.2
|
116
121
|
signing_key:
|
117
122
|
specification_version: 4
|
118
123
|
summary: PathExpander helps pre-process command-line arguments expanding directories
|
metadata.gz.sig
CHANGED
Binary file
|