thinner 0.1.3 → 0.1.4
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/VERSION +1 -1
- data/documentation/index.html.erb +2 -0
- data/index.html +4 -4
- data/lib/thinner/client.rb +3 -3
- data/thinner.gemspec +47 -55
- metadata +10 -14
- data/.gitignore +0 -21
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
@@ -59,6 +59,8 @@ end
|
|
59
59
|
the command like so:</p>
|
60
60
|
<pre>cat urls_to_purge.txt | bin/thinner -e</pre>
|
61
61
|
<h2>Change Log</h2>
|
62
|
+
<h3>0.1.2</h3>
|
63
|
+
<p>Force process to exit on signals and fixed gem warning.</p>
|
62
64
|
<h3>0.1.1</h3>
|
63
65
|
<p>Fixed bug in command line argument parsing.</p>
|
64
66
|
<h3>0.1.0</h3>
|
data/index.html
CHANGED
@@ -3,15 +3,13 @@
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
6
|
-
<title>Thinner -- Version 0.1.
|
7
|
-
</title>
|
6
|
+
<title>Thinner -- Version 0.1.4</title>
|
8
7
|
<link rel="stylesheet" type="text/css" href="documentation/css/styles.css" />
|
9
8
|
<link rel="stylesheet" type="text/css" href="documentation/css/dawn.css" />
|
10
9
|
</head>
|
11
10
|
<body>
|
12
11
|
<a href="http://www.propublica.org" class="propublica"> </a>
|
13
|
-
<h1>Thinner – Version 0.1.
|
14
|
-
</h1>
|
12
|
+
<h1>Thinner – Version 0.1.4</h1>
|
15
13
|
<p><a href="https://github.com/propublica/thinner">Thinner</a> is a utility
|
16
14
|
for purging urls from a Varnish server.</p>
|
17
15
|
<p>When you are deploying code changes to a server under load, the uncached
|
@@ -82,6 +80,8 @@ arr <span class="Keyword"><<</span> ["/some_route"<span class="P
|
|
82
80
|
the command like so:</p>
|
83
81
|
<pre>cat urls_to_purge.txt | bin/thinner -e</pre>
|
84
82
|
<h2>Change Log</h2>
|
83
|
+
<h3>0.1.2</h3>
|
84
|
+
<p>Force process to exit on signals and fixed gem warning.</p>
|
85
85
|
<h3>0.1.1</h3>
|
86
86
|
<p>Fixed bug in command line argument parsing.</p>
|
87
87
|
<h3>0.1.0</h3>
|
data/lib/thinner/client.rb
CHANGED
@@ -65,9 +65,9 @@ module Thinner
|
|
65
65
|
# job and close the log.
|
66
66
|
def handle_errors
|
67
67
|
trap('HUP') { }
|
68
|
-
trap('TERM') { close_log }
|
69
|
-
trap('KILL') { close_log }
|
70
|
-
trap('INT') { close_log }
|
68
|
+
trap('TERM') { close_log; Process.exit! }
|
69
|
+
trap('KILL') { close_log; Process.exit! }
|
70
|
+
trap('INT') { close_log; Process.exit! }
|
71
71
|
end
|
72
72
|
|
73
73
|
# The logger redirects all STDOUT writes to a logger instance.
|
data/thinner.gemspec
CHANGED
@@ -1,78 +1,70 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{thinner}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
13
|
-
s.default_executable = %q{thinner}
|
11
|
+
s.authors = [%q{Jeff Larson}]
|
12
|
+
s.date = %q{2011-05-20}
|
14
13
|
s.description = %q{Thinner takes a list of urls or newline seperated stdin and purges them from Varnish.}
|
15
14
|
s.email = %q{thejefflarson@gmail.com}
|
16
|
-
s.executables = [
|
15
|
+
s.executables = [%q{thinner}]
|
17
16
|
s.extra_rdoc_files = [
|
18
17
|
"LICENSE",
|
19
|
-
|
18
|
+
"README"
|
20
19
|
]
|
21
20
|
s.files = [
|
22
21
|
".document",
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
"thinner.gemspec"
|
22
|
+
"LICENSE",
|
23
|
+
"README",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"bin/thinner",
|
27
|
+
"doc/Thinner.html",
|
28
|
+
"doc/Thinner/Client.html",
|
29
|
+
"doc/Thinner/CommandLine.html",
|
30
|
+
"doc/Thinner/Configuration.html",
|
31
|
+
"doc/Thinner/Purger.html",
|
32
|
+
"doc/_index.html",
|
33
|
+
"doc/class_list.html",
|
34
|
+
"doc/css/common.css",
|
35
|
+
"doc/css/full_list.css",
|
36
|
+
"doc/css/style.css",
|
37
|
+
"doc/file.README.html",
|
38
|
+
"doc/file_list.html",
|
39
|
+
"doc/frames.html",
|
40
|
+
"doc/index.html",
|
41
|
+
"doc/js/app.js",
|
42
|
+
"doc/js/full_list.js",
|
43
|
+
"doc/js/jquery.js",
|
44
|
+
"doc/method_list.html",
|
45
|
+
"doc/top-level-namespace.html",
|
46
|
+
"documentation/css/dawn.css",
|
47
|
+
"documentation/css/styles.css",
|
48
|
+
"documentation/examples/configure.rb",
|
49
|
+
"documentation/examples/purge.rb",
|
50
|
+
"documentation/images/proplogo.png",
|
51
|
+
"documentation/index.html.erb",
|
52
|
+
"index.html",
|
53
|
+
"lib/thinner.rb",
|
54
|
+
"lib/thinner/client.rb",
|
55
|
+
"lib/thinner/command_line.rb",
|
56
|
+
"lib/thinner/configuration.rb",
|
57
|
+
"lib/thinner/purger.rb",
|
58
|
+
"test/helper.rb",
|
59
|
+
"test/test_thinner.rb",
|
60
|
+
"thinner.gemspec"
|
63
61
|
]
|
64
62
|
s.homepage = %q{http://github.com/propublica/thinner}
|
65
|
-
s.
|
66
|
-
s.
|
67
|
-
s.rubygems_version = %q{1.3.7}
|
63
|
+
s.require_paths = [%q{lib}]
|
64
|
+
s.rubygems_version = %q{1.8.2}
|
68
65
|
s.summary = %q{Thinner removes Varnish cache, as slowly as you need it to.}
|
69
|
-
s.test_files = [
|
70
|
-
"test/helper.rb",
|
71
|
-
"test/test_thinner.rb"
|
72
|
-
]
|
73
66
|
|
74
67
|
if s.respond_to? :specification_version then
|
75
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
76
68
|
s.specification_version = 3
|
77
69
|
|
78
70
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thinner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jeff Larson
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable: thinner
|
18
|
+
date: 2011-05-20 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: klarlack
|
@@ -59,7 +58,6 @@ extra_rdoc_files:
|
|
59
58
|
- README
|
60
59
|
files:
|
61
60
|
- .document
|
62
|
-
- .gitignore
|
63
61
|
- LICENSE
|
64
62
|
- README
|
65
63
|
- Rakefile
|
@@ -99,13 +97,12 @@ files:
|
|
99
97
|
- test/helper.rb
|
100
98
|
- test/test_thinner.rb
|
101
99
|
- thinner.gemspec
|
102
|
-
has_rdoc: true
|
103
100
|
homepage: http://github.com/propublica/thinner
|
104
101
|
licenses: []
|
105
102
|
|
106
103
|
post_install_message:
|
107
|
-
rdoc_options:
|
108
|
-
|
104
|
+
rdoc_options: []
|
105
|
+
|
109
106
|
require_paths:
|
110
107
|
- lib
|
111
108
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -129,10 +126,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
126
|
requirements: []
|
130
127
|
|
131
128
|
rubyforge_project:
|
132
|
-
rubygems_version: 1.
|
129
|
+
rubygems_version: 1.8.2
|
133
130
|
signing_key:
|
134
131
|
specification_version: 3
|
135
132
|
summary: Thinner removes Varnish cache, as slowly as you need it to.
|
136
|
-
test_files:
|
137
|
-
|
138
|
-
- test/test_thinner.rb
|
133
|
+
test_files: []
|
134
|
+
|