picombo 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/classes/router.rb +1 -1
  2. data/lib/core/core.rb +1 -1
  3. metadata +2 -2
@@ -107,7 +107,7 @@ module Picombo
107
107
  Picombo::Bench.instance.start('controller_execution')
108
108
 
109
109
  Picombo::Event.run('system.pre_controller')
110
- if controller_methods.include?(uri[:method])
110
+ if controller_methods.include?(uri[:method].to_sym)
111
111
  begin
112
112
  if uri[:params].nil? or uri[:params].empty?
113
113
  controller.send(uri[:method])
data/lib/core/core.rb CHANGED
@@ -74,7 +74,7 @@ module Picombo
74
74
  class Core
75
75
  @@cli = false
76
76
 
77
- VERSION = '0.3.5'
77
+ VERSION = '0.3.6'
78
78
 
79
79
  # Determines if the request was made on the CLI or not
80
80
  def self.cli
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 5
9
- version: 0.3.5
8
+ - 6
9
+ version: 0.3.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeremy Bush