logging_assist 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -1
- data/VERSION +1 -1
- data/lib/logging_assist.rb +1 -1
- data/lib/logging_assist/logging.rb +7 -5
- data/logging_assist.gemspec +1 -2
- data/spec/logging_assist/logging_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +13 -14
- data/lib/logging_assist/namespaces.rb +0 -3
data/README.textile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/lib/logging_assist.rb
CHANGED
@@ -2,13 +2,15 @@ require 'active_support/inflector'
|
|
2
2
|
require 'log4r-color'
|
3
3
|
include Log4r
|
4
4
|
|
5
|
-
module
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
module RailsAssist
|
6
|
+
module BasicLogger
|
7
|
+
def logger
|
8
|
+
@logger ||= RailsAssist::Logging.new
|
9
|
+
end
|
10
|
+
end
|
9
11
|
end
|
10
12
|
|
11
|
-
module
|
13
|
+
module RailsAssist
|
12
14
|
class Logging
|
13
15
|
|
14
16
|
attr_reader :logger
|
data/logging_assist.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{logging_assist}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kristian Mandrup"]
|
@@ -25,7 +25,6 @@ Gem::Specification.new do |s|
|
|
25
25
|
"VERSION",
|
26
26
|
"lib/logging_assist.rb",
|
27
27
|
"lib/logging_assist/logging.rb",
|
28
|
-
"lib/logging_assist/namespaces.rb",
|
29
28
|
"logging_assist.gemspec",
|
30
29
|
"spec/logging_assist/logging_spec.rb",
|
31
30
|
"spec/spec_helper.rb"
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logging_assist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ default_executable:
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
17
|
-
requirement: &
|
17
|
+
requirement: &2158083380 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 2.4.1
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2158083380
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: require_all
|
28
|
-
requirement: &
|
28
|
+
requirement: &2158082900 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 1.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2158082900
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: colorize
|
39
|
-
requirement: &
|
39
|
+
requirement: &2158082420 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: 0.5.8
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *2158082420
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: sugar-high
|
50
|
-
requirement: &
|
50
|
+
requirement: &2158081940 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: 0.4.0
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *2158081940
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: log4r-color
|
61
|
-
requirement: &
|
61
|
+
requirement: &2158081440 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: '1.2'
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *2158081440
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: activesupport
|
72
|
-
requirement: &
|
72
|
+
requirement: &2158080940 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ! '>='
|
@@ -77,7 +77,7 @@ dependencies:
|
|
77
77
|
version: 3.0.1
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *2158080940
|
81
81
|
description: Wraps logging in a nice and convenient way making it easy to apply on
|
82
82
|
any project
|
83
83
|
email: kmandrup@gmail.com
|
@@ -95,7 +95,6 @@ files:
|
|
95
95
|
- VERSION
|
96
96
|
- lib/logging_assist.rb
|
97
97
|
- lib/logging_assist/logging.rb
|
98
|
-
- lib/logging_assist/namespaces.rb
|
99
98
|
- logging_assist.gemspec
|
100
99
|
- spec/logging_assist/logging_spec.rb
|
101
100
|
- spec/spec_helper.rb
|