lib/appinit.rb in forj-1.0.9 vs lib/appinit.rb in forj-1.0.10

- old
+ new

@@ -17,11 +17,11 @@ # Module to initialize the application # TODO: Cleanup about Global variables used. Should be replaced by PrcLib # or other kind of setting. module Forj class << self - attr_accessor :build_path, :keypairs_path + attr_accessor :build_path, :keypairs_path, :file_version end module_function def keypairs_path=(v) @@ -35,7 +35,11 @@ end def build_path=(v) @build_path = File.expand_path(v) unless @build_path PrcLib.ensure_dir_exists(@build_path) + end + + def file_version=(v) + @file_version = v unless @file_version end end