fluent_command_builder 0.5.6 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. data/lib/command_version_detector.rb +1 -0
  2. data/lib/fluent_command_builder/command_base.rb +20 -11
  3. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +17 -0
  4. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +1059 -1059
  5. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +1055 -1055
  6. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +17 -0
  7. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +46 -46
  8. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +46 -46
  9. data/lib/fluent_command_builder/command_builders/bundle.rb +17 -0
  10. data/lib/fluent_command_builder/command_builders/bundle_11.rb +140 -140
  11. data/lib/fluent_command_builder/command_builders/cucumber.rb +17 -0
  12. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +76 -76
  13. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +78 -78
  14. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +17 -0
  15. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +91 -86
  16. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +91 -86
  17. data/lib/fluent_command_builder/command_builders/dotcover.rb +17 -0
  18. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +33 -33
  19. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +133 -133
  20. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +133 -133
  21. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +137 -137
  22. data/lib/fluent_command_builder/command_builders/installutil.rb +17 -0
  23. data/lib/fluent_command_builder/command_builders/installutil_11.rb +31 -31
  24. data/lib/fluent_command_builder/command_builders/installutil_20.rb +33 -33
  25. data/lib/fluent_command_builder/command_builders/installutil_35.rb +33 -33
  26. data/lib/fluent_command_builder/command_builders/installutil_40.rb +36 -36
  27. data/lib/fluent_command_builder/command_builders/msbuild.rb +17 -0
  28. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +43 -43
  29. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +43 -43
  30. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +59 -59
  31. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +62 -62
  32. data/lib/fluent_command_builder/command_builders/msdeploy.rb +17 -0
  33. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +177 -0
  34. data/lib/fluent_command_builder/command_builders/mstest.rb +17 -0
  35. data/lib/fluent_command_builder/command_builders/mstest_100.rb +127 -0
  36. data/lib/fluent_command_builder/command_builders/mstest_80.rb +107 -0
  37. data/lib/fluent_command_builder/command_builders/mstest_90.rb +112 -0
  38. data/lib/fluent_command_builder/command_builders/netsh.rb +17 -0
  39. data/lib/fluent_command_builder/command_builders/netsh_61.rb +408 -0
  40. data/lib/fluent_command_builder/command_builders/nunit.rb +17 -0
  41. data/lib/fluent_command_builder/command_builders/nunit_25.rb +69 -64
  42. data/lib/fluent_command_builder/command_builders/nunit_26.rb +85 -80
  43. data/lib/fluent_command_builder/command_builders/rake.rb +17 -0
  44. data/lib/fluent_command_builder/command_builders/rake_09.rb +64 -64
  45. data/lib/fluent_command_builder/command_builders/security_osx.rb +17 -0
  46. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +82 -82
  47. data/lib/fluent_command_builder/command_builders/sevenzip.rb +17 -0
  48. data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +243 -243
  49. data/lib/fluent_command_builder/command_builders/simian.rb +17 -0
  50. data/lib/fluent_command_builder/command_builders/simian_23.rb +63 -63
  51. data/lib/fluent_command_builder/command_builders/team_foundation.rb +17 -0
  52. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +2155 -0
  53. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +17 -0
  54. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +1978 -0
  55. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +17 -0
  56. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +112 -112
  57. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +132 -132
  58. data/lib/fluent_command_builder/{command_builder.rb → underlying_builder.rb} +2 -2
  59. data/lib/fluent_command_builder/util.rb +18 -0
  60. data/lib/fluent_command_builder/version_detectors/appcfg_python.rb +9 -0
  61. data/lib/fluent_command_builder/version_detectors/aspnet_compiler.rb +9 -0
  62. data/lib/fluent_command_builder/version_detectors/bundle.rb +9 -0
  63. data/lib/fluent_command_builder/version_detectors/cucumber.rb +9 -0
  64. data/lib/fluent_command_builder/version_detectors/dev_appserver_python.rb +9 -0
  65. data/lib/fluent_command_builder/version_detectors/dotcover.rb +9 -0
  66. data/lib/fluent_command_builder/version_detectors/installutil.rb +9 -0
  67. data/lib/fluent_command_builder/version_detectors/lib/appengine_python_version_detector.rb +16 -0
  68. data/lib/fluent_command_builder/version_detectors/lib/path_finder.rb +43 -0
  69. data/lib/fluent_command_builder/version_detectors/lib/standard_version_detector.rb +14 -0
  70. data/lib/fluent_command_builder/version_detectors/msbuild.rb +9 -0
  71. data/lib/fluent_command_builder/version_detectors/msdeploy.rb +9 -0
  72. data/lib/fluent_command_builder/version_detectors/mstest.rb +9 -0
  73. data/lib/fluent_command_builder/version_detectors/nuget.rb +9 -0
  74. data/lib/fluent_command_builder/version_detectors/nunit.rb +9 -0
  75. data/lib/fluent_command_builder/version_detectors/rake.rb +9 -0
  76. data/lib/fluent_command_builder/version_detectors/security_osx.rb +9 -0
  77. data/lib/fluent_command_builder/version_detectors/sevenzip.rb +9 -0
  78. data/lib/fluent_command_builder/version_detectors/team_foundation.rb +9 -0
  79. data/lib/fluent_command_builder/version_detectors/xcodebuild.rb +9 -0
  80. data/lib/fluent_command_builder.rb +26 -7
  81. metadata +53 -12
  82. data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +0 -177
  83. data/lib/fluent_command_builder/command_builders/mstest_2005.rb +0 -107
  84. data/lib/fluent_command_builder/command_builders/mstest_2008.rb +0 -112
  85. data/lib/fluent_command_builder/command_builders/mstest_2010.rb +0 -127
  86. data/lib/fluent_command_builder/command_builders/netsh_2008.rb +0 -408
  87. data/lib/fluent_command_builder/command_builders/tf_2010.rb +0 -2155
  88. data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +0 -1978
