lib/fulmar/domain/service/configuration_service.rb in fulmar-1.9.2 vs lib/fulmar/domain/service/configuration_service.rb in fulmar-1.10.0

- old
+ new

@@ -1,8 +1,9 @@ require 'yaml' require 'pp' require 'fulmar/domain/model/project' +require 'singleton' module Fulmar module Domain module Service # Loads and prepares the configuration from the yaml file @@ -20,11 +21,11 @@ features: {}, hosts: {}, dependencies: { all: {} } } - include Singleton + include ::Singleton attr_reader :environment, :target attr_accessor :load_user_config def initialize @@ -214,10 +215,10 @@ end def check_version return if @config[:project][:fulmar_version].nil? unless Gem::Dependency.new('', @config[:project][:fulmar_version]).match?('', Fulmar::VERSION) - fail "Project requires a newer version of fulmar: #{@config[:project][:fulmar_version]}" + fail "Project requires another version of fulmar: #{@config[:project][:fulmar_version]}" end end end end end