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.
- data/Rakefile +1 -1
- data/lib/fancypath.rb +3 -2
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/fancypath.rb
CHANGED
@@ -38,12 +38,13 @@ class Fancypath < Pathname
|
|
38
38
|
self.to_path
|
39
39
|
end
|
40
40
|
|
41
|
-
|
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.
|
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-
|
13
|
+
date: 2008-12-05 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|