build-files 0.2.2 → 0.2.3

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: d6e05a581a90d4c4b687188353883ff5b94bdbd2
4
- data.tar.gz: 346cd2802c3cd5e343dcc27fffc2c3acde2012bd
3
+ metadata.gz: 39434d4eb8660aacf9aa81a50e981087186bdb20
4
+ data.tar.gz: 1a98597bc51950d7a6deeb987dab68945ebe8d6d
5
5
  SHA512:
6
- metadata.gz: af419028f2a16b2caf1d59c261db593437efcb75bf5efd2952f0edc22f80e755d04ab130f9b59470ee124e42dee94d3f0208907ac414da35f095f72952f049a8
7
- data.tar.gz: caf234a78d92532a3ef9a70e127bc33df3489434b5fca9e2dbfd2def28fa9c986cf436385613eb1503038bfa8ca140f55f2f5c6fbb06802afcab95bf823b7515
6
+ metadata.gz: 388ec08974ad17928eb1f4ab9c3d9a4632839f30a861f9210e8ca1ef8292700df3bd58293aaaa2ad7b6b102912c3bf81db065d5438b430def797c4118d0c8261
7
+ data.tar.gz: 04e9c08d9a5b1a11e55ee314a9c42be8d885c7be99e0fea08e93d4956efd088e556e049371ff5fe42044f1f2dc3a4cba7bcde3047cb103d700654343339e51e1
@@ -18,6 +18,8 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  # THE SOFTWARE.
20
20
 
21
+ require 'fileutils'
22
+
21
23
  module Build
22
24
  module Files
23
25
  class Path
@@ -48,6 +50,10 @@ module Build
48
50
  def mtime
49
51
  File.mtime self
50
52
  end
53
+
54
+ def mkpath
55
+ FileUtils.mkpath self
56
+ end
51
57
  end
52
58
  end
53
59
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Build
22
22
  module Files
23
- VERSION = "0.2.2"
23
+ VERSION = "0.2.3"
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.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-08 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler