lib/rake/funnel/integration/teamcity/teamcity.rb in rake-funnel-0.3.2.pre vs lib/rake/funnel/integration/teamcity/teamcity.rb in rake-funnel-0.4.0.pre

- old
+ new

@@ -1,15 +1,19 @@ -module Rake::Funnel::Integration - module TeamCity - ENV_VAR = 'TEAMCITY_PROJECT_NAME' - - class << self - def running? - ENV.include?(ENV_VAR) - end - - def rake_runner? - running? && Object.const_defined?('Rake') && Rake.const_defined?('TeamCityApplication') - end - end - end -end +module Rake + module Funnel + module Integration + module TeamCity + ENV_VAR = 'TEAMCITY_PROJECT_NAME' + + class << self + def running? + ENV.include?(ENV_VAR) + end + + def rake_runner? + running? && Object.const_defined?('Rake') && Rake.const_defined?('TeamCityApplication') + end + end + end + end + end +end