canzea 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/commands/config-git-commit.rb +2 -2
- 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: c4e3bf2b90caf25ac5864953ad39bb451b0152d4
|
4
|
+
data.tar.gz: 8193d2f7397b09628891c4a9bbefa37ee88e9c2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bbc8ee9aa7fdf71be3600880aa709c9f226990fe1d6481598ef53b9df7a8a2f206004cdd669a15bf94680a4202fded9cfbecf88253d43072984d3fa6066fa4b
|
7
|
+
data.tar.gz: 79a4a21f8a134d3b927ccd6731aac74908fb2fa84e43085c8896e2667b870beb829016779738a8356fe5c2d3df418082ef0a16619128c161390cc4efcb1c43b4
|
data/lib/canzea/version.rb
CHANGED
@@ -3,7 +3,7 @@ require "fileutils"
|
|
3
3
|
require "pathname"
|
4
4
|
|
5
5
|
class ConfigGitCommit
|
6
|
-
def do(gitRoot, sourcePath, template, parameters
|
6
|
+
def do(gitRoot, sourcePath, template, parameters)
|
7
7
|
# if file exists on file system and does not exist in gitRoot, then commit the "oem" file
|
8
8
|
|
9
9
|
if (File.exists?(sourcePath))
|
@@ -27,7 +27,7 @@ class ConfigGitCommit
|
|
27
27
|
puts "Processing template #{template}"
|
28
28
|
FileUtils.mkdir_p Pathname.new(sourcePath).dirname
|
29
29
|
t = Template.new
|
30
|
-
t.processAndWriteToFile template, sourcePath,
|
30
|
+
t.processAndWriteToFile template, sourcePath, parameters
|
31
31
|
end
|
32
32
|
FileUtils.mkdir_p Pathname.new(dest).dirname
|
33
33
|
FileUtils.cp sourcePath, dest
|