log2counter 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ChangeLog +2 -0
- data/README +13 -3
- data/Rakefile +4 -6
- data/bin/log2counter +5 -3
- data/lib/log2counter.rb +4 -2
- data/lib/log2counter/core_ext/compare_strings_and_fixnums.rb +4 -2
- data/lib/log2counter/core_ext/sort_by_ip_or_host.rb +4 -2
- data/lib/log2counter/parser.rb +4 -2
- data/lib/log2counter/printer.rb +4 -2
- data/lib/log2counter/vendor/log_parser.rb +1 -1
- data/lib/log2counter/version.rb +1 -1
- metadata +51 -70
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 652543b224e91d0b62b348e12628fdff071cf5d1
|
4
|
+
data.tar.gz: d5b867c43384d47b00879107a7be0bf717c36475
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: aa2d8127e7329a05ee9e80699fa51ac3652af71e23acbfcda57c1143f0499cf2b1af1c0fd64c4a762734bc8a9e4ec80b93a180d191a7c6344854a07fb8ef5182
|
7
|
+
data.tar.gz: f3aefaff065746715ce83fee4b532fdec54585a0a8bac4da98f82e4be1f6a1d3915bc2a45f7e2cf8e42abdff964e35f464d17501285f64158c7c8542fe5496a4
|
data/ChangeLog
CHANGED
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to log2counter version 0.0.
|
5
|
+
This documentation refers to log2counter version 0.0.5
|
6
6
|
|
7
7
|
|
8
8
|
== DESCRIPTION
|
@@ -10,16 +10,26 @@ This documentation refers to log2counter version 0.0.4
|
|
10
10
|
Convert (analyse) Apache log files to COUNTER[http://www.projectcounter.org/] CSV.
|
11
11
|
|
12
12
|
|
13
|
+
== LINKS
|
14
|
+
|
15
|
+
<b></b>
|
16
|
+
Documentation:: http://blackwinter.github.com/log2counter
|
17
|
+
Source code:: http://github.com/blackwinter/log2counter
|
18
|
+
RubyGem:: http://rubygems.org/gems/log2counter
|
19
|
+
|
20
|
+
|
13
21
|
== AUTHORS
|
14
22
|
|
15
|
-
* Jens Wille <mailto:jens.wille@
|
23
|
+
* Jens Wille <mailto:jens.wille@gmail.com>
|
16
24
|
|
17
25
|
|
18
26
|
== LICENSE AND COPYRIGHT
|
19
27
|
|
20
|
-
Copyright (C) 2007-
|
28
|
+
Copyright (C) 2007-2012 University of Cologne,
|
21
29
|
Albertus-Magnus-Platz, 50923 Cologne, Germany
|
22
30
|
|
31
|
+
Copyright (C) 2013 Jens Wille
|
32
|
+
|
23
33
|
log2counter is free software: you can redistribute it and/or modify it under
|
24
34
|
the terms of the GNU Affero General Public License as published by the Free
|
25
35
|
Software Foundation, either version 3 of the License, or (at your option)
|
data/Rakefile
CHANGED
@@ -4,16 +4,14 @@ begin
|
|
4
4
|
require 'hen'
|
5
5
|
|
6
6
|
Hen.lay! {{
|
7
|
-
:rubyforge => {
|
8
|
-
:project => %q{prometheus},
|
9
|
-
:package => %q{log2counter}
|
10
|
-
},
|
11
|
-
|
12
7
|
:gem => {
|
8
|
+
:name => %q{log2counter},
|
13
9
|
:version => Log2COUNTER::VERSION,
|
14
10
|
:summary => %q{Convert (analyse) Apache log files to COUNTER CSV.},
|
15
11
|
:author => %q{Jens Wille},
|
16
|
-
:email => %q{jens.wille@
|
12
|
+
:email => %q{jens.wille@gmail.com},
|
13
|
+
:license => %q{AGPL-3.0},
|
14
|
+
:homepage => :blackwinter,
|
17
15
|
:extra_files => FileList['lib/**/vendor/*'].to_a,
|
18
16
|
:dependencies => [['fastercsv', '>= 1.2.3']]
|
19
17
|
}
|
data/bin/log2counter
CHANGED
@@ -1,16 +1,18 @@
|
|
1
|
-
#! /usr/bin/ruby
|
1
|
+
#! /usr/bin/env ruby
|
2
2
|
|
3
3
|
#--
|
4
4
|
###############################################################################
|
5
5
|
# #
|
6
6
|
# log2counter -- Convert (analyse) Apache log files to COUNTER CSV. #
|
7
7
|
# #
|
8
|
-
# Copyright (C) 2007-
|
8
|
+
# Copyright (C) 2007-2012 University of Cologne, #
|
9
9
|
# Albertus-Magnus-Platz, #
|
10
10
|
# 50923 Cologne, Germany #
|
11
11
|
# #
|
12
|
+
# Copyright (C) 2013 Jens Wille #
|
13
|
+
# #
|
12
14
|
# Authors: #
|
13
|
-
# Jens Wille <jens.wille@
|
15
|
+
# Jens Wille <jens.wille@gmail.com> #
|
14
16
|
# #
|
15
17
|
# log2counter is free software; you can redistribute it and/or modify it #
|
16
18
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/log2counter.rb
CHANGED
@@ -3,12 +3,14 @@
|
|
3
3
|
# #
|
4
4
|
# log2counter -- Convert (analyse) Apache log files to COUNTER CSV. #
|
5
5
|
# #
|
6
|
-
# Copyright (C) 2007-
|
6
|
+
# Copyright (C) 2007-2012 University of Cologne, #
|
7
7
|
# Albertus-Magnus-Platz, #
|
8
8
|
# 50923 Cologne, Germany #
|
9
9
|
# #
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
11
|
+
# #
|
10
12
|
# Authors: #
|
11
|
-
# Jens Wille <jens.wille@
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
12
14
|
# #
|
13
15
|
# log2counter is free software; you can redistribute it and/or modify it #
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# #
|
4
4
|
# A component of log2counter, the Apache log to COUNTER CSV converter. #
|
5
5
|
# #
|
6
|
-
# Copyright (C) 2007-
|
6
|
+
# Copyright (C) 2007-2012 University of Cologne, #
|
7
7
|
# Albertus-Magnus-Platz, #
|
8
8
|
# 50923 Cologne, Germany #
|
9
9
|
# #
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
11
|
+
# #
|
10
12
|
# Authors: #
|
11
|
-
# Jens Wille <jens.wille@
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
12
14
|
# #
|
13
15
|
# log2counter is free software; you can redistribute it and/or modify it #
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# #
|
4
4
|
# A component of log2counter, the Apache log to COUNTER CSV converter. #
|
5
5
|
# #
|
6
|
-
# Copyright (C) 2007-
|
6
|
+
# Copyright (C) 2007-2012 University of Cologne, #
|
7
7
|
# Albertus-Magnus-Platz, #
|
8
8
|
# 50923 Cologne, Germany #
|
9
9
|
# #
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
11
|
+
# #
|
10
12
|
# Authors: #
|
11
|
-
# Jens Wille <jens.wille@
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
12
14
|
# #
|
13
15
|
# log2counter is free software; you can redistribute it and/or modify it #
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/log2counter/parser.rb
CHANGED
@@ -3,12 +3,14 @@
|
|
3
3
|
# #
|
4
4
|
# A component of log2counter, the Apache log to COUNTER CSV converter. #
|
5
5
|
# #
|
6
|
-
# Copyright (C) 2007-
|
6
|
+
# Copyright (C) 2007-2012 University of Cologne, #
|
7
7
|
# Albertus-Magnus-Platz, #
|
8
8
|
# 50923 Cologne, Germany #
|
9
9
|
# #
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
11
|
+
# #
|
10
12
|
# Authors: #
|
11
|
-
# Jens Wille <jens.wille@
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
12
14
|
# #
|
13
15
|
# log2counter is free software; you can redistribute it and/or modify it #
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/log2counter/printer.rb
CHANGED
@@ -3,12 +3,14 @@
|
|
3
3
|
# #
|
4
4
|
# A component of log2counter, the Apache log to COUNTER CSV converter. #
|
5
5
|
# #
|
6
|
-
# Copyright (C) 2007-
|
6
|
+
# Copyright (C) 2007-2012 University of Cologne, #
|
7
7
|
# Albertus-Magnus-Platz, #
|
8
8
|
# 50923 Cologne, Germany #
|
9
9
|
# #
|
10
|
+
# Copyright (C) 2013 Jens Wille #
|
11
|
+
# #
|
10
12
|
# Authors: #
|
11
|
-
# Jens Wille <jens.wille@
|
13
|
+
# Jens Wille <jens.wille@gmail.com> #
|
12
14
|
# #
|
13
15
|
# log2counter is free software; you can redistribute it and/or modify it #
|
14
16
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -27,7 +27,7 @@
|
|
27
27
|
#
|
28
28
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
29
29
|
#
|
30
|
-
# Modified by Jens Wille <jens.wille@
|
30
|
+
# Modified by Jens Wille <jens.wille@gmail.com>; see log_parser.rb.orig for the
|
31
31
|
# original file.
|
32
32
|
|
33
33
|
require 'logger'
|
data/lib/log2counter/version.rb
CHANGED
metadata
CHANGED
@@ -1,102 +1,83 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: log2counter
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 4
|
10
|
-
version: 0.0.4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.5
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Jens Wille
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-12-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: fastercsv
|
22
|
-
|
23
|
-
|
24
|
-
none: false
|
25
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
26
17
|
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 25
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 2
|
32
|
-
- 3
|
18
|
+
- !ruby/object:Gem::Version
|
33
19
|
version: 1.2.3
|
34
20
|
type: :runtime
|
35
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.2.3
|
36
27
|
description: Convert (analyse) Apache log files to COUNTER CSV.
|
37
|
-
email: jens.wille@
|
38
|
-
executables:
|
28
|
+
email: jens.wille@gmail.com
|
29
|
+
executables:
|
39
30
|
- log2counter
|
40
31
|
extensions: []
|
41
|
-
|
42
|
-
extra_rdoc_files:
|
32
|
+
extra_rdoc_files:
|
43
33
|
- README
|
44
34
|
- COPYING
|
45
35
|
- ChangeLog
|
46
|
-
files:
|
47
|
-
- lib/log2counter
|
48
|
-
- lib/log2counter/version.rb
|
49
|
-
- lib/log2counter/core_ext/sort_by_ip_or_host.rb
|
36
|
+
files:
|
37
|
+
- lib/log2counter.rb
|
50
38
|
- lib/log2counter/core_ext/compare_strings_and_fixnums.rb
|
51
|
-
- lib/log2counter/
|
39
|
+
- lib/log2counter/core_ext/sort_by_ip_or_host.rb
|
52
40
|
- lib/log2counter/parser.rb
|
53
|
-
- lib/log2counter.rb
|
41
|
+
- lib/log2counter/printer.rb
|
42
|
+
- lib/log2counter/vendor/log_parser.rb
|
43
|
+
- lib/log2counter/version.rb
|
54
44
|
- bin/log2counter
|
55
45
|
- lib/log2counter/vendor/log_parser.rb.orig
|
56
|
-
-
|
46
|
+
- COPYING
|
57
47
|
- ChangeLog
|
48
|
+
- README
|
58
49
|
- Rakefile
|
59
|
-
- COPYING
|
60
50
|
- example/licensees.yaml
|
61
|
-
homepage: http://
|
62
|
-
licenses:
|
63
|
-
|
51
|
+
homepage: http://github.com/blackwinter/log2counter
|
52
|
+
licenses:
|
53
|
+
- AGPL-3.0
|
54
|
+
metadata: {}
|
64
55
|
post_install_message:
|
65
|
-
rdoc_options:
|
66
|
-
- --
|
67
|
-
-
|
68
|
-
-
|
69
|
-
- --charset
|
56
|
+
rdoc_options:
|
57
|
+
- "--title"
|
58
|
+
- log2counter Application documentation (v0.0.5)
|
59
|
+
- "--charset"
|
70
60
|
- UTF-8
|
71
|
-
- --
|
72
|
-
- --
|
73
|
-
-
|
74
|
-
|
61
|
+
- "--line-numbers"
|
62
|
+
- "--all"
|
63
|
+
- "--main"
|
64
|
+
- README
|
65
|
+
require_paths:
|
75
66
|
- lib
|
76
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
-
|
78
|
-
requirements:
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
79
69
|
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
version: "0"
|
85
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
-
none: false
|
87
|
-
requirements:
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
88
74
|
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
segments:
|
92
|
-
- 0
|
93
|
-
version: "0"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
94
77
|
requirements: []
|
95
|
-
|
96
|
-
|
97
|
-
rubygems_version: 1.7.2
|
78
|
+
rubyforge_project:
|
79
|
+
rubygems_version: 2.1.11
|
98
80
|
signing_key:
|
99
|
-
specification_version:
|
81
|
+
specification_version: 4
|
100
82
|
summary: Convert (analyse) Apache log files to COUNTER CSV.
|
101
83
|
test_files: []
|
102
|
-
|