rUtilAnts 0.1.0.20091014 → 0.1.1.20091105

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 (4) hide show
  1. data/ChangeLog +5 -0
  2. data/ReleaseInfo +8 -0
  3. data/lib/rUtilAnts/Logging.rb +8 -5
  4. metadata +8 -12
data/ChangeLog CHANGED
@@ -1,5 +1,10 @@
1
1
  = rUtilAnts Release History
2
2
 
3
+ == 0.1.1.20091105 (Alpha)
4
+
5
+ * Added possibility to mute stdout without muting stderr during initialization.
6
+ * Adapted to last version of RubyPackager.
7
+
3
8
  == 0.1.0.20091014 (Alpha)
4
9
 
5
10
  === All modules
data/ReleaseInfo ADDED
@@ -0,0 +1,8 @@
1
+
2
+ # This file has been generated by RubyPackager during a delivery.
3
+ # More info about RubyPackager: http://rubypackager.sourceforge.net
4
+ {
5
+ :Version => '0.1.1.20091105',
6
+ :Tags => [],
7
+ :DevStatus => 'Alpha'
8
+ }
@@ -20,17 +20,18 @@ module RUtilAnts
20
20
  # Parameters:
21
21
  # * *iLibRootDir* (_String_): The library root directory that will not appear in the logged stack messages
22
22
  # * *iBugTrackerURL* (_String_): The application's bug tracker URL, used to report bugs
23
- # * *iSilentOutputs* (_Boolean_): Do we silent outputs (nothing sent to $stdout or $stderr) ? [optional = false]
24
- def initialize(iLibRootDir, iBugTrackerURL, iSilentOutputs = false)
23
+ # * *iSilentSTDOut* (_Boolean_): Do we silent normal output (nothing sent to $stdout) ? [optional = false]
24
+ # * *iSilentSTDErr* (_Boolean_): Do we silent error output (nothing sent to $stderr) ? [optional = false]
25
+ def initialize(iLibRootDir, iBugTrackerURL, iSilentSTDOut = false, iSilentSTDErr = false)
25
26
  @LibRootDir, @BugTrackerURL = iLibRootDir, iBugTrackerURL
26
27
  @DebugMode = false
27
28
  @LogFile = nil
28
29
  @ErrorsStack = nil
29
30
  @MessagesStack = nil
30
31
  @DialogsGUI = nil
31
- @ScreenOutput = (!iSilentOutputs)
32
- @ScreenOutputErr = (!iSilentOutputs)
33
- if (!iSilentOutputs)
32
+ @ScreenOutput = (!iSilentSTDOut)
33
+ @ScreenOutputErr = (!iSilentSTDErr)
34
+ if (!@ScreenOutput)
34
35
  # Test if we can write to stdout
35
36
  begin
36
37
  $stdout << "Launch Logging - stdout\n"
@@ -45,6 +46,8 @@ module RUtilAnts
45
46
  @ScreenOutput = false
46
47
  end
47
48
  end
49
+ end
50
+ if (!@ScreenOutputErr)
48
51
  # Test if we can write to stderr
49
52
  begin
50
53
  $stderr << "Launch Logging - stderr\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rUtilAnts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.20091014
4
+ version: 0.1.1.20091105
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-14 00:00:00 +02:00
12
+ date: 2009-11-05 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -19,14 +19,16 @@ executables: []
19
19
 
20
20
  extensions: []
21
21
 
22
- extra_rdoc_files:
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - ReleaseInfo
23
26
  - README
24
- - TODO
25
- - ChangeLog
26
27
  - LICENSE
27
28
  - AUTHORS
28
29
  - Credits
29
- files:
30
+ - TODO
31
+ - ChangeLog
30
32
  - lib/rUtilAnts/Plugins.rb
31
33
  - lib/rUtilAnts/GUI.rb
32
34
  - lib/rUtilAnts/Platform.rb
@@ -42,12 +44,6 @@ files:
42
44
  - lib/rUtilAnts/GUI/BugReportDialog.rb
43
45
  - lib/rUtilAnts/Platforms/i386-linux/PlatformInfo.rb
44
46
  - lib/rUtilAnts/Platforms/i386-mswin32/PlatformInfo.rb
45
- - README
46
- - TODO
47
- - ChangeLog
48
- - LICENSE
49
- - AUTHORS
50
- - Credits
51
47
  has_rdoc: true
52
48
  homepage: http://rutilants.sourceforge.net/
53
49
  licenses: []