syslog_generator 1.0.2 → 1.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c62f758be544a8c6a901c3b968a30e981de9327d
4
- data.tar.gz: a903f6504b896c76bc6e101a0f8cc0a68d864bb3
3
+ metadata.gz: 10c4620e56001ee6f2df0158e5a064e16c79da04
4
+ data.tar.gz: d1b9cc462cf6de19e549bb033c6f5b91cb4e6d5c
5
5
  SHA512:
6
- metadata.gz: 3c6d15745571f0be984ea2f76c18daf9d25f5d229eb872c64d0cc9f6f1536c3d08b4164094b4212975827ea1d0e24b4b498d4b93294f778f3dfc48e6513a3c24
7
- data.tar.gz: a53a669fbe2b604ca5908c1dcb586a82e284301ec57d5765e8912663b4ab3f95e132f14b8c23873728bbe59c1798534eb4300fe8eadcdb47a449e5f45a266049
6
+ metadata.gz: f40206a3bdcb212003e1e0d8051421faaaaad6520abd716485e59f3d8f4880af55eaff746f5439a477096b76cf201fb2c2a05c426945a39e6734a3128ba8b3be
7
+ data.tar.gz: 5d21ef9e46db1627bc616019a532d43a7763f64f56e781365ff8b50b67708e10d86bbadf1603b1c5aaafd2de20916dba925074510a321addf63532bce9c44140
data/README.md CHANGED
@@ -10,10 +10,11 @@ Install it by running:
10
10
 
11
11
  ## Usage
12
12
 
13
- After installing, simply run loggen. By default, it will send 100 lines of
14
- nonsense to your local machine on port 514/UDP.
13
+ After installing, simply run `loggen`. By default, it will send 100 lines of
14
+ nonsense to your local machine on port 514/UDP, the standard syslog port.
15
15
 
16
- Append --help for full usage information.
16
+ Append `--help` for full usage information, including customizing the amount
17
+ of data sent, ports to use, and other specifics.
17
18
 
18
19
  ## Contributing
19
20
 
data/bin/loggen CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'syslog_generator'
3
3
  require 'trollop'
4
-
4
+ require 'syslog_generator/version'
5
5
  opts = Trollop.options do
6
- version 'log_generator v1.0.0 - Michael Parks <mparks@tkware.info>'
6
+ version "loggen #{SyslogGenerator::VERSION} - Michael Parks <mparks@tkware.info>"
7
7
  banner <<-EOS
8
8
  Generate random syslog lines according to the provided options.
9
9
  Absent any options, 100 lines of nonsense will be sent to the syslog port on localhost.
@@ -1,3 +1,3 @@
1
1
  module SyslogGenerator
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["mparks@tkware.info"]
11
11
  spec.summary = %q{Generates random syslog data for configuration testing}
12
12
  spec.description = %q{Uses random_word to send configurable, nonsense syslog data at a server of your choice. Great for testing your logger configuration.}
13
- spec.license = "Apache License v2.0"
13
+ spec.license = "Apache-2.0"
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -21,4 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "rake", "~> 10.0"
22
22
  spec.add_runtime_dependency "random-word"
23
23
  spec.add_runtime_dependency "syslog_protocol"
24
+
25
+ spec.post_install_message = "Please use 'loggen' to access the functions of syslog_generator."
24
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syslog_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Parks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,9 +86,9 @@ files:
86
86
  - syslog_generator.gemspec
87
87
  homepage:
88
88
  licenses:
89
- - Apache License v2.0
89
+ - Apache-2.0
90
90
  metadata: {}
91
- post_install_message:
91
+ post_install_message: Please use 'loggen' to access the functions of syslog_generator.
92
92
  rdoc_options: []
93
93
  require_paths:
94
94
  - lib