yell-adapters-syslog 0.9.0 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +8 -1
- data/lib/yell/adapters/syslog.rb +6 -6
- data/yell-adapters-syslog.gemspec +2 -5
- metadata +53 -84
- data/lib/yell/adapters/syslog/version.rb +0 -12
data/Gemfile
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in yell-adapters-
|
3
|
+
# Specify your gem's dependencies in yell-adapters-gelf.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
+
group :development, :test do
|
7
|
+
gem "rake"
|
8
|
+
|
9
|
+
gem "rspec"
|
10
|
+
gem "rr"
|
11
|
+
end
|
12
|
+
|
data/lib/yell/adapters/syslog.rb
CHANGED
@@ -14,12 +14,12 @@ module Yell #:nodoc:
|
|
14
14
|
|
15
15
|
# Map Syslog options to internal representation
|
16
16
|
OptionMap = {
|
17
|
-
:cons => ::Syslog::LOG_CONS,
|
18
|
-
:ndelay => ::Syslog::LOG_NDELAY,
|
19
|
-
:nowait => ::Syslog::LOG_NOWAIT,
|
20
|
-
:odelay => ::Syslog::LOG_ODELAY,
|
21
|
-
:perror => ::Syslog::LOG_PERROR,
|
22
|
-
:pid => ::Syslog::LOG_PID
|
17
|
+
:cons => ::Syslog::LOG_CONS, # If there is an error while sending to the system logger, write directly to the console instead.
|
18
|
+
:ndelay => ::Syslog::LOG_NDELAY, # Open the connection now, rather than waiting for the first message to be written.
|
19
|
+
:nowait => ::Syslog::LOG_NOWAIT, # Don’t wait for any child processes created while logging messages. (Has no effect on Linux.)
|
20
|
+
:odelay => ::Syslog::LOG_ODELAY, # Opposite of LOG_NDELAY; wait until a message is sent before opening the connection. (This is the default.)
|
21
|
+
:perror => ::Syslog::LOG_PERROR, # Print the message to stderr as well as sending it to syslog. (Not in POSIX.1-2001.)
|
22
|
+
:pid => ::Syslog::LOG_PID # Include the current process ID with each message.
|
23
23
|
}
|
24
24
|
|
25
25
|
# Map Syslog facilities to internal represenation
|
@@ -1,10 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "yell/adapters/syslog/version"
|
4
3
|
|
5
4
|
Gem::Specification.new do |s|
|
6
5
|
s.name = "yell-adapters-syslog"
|
7
|
-
s.version =
|
6
|
+
s.version = "0.13.4"
|
8
7
|
s.authors = ["Rudolf Schmidt"]
|
9
8
|
|
10
9
|
s.homepage = "http://rubygems.org/gems/yell"
|
@@ -18,7 +17,5 @@ Gem::Specification.new do |s|
|
|
18
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
18
|
s.require_paths = ["lib"]
|
20
19
|
|
21
|
-
s.add_runtime_dependency "yell", "0.
|
22
|
-
s.add_development_dependency "rspec"
|
23
|
-
s.add_development_dependency "rr"
|
20
|
+
s.add_runtime_dependency "yell", ">= 0.13.4"
|
24
21
|
end
|
metadata
CHANGED
@@ -1,106 +1,75 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: yell-adapters-syslog
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.0
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.13.4
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Rudolf Schmidt
|
7
|
+
authors:
|
8
|
+
- Rudolf Schmidt
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
requirements:
|
27
|
-
- - '='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 0.9.0
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: rspec
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: rr
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
12
|
+
|
13
|
+
date: 2012-09-14 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: yell
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.13.4
|
24
|
+
type: :runtime
|
25
|
+
version_requirements: *id001
|
62
26
|
description: Syslog adapter for Yell
|
63
27
|
email:
|
64
28
|
executables: []
|
29
|
+
|
65
30
|
extensions: []
|
31
|
+
|
66
32
|
extra_rdoc_files: []
|
67
|
-
|
68
|
-
|
69
|
-
- .
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
- lib/yell
|
76
|
-
- lib/yell/adapters/syslog
|
77
|
-
- spec/spec_helper.rb
|
78
|
-
- spec/yell/adapters/syslog_spec.rb
|
79
|
-
- yell-adapters-syslog.gemspec
|
33
|
+
|
34
|
+
files:
|
35
|
+
- .gitignore
|
36
|
+
- .travis.yml
|
37
|
+
- Gemfile
|
38
|
+
- LICENSE.txt
|
39
|
+
- README.md
|
40
|
+
- Rakefile
|
41
|
+
- lib/yell-adapters-syslog.rb
|
42
|
+
- lib/yell/adapters/syslog.rb
|
43
|
+
- spec/spec_helper.rb
|
44
|
+
- spec/yell/adapters/syslog_spec.rb
|
45
|
+
- yell-adapters-syslog.gemspec
|
80
46
|
homepage: http://rubygems.org/gems/yell
|
81
47
|
licenses: []
|
48
|
+
|
82
49
|
post_install_message:
|
83
50
|
rdoc_options: []
|
84
|
-
|
85
|
-
|
86
|
-
|
51
|
+
|
52
|
+
require_paths:
|
53
|
+
- lib
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
87
55
|
none: false
|
88
|
-
requirements:
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: "0"
|
60
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
61
|
none: false
|
94
|
-
requirements:
|
95
|
-
|
96
|
-
|
97
|
-
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: "0"
|
98
66
|
requirements: []
|
67
|
+
|
99
68
|
rubyforge_project: yell
|
100
|
-
rubygems_version: 1.8.
|
69
|
+
rubygems_version: 1.8.15
|
101
70
|
signing_key:
|
102
71
|
specification_version: 3
|
103
72
|
summary: Yell - Your Extensible Logging Library
|
104
|
-
test_files:
|
105
|
-
|
106
|
-
|
73
|
+
test_files: []
|
74
|
+
|
75
|
+
has_rdoc:
|