jellog 1.0.11 → 1.0.13
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/History.txt +9 -1
- data/README.md +9 -2
- data/lib/jellog/config.rb +2 -2
- data/lib/jellog/version.rb +8 -36
- metadata +5 -5
data/History.txt
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
== History
|
|
2
2
|
|
|
3
|
-
[jellog-1.0.
|
|
3
|
+
[jellog-1.0.13 25-Oct-2012]
|
|
4
|
+
|
|
5
|
+
Change default log dir to '/var/log/jellog' and tweak the readme.
|
|
6
|
+
|
|
7
|
+
[jellog-1.0.12 03-Oct-2012]
|
|
8
|
+
|
|
9
|
+
Slight tweak to README after name change!
|
|
10
|
+
|
|
11
|
+
[jellog-1.0.11 03-Oct-2012]
|
|
4
12
|
|
|
5
13
|
Renamed because jelly was already in use in Gem-space.
|
|
6
14
|
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# JELLOG
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
_(a.k.a. Jumpin Ermin's Loquatious Logger)_
|
|
4
4
|
|
|
5
5
|
Based on the standard ruby logger, Jellog provides a slightly simplified interface and
|
|
6
6
|
adds a few features that may be useful:
|
|
@@ -14,6 +14,13 @@ adds a few features that may be useful:
|
|
|
14
14
|
* returns logged messages, e.g. to cascade into exceptions
|
|
15
15
|
* simple log level control.
|
|
16
16
|
|
|
17
|
+
|
|
18
|
+
**GitHub:** [https://github.com/osburn-sharp/jellog](https://github.com/osburn-sharp/jellog)
|
|
19
|
+
|
|
20
|
+
**RubyDoc:** [http://rubydoc.info/github/osburn-sharp/jellog/frames](http://rubydoc.info/github/osburn-sharp/jellog/frames)
|
|
21
|
+
|
|
22
|
+
**RubyGems:** [https://rubygems.org/gems/jellog](https://rubygems.org/gems/jellog)
|
|
23
|
+
|
|
17
24
|
## Installation
|
|
18
25
|
|
|
19
26
|
Distributed as a gem:
|
data/lib/jellog/config.rb
CHANGED
|
@@ -36,8 +36,8 @@ module Jellog
|
|
|
36
36
|
class Config < Jeckyl::Config
|
|
37
37
|
|
|
38
38
|
def configure_log_dir(dir)
|
|
39
|
-
default '/var/log/
|
|
40
|
-
comment "Path to
|
|
39
|
+
default '/var/log/jellog'
|
|
40
|
+
comment "Path to a writeable directory where Jellog will save log files."
|
|
41
41
|
|
|
42
42
|
a_writable_dir(dir)
|
|
43
43
|
end
|
data/lib/jellog/version.rb
CHANGED
|
@@ -1,41 +1,13 @@
|
|
|
1
1
|
# Created by Jevoom
|
|
2
2
|
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# [jelly-1.0.10 21-Sep-2012]
|
|
6
|
-
# Tidy up documentation and tests ready for pushing to RubyGems.
|
|
7
|
-
# [jelly-1.0.9 25-Jul-2012]
|
|
8
|
-
# Set a default format string when none is provided
|
|
9
|
-
# [jelly-1.0.8 25-Jul-2012]
|
|
10
|
-
# Fix a couple of small errors in config
|
|
11
|
-
# [jelly-1.0.7 23-Jul-2012]
|
|
12
|
-
# Include config class for services etc that use Jelly
|
|
13
|
-
# [jelly-1.0.6 12-Jun-2012]
|
|
14
|
-
# Added mark method to highlight a new section in the log
|
|
15
|
-
# [jelly-1.0.5 21-Jan-2012]
|
|
16
|
-
# Tidy up README and correct rspec tests
|
|
17
|
-
# jelly-1.0.4 10-Jan-2012
|
|
18
|
-
# Change get_options to make deletion an option and not delete keys by default
|
|
19
|
-
# jelly-1.0.3 09-Sep-2011
|
|
20
|
-
# Change option names to comply with existing configure files.
|
|
21
|
-
# jelly-1.0.2 09-Sep-2011
|
|
22
|
-
# Fix close, which had not been updated to the new structure.
|
|
23
|
-
# jelly-1.0.1 07-Sep-2011
|
|
24
|
-
# Add get_opts class method to help pick out log-related options
|
|
25
|
-
# jelly-1.0.0 06-Sep-2011
|
|
26
|
-
# Introduce independent formatting and colour by option.
|
|
27
|
-
# Tidy up logging options (making this incompatible with previous versions).
|
|
28
|
-
# Make jelly into a local gem.
|
|
29
|
-
# jelly-0.0.10 28-Aug-2011
|
|
30
|
-
# Return message from error level calls to assist in keeping callers DRY
|
|
31
|
-
# jelly-0.0.0 29-May-2011
|
|
32
|
-
# Application generated.
|
|
3
|
+
# 25-Oct-2012
|
|
4
|
+
# Change default log dir to '/var/log/jellog' and tweak the readme.
|
|
33
5
|
|
|
34
6
|
module Jellog
|
|
35
|
-
# version set to 1.0.
|
|
36
|
-
Version = '1.0.
|
|
37
|
-
# date set to
|
|
38
|
-
Version_Date = '
|
|
39
|
-
#ident string set to: jellog-1.0.
|
|
40
|
-
Ident = 'jellog-1.0.
|
|
7
|
+
# version set to 1.0.13
|
|
8
|
+
Version = '1.0.13'
|
|
9
|
+
# date set to 25-Oct-2012
|
|
10
|
+
Version_Date = '25-Oct-2012'
|
|
11
|
+
#ident string set to: jellog-1.0.13 25-Oct-2012
|
|
12
|
+
Ident = 'jellog-1.0.13 25-Oct-2012'
|
|
41
13
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jellog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 13
|
|
10
|
+
version: 1.0.13
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Dr Robert
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-
|
|
18
|
+
date: 2012-10-25 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
type: :runtime
|
|
@@ -106,7 +106,7 @@ files:
|
|
|
106
106
|
homepage:
|
|
107
107
|
licenses:
|
|
108
108
|
- Open Software Licence v3.0
|
|
109
|
-
post_install_message:
|
|
109
|
+
post_install_message: Jeillog is now installed. Type 'jellog' for help
|
|
110
110
|
rdoc_options:
|
|
111
111
|
- --main=README.rdoc
|
|
112
112
|
require_paths:
|