build-files 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/build/files/path/filesystem.rb +9 -3
- data/lib/build/files/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e35654286f32140f640677be45768252c787b496
|
4
|
+
data.tar.gz: 7edf8aa92f327d5ba8e96c25a8731b249b05f6e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c06e927233aed011f491da416cec580053dda563f9dcbce6777c341f03a290a1e7db064a9a86c91c42f51034fc9a1c10b4e85dc85f5eb619f8d05a120221653
|
7
|
+
data.tar.gz: 54b64d67398fb465a1a679f91b9d381a8bbce41044e66514b7c20b9cd89ae32da0bf4c060ba8daa10ce0cf68f78d6f55de95750941860f5fd63832def8a90e55
|
@@ -51,17 +51,23 @@ module Build
|
|
51
51
|
File.directory? self
|
52
52
|
end
|
53
53
|
|
54
|
-
def
|
54
|
+
def modified_time
|
55
55
|
File.mtime self
|
56
56
|
end
|
57
57
|
|
58
|
-
|
58
|
+
alias mtime modified_time
|
59
|
+
|
60
|
+
def create
|
59
61
|
FileUtils.mkpath self
|
60
62
|
end
|
61
63
|
|
62
|
-
|
64
|
+
alias mkpath create
|
65
|
+
|
66
|
+
def delete
|
63
67
|
FileUtils.rm_rf self
|
64
68
|
end
|
69
|
+
|
70
|
+
alias rmpath delete
|
65
71
|
end
|
66
72
|
end
|
67
73
|
end
|
data/lib/build/files/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: build-files
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|