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.
@@ -16,7 +16,7 @@ h3. Setup
16
16
  Inside any class you want to add logging
17
17
 
18
18
  <pre>class MyClassToBeLogged
19
- include Rails3::Assist::BasicLogger
19
+ include RailsAssist::BasicLogger
20
20
  ...
21
21
  end
22
22
  </pre>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -1,4 +1,4 @@
1
1
  require 'require_all'
2
- require 'sugar-high/module'
2
+ # require 'sugar-high/module'
3
3
 
4
4
  require_all File.dirname(__FILE__) + '/logging_assist'
@@ -2,13 +2,15 @@ require 'active_support/inflector'
2
2
  require 'log4r-color'
3
3
  include Log4r
4
4
 
5
- module Rails3::Assist::BasicLogger
6
- def logger
7
- @logger ||= Rails3::Assist::Logging.new
8
- end
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 Rails3::Assist
13
+ module RailsAssist
12
14
  class Logging
13
15
 
14
16
  attr_reader :logger
@@ -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.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"
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  class Abra
4
- include Rails3::Assist::BasicLogger
4
+ include RailsAssist::BasicLogger
5
5
  end
6
6
 
7
7
  def do_logging obj
@@ -1,4 +1,4 @@
1
- require 'rspec/core'
1
+ require 'rspec'
2
2
  require 'logging_assist'
3
3
 
4
4
  RSpec.configure do |config|
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.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: &2156599780 !ruby/object:Gem::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: *2156599780
25
+ version_requirements: *2158083380
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: require_all
28
- requirement: &2156599280 !ruby/object:Gem::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: *2156599280
36
+ version_requirements: *2158082900
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: colorize
39
- requirement: &2156598760 !ruby/object:Gem::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: *2156598760
47
+ version_requirements: *2158082420
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: sugar-high
50
- requirement: &2156598220 !ruby/object:Gem::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: *2156598220
58
+ version_requirements: *2158081940
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: log4r-color
61
- requirement: &2156597700 !ruby/object:Gem::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: *2156597700
69
+ version_requirements: *2158081440
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: activesupport
72
- requirement: &2156597220 !ruby/object:Gem::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: *2156597220
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
@@ -1,3 +0,0 @@
1
- module Rails3
2
- modules :assist
3
- end