oldskool 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ module Oldskool
39
39
 
40
40
  handler_class = "%sHandler" % [handler[:type].to_s.capitalize]
41
41
 
42
- if Oldskool.constants.include?(handler_class)
42
+ if Oldskool.constants.map{|k| k.to_s}.include?(handler_class)
43
43
  if defaulting
44
44
  Oldskool.const_get(handler_class).new(params, handler, @config).handle_request("", params[:q])
45
45
  else
@@ -1,3 +1,3 @@
1
1
  module Oldskool
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oldskool
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - R.I.Pienaar
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-19 00:00:00 +00:00
18
+ date: 2012-01-31 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency