fluent_command_builder 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/lib/fluent_command_builder/command_base.rb +2 -2
  2. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +7 -0
  3. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +7 -0
  4. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +7 -0
  5. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +7 -0
  6. data/lib/fluent_command_builder/command_builders/bundle_11.rb +7 -0
  7. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +7 -0
  8. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +7 -0
  9. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +7 -0
  10. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +7 -0
  11. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +7 -0
  12. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +7 -0
  13. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +7 -0
  14. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +7 -0
  15. data/lib/fluent_command_builder/command_builders/installutil_11.rb +7 -0
  16. data/lib/fluent_command_builder/command_builders/installutil_20.rb +7 -0
  17. data/lib/fluent_command_builder/command_builders/installutil_35.rb +7 -0
  18. data/lib/fluent_command_builder/command_builders/installutil_40.rb +7 -0
  19. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +7 -0
  20. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +7 -0
  21. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +7 -0
  22. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +7 -0
  23. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +7 -0
  24. data/lib/fluent_command_builder/command_builders/mstest_100.rb +7 -0
  25. data/lib/fluent_command_builder/command_builders/mstest_80.rb +7 -0
  26. data/lib/fluent_command_builder/command_builders/mstest_90.rb +7 -0
  27. data/lib/fluent_command_builder/command_builders/netsh_61.rb +7 -0
  28. data/lib/fluent_command_builder/command_builders/nuget_20.rb +7 -0
  29. data/lib/fluent_command_builder/command_builders/nunit_25.rb +7 -0
  30. data/lib/fluent_command_builder/command_builders/nunit_26.rb +7 -0
  31. data/lib/fluent_command_builder/command_builders/rake_09.rb +7 -0
  32. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +7 -0
  33. data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +7 -0
  34. data/lib/fluent_command_builder/command_builders/simian_23.rb +7 -0
  35. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +7 -0
  36. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +7 -0
  37. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +7 -0
  38. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +7 -0
  39. metadata +5 -5
@@ -34,12 +34,12 @@ module FluentCommandBuilder
34
34
  def validate_version
35
35
  validator = VersionValidator.new self.class, @b.path
36
36
 
37
- if !validator.can_validate?
37
+ unless validator.can_validate?
38
38
  print yellow, %Q[WARNING: Version validation for command "#{@b.command_name}" aborted. An internal error occurred.], reset, "\n"
39
39
  return
40
40
  end
41
41
 
42
- if !validator.is_valid?
42
+ unless validator.is_valid?
43
43
  print yellow, %Q[WARNING: Version validation for command "#{@b.command_name}" failed. Expected version #{validator.version_in_use.to_s(2)} but was #{validator.version_on_path.to_s(2)}.], reset, "\n"
44
44
  end
45
45
  end
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module AppCfgPython
9
9
  module V16
10
10
  VERSION = '1.6'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::AppCfgPython::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = AppCfgPython.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module AppCfgPython
9
9
  module V17
10
10
  VERSION = '1.7'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::AppCfgPython::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = AppCfgPython.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module AspnetCompiler
9
9
  module V20
10
10
  VERSION = '2.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(target_dir=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = AspnetCompiler.new(b, target_dir)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module AspnetCompiler
9
9
  module V40
10
10
  VERSION = '4.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(target_dir=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = AspnetCompiler.new(b, target_dir)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module Bundle
9
9
  module V11
10
10
  VERSION = '1.1'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::Bundle::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = Bundle.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module Cucumber
9
9
  module V11
10
10
  VERSION = '1.1'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(feature=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::Cucumber::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = Cucumber.new(b, feature)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module Cucumber
9
9
  module V12
10
10
  VERSION = '1.2'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(feature=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::Cucumber::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = Cucumber.new(b, feature)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module DevAppserverPython
9
9
  module V16
10
10
  VERSION = '1.6'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(application_root=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::DevAppserverPython::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = DevAppserverPython.new(b, application_root)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module DevAppserverPython
9
9
  module V17
10
10
  VERSION = '1.7'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(application_root=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::DevAppserverPython::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = DevAppserverPython.new(b, application_root)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module DotCover
9
9
  module V10
10
10
  VERSION = '1.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::DotCover::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = DotCover.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module DotCover
9
9
  module V11
10
10
  VERSION = '1.1'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::DotCover::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = DotCover.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module DotCover
9
9
  module V12
10
10
  VERSION = '1.2'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::DotCover::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = DotCover.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module DotCover
9
9
  module V20
10
10
  VERSION = '2.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::DotCover::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = DotCover.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module InstallUtil
9
9
  module V11
10
10
  VERSION = '1.1'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::InstallUtil::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = InstallUtil.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module InstallUtil
9
9
  module V20
10
10
  VERSION = '2.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::InstallUtil::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = InstallUtil.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module InstallUtil
9
9
  module V35
10
10
  VERSION = '3.5'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::InstallUtil::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = InstallUtil.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module InstallUtil
9
9
  module V40
10
10
  VERSION = '4.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::InstallUtil::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = InstallUtil.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module MSBuild
9
9
  module V20
10
10
  VERSION = '2.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(project_file=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = MSBuild.new(b, project_file)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module MSBuild
9
9
  module V30
10
10
  VERSION = '3.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(project_file=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = MSBuild.new(b, project_file)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module MSBuild
9
9
  module V35
10
10
  VERSION = '3.5'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(project_file=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = MSBuild.new(b, project_file)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module MSBuild
9
9
  module V40
10
10
  VERSION = '4.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(project_file=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = MSBuild.new(b, project_file)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module MSDeploy
9
9
  module V71
10
10
  VERSION = '7.1'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::MSDeploy::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = MSDeploy.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module MSTest
9
9
  module V100
10
10
  VERSION = '10.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::MSTest::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = MSTest.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module MSTest
9
9
  module V80
10
10
  VERSION = '8.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::MSTest::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = MSTest.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module MSTest
9
9
  module V90
10
10
  VERSION = '9.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::MSTest::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = MSTest.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module Netsh
9
9
  module V61
10
10
  VERSION = '6.1'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::Netsh::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = Netsh.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module NuGet
9
9
  module V20
10
10
  VERSION = '2.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::NuGet::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = NuGet.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module NUnit
9
9
  module V25
10
10
  VERSION = '2.5'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(input_files=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::NUnit::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = NUnit.new(b, input_files)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module NUnit
9
9
  module V26
10
10
  VERSION = '2.6'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(input_files=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::NUnit::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = NUnit.new(b, input_files)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module Rake
9
9
  module V09
10
10
  VERSION = '0.9'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create(task=nil)
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::Rake::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = Rake.new(b, task)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module SecurityOSX
9
9
  module V107
10
10
  VERSION = '10.7'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::SecurityOSX::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = SecurityOSX.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module SevenZip
9
9
  module V92
10
10
  VERSION = '9.2'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::SevenZip::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = SevenZip.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module Simian
9
9
  module V23
10
10
  VERSION = '2.3'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::Simian::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = Simian.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module TeamFoundation
9
9
  module V100
10
10
  VERSION = '10.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::TeamFoundation::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = TeamFoundation.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module TeamFoundationTEE
9
9
  module V100
10
10
  VERSION = '10.0'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::TeamFoundationTEE::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = TeamFoundationTEE.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module XCodeBuild
9
9
  module V43
10
10
  VERSION = '4.3'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::XCodeBuild::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = XCodeBuild.new(b)
14
21
  yield b if block_given?
15
22
  c
@@ -8,8 +8,15 @@ module FluentCommandBuilder
8
8
  module XCodeBuild
9
9
  module V44
10
10
  VERSION = '4.4'
11
+ def self.default_path
12
+ @default_path ||= nil
13
+ end
14
+ def self.default_path=(value)
15
+ @default_path = value
16
+ end
11
17
  def self.create
12
18
  b = UnderlyingBuilder.new FluentCommandBuilder::XCodeBuild::COMMAND_NAME
19
+ b.path = self.default_path
13
20
  c = XCodeBuild.new(b)
14
21
  yield b if block_given?
15
22
  c
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent_command_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70124100388640 !ruby/object:Gem::Requirement
16
+ requirement: &70303473806480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70124100388640
24
+ version_requirements: *70303473806480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: term-ansicolor
27
- requirement: &70124100388200 !ruby/object:Gem::Requirement
27
+ requirement: &70303473806040 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70124100388200
35
+ version_requirements: *70303473806040
36
36
  description: Fluent Command Builder makes building command lines easy and intuitive.
37
37
  email: matthew-github@matthewriley.name
38
38
  executables: []