templater 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/templater.rb +1 -1
- data/lib/templater/actions/directory.rb +8 -0
- metadata +2 -2
data/lib/templater.rb
CHANGED
@@ -9,6 +9,14 @@ module Templater
|
|
9
9
|
def render
|
10
10
|
""
|
11
11
|
end
|
12
|
+
|
13
|
+
# Checks if the content of the file at the destination is identical to the rendered result.
|
14
|
+
#
|
15
|
+
# === Returns
|
16
|
+
# Boolean:: true if it is identical, false otherwise.
|
17
|
+
def identical?
|
18
|
+
exists?
|
19
|
+
end
|
12
20
|
end
|
13
21
|
end
|
14
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: templater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Nicklas
|
@@ -9,7 +9,7 @@ autorequire: templater
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-10-
|
12
|
+
date: 2008-10-12 00:00:00 +03:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|