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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 227bf51c9e640d29bb54d2e1157d7e94e95cae97
4
- data.tar.gz: e28a478dccda6e6778aee63e9844c99031daf442
3
+ metadata.gz: e35654286f32140f640677be45768252c787b496
4
+ data.tar.gz: 7edf8aa92f327d5ba8e96c25a8731b249b05f6e0
5
5
  SHA512:
6
- metadata.gz: a1b0cb776f992a16b9144eb568412b46dc53af59d59971b3a2e05eb0a6943b0129c290889c19cb075fa53b0707a72967ee2694a6d77e146bfeb1d5c091b40395
7
- data.tar.gz: 51b6359b5e1e685b20d3193eafac6607b4cc2c490d5324fee3efbad21b2fb1ac0541f38aded40a2fa76f312aec8754c58c466db314cde8a34e1d42cd77f3fc48
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 mtime
54
+ def modified_time
55
55
  File.mtime self
56
56
  end
57
57
 
58
- def mkpath
58
+ alias mtime modified_time
59
+
60
+ def create
59
61
  FileUtils.mkpath self
60
62
  end
61
63
 
62
- def rmpath
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
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Build
22
22
  module Files
23
- VERSION = "0.3.0"
23
+ VERSION = "0.3.1"
24
24
  end
25
25
  end
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.0
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-02-24 00:00:00.000000000 Z
11
+ date: 2015-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler