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 CHANGED
@@ -1,5 +1,12 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in yell-adapters-syslog.gemspec
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
+
@@ -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 = Yell::Adapters::Syslog::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.9.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
- date: 2012-05-10 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: yell
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - '='
20
- - !ruby/object:Gem::Version
21
- version: 0.9.0
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
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
- files:
68
- - .gitignore
69
- - .travis.yml
70
- - Gemfile
71
- - LICENSE.txt
72
- - README.md
73
- - Rakefile
74
- - lib/yell-adapters-syslog.rb
75
- - lib/yell/adapters/syslog.rb
76
- - lib/yell/adapters/syslog/version.rb
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
- require_paths:
85
- - lib
86
- required_ruby_version: !ruby/object:Gem::Requirement
51
+
52
+ require_paths:
53
+ - lib
54
+ required_ruby_version: !ruby/object:Gem::Requirement
87
55
  none: false
88
- requirements:
89
- - - ! '>='
90
- - !ruby/object:Gem::Version
91
- version: '0'
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
- - !ruby/object:Gem::Version
97
- version: '0'
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.23
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
- - spec/spec_helper.rb
106
- - spec/yell/adapters/syslog_spec.rb
73
+ test_files: []
74
+
75
+ has_rdoc:
@@ -1,12 +0,0 @@
1
- # encoding: utf-8
2
-
3
- module Yell #:nodoc:
4
- module Adapters #:nodoc:
5
-
6
- class Syslog
7
- VERSION = "0.9.0"
8
-
9
- end
10
- end
11
- end
12
-