madvertise-logging 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -42,14 +42,6 @@ describe ImprovedLogger do
|
|
42
42
|
@logfile.should have_received_message("Reopen")
|
43
43
|
end
|
44
44
|
|
45
|
-
it "should be able to log to stdout as well" do
|
46
|
-
@logger.copy_to_stdout = true
|
47
|
-
$stdout.should_receive(:puts).with(/test/)
|
48
|
-
|
49
|
-
@logger.debug "test"
|
50
|
-
@logfile.should have_received_message("test")
|
51
|
-
end
|
52
|
-
|
53
45
|
it "should log debug level messages" do
|
54
46
|
@logger.debug("Debug test")
|
55
47
|
@logfile.should have_received_message(/\[DEBUG\].*Debug test/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: madvertise-logging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -55,7 +55,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: '0'
|
56
56
|
segments:
|
57
57
|
- 0
|
58
|
-
hash:
|
58
|
+
hash: 3468536438551765291
|
59
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
60
|
none: false
|
61
61
|
requirements:
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
version: '0'
|
65
65
|
segments:
|
66
66
|
- 0
|
67
|
-
hash:
|
67
|
+
hash: 3468536438551765291
|
68
68
|
requirements: []
|
69
69
|
rubyforge_project:
|
70
70
|
rubygems_version: 1.8.17
|