spohlenz-sassic 0.2.4 → 0.2.5
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/Rakefile +1 -1
- data/lib/sassic/server.rb +1 -12
- data/sassic.gemspec +2 -2
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/sassic/server.rb
CHANGED
@@ -19,7 +19,7 @@ private
|
|
19
19
|
use Rack::ShowExceptions
|
20
20
|
use Rack::ShowStatus
|
21
21
|
|
22
|
-
use Rack::Static, :urls => [ "/images", "/javascripts" ]
|
22
|
+
use Rack::Static, :urls => [ "/images", "/javascripts", "/assets" ]
|
23
23
|
|
24
24
|
map '/' do
|
25
25
|
run Sassic::Handlers::TemplateHandler.new
|
@@ -34,15 +34,4 @@ private
|
|
34
34
|
def handler
|
35
35
|
Rack::Handler::Mongrel
|
36
36
|
end
|
37
|
-
|
38
|
-
# def setup_mount_points(s)
|
39
|
-
# setup_static_mount_point(s, '/javascripts')
|
40
|
-
# setup_static_mount_point(s, '/images')
|
41
|
-
# s.mount("/stylesheets", Sassic::Servlets::SassServlet)
|
42
|
-
# s.mount("/", Sassic::Servlets::TemplateServlet)
|
43
|
-
# end
|
44
|
-
#
|
45
|
-
# def setup_static_mount_point(s, folder)
|
46
|
-
# s.mount(folder, HTTPServlet::FileHandler, Dir::pwd + folder)
|
47
|
-
# end
|
48
37
|
end
|
data/sassic.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{sassic}
|
5
|
-
s.version = "0.2.
|
5
|
+
s.version = "0.2.5"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Sam Pohlenz"]
|
9
|
-
s.date = %q{2008-11-
|
9
|
+
s.date = %q{2008-11-25}
|
10
10
|
s.default_executable = %q{sassic}
|
11
11
|
s.description = %q{Sassic is a simple framework for creating static web sites using SASS stylesheets.}
|
12
12
|
s.email = %q{sam@sampohlenz.com}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spohlenz-sassic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pohlenz
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-11-
|
12
|
+
date: 2008-11-25 00:00:00 -08:00
|
13
13
|
default_executable: sassic
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|