chrislloyd-fancypath 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/fancypath.rb +3 -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.5.0"
8
+ GEM_VERSION = "0.5.1"
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
@@ -38,12 +38,13 @@ class Fancypath < Pathname
38
38
  self.to_path
39
39
  end
40
40
 
41
- # make dir
42
- def create
41
+ def create_dir
43
42
  mkpath unless exist?
44
43
  self.to_path
45
44
  end
46
45
 
46
+ alias_method :create, :create_dir
47
+
47
48
  def copy(dest)
48
49
  FileUtils.cp(self, dest)
49
50
  self
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.5.0
4
+ version: 0.5.1
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-12-02 00:00:00 -08:00
13
+ date: 2008-12-05 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies: []
16
16