Skip to content

Commit

Permalink
style: whitespace and text spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
miketheman committed Dec 15, 2012
1 parent f4790c4 commit 7df1307
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion lib/vagrant_init.rb
Expand Up @@ -5,5 +5,4 @@
require 'rubygems'
require 'veewee/command/vagrant'
require 'veewee/command/kvm'

end
2 changes: 0 additions & 2 deletions lib/veewee/config.rb
Expand Up @@ -57,7 +57,5 @@ def load_veewee_config()
return self
end



end #End Class
end #End Module
3 changes: 2 additions & 1 deletion lib/veewee/definition.rb
Expand Up @@ -138,7 +138,7 @@ def self.load(name, env)
env.logger.info("Entering path #{definition.path}")
FileUtils.cd(definition.path)
self.instance_eval(content)
env.logger.info("Returning to path #{cwd}")
env.logger.info("Returning to path #{cwd}")
FileUtils.cd(cwd)
rescue NameError => ex
raise Veewee::DefinitionError, "NameError reading definition from file #{definition_file} #{ex}"
Expand Down Expand Up @@ -189,6 +189,7 @@ def valid?
end

private

def ostype_valid?
unless env.ostypes.has_key?(@os_type_id)
env.ui.info("The ostype: #{@os_type_id} is not available")
Expand Down
1 change: 0 additions & 1 deletion lib/veewee/definitions.rb
Expand Up @@ -168,6 +168,5 @@ def create_definition_dir_if_needed
end
end


end
end
2 changes: 1 addition & 1 deletion lib/veewee/environment.rb
Expand Up @@ -125,7 +125,7 @@ def config
#
# @return [UI]
def ui
@ui ||= UI.new(self)
@ui ||= UI.new(self)
end

#---------------------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions lib/veewee/templates.rb
Expand Up @@ -49,6 +49,7 @@ def each(&block)
end

private

# Traverses path to see which exist or not
# and checks if available
def valid_paths(paths)
Expand All @@ -64,7 +65,5 @@ def valid_paths(paths)
return valid_paths.compact
end



end
end

0 comments on commit 7df1307

Please sign in to comment.