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.
- data/ChangeLog +5 -0
- data/ReleaseInfo +8 -0
- data/lib/rUtilAnts/Logging.rb +8 -5
- metadata +8 -12
data/ChangeLog
CHANGED
data/ReleaseInfo
ADDED
data/lib/rUtilAnts/Logging.rb
CHANGED
@@ -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
|
-
# * *
|
24
|
-
|
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 = (!
|
32
|
-
@ScreenOutputErr = (!
|
33
|
-
if (
|
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.
|
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-
|
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
|
-
|
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: []
|