fe_core_ext 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fe_core_ext/core_ext/pathname.rb +5 -0
- data/lib/fe_core_ext/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5eed16a4cc67b656b607658503ea45ec9fa278f
|
4
|
+
data.tar.gz: 77964887074b0595066823983785ebec423b9cd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9df897d0b5d544c7709fefc3e123638dca8c4da2818656ca18a37b4d24cdc34651758242739d43b6d05fbddbc8694fdf7e0c67678dfdde0b7f33188f2db2a48a
|
7
|
+
data.tar.gz: b088e08cf7c36b6cce510778418f75d0ba20a5dd31c6522bc10399a74c606373d853e678208fb38f44b3929cd119518b8652471f765b307176d4b2a838dfb401
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'pathname'
|
2
2
|
require 'yaml'
|
3
|
+
require 'fileutils'
|
3
4
|
|
4
5
|
module FeCoreExt::CoreExt
|
5
6
|
end
|
@@ -13,6 +14,10 @@ module FeCoreExt::CoreExt::Pathname
|
|
13
14
|
def glob(string)
|
14
15
|
Pathname.glob(self.join(string).to_s)
|
15
16
|
end
|
17
|
+
|
18
|
+
def touch(options={})
|
19
|
+
FileUtils.touch(@path, options)
|
20
|
+
end
|
16
21
|
end
|
17
22
|
|
18
23
|
module FeCoreExt::CoreExt::PathnameClassMethods
|
data/lib/fe_core_ext/version.rb
CHANGED