fluent_command_builder 0.7.9 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +2 -0
  2. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +2 -0
  3. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +2 -0
  4. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +2 -0
  5. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +2 -0
  6. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +2 -0
  7. data/lib/fluent_command_builder/command_builders/bundle.rb +2 -0
  8. data/lib/fluent_command_builder/command_builders/bundle_11.rb +2 -0
  9. data/lib/fluent_command_builder/command_builders/cucumber.rb +2 -0
  10. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +2 -0
  11. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +2 -0
  12. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +2 -0
  13. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +4 -2
  14. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +4 -2
  15. data/lib/fluent_command_builder/command_builders/dotcover.rb +2 -0
  16. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +2 -0
  17. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +2 -0
  18. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +2 -0
  19. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +2 -0
  20. data/lib/fluent_command_builder/command_builders/installutil.rb +2 -0
  21. data/lib/fluent_command_builder/command_builders/installutil_11.rb +2 -0
  22. data/lib/fluent_command_builder/command_builders/installutil_20.rb +2 -0
  23. data/lib/fluent_command_builder/command_builders/installutil_35.rb +2 -0
  24. data/lib/fluent_command_builder/command_builders/installutil_40.rb +2 -0
  25. data/lib/fluent_command_builder/command_builders/msbuild.rb +2 -0
  26. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +2 -0
  27. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +2 -0
  28. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +2 -0
  29. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +2 -0
  30. data/lib/fluent_command_builder/command_builders/msdeploy.rb +2 -0
  31. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +2 -0
  32. data/lib/fluent_command_builder/command_builders/mstest.rb +2 -0
  33. data/lib/fluent_command_builder/command_builders/mstest_100.rb +2 -0
  34. data/lib/fluent_command_builder/command_builders/mstest_80.rb +2 -0
  35. data/lib/fluent_command_builder/command_builders/mstest_90.rb +2 -0
  36. data/lib/fluent_command_builder/command_builders/netsh.rb +2 -0
  37. data/lib/fluent_command_builder/command_builders/netsh_61.rb +2 -0
  38. data/lib/fluent_command_builder/command_builders/nuget.rb +2 -0
  39. data/lib/fluent_command_builder/command_builders/nuget_20.rb +3 -1
  40. data/lib/fluent_command_builder/command_builders/nunit.rb +2 -0
  41. data/lib/fluent_command_builder/command_builders/nunit_25.rb +2 -0
  42. data/lib/fluent_command_builder/command_builders/nunit_26.rb +2 -0
  43. data/lib/fluent_command_builder/command_builders/rake.rb +2 -0
  44. data/lib/fluent_command_builder/command_builders/rake_09.rb +2 -0
  45. data/lib/fluent_command_builder/command_builders/security_osx.rb +2 -0
  46. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +3 -1
  47. data/lib/fluent_command_builder/command_builders/sevenzip.rb +2 -0
  48. data/lib/fluent_command_builder/command_builders/sevenzip_920.rb +9 -7
  49. data/lib/fluent_command_builder/command_builders/simian.rb +2 -0
  50. data/lib/fluent_command_builder/command_builders/simian_23.rb +2 -0
  51. data/lib/fluent_command_builder/command_builders/team_foundation.rb +2 -0
  52. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +56 -54
  53. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +2 -0
  54. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +46 -44
  55. data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +46 -44
  56. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +2 -0
  57. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +2 -0
  58. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +2 -0
  59. data/lib/fluent_command_builder/command_executors/backticks_executor.rb +11 -0
  60. data/lib/fluent_command_builder/command_executors/dry_run_executor.rb +6 -0
  61. data/lib/fluent_command_builder/command_executors/executor_base.rb +25 -0
  62. data/lib/fluent_command_builder/command_executors/rake_sh_executor.rb +21 -0
  63. data/lib/fluent_command_builder/command_executors/system_executor.rb +11 -0
  64. data/lib/fluent_command_builder/command_formatters/hidden_password_formatter.rb +17 -0
  65. data/lib/fluent_command_builder/command_formatters/null_formatter.rb +9 -0
  66. data/lib/fluent_command_builder/execution_context.rb +49 -0
  67. data/lib/fluent_command_builder/underlying_builder.rb +73 -75
  68. data/lib/fluent_command_builder/version_detectors/osx_version_detector.rb +3 -0
  69. data/lib/fluent_command_builder/version_detectors/standard_version_detector.rb +5 -1
  70. metadata +14 -12
  71. data/lib/fluent_command_builder/executor.rb +0 -44
  72. data/lib/fluent_command_builder/executors/backticks_executor.rb +0 -7
  73. data/lib/fluent_command_builder/executors/dry_run_executor.rb +0 -7
  74. data/lib/fluent_command_builder/executors/rake_sh_executor.rb +0 -10
  75. data/lib/fluent_command_builder/executors/system_executor.rb +0 -7
  76. data/lib/fluent_command_builder/version_detectors/version_detector_init.rb +0 -24
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -152,7 +154,7 @@ module FluentCommandBuilder
152
154
  self
153
155
  end
154
156
  def mysql_password(password)
155
- @b.append " --mysql_password=#{@b.format password}"
157
+ @b.append " --mysql_password=#{@b.format_password password}"
156
158
  yield @b if block_given?
157
159
  self
158
160
  end
@@ -197,7 +199,7 @@ module FluentCommandBuilder
197
199
  self
198
200
  end
199
201
  def smtp_password(password)
200
- @b.append " --smtp_password=#{@b.format password}"
202
+ @b.append " --smtp_password=#{@b.format_password password}"
201
203
  yield @b if block_given?
202
204
  self
203
205
  end
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -152,7 +154,7 @@ module FluentCommandBuilder
152
154
  self
153
155
  end
154
156
  def mysql_password(password)
155
- @b.append " --mysql_password=#{@b.format password}"
157
+ @b.append " --mysql_password=#{@b.format_password password}"
156
158
  yield @b if block_given?
157
159
  self
158
160
  end
@@ -197,7 +199,7 @@ module FluentCommandBuilder
197
199
  self
198
200
  end
199
201
  def smtp_password(password)
200
- @b.append " --smtp_password=#{@b.format password}"
202
+ @b.append " --smtp_password=#{@b.format_password password}"
201
203
  yield @b if block_given?
202
204
  self
203
205
  end
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -364,7 +366,7 @@ module FluentCommandBuilder
364
366
  self
365
367
  end
366
368
  def password(password)
367
- @b.append " -Password #{@b.format password}"
369
+ @b.append " -Password #{@b.format_password password}"
368
370
  yield @b if block_given?
369
371
  self
370
372
  end
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -177,7 +179,7 @@ module FluentCommandBuilder
177
179
  self
178
180
  end
179
181
  def password(password)
180
- @b.append " -p #{@b.format password}"
182
+ @b.append " -p #{@b.format_password password}"
181
183
  yield @b if block_given?
182
184
  self
183
185
  end
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
4
 
3
5
  module FluentCommandBuilder
@@ -1,3 +1,5 @@
1
+ # Generated code. Do not modify.
2
+
1
3
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
4
  require File.expand_path(File.dirname(__FILE__) + '/../printer')
3
5
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
@@ -78,7 +80,7 @@ module FluentCommandBuilder
78
80
  self
79
81
  end
80
82
  def password(password)
81
- @b.append " -p#{@b.format password}"
83
+ @b.append " -p#{@b.format_password password}"
82
84
  yield @b if block_given?
83
85
  self
84
86
  end
@@ -179,7 +181,7 @@ module FluentCommandBuilder
179
181
  self
180
182
  end
181
183
  def password(password)
182
- @b.append " -p#{@b.format password}"
184
+ @b.append " -p#{@b.format_password password}"
183
185
  yield @b if block_given?
184
186
  self
185
187
  end
@@ -246,7 +248,7 @@ module FluentCommandBuilder
246
248
  self
247
249
  end
248
250
  def password(password)
249
- @b.append " -p#{@b.format password}"
251
+ @b.append " -p#{@b.format_password password}"
250
252
  yield @b if block_given?
251
253
  self
252
254
  end
@@ -312,7 +314,7 @@ module FluentCommandBuilder
312
314
  self
313
315
  end
314
316
  def password(password)
315
- @b.append " -p#{@b.format password}"
317
+ @b.append " -p#{@b.format_password password}"
316
318
  yield @b if block_given?
317
319
  self
318
320
  end
@@ -363,7 +365,7 @@ module FluentCommandBuilder
363
365
  self
364
366
  end
365
367
  def password(password)
366
- @b.append " -p#{@b.format password}"
368
+ @b.append " -p#{@b.format_password password}"
367
369
  yield @b if block_given?
368
370
  self
369
371
  end
@@ -399,7 +401,7 @@ module FluentCommandBuilder
399
401
  self
400
402
  end
401
403
  def password(password)
402
- @b.append " -p#{@b.format password}"
404
+ @b.append " -p#{@b.format_password password}"
403
405
  yield @b if block_given?
404
406
  self
405
407
  end
@@ -494,7 +496,7 @@ module FluentCommandBuilder
494
496
  self
495
497
  end
496
498
  def password(password)
497
- @b.append " -p#{@b.format password}"
499
+ @b.append " -p#{@b.format_password password}"
498
500
  yield @b if block_given?
499
501
  self
500
502
  end