fluent_command_builder 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,3 +57,5 @@ require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/comma
57
57
  require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/xcodebuild_43.rb')
58
58
  require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/xcodebuild_44.rb')
59
59
  Dir[File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/version_detectors/*.rb')].each { |f| require f }
60
+ Dir[File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_executors/*.rb')].each { |f| require f }
61
+ Dir[File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_formatters/*.rb')].each { |f| require f }
@@ -46,4 +46,13 @@ module FluentCommandBuilder
46
46
  @execution_context = value
47
47
  end
48
48
 
49
+ def self.change_execution_context
50
+ current = @execution_context.clone
51
+ begin
52
+ return yield @execution_context
53
+ ensure
54
+ @execution_context = current
55
+ end
56
+ end
57
+
49
58
  end
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.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-08-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70350655361380 !ruby/object:Gem::Requirement
16
+ requirement: &70230878399620 !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: *70350655361380
24
+ version_requirements: *70230878399620
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: term-ansicolor
27
- requirement: &70350655360940 !ruby/object:Gem::Requirement
27
+ requirement: &70230878399180 !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: *70350655360940
35
+ version_requirements: *70230878399180
36
36
  description: Fluent Command Builder makes building command lines easy and clean.
37
37
  email: matthew-github@matthewriley.name
38
38
  executables: []