rubysl-logger 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ require 'logger'
2
+
3
+ describe "Logger::Severity" do
4
+ it "defines Logger severity constants" do
5
+ Logger::DEBUG.should == 0
6
+ Logger::INFO.should == 1
7
+ Logger::WARN.should == 2
8
+ Logger::ERROR.should == 3
9
+ Logger::FATAL.should == 4
10
+ Logger::UNKNOWN.should == 5
11
+ end
12
+ end
metadata ADDED
@@ -0,0 +1,151 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubysl-logger
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brian Shirai
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-12-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: mspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.5'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubysl-prettyprint
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
69
+ description: Ruby standard library logger.
70
+ email:
71
+ - brixen@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - .travis.yml
78
+ - Gemfile
79
+ - LICENSE
80
+ - README.md
81
+ - Rakefile
82
+ - lib/logger.rb
83
+ - lib/rubysl/logger.rb
84
+ - lib/rubysl/logger/logger.rb
85
+ - lib/rubysl/logger/version.rb
86
+ - rubysl-logger.gemspec
87
+ - spec/application/level_spec.rb
88
+ - spec/application/log_spec.rb
89
+ - spec/application/new_spec.rb
90
+ - spec/application/set_log_spec.rb
91
+ - spec/application/start_spec.rb
92
+ - spec/device/close_spec.rb
93
+ - spec/device/new_spec.rb
94
+ - spec/device/write_spec.rb
95
+ - spec/fixtures/common.rb
96
+ - spec/logger/add_spec.rb
97
+ - spec/logger/close_spec.rb
98
+ - spec/logger/datetime_format_spec.rb
99
+ - spec/logger/debug_spec.rb
100
+ - spec/logger/error_spec.rb
101
+ - spec/logger/fatal_spec.rb
102
+ - spec/logger/info_spec.rb
103
+ - spec/logger/new_spec.rb
104
+ - spec/logger/unknown_spec.rb
105
+ - spec/logger/warn_spec.rb
106
+ - spec/severity_spec.rb
107
+ homepage: https://github.com/rubysl/rubysl-logger
108
+ licenses:
109
+ - BSD
110
+ metadata: {}
111
+ post_install_message:
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ requirements: []
126
+ rubyforge_project:
127
+ rubygems_version: 2.0.7
128
+ signing_key:
129
+ specification_version: 4
130
+ summary: Ruby standard library logger.
131
+ test_files:
132
+ - spec/application/level_spec.rb
133
+ - spec/application/log_spec.rb
134
+ - spec/application/new_spec.rb
135
+ - spec/application/set_log_spec.rb
136
+ - spec/application/start_spec.rb
137
+ - spec/device/close_spec.rb
138
+ - spec/device/new_spec.rb
139
+ - spec/device/write_spec.rb
140
+ - spec/fixtures/common.rb
141
+ - spec/logger/add_spec.rb
142
+ - spec/logger/close_spec.rb
143
+ - spec/logger/datetime_format_spec.rb
144
+ - spec/logger/debug_spec.rb
145
+ - spec/logger/error_spec.rb
146
+ - spec/logger/fatal_spec.rb
147
+ - spec/logger/info_spec.rb
148
+ - spec/logger/new_spec.rb
149
+ - spec/logger/unknown_spec.rb
150
+ - spec/logger/warn_spec.rb
151
+ - spec/severity_spec.rb