From 3249a3a131ae5d28b42ba70b85839314ed7c227c Mon Sep 17 00:00:00 2001 From: realtradam Date: Thu, 21 Apr 2022 08:51:32 -0400 Subject: prettified --- lib/Justicar.rb | 3 --- lib/Justicar/version.rb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3