clogger 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.olddoc.yml +8 -7
- data/GIT-VERSION-GEN +1 -1
- data/GNUmakefile +1 -1
- data/README +4 -4
- data/clogger.gemspec +2 -2
- data/pkg.mk +1 -1
- metadata +5 -7
- data/archive/rfmig.rb +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 97fb2f9fb82bfc33a07ee55de5b946830c6562dc9fc9d11f5c75d89323f3543e
|
4
|
+
data.tar.gz: 96062fd19c193f6b9a5418ebf237b2425966f56f23133ad389c19bf1de1ebcd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '019753504c2aa28353ed40da5b4612ed9c6e8f94daa91fcfdc7090a7486d45a18448ae03cd75519f79a557b8e7dd576f0939f6e62ef1a65d928c5e9844aed503'
|
7
|
+
data.tar.gz: b4c50eafffa057ccfae3dc9473a19f33a7f1efddf534dd73623002e2d4545daae19a4ea2e1156b539a5d32df56afac3eda351524eb49007a46ae50b936981a1b
|
data/.olddoc.yml
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
---
|
2
|
-
rdoc_url: https://
|
3
|
-
cgit_url: https://
|
4
|
-
git_url: git://
|
5
|
-
public_email: clogger-public@
|
2
|
+
rdoc_url: https://yhbt.net/clogger/
|
3
|
+
cgit_url: https://yhbt.net/clogger.git
|
4
|
+
git_url: git://yhbt.net/clogger.git
|
5
|
+
public_email: clogger-public@yhbt.net
|
6
6
|
ml_url:
|
7
|
-
- https://
|
7
|
+
- https://yhbt.net/clogger-public/
|
8
8
|
- http://ou63pmih66umazou.onion/clogger-public/
|
9
9
|
- nntp://news.public-inbox.org/inbox.comp.lang.ruby.clogger
|
10
10
|
source_code:
|
11
|
-
- git clone git://
|
12
|
-
- git clone https://
|
11
|
+
- git clone git://yhbt.net/clogger.git
|
12
|
+
- git clone https://yhbt.net/clogger.git
|
13
|
+
- torsocks git clone http://ou63pmih66umazou.onion/clogger.git
|
data/GIT-VERSION-GEN
CHANGED
data/GNUmakefile
CHANGED
data/README
CHANGED
@@ -98,12 +98,12 @@ that receives a "<<" method:
|
|
98
98
|
|
99
99
|
The latest development happens in git and is published to the following:
|
100
100
|
|
101
|
-
git clone
|
101
|
+
git clone https://yhbt.net/clogger.git
|
102
102
|
git clone git://repo.or.cz/clogger.git
|
103
103
|
|
104
104
|
You may also browse and download snapshot tarballs:
|
105
105
|
|
106
|
-
* https://
|
106
|
+
* https://yhbt.net/clogger.git
|
107
107
|
* http://repo.or.cz/w/clogger.git (gitweb)
|
108
108
|
|
109
109
|
The mailing list (see below) is central for coordination and
|
@@ -115,11 +115,11 @@ development. Patches should always be sent inline
|
|
115
115
|
All feedback (bug reports, user/development discussion, patches, pull
|
116
116
|
requests) go to the public mailing list.
|
117
117
|
|
118
|
-
* mailto:clogger-public@
|
118
|
+
* mailto:clogger-public@yhbt.net
|
119
119
|
|
120
120
|
Do not send HTML mail or attachments. Do not top post.
|
121
121
|
|
122
|
-
Homepage: https://
|
122
|
+
Homepage: https://yhbt.net/clogger/
|
123
123
|
|
124
124
|
== INSTALL
|
125
125
|
|
data/clogger.gemspec
CHANGED
@@ -4,11 +4,11 @@ manifest = File.exist?('.manifest') ?
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = %q{clogger}
|
6
6
|
s.version = (ENV['VERSION'] || '2.1.0').dup
|
7
|
-
s.homepage = 'https://
|
7
|
+
s.homepage = 'https://yhbt.net/clogger/'
|
8
8
|
s.authors = ["cloggers"]
|
9
9
|
s.summary = 'configurable request logging for Rack'
|
10
10
|
s.description = File.read('README').split("\n\n")[1]
|
11
|
-
s.email = %q{clogger-public@
|
11
|
+
s.email = %q{clogger-public@yhbt.net}
|
12
12
|
s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
|
13
13
|
File.exist?(f)
|
14
14
|
end
|
data/pkg.mk
CHANGED
@@ -60,7 +60,7 @@ doc:: .document .olddoc.yml $(pkg_extra) $(PLACEHOLDERS)
|
|
60
60
|
-find lib -type f -name '*.rbc' -exec rm -f '{}' ';'
|
61
61
|
-find ext -type f -name '*.rbc' -exec rm -f '{}' ';'
|
62
62
|
$(RM) -r doc
|
63
|
-
$(RDOC) -f
|
63
|
+
$(RDOC) -f dark216
|
64
64
|
$(OLDDOC) merge
|
65
65
|
install -m644 COPYING doc/COPYING
|
66
66
|
install -m644 NEWS doc/NEWS
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clogger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cloggers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
description: |-
|
48
48
|
clogger is Rack middleware for logging HTTP requests. The log format
|
49
49
|
is customizable so you can specify exactly which fields to log.
|
50
|
-
email: clogger-public@
|
50
|
+
email: clogger-public@yhbt.net
|
51
51
|
executables: []
|
52
52
|
extensions:
|
53
53
|
- ext/clogger_ext/extconf.rb
|
@@ -71,7 +71,6 @@ files:
|
|
71
71
|
- README
|
72
72
|
- Rakefile
|
73
73
|
- archive/.gitignore
|
74
|
-
- archive/rfmig.rb
|
75
74
|
- archive/slrnpull.conf
|
76
75
|
- clogger.gemspec
|
77
76
|
- ext/clogger_ext/blocking_helpers.h
|
@@ -86,7 +85,7 @@ files:
|
|
86
85
|
- setup.rb
|
87
86
|
- test/test_clogger.rb
|
88
87
|
- test/test_clogger_to_path.rb
|
89
|
-
homepage: https://
|
88
|
+
homepage: https://yhbt.net/clogger/
|
90
89
|
licenses:
|
91
90
|
- LGPL-2.1+
|
92
91
|
metadata: {}
|
@@ -105,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
104
|
- !ruby/object:Gem::Version
|
106
105
|
version: '0'
|
107
106
|
requirements: []
|
108
|
-
|
109
|
-
rubygems_version: 2.6.12
|
107
|
+
rubygems_version: 3.0.2
|
110
108
|
signing_key:
|
111
109
|
specification_version: 4
|
112
110
|
summary: configurable request logging for Rack
|
data/archive/rfmig.rb
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'find'
|
3
|
-
require 'fileutils'
|
4
|
-
rfdir = 'rubyforge.org:/var/www/gforge-projects/clogger/'
|
5
|
-
newbase = 'http://clogger.bogomips.org/'
|
6
|
-
refresh = '<meta http-equiv="refresh" content="0; url=%s" />'
|
7
|
-
old = 'rf.old'
|
8
|
-
new = 'rf.new'
|
9
|
-
cmd = %W(rsync -av #{rfdir} #{old}/)
|
10
|
-
unless File.directory?(old)
|
11
|
-
system(*cmd) or abort "#{cmd.inspect} failed: #$?"
|
12
|
-
end
|
13
|
-
|
14
|
-
Find.find(old) do |path|
|
15
|
-
path =~ /\.html\z/ or next
|
16
|
-
data = File.read(path)
|
17
|
-
tmp = path.split(%r{/})
|
18
|
-
tmp.shift == old or abort "BUG"
|
19
|
-
dst = "#{new}/#{tmp.join('/')}"
|
20
|
-
|
21
|
-
tmp[-1] = '' if tmp[-1] == "index.html"
|
22
|
-
url = "#{newbase}#{tmp.join('/')}"
|
23
|
-
meta = sprintf(refresh, url)
|
24
|
-
data.sub!(/(<head[^>]*>)/i, "#$1#{meta}")
|
25
|
-
data.sub!(/(<body[^>]*>)/i,
|
26
|
-
"#{$1}Redirecting to <a href=\"#{url}\">#{url}</a> ...<br/>")
|
27
|
-
FileUtils.mkdir_p(File.dirname(dst))
|
28
|
-
File.open(dst, "w") { |fp| fp.write(data) }
|
29
|
-
end
|
30
|
-
|
31
|
-
print "Verify results in #{new}/, then run:\n "
|
32
|
-
puts %W(rsync -av #{new}/ #{rfdir}).join(' ')
|