chrislloyd-fancypath 0.3.0 → 0.4.0

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/fancypath.rb +4 -2
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "fancypath"
8
- GEM_VERSION = "0.3.0"
8
+ GEM_VERSION = "0.4.0"
9
9
  AUTHORS = ["Myles Byrne", "Chris Lloyd"]
10
10
  EMAIL = "myles@ducknewmedia.com"
11
11
  HOMEPAGE = "http://ducknewmedia.com/fancypath"
data/lib/fancypath.rb CHANGED
@@ -65,8 +65,10 @@ class Fancypath < Pathname
65
65
  write(contents,'a+')
66
66
  end
67
67
 
68
- def visible_children
69
- children.reject { |c| c.basename.to_s =~ /^\./ }
68
+ alias_method :all_children, :children
69
+
70
+ def children
71
+ super.reject { |c| c.basename.to_s =~ /^\./ }
70
72
  end
71
73
 
72
74
  def inspect
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chrislloyd-fancypath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myles Byrne
@@ -10,7 +10,7 @@ autorequire: fancypath
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2008-11-24 00:00:00 -08:00
13
+ date: 2008-12-01 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies: []
16
16