znz-gitpub 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/gitpub.rb +0 -2
- metadata +5 -3
data/gitpub.rb
CHANGED
@@ -173,7 +173,6 @@ class GitPub
|
|
173
173
|
if mime_type != "text/plain"
|
174
174
|
res.write body
|
175
175
|
res['Content-Type'] = mime_type
|
176
|
-
res['Content-Length'] = (body.bytesize rescue body.size).to_s
|
177
176
|
return
|
178
177
|
end
|
179
178
|
E_show_file.result(binding)
|
@@ -212,7 +211,6 @@ class GitPub
|
|
212
211
|
if body
|
213
212
|
res.write body
|
214
213
|
res['Content-Type'] = 'text/html; charset=utf-8'
|
215
|
-
res['Content-Length'] = (body.bytesize rescue body.size).to_s
|
216
214
|
end
|
217
215
|
res.finish
|
218
216
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: znz-gitpub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuhiro NISHIYAMA
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-06-11 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -39,7 +40,8 @@ homepage: http://github.com/znz/gitpub
|
|
39
40
|
post_install_message:
|
40
41
|
rdoc_options: []
|
41
42
|
|
42
|
-
require_paths:
|
43
|
+
require_paths:
|
44
|
+
- .
|
43
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
44
46
|
requirements:
|
45
47
|
- - ">="
|