lib/sign/generator.rb in sign-1.0.3 vs lib/sign/generator.rb in sign-1.0.4

- old
+ new

@@ -1,7 +1,5 @@ -require "Date" - module Sign class Generator def create(license, name, year) raise ArgumentError, "#{license} is not available." unless File.readable?(license) @@ -47,10 +45,10 @@ end end end def get_year - return Date.today.year.to_s + return Time.new.year.to_s end def gitconfig_exist? File.exist?("#{gitconfig_path}/.gitconfig") end \ No newline at end of file