@@ -1,183 +1,188 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
- require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
3
3
 
4
4
  module FluentCommandBuilder
5
+ def nunit_26(input_files=nil)
6
+ FluentCommandBuilder::NUnit::V26.create(input_files) { |b| yield b if block_given? }
7
+ end
5
8
  module NUnit
6
9
  module V26
7
- COMMAND_NAME = 'nunit-console'
10
+ def self.create(input_files=nil)
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::NUnit::COMMAND_NAME
12
+ c = NUnit.new(b, input_files)
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ def nunit(input_files=nil)
17
+ FluentCommandBuilder::NUnit::V26.create(input_files) { |b| yield b if block_given? }
18
+ end
8
19
  class NUnit < CommandBase
9
- def initialize(builder, input_files)
10
- super builder
11
- @builder.append " #{@builder.format input_files}"
20
+ def initialize(underlying_builder, input_files=nil)
21
+ super underlying_builder
22
+ b.append " #{b.format input_files}" unless input_files.nil?
23
+ end
24
+ def input_files(input_files)
25
+ b.append " #{b.format input_files}"
26
+ yield b if block_given?
27
+ self
12
28
  end
13
29
  def fixture(fixture)
14
- @builder.append " /fixture:#{@builder.format fixture}"
15
- yield @builder if block_given?
30
+ b.append " /fixture:#{b.format fixture}"
31
+ yield b if block_given?
16
32
  self
17
33
  end
18
34
  def load(fixture)
19
- @builder.append " /load:#{@builder.format fixture}"
20
- yield @builder if block_given?
35
+ b.append " /load:#{b.format fixture}"
36
+ yield b if block_given?
21
37
  self
22
38
  end
23
39
  def run(test)
24
- @builder.append " /run:#{@builder.format test}"
25
- yield @builder if block_given?
40
+ b.append " /run:#{b.format test}"
41
+ yield b if block_given?
26
42
  self
27
43
  end
28
44
  def run_list(file)
29
- @builder.append " /runList:#{@builder.format file}"
30
- yield @builder if block_given?
45
+ b.append " /runList:#{b.format file}"
46
+ yield b if block_given?
31
47
  self
32
48
  end
33
49
  def config(config)
34
- @builder.append " /config:#{@builder.format config}"
35
- yield @builder if block_given?
50
+ b.append " /config:#{b.format config}"
51
+ yield b if block_given?
36
52
  self
37
53
  end
38
54
  def result(file)
39
- @builder.append " /result:#{@builder.format file}"
40
- yield @builder if block_given?
55
+ b.append " /result:#{b.format file}"
56
+ yield b if block_given?
41
57
  self
42
58
  end
43
59
  def xml(file)
44
- @builder.append " /xml:#{@builder.format file}"
45
- yield @builder if block_given?
60
+ b.append " /xml:#{b.format file}"
61
+ yield b if block_given?
46
62
  self
47
63
  end
48
64
  def xml_console
49
- @builder.append ' /xmlConsole'
50
- yield @builder if block_given?
65
+ b.append ' /xmlConsole'
66
+ yield b if block_given?
51
67
  self
52
68
  end
53
69
  def no_result
54
- @builder.append ' /noResult'
55
- yield @builder if block_given?
70
+ b.append ' /noResult'
71
+ yield b if block_given?
56
72
  self
57
73
  end
58
74
  def no_xml
59
- @builder.append ' /noXml'
60
- yield @builder if block_given?
75
+ b.append ' /noXml'
76
+ yield b if block_given?
61
77
  self
62
78
  end
63
79
  def output(file)
64
- @builder.append " /output:#{@builder.format file}"
65
- yield @builder if block_given?
80
+ b.append " /output:#{b.format file}"
81
+ yield b if block_given?
66
82
  self
67
83
  end
68
84
  def out(file)
69
- @builder.append " /out:#{@builder.format file}"
70
- yield @builder if block_given?
85
+ b.append " /out:#{b.format file}"
86
+ yield b if block_given?
71
87
  self
72
88
  end
73
89
  def err(file)
74
- @builder.append " /err:#{@builder.format file}"
75
- yield @builder if block_given?
90
+ b.append " /err:#{b.format file}"
91
+ yield b if block_given?
76
92
  self
77
93
  end
78
94
  def work(directory)
79
- @builder.append " /work:#{@builder.format directory}"
80
- yield @builder if block_given?
95
+ b.append " /work:#{b.format directory}"
96
+ yield b if block_given?
81
97
  self
82
98
  end
83
99
  def labels
84
- @builder.append ' /labels'
85
- yield @builder if block_given?
100
+ b.append ' /labels'
101
+ yield b if block_given?
86
102
  self
87
103
  end
88
104
  def trace(level)
89
- @builder.append " /trace:#{@builder.format level}"
90
- yield @builder if block_given?
105
+ b.append " /trace:#{b.format level}"
106
+ yield b if block_given?
91
107
  self
92
108
  end
93
109
  def include(category)
94
- @builder.append " /include:#{@builder.format category}"
95
- yield @builder if block_given?
110
+ b.append " /include:#{b.format category}"
111
+ yield b if block_given?
96
112
  self
97
113
  end
98
114
  def exclude(category)
99
- @builder.append " /exclude:#{@builder.format category}"
100
- yield @builder if block_given?
115
+ b.append " /exclude:#{b.format category}"
116
+ yield b if block_given?
101
117
  self
102
118
  end
103
119
  def framework(framework)
104
- @builder.append " /framework:#{@builder.format framework}"
105
- yield @builder if block_given?
120
+ b.append " /framework:#{b.format framework}"
121
+ yield b if block_given?
106
122
  self
107
123
  end
108
124
  def process(process)
109
- @builder.append " /process:#{@builder.format process}"
110
- yield @builder if block_given?
125
+ b.append " /process:#{b.format process}"
126
+ yield b if block_given?
111
127
  self
112
128
  end
113
129
  def domain(domain)
114
- @builder.append " /domain:#{@builder.format domain}"
115
- yield @builder if block_given?
130
+ b.append " /domain:#{b.format domain}"
131
+ yield b if block_given?
116
132
  self
117
133
  end
118
134
  def apartment(apartment)
119
- @builder.append " /apartment:#{@builder.format apartment}"
120
- yield @builder if block_given?
135
+ b.append " /apartment:#{b.format apartment}"
136
+ yield b if block_given?
121
137
  self
122
138
  end
123
139
  def no_shadow
124
- @builder.append ' /noShadow'
125
- yield @builder if block_given?
140
+ b.append ' /noShadow'
141
+ yield b if block_given?
126
142
  self
127
143
  end
128
144
  def no_thread
129
- @builder.append ' /noThread'
130
- yield @builder if block_given?
145
+ b.append ' /noThread'
146
+ yield b if block_given?
131
147
  self
132
148
  end
133
149
  def timeout(timeout)
134
- @builder.append " /timeout:#{@builder.format timeout}"
135
- yield @builder if block_given?
150
+ b.append " /timeout:#{b.format timeout}"
151
+ yield b if block_given?
136
152
  self
137
153
  end
138
154
  def wait
139
- @builder.append ' /wait'
140
- yield @builder if block_given?
155
+ b.append ' /wait'
156
+ yield b if block_given?
141
157
  self
142
158
  end
143
159
  def no_logo
144
- @builder.append ' /noLogo'
145
- yield @builder if block_given?
160
+ b.append ' /noLogo'
161
+ yield b if block_given?
146
162
  self
147
163
  end
148
164
  def no_dots
149
- @builder.append ' /noDots'
150
- yield @builder if block_given?
165
+ b.append ' /noDots'
166
+ yield b if block_given?
151
167
  self
152
168
  end
153
169
  def stop_on_error
154
- @builder.append ' /stopOnError'
155
- yield @builder if block_given?
170
+ b.append ' /stopOnError'
171
+ yield b if block_given?
156
172
  self
157
173
  end
158
174
  def cleanup
159
- @builder.append ' /cleanup'
160
- yield @builder if block_given?
175
+ b.append ' /cleanup'
176
+ yield b if block_given?
161
177
  self
162
178
  end
163
179
  def help
164
- @builder.append ' /help'
165
- yield @builder if block_given?
180
+ b.append ' /help'
181
+ yield b if block_given?
166
182
  self
167
183
  end
168
184
  end
169
- def nunit(input_files)
170
- builder = CommandBuilder.new COMMAND_NAME
171
- command = NUnit.new builder, input_files
172
- yield builder if block_given?
173
- command
174
- end
185
+
175
186
  end
176
187
  end
177
- def nunit_26(input_files)
178
- builder = CommandBuilder.new NUnit::V26::COMMAND_NAME
179
- command = NUnit::V26::NUnit.new builder, input_files
180
- yield builder if block_given?
181
- command
182
- end
183
- end
188
+ end
@@ -0,0 +1,17 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../util')
3
+
4
+ module FluentCommandBuilder
5
+ def rake(&block)
6
+ Rake.create &block
7
+ end
8
+ module Rake
9
+ COMMAND_NAME = 'rake'
10
+ def self.create
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::Rake::COMMAND_NAME
12
+ c = version_module(Rake).create b
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ end
17
+ end
@@ -1,143 +1,143 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
- require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
3
3
 
4
4
  module FluentCommandBuilder
5
+ def rake_09(task=nil)
6
+ FluentCommandBuilder::Rake::V09.create(task) { |b| yield b if block_given? }
7
+ end
5
8
  module Rake
6
9
  module V09
7
- COMMAND_NAME = 'rake'
10
+ def self.create(task=nil)
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::Rake::COMMAND_NAME
12
+ c = Rake.new(b, task)
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ def rake(task=nil)
17
+ FluentCommandBuilder::Rake::V09.create(task) { |b| yield b if block_given? }
18
+ end
8
19
  class Rake < CommandBase
9
- def initialize(builder, task=nil)
10
- super builder
11
- @builder.append " #{@builder.format task, ' '}" unless task.nil?
20
+ def initialize(underlying_builder, task=nil)
21
+ super underlying_builder
22
+ b.append " #{b.format task, ' '}" unless task.nil?
12
23
  end
13
24
  def classic_namespace
14
- @builder.append ' --classic-namespace'
15
- yield @builder if block_given?
25
+ b.append ' --classic-namespace'
26
+ yield b if block_given?
16
27
  self
17
28
  end
18
29
  def describe(pattern)
19
- @builder.append " --describe #{@builder.format pattern}"
20
- yield @builder if block_given?
30
+ b.append " --describe #{b.format pattern}"
31
+ yield b if block_given?
21
32
  self
22
33
  end
23
34
  def dry_run
24
- @builder.append ' --dry-run'
25
- yield @builder if block_given?
35
+ b.append ' --dry-run'
36
+ yield b if block_given?
26
37
  self
27
38
  end
28
39
  def execute(code)
29
- @builder.append " --execute #{@builder.format code}"
30
- yield @builder if block_given?
40
+ b.append " --execute #{b.format code}"
41
+ yield b if block_given?
31
42
  self
32
43
  end
33
44
  def execute_print(code)
34
- @builder.append " --execute-print #{@builder.format code}"
35
- yield @builder if block_given?
45
+ b.append " --execute-print #{b.format code}"
46
+ yield b if block_given?
36
47
  self
37
48
  end
38
49
  def execute_continue(code)
39
- @builder.append " --execute-continue #{@builder.format code}"
40
- yield @builder if block_given?
50
+ b.append " --execute-continue #{b.format code}"
51
+ yield b if block_given?
41
52
  self
42
53
  end
43
54
  def libdir(lib_dir)
44
- @builder.append " --libdir #{@builder.format lib_dir}"
45
- yield @builder if block_given?
55
+ b.append " --libdir #{b.format lib_dir}"
56
+ yield b if block_given?
46
57
  self
47
58
  end
48
59
  def no_search
49
- @builder.append ' --no-search'
50
- yield @builder if block_given?
60
+ b.append ' --no-search'
61
+ yield b if block_given?
51
62
  self
52
63
  end
53
64
  def prereqs
54
- @builder.append ' --prereqs'
55
- yield @builder if block_given?
65
+ b.append ' --prereqs'
66
+ yield b if block_given?
56
67
  self
57
68
  end
58
69
  def quiet
59
- @builder.append ' --quiet'
60
- yield @builder if block_given?
70
+ b.append ' --quiet'
71
+ yield b if block_given?
61
72
  self
62
73
  end
63
74
  def rakefile(file)
64
- @builder.append " --rakefile #{@builder.format file}"
65
- yield @builder if block_given?
75
+ b.append " --rakefile #{b.format file}"
76
+ yield b if block_given?
66
77
  self
67
78
  end
68
79
  def rakelibdir(rake_lib_dir)
69
- @builder.append " --rakelibdir #{@builder.format rake_lib_dir}"
70
- yield @builder if block_given?
80
+ b.append " --rakelibdir #{b.format rake_lib_dir}"
81
+ yield b if block_given?
71
82
  self
72
83
  end
73
84
  def require(file)
74
- @builder.append " --require #{@builder.format file}"
75
- yield @builder if block_given?
85
+ b.append " --require #{b.format file}"
86
+ yield b if block_given?
76
87
  self
77
88
  end
78
89
  def rules
79
- @builder.append ' --rules'
80
- yield @builder if block_given?
90
+ b.append ' --rules'
91
+ yield b if block_given?
81
92
  self
82
93
  end
83
94
  def silent
84
- @builder.append ' --silent'
85
- yield @builder if block_given?
95
+ b.append ' --silent'
96
+ yield b if block_given?
86
97
  self
87
98
  end
88
99
  def no_system
89
- @builder.append ' --no-system'
90
- yield @builder if block_given?
100
+ b.append ' --no-system'
101
+ yield b if block_given?
91
102
  self
92
103
  end
93
104
  def tasks(pattern)
94
- @builder.append " --tasks #{@builder.format pattern}"
95
- yield @builder if block_given?
105
+ b.append " --tasks #{b.format pattern}"
106
+ yield b if block_given?
96
107
  self
97
108
  end
98
109
  def trace
99
- @builder.append ' --trace'
100
- yield @builder if block_given?
110
+ b.append ' --trace'
111
+ yield b if block_given?
101
112
  self
102
113
  end
103
114
  def verbose
104
- @builder.append ' --verbose'
105
- yield @builder if block_given?
115
+ b.append ' --verbose'
116
+ yield b if block_given?
106
117
  self
107
118
  end
108
119
  def version
109
- @builder.append ' --version'
110
- yield @builder if block_given?
120
+ b.append ' --version'
121
+ yield b if block_given?
111
122
  self
112
123
  end
113
124
  def where(pattern)
114
- @builder.append " --where #{@builder.format pattern}"
115
- yield @builder if block_given?
125
+ b.append " --where #{b.format pattern}"
126
+ yield b if block_given?
116
127
  self
117
128
  end
118
129
  def no_deprecation_warnings
119
- @builder.append ' --no-deprecation-warnings'
120
- yield @builder if block_given?
130
+ b.append ' --no-deprecation-warnings'
131
+ yield b if block_given?
121
132
  self
122
133
  end
123
134
  def help
124
- @builder.append ' --help'
125
- yield @builder if block_given?
135
+ b.append ' --help'
136
+ yield b if block_given?
126
137
  self
127
138
  end
128
139
  end
129
- def rake(task=nil)
130
- builder = CommandBuilder.new COMMAND_NAME
131
- command = Rake.new builder, task
132
- yield builder if block_given?
133
- command
134
- end
140
+
135
141
  end
136
142
  end
137
- def rake_09(task=nil)
138
- builder = CommandBuilder.new Rake::V09::COMMAND_NAME
139
- command = Rake::V09::Rake.new builder, task
140
- yield builder if block_given?
141
- command
142
- end
143
- end
143
+ end
@@ -0,0 +1,17 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../util')
3
+
4
+ module FluentCommandBuilder
5
+ def security_osx(&block)
6
+ SecurityOSX.create &block
7
+ end
8
+ module SecurityOSX
9
+ COMMAND_NAME = 'security'
10
+ def self.create
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::SecurityOSX::COMMAND_NAME
12
+ c = version_module(SecurityOSX).create b
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ end
17
+ end