logging-rails 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1be38141e31f05fe6baed371d260c2a1c229ea3a
4
- data.tar.gz: 3abf4ffefe2d1237583217ef7415f08cc7c8b17d
3
+ metadata.gz: 9dc6772a2da1aac223c1ef5662ce955067ce2adf
4
+ data.tar.gz: 397e3a488218b67c64ac43abfc7854111fd1e717
5
5
  SHA512:
6
- metadata.gz: f94aba9e789930bb698a4c2edd9a74457103e34821b320e7e6d1ba9cbbb5de05de5e57ec7d9aa3d425ce63c5543c57865c52b11b15c0b2336c39015db4bfc78d
7
- data.tar.gz: 7e43115bb985c4b06bec69f37f51f7884dd6ee3911ac173a70b4cafddcc5f7910021f63c253f147a9486b5cceaad5045af9b9a879938e5f853ce6113722329f6
6
+ metadata.gz: b24d3316b297baa1b8a8b2ea3aeacdd9a93d57e971a73b80c2f45acc57989df42776a5e613be560fc0897f9725f403af5e34eee625243055a4372a97da224513
7
+ data.tar.gz: 16c977a24ddbef7a74b96dda0fba937b2244fcc2e6cc46b02bd7d393646dce80618e3abeb82c4affca9b2ce9e8640d30cf915caf3524230ba8fd5cb63092f74d
data/.gitignore CHANGED
@@ -1,2 +1,13 @@
1
+ # git-ls-files --others --exclude-from=.git/info/exclude
2
+ # Lines that start with '#' are comments.
3
+ # For a project mostly in C, the following would be a good set of
4
+ # exclude patterns (uncomment them if you want to use them):
5
+ # *.[oa]
6
+ # *~
7
+ announcement.txt
8
+ coverage/
9
+ doc/
10
+ pkg/
1
11
  tmp/
2
- vendor
12
+ vendor/
13
+ .rvmrc
@@ -31,12 +31,18 @@ module Logging::Rails
31
31
  ActiveSupport.on_load(:action_controller) { self.__send__(:include, ::Logging::Rails::Mixin) }
32
32
  end
33
33
 
34
+ initializer 'logging.action_view.logger', :before => 'action_view.logger' do
35
+ ActiveSupport.on_load(:action_view) { self.__send__(:include, ::Logging::Rails::Mixin) }
36
+ end
37
+
34
38
  initializer 'logging.action_mailer.logger', :before => 'action_mailer.logger' do
35
39
  ActiveSupport.on_load(:action_mailer) { self.__send__(:include, ::Logging::Rails::Mixin) }
36
40
  end
37
41
 
38
- initializer 'logging.active_support.dependencies.logger' do
39
- ActiveSupport::Dependencies.logger = ::Logging::Logger[ActiveSupport::Dependencies]
42
+ if ActiveSupport::Dependencies.respond_to? :logger= then
43
+ initializer 'logging.active_support.dependencies.logger' do
44
+ ActiveSupport::Dependencies.logger = ::Logging::Logger[ActiveSupport::Dependencies]
45
+ end
40
46
  end
41
47
 
42
48
  initializer 'logging.initialize_cache', :after => 'initialize_cache' do
@@ -0,0 +1,42 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # stub: logging-rails 0.5.0 ruby lib
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "logging-rails"
6
+ s.version = "0.5.0"
7
+
8
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
+ s.require_paths = ["lib"]
10
+ s.authors = ["Tim Pease"]
11
+ s.date = "2015-03-30"
12
+ s.description = "A Railtie for for integrating the [Logging](https://github.com/TwP/logging)\nframework into your Rails 3 application."
13
+ s.email = "tim.pease@gmail.com"
14
+ s.extra_rdoc_files = ["History.txt", "lib/logging/rails/generators/USAGE", "lib/logging/rails/generators/templates/logging.rb.erb"]
15
+ s.files = [".gitignore", "History.txt", "README.md", "Rakefile", "lib/logging-rails.rb", "lib/logging/rails.rb", "lib/logging/rails/generators/USAGE", "lib/logging/rails/generators/install_generator.rb", "lib/logging/rails/generators/templates/logging.rb.erb", "lib/logging/rails/mixin.rb", "lib/logging/rails/railtie.rb", "script/bootstrap", "version.txt"]
16
+ s.homepage = "http://rubygems.org/gems/logging-rails"
17
+ s.rdoc_options = ["--main", "README.md"]
18
+ s.rubyforge_project = "logging-rails"
19
+ s.rubygems_version = "2.2.2"
20
+ s.summary = "A Railtie for for integrating the [Logging](https://github."
21
+
22
+ if s.respond_to? :specification_version then
23
+ s.specification_version = 4
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ s.add_runtime_dependency(%q<logging>, [">= 1.8"])
27
+ s.add_development_dependency(%q<bones-git>, ["~> 1.3"])
28
+ s.add_development_dependency(%q<rails>, ["~> 4"])
29
+ s.add_development_dependency(%q<bones>, [">= 3.8.3"])
30
+ else
31
+ s.add_dependency(%q<logging>, [">= 1.8"])
32
+ s.add_dependency(%q<bones-git>, ["~> 1.3"])
33
+ s.add_dependency(%q<rails>, ["~> 4"])
34
+ s.add_dependency(%q<bones>, [">= 3.8.3"])
35
+ end
36
+ else
37
+ s.add_dependency(%q<logging>, [">= 1.8"])
38
+ s.add_dependency(%q<bones-git>, ["~> 1.3"])
39
+ s.add_dependency(%q<rails>, ["~> 4"])
40
+ s.add_dependency(%q<bones>, [">= 3.8.3"])
41
+ end
42
+ end
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.6.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logging-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2017-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 3.8.3
61
+ version: 3.8.4
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 3.8.3
68
+ version: 3.8.4
69
69
  description: |-
70
70
  A Railtie for for integrating the [Logging](https://github.com/TwP/logging)
71
71
  framework into your Rails 3 application.
@@ -88,6 +88,7 @@ files:
88
88
  - lib/logging/rails/generators/templates/logging.rb.erb
89
89
  - lib/logging/rails/mixin.rb
90
90
  - lib/logging/rails/railtie.rb
91
+ - logging-rails.gemspec
91
92
  - script/bootstrap
92
93
  - version.txt
93
94
  homepage: http://rubygems.org/gems/logging-rails
@@ -111,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
112
  version: '0'
112
113
  requirements: []
113
114
  rubyforge_project: logging-rails
114
- rubygems_version: 2.2.2
115
+ rubygems_version: 2.6.11
115
116
  signing_key:
116
117
  specification_version: 4
117
118
  summary: A Railtie for for integrating the [Logging](https://github.