epitools 0.5.69 → 0.5.70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/epitools/path.rb +4 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbd16b1a9e260dacf57c14aa797c3e62f3494147
4
- data.tar.gz: a4430c1b4e353d00499212393b38fd034592639f
3
+ metadata.gz: 38967ec03846985bd06392dd9998a38e0cb64159
4
+ data.tar.gz: f38dba6be646582491f1ef7eb6a9d37b9d2b8628
5
5
  SHA512:
6
- metadata.gz: 0386c8c0bcb04edecaa233f9660bdf349854467c39b7881d4a7226027f47de824c58858998469bab1ff6d1a836aa7d5ea6b237d07a40b4e4738211afa7e44189
7
- data.tar.gz: 570fb038069057774db9d1ceedb44bcdc2302e604569b51b3d51a775262ef55a2af22e465ba2cbfaf1b44bfb83997be729c212483402cb4d62054587c2600917
6
+ metadata.gz: cf75df485cedefe8fcc6aff229c916ba51598aa63605d50a65e0a074e6b7afb844e2cc4618294a50e0bd54ed45968eeb81ee4eec17e45ed002c868fd0f446426
7
+ data.tar.gz: cb400a62fc6949d65f239ff8c67c4c6cf60c93df1fe1c4b032bc095361bba4464394af8b448db71415df0dd67d4c18f0ba9e016126b2d57cc9ae10de799c8de7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.69
1
+ 0.5.70
data/lib/epitools/path.rb CHANGED
@@ -639,7 +639,10 @@ class Path
639
639
 
640
640
  def ls; Path[File.join(path, "*")]; end
641
641
 
642
- def ls_r; Path[File.join(path, "**/*")]; end
642
+ def ls_r(symlinks=false)
643
+ glob = symlinks ? "**{,/*/**}/*" : "**/*"
644
+ Path[File.join(path, glob)]
645
+ end
643
646
  alias_method :ls_R, :ls_r
644
647
 
645
648
  def ls_dirs
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epitools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.69
4
+ version: 0.5.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - epitron