rango 0.1.1.2 → 0.1.1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -1
- data/lib/rango/controller.rb +1 -1
- data/lib/rango/version.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -17,6 +17,8 @@ Dir["tasks/*.rake"].each do |taskfile|
|
|
17
17
|
begin
|
18
18
|
load File.join(Dir.pwd, taskfile)
|
19
19
|
rescue Exception => exception
|
20
|
-
puts exception
|
20
|
+
puts "Exception #{exception.class} occured during loading #{taskfile}:"
|
21
|
+
puts exception.message
|
22
|
+
puts exception.backtrace
|
21
23
|
end
|
22
24
|
end
|
data/lib/rango/controller.rb
CHANGED
@@ -20,7 +20,7 @@ module Rango
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def to_response
|
23
|
-
method = env["rango.controller.action"].to_sym
|
23
|
+
method = self.request.env["rango.controller.action"].to_sym
|
24
24
|
unless controller.respond_to?(method) # TODO: what about method_missing?
|
25
25
|
raise NotFound, "Controller #{self.name} doesn't have method #{method}"
|
26
26
|
end
|
data/lib/rango/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rango
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1.2
|
4
|
+
version: 0.1.1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
|
-
date: 2009-12-
|
11
|
+
date: 2009-12-11 00:00:00 +00:00
|
12
12
|
default_executable: rango
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|