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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0eeab164cd511b3e24d5955dcb5962a2403c575
4
- data.tar.gz: 0cbd2dc1d8acc4eb1f63febd3966b0f11219908b
3
+ metadata.gz: c4e3bf2b90caf25ac5864953ad39bb451b0152d4
4
+ data.tar.gz: 8193d2f7397b09628891c4a9bbefa37ee88e9c2a
5
5
  SHA512:
6
- metadata.gz: b701feb0499154000c88170d6acb9a5daa2e8803a8f11c46cc1efeb3f169e133da7e27d28dd509f6233c5f8b9f8187fd6d04f59551309812fdd291f40e8277da
7
- data.tar.gz: 357539c643d221932ef4312ed882fe342f6981936f09c767d407d1d7247fbaf1c9250710bbc494162d53e9b09f715a50a80c0905707fb305236bdc7304cb7f89
6
+ metadata.gz: 3bbc8ee9aa7fdf71be3600880aa709c9f226990fe1d6481598ef53b9df7a8a2f206004cdd669a15bf94680a4202fded9cfbecf88253d43072984d3fa6066fa4b
7
+ data.tar.gz: 79a4a21f8a134d3b927ccd6731aac74908fb2fa84e43085c8896e2667b870beb829016779738a8356fe5c2d3df418082ef0a16619128c161390cc4efcb1c43b4
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
@@ -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, JSON.parse(parameters)
30
+ t.processAndWriteToFile template, sourcePath, parameters
31
31
  end
32
32
  FileUtils.mkdir_p Pathname.new(dest).dirname
33
33
  FileUtils.cp sourcePath, dest
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies