scale_down 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -0
- data/lib/scale_down/configuration.rb +7 -0
- data/lib/scale_down/controller.rb +1 -1
- data/lib/scale_down/dispatcher.rb +2 -0
- data/lib/scale_down/version.rb +1 -1
- data/lib/scale_down.rb +1 -0
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -7,6 +7,8 @@ class ScaleDown::Dispatcher
|
|
7
7
|
def process(params)
|
8
8
|
dispatcher = new(params)
|
9
9
|
|
10
|
+
ScaleDown.logger.info "Dipatcher#process #{dispatcher.root_path}"
|
11
|
+
|
10
12
|
return ["Missing file", 404] unless dispatcher.root_file_exists?
|
11
13
|
return [dispatcher.redirect_path, 301] if dispatcher.scaled_file_exists?
|
12
14
|
|
data/lib/scale_down/version.rb
CHANGED
data/lib/scale_down.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scale_down
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Weir
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-11 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|