httpit 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/httpit +2 -1
- data/httpit.gemspec +1 -1
- metadata +4 -4
data/bin/httpit
CHANGED
@@ -45,7 +45,7 @@ get '/' do
|
|
45
45
|
elsif File.file?('./index.haml')
|
46
46
|
haml :index
|
47
47
|
else
|
48
|
-
@
|
48
|
+
@path = ''
|
49
49
|
@files = get_content.select {|f| f[0] != '.' && f[0] != '..' }
|
50
50
|
haml :listing
|
51
51
|
end
|
@@ -117,6 +117,7 @@ __END__
|
|
117
117
|
:margin-left 20px
|
118
118
|
</style>
|
119
119
|
#wrap
|
120
|
+
= @path
|
120
121
|
%h1
|
121
122
|
%span Folder:
|
122
123
|
= @path == '' ? '/' : @path
|
data/httpit.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httpit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 4
|
10
|
+
version: 0.3.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pavel Evstigneev
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-27 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|