path_expander 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ec7c57457d6cf828c608a367e073b7c689c15c5dbc3808621fc57ff53431d08
4
- data.tar.gz: 829d40e46dc078546f0bf00dde8e40f2c1df6b22535882a9e64863fe684a4077
3
+ metadata.gz: ed120692b50f83bb61e393ffc35e08a49bb71dfda9249fea4f6ec1bc61e5ee3a
4
+ data.tar.gz: c9c2a465c122a03011eb2484b95fab74d9074c4f84b6018571ec856a35dc28bd
5
5
  SHA512:
6
- metadata.gz: 263d65b97f69b4f586888532cc374659889bb707c6ca2502c6cef9e8f5f446c6d3023b2a7930689a34a416e47ab7aa11c482f4ba2c0d66aebd66f9fabad4e7f2
7
- data.tar.gz: 60f9b4ef1107c2d61f646c72635e09f7f46032aed00c5110852d23ce6b026d6e52ae3ed464a639c1855339c6ca9b6e97202951a0e454198dd0de0f7813f59be9
6
+ metadata.gz: ea6b7c3be8e65bc0ee3b88f2f036fafddd91181cb5a2e166695b503ad40d4aea40bf1ed14b3bb668bd13696702d0643a5d3bcfad6a0abef0823e0c8125a9b758
7
+ data.tar.gz: de812b35a9e648cb2f3ca4e64da9007f4c2ad1f4dcf2b89e27d2c9c5f27cd8115c19e1d1b8b94023801a76c0ab0e26642dced689884a34df8cecd8b6680b3ae9
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- ���Nd�a��Jn+��`���#IL��������P U�9��n��� #�>�7bV/ �KE�Yܸ$��8��L�.!�:J�^����TY�(�MK4�D�_ &ޖ�����@1s[7�mX��A��9��J������iA �l���!��=�����B�zG�m��?$ɯ�j��Z ����e�
2
- ʻ���_���3���q�ɶ��}�M@�4� ���$ޫs�ݡ� 4F �紃]�cs��V�l�v���tŭG��$
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
@@ -1,3 +1,9 @@
1
+ === 1.0.4 / 2019-05-26
2
+
3
+ * 1 bug fix:
4
+
5
+ * Sorted the output from expand_dirs_to_files. (deivid-rodriguez)
6
+
1
7
  === 1.0.3 / 2018-03-16
2
8
 
3
9
  * 1 bug fix:
@@ -13,7 +13,7 @@
13
13
  # PathExpander.
14
14
 
15
15
  class PathExpander
16
- VERSION = "1.0.3" # :nodoc:
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
  ##
@@ -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.3
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
- MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE3MTEyMTIxMTExMFoXDTE4MTEyMTIxMTExMFowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTE4MTIwNDIxMzAxNFoXDTE5MTIwNDIxMzAxNFowRTETMBEGA1UE
16
16
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
17
17
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
18
18
  b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -21,44 +21,50 @@ cert_chain:
21
21
  GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
22
22
  qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
23
23
  gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
- HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
25
- AQAfAXSQpsW7YSxd1csRtA/M4Zt0AMXFMd76GJ8Lgtg8G0+VFbdChRyDuDb0kPlW
26
- h9QQX/YABfCW8vxmssbMGrP+VGBAn7BbdTcfTlgCWrvMX1uL5aRL74nA4urKXqdW
27
- a0nP70K4958P3GffBdtE3KGkU5xstFnXGajxuBRnL66E15KU0BNehVxdG258bdPu
28
- EKN6MqBPftFiev3tuwqDV11r2GquDpniYcT+Mi8/PgeAgVT/afBeVgbB3KaZeTRR
29
- AhXhF6Wi2GTMezlj5jlI5XV7WsJUSwTp/YiVvcmT74ZaCRvexm6EnNhkrvJJ1Xeu
30
- V+HB+LYYhXWitInO/eXxDrFB
24
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
25
+ AQCbJwLmpJR2PomLU+Zzw3KRzH/hbyUWc/ftru71AopZ1fy4iY9J/BW5QYKVYwbP
26
+ V0FSBWtvfI/RdwfKGtuGhPKECZgmLieGuZ3XCc09qPu1bdg7i/tu1p0t0c6163ku
27
+ nDMDIC/t/DAFK0TY9I3HswuyZGbLW7rgF0DmiuZdN/RPhHq2pOLMLXJmFclCb/im
28
+ 9yToml/06TJdUJ5p64mkBs0TzaK66DIB1Smd3PdtfZqoRV+EwaXMdx0Hb3zdR1JR
29
+ Em82dBUFsipwMLCYj39kcyHWAxyl6Ae1Cn9r/ItVBCxoeFdrHjfavnrIEoXUt4bU
30
+ UfBugfLD19bu3nvL+zTAGx/U
31
31
  -----END CERTIFICATE-----
32
- date: 2018-03-16 00:00:00.000000000 Z
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.16'
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.16'
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
- rubyforge_project:
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