remote_syslog_logger 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -31,11 +31,11 @@ Use from Ruby:
31
31
 
32
32
  Remote Syslog Logger is available on GitHub, which can be browsed at:
33
33
 
34
- <http://github.com/eric/remote_syslog_logger>
34
+ <http://github.com/papertrail/remote_syslog_logger>
35
35
 
36
36
  and cloned with:
37
37
 
38
- $ git clone git://github.com/eric/remote_syslog_logger.git
38
+ $ git clone git://github.com/papertrail/remote_syslog_logger.git
39
39
 
40
40
 
41
41
  # Contributing
@@ -59,5 +59,5 @@ Copyright (c) 2011 Eric Lindvall. See [LICENSE][] for details.
59
59
 
60
60
  [cb]: https://wiki.github.com/defunkt/resque/contributing
61
61
  [fk]: http://help.github.com/forking/
62
- [is]: https://github.com/eric/remote_syslog_logger/issues
63
- [LICENSE]: https://github.com/eric/remote_syslog_logger/blob/master/LICENSE
62
+ [is]: https://github.com/papertrail/remote_syslog_logger/issues
63
+ [LICENSE]: https://github.com/papertrail/remote_syslog_logger/blob/master/LICENSE
@@ -3,7 +3,7 @@ require 'remote_syslog_logger/udp_sender'
3
3
  require 'logger'
4
4
 
5
5
  module RemoteSyslogLogger
6
- VERSION = '1.0.1'
6
+ VERSION = '1.0.2'
7
7
 
8
8
  def self.new(remote_hostname, remote_port, options = {})
9
9
  Logger.new(RemoteSyslogLogger::UdpSender.new(remote_hostname, remote_port, options))
@@ -20,7 +20,7 @@ module RemoteSyslogLogger
20
20
  end
21
21
 
22
22
  def transmit(message)
23
- message.split("\n").each do |line|
23
+ message.split(/\r?\n/).each do |line|
24
24
  next if line =~ /^\s*$/
25
25
  packet = @packet.dup
26
26
  packet.content = line
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'remote_syslog_logger'
16
- s.version = '1.0.1'
17
- s.date = '2011-03-28'
16
+ s.version = '1.0.2'
17
+ s.date = '2011-03-29'
18
18
  # s.rubyforge_project = 'remote_syslog_logger'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  ## a custom homepage, consider using your GitHub URL or the like.
28
28
  s.authors = ["Eric Lindvall"]
29
29
  s.email = 'eric@5stops.com'
30
- s.homepage = 'http://github.com/eric/remote_syslog_logger'
30
+ s.homepage = 'https://github.com/papertrail/remote_syslog_logger'
31
31
 
32
32
  ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
33
33
  ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_syslog_logger
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Lindvall
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-28 00:00:00 -07:00
18
+ date: 2011-03-29 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -52,7 +52,7 @@ files:
52
52
  - test/helper.rb
53
53
  - test/test_remote_syslog_logger.rb
54
54
  has_rdoc: true
55
- homepage: http://github.com/eric/remote_syslog_logger
55
+ homepage: https://github.com/papertrail/remote_syslog_logger
56
56
  licenses: []
57
57
 
58
58
  post_install_message: