httphere 1.1.0 → 1.1.1
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/bin/httphere +1 -1
- data/httphere.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.1
|
data/bin/httphere
CHANGED
|
@@ -36,7 +36,7 @@ optparse = OptionParser.new do |opts|
|
|
|
36
36
|
$options[:address] = address
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
$options[:cache_size] =
|
|
39
|
+
$options[:cache_size] = 1024 # default is to use a 1MB cache
|
|
40
40
|
opts.on( '--cache-size SIZE', "Turn in-memory caching on and set the maximum cache size. Example: 500K, 10M, 1G") do |size|
|
|
41
41
|
$options[:cache_size] = case size
|
|
42
42
|
when /^\d+$/
|
data/httphere.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{httphere}
|
|
8
|
-
s.version = "1.1.
|
|
8
|
+
s.version = "1.1.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Daniel Parker"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-04-02}
|
|
13
13
|
s.default_executable = %q{httphere}
|
|
14
14
|
s.description = %q{httphere is a very small and simple ruby command-line HTTP file server.}
|
|
15
15
|
s.email = %q{gems@behindlogic.com}
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 1
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 1.1.
|
|
8
|
+
- 1
|
|
9
|
+
version: 1.1.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Daniel Parker
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-04-02 00:00:00 -04:00
|
|
18
18
|
default_executable: httphere
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|