summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Justicar.rb3
-rw-r--r--lib/Justicar/version.rb2
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/Justicar.rb b/lib/Justicar.rb
index e57845e..5abf901 100644
--- a/lib/Justicar.rb
+++ b/lib/Justicar.rb
@@ -54,10 +54,8 @@ class Justicar
FileUtils.mkdir target_dir
end
hash.each do |key, val|
- puts "key: #{key}, val: #{val}"
if val.is_a? String
file_name, type, _rb = key.to_s.split('.')
- puts "filename: #{file_name}, type: #{type}"
File.open("#{target_dir}/#{file_name}.#{type}", "w") do |file|
file.write(val)
end
@@ -68,7 +66,6 @@ class Justicar
self.build("#{target_dir}/#{key}", hash)
end
end
- puts File.expand_path(File.dirname(__FILE__))
end
def output
diff --git a/lib/Justicar/version.rb b/lib/Justicar/version.rb
index 36efc46..55f99c0 100644
--- a/lib/Justicar/version.rb
+++ b/lib/Justicar/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
class Justicar
- VERSION = "0.1.0"
+ VERSION = "0.1.1"
end