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 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
@@ -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
@@ -3,5 +3,5 @@
3
3
  # NOTE: Do not edit this file manually, this
4
4
  # file is regenerated by task rake version:increase
5
5
  module Rango
6
- VERSION ||= "0.1.1.2"
6
+ VERSION ||= "0.1.1.2.1"
7
7
  end
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-07 00:00:00 +00:00
11
+ date: 2009-12-11 00:00:00 +00:00
12
12
  default_executable: rango
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency