servel 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +8 -8
- data/Gemfile +6 -6
- data/LICENSE.txt +21 -21
- data/README.md +39 -39
- data/Rakefile +2 -2
- data/bin/console +14 -14
- data/bin/servel +4 -4
- data/bin/setup +8 -8
- data/lib/servel.rb +27 -27
- data/lib/servel/app.rb +0 -0
- data/lib/servel/cli.rb +17 -17
- data/lib/servel/haml_context.rb +28 -28
- data/lib/servel/home_app.rb +11 -11
- data/lib/servel/locals.rb +0 -0
- data/lib/servel/path.rb +37 -37
- data/lib/servel/path_builder.rb +1 -1
- data/lib/servel/templates/_gallery.haml +7 -7
- data/lib/servel/templates/_listing.haml +20 -20
- data/lib/servel/templates/common.css +24 -24
- data/lib/servel/templates/gallery.css +5 -6
- data/lib/servel/templates/gallery.js +4 -1
- data/lib/servel/templates/home.css +15 -15
- data/lib/servel/templates/home.haml +18 -18
- data/lib/servel/templates/index.css +14 -14
- data/lib/servel/templates/index.haml +18 -18
- data/lib/servel/templates/listing.css +55 -55
- data/lib/servel/templates/normalize.css +447 -447
- data/lib/servel/version.rb +1 -1
- data/servel.gemspec +31 -31
- metadata +3 -3
data/lib/servel/version.rb
CHANGED
data/servel.gemspec
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "servel/version"
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "servel"
|
8
|
-
spec.version = Servel::VERSION
|
9
|
-
spec.authors = ["Brenton \"B-Train\" Fletcher"]
|
10
|
-
spec.email = ["i@bloople.net"]
|
11
|
-
|
12
|
-
spec.summary = %q{Serves files and directories over HTTP.}
|
13
|
-
spec.description = %q{Serves files and directories over HTTP.}
|
14
|
-
spec.homepage = "http://bloople.net/"
|
15
|
-
spec.license = "MIT"
|
16
|
-
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
-
f.match(%r{^(test|spec|features)/})
|
19
|
-
end
|
20
|
-
spec.bindir = "bin"
|
21
|
-
spec.executables = "servel"
|
22
|
-
spec.require_paths = ["lib"]
|
23
|
-
|
24
|
-
spec.add_development_dependency "bundler", "~> 1.16"
|
25
|
-
spec.add_development_dependency "rake", "~> 12.0"
|
26
|
-
spec.add_dependency "rack", "~> 2.0"
|
27
|
-
spec.add_dependency "puma"
|
28
|
-
spec.add_dependency "naturalsorter"
|
29
|
-
spec.add_dependency "haml", "~> 4"
|
30
|
-
spec.add_dependency "activesupport"
|
31
|
-
end
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "servel/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "servel"
|
8
|
+
spec.version = Servel::VERSION
|
9
|
+
spec.authors = ["Brenton \"B-Train\" Fletcher"]
|
10
|
+
spec.email = ["i@bloople.net"]
|
11
|
+
|
12
|
+
spec.summary = %q{Serves files and directories over HTTP.}
|
13
|
+
spec.description = %q{Serves files and directories over HTTP.}
|
14
|
+
spec.homepage = "http://bloople.net/"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = "bin"
|
21
|
+
spec.executables = "servel"
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
25
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
26
|
+
spec.add_dependency "rack", "~> 2.0"
|
27
|
+
spec.add_dependency "puma"
|
28
|
+
spec.add_dependency "naturalsorter"
|
29
|
+
spec.add_dependency "haml", "~> 4"
|
30
|
+
spec.add_dependency "activesupport"
|
31
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: servel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brenton "B-Train" Fletcher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
165
|
version: '0'
|
166
166
|
requirements: []
|
167
167
|
rubyforge_project:
|
168
|
-
rubygems_version: 2.6.
|
168
|
+
rubygems_version: 2.6.14
|
169
169
|
signing_key:
|
170
170
|
specification_version: 4
|
171
171
|
summary: Serves files and directories over HTTP.
|