path_expander 1.0.1 → 1.0.2

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: 6a0cdd3cb2d45418701a0828a60e10de3b224705
4
- data.tar.gz: 28a1a7dd64d3956da1da93a989ac0e4fb6029378
3
+ metadata.gz: '078794a2686ec79aee95140d174dd05ea1ccbd8c'
4
+ data.tar.gz: 2fb711acd045afc03765cfccb572ea5ca8154a9b
5
5
  SHA512:
6
- metadata.gz: 2357e2b4beed4a2908f104adc52eca11f0a5429ab568fc65b5298941107189fad7d46a0e79ce42c48e4f7267cec4cd8d4598bdc118fd6ae09b64c10e1ce3764d
7
- data.tar.gz: 68c61bcb39253d19e26c35af359d3ae89552dce3fa7d2da330101e8448fc1b381f289e067498b801f61722390180df22d44c0bfabca315354daad2253936f41d
6
+ metadata.gz: a22db0c268baed2eef264cc30650ba7c3d750db464c3652037161831df613dce7266c307b47ee5cc11d3b6885d753f57e0100c41d9ac4b6d347d657a8e9a0bbd
7
+ data.tar.gz: 274a8cb6da20b77e9c2180ab3759d1bc5f942bef0503883153793f7823e2aafc7519b65c6b9830f43a05fef47bf6fa0ca71160f3e97bdc23062d12afb8326c71
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 1.0.2 / 2017-05-09
2
+
3
+ * 1 bug fix:
4
+
5
+ * Fixed expand_dirs_to_files returning non-files on glob expansion.
6
+
1
7
  === 1.0.1 / 2016-11-30
2
8
 
3
9
  * 1 bug fix:
@@ -4,5 +4,6 @@ Manifest.txt
4
4
  README.rdoc
5
5
  Rakefile
6
6
  lib/path_expander.rb
7
+ test/bad_named_dir.rb/.ignore
7
8
  test/test_bad.rb
8
9
  test/test_path_expander.rb
@@ -13,7 +13,7 @@
13
13
  # PathExpander.
14
14
 
15
15
  class PathExpander
16
- VERSION = "1.0.1" # :nodoc:
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.1
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: 2016-12-01 00:00:00.000000000 Z
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.15'
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.15'
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.4.5
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