logging 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/Rakefile +2 -6
- data/lib/logging.rb +1 -2
- data/lib/logging/logger.rb +1 -0
- data/version.txt +1 -0
- metadata +57 -28
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -5,9 +5,6 @@ rescue LoadError
|
|
5
5
|
abort '### please install the "bones" gem ###'
|
6
6
|
end
|
7
7
|
|
8
|
-
ensure_in_path 'lib'
|
9
|
-
require 'logging'
|
10
|
-
|
11
8
|
task :default => 'test:run'
|
12
9
|
task 'gem:release' => 'test:run'
|
13
10
|
|
@@ -16,8 +13,7 @@ Bones {
|
|
16
13
|
summary 'A flexible and extendable logging library for Ruby'
|
17
14
|
authors 'Tim Pease'
|
18
15
|
email 'tim.pease@gmail.com'
|
19
|
-
url 'http://
|
20
|
-
version Logging::VERSION
|
16
|
+
url 'http://rubygems.org/gems/logging'
|
21
17
|
readme_file 'README.rdoc'
|
22
18
|
ignore_file '.gitignore'
|
23
19
|
|
@@ -26,9 +22,9 @@ Bones {
|
|
26
22
|
#rdoc.dir = 'doc/rdoc'
|
27
23
|
|
28
24
|
use_gmail
|
29
|
-
enable_sudo
|
30
25
|
|
31
26
|
depend_on 'little-plugger'
|
27
|
+
|
32
28
|
depend_on 'flexmock', :development => true
|
33
29
|
depend_on 'bones-git', :development => true
|
34
30
|
depend_on 'bones-extras', :development => true
|
data/lib/logging.rb
CHANGED
@@ -19,7 +19,6 @@ module Logging
|
|
19
19
|
extend LittlePlugger
|
20
20
|
|
21
21
|
# :stopdoc:
|
22
|
-
VERSION = '1.3.0'
|
23
22
|
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
|
24
23
|
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
|
25
24
|
LEVELS = {}
|
@@ -347,7 +346,7 @@ module Logging
|
|
347
346
|
# Returns the version string for the library.
|
348
347
|
#
|
349
348
|
def version
|
350
|
-
|
349
|
+
@version ||= File.read(path('version.txt')).strip
|
351
350
|
end
|
352
351
|
|
353
352
|
# Returns the library path for the module. If any arguments are given,
|
data/lib/logging/logger.rb
CHANGED
data/version.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.4.0
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 4
|
8
|
+
- 0
|
9
|
+
version: 1.4.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Tim Pease
|
@@ -9,59 +14,79 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-03-16 00:00:00 -06:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: little-plugger
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 1
|
30
|
+
- 2
|
31
|
+
version: 1.1.2
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
25
34
|
- !ruby/object:Gem::Dependency
|
26
35
|
name: flexmock
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
- 8
|
44
|
+
- 6
|
33
45
|
version: 0.8.6
|
34
|
-
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
35
48
|
- !ruby/object:Gem::Dependency
|
36
49
|
name: bones-git
|
37
|
-
|
38
|
-
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
52
|
requirements:
|
41
53
|
- - ">="
|
42
54
|
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 1
|
57
|
+
- 1
|
58
|
+
- 1
|
43
59
|
version: 1.1.1
|
44
|
-
|
60
|
+
type: :development
|
61
|
+
version_requirements: *id003
|
45
62
|
- !ruby/object:Gem::Dependency
|
46
63
|
name: bones-extras
|
47
|
-
|
48
|
-
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
66
|
requirements:
|
51
67
|
- - ">="
|
52
68
|
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 1
|
71
|
+
- 2
|
72
|
+
- 2
|
53
73
|
version: 1.2.2
|
54
|
-
|
74
|
+
type: :development
|
75
|
+
version_requirements: *id004
|
55
76
|
- !ruby/object:Gem::Dependency
|
56
77
|
name: bones
|
57
|
-
|
58
|
-
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
60
80
|
requirements:
|
61
81
|
- - ">="
|
62
82
|
- !ruby/object:Gem::Version
|
63
|
-
|
64
|
-
|
83
|
+
segments:
|
84
|
+
- 3
|
85
|
+
- 4
|
86
|
+
- 1
|
87
|
+
version: 3.4.1
|
88
|
+
type: :development
|
89
|
+
version_requirements: *id005
|
65
90
|
description: |-
|
66
91
|
Logging is a flexible logging library for use in Ruby programs based on the
|
67
92
|
design of Java's log4j library. It features a hierarchical logging system,
|
@@ -75,6 +100,7 @@ extensions: []
|
|
75
100
|
extra_rdoc_files:
|
76
101
|
- History.txt
|
77
102
|
- README.rdoc
|
103
|
+
- version.txt
|
78
104
|
files:
|
79
105
|
- History.txt
|
80
106
|
- README.rdoc
|
@@ -146,8 +172,9 @@ files:
|
|
146
172
|
- test/test_root_logger.rb
|
147
173
|
- test/test_stats.rb
|
148
174
|
- test/test_utils.rb
|
175
|
+
- version.txt
|
149
176
|
has_rdoc: true
|
150
|
-
homepage: http://
|
177
|
+
homepage: http://rubygems.org/gems/logging
|
151
178
|
licenses: []
|
152
179
|
|
153
180
|
post_install_message:
|
@@ -160,18 +187,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
160
187
|
requirements:
|
161
188
|
- - ">="
|
162
189
|
- !ruby/object:Gem::Version
|
190
|
+
segments:
|
191
|
+
- 0
|
163
192
|
version: "0"
|
164
|
-
version:
|
165
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
194
|
requirements:
|
167
195
|
- - ">="
|
168
196
|
- !ruby/object:Gem::Version
|
197
|
+
segments:
|
198
|
+
- 0
|
169
199
|
version: "0"
|
170
|
-
version:
|
171
200
|
requirements: []
|
172
201
|
|
173
202
|
rubyforge_project: logging
|
174
|
-
rubygems_version: 1.3.
|
203
|
+
rubygems_version: 1.3.6
|
175
204
|
signing_key:
|
176
205
|
specification_version: 3
|
177
206
|
summary: A flexible and extendable logging library for Ruby
|