halfling 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7a7e84bc418943fb2747fb0b9fbb27da2d001fe
4
- data.tar.gz: 87f010568f931c00ec8aec3a703456a06f80beec
3
+ metadata.gz: 4f295bb0137e3866d065375204ecd50e1cd2bb28
4
+ data.tar.gz: 517ec690a184faa235ea1ebc3534f1b31b577f63
5
5
  SHA512:
6
- metadata.gz: b357d670cc375dda42169ec036d51e0481c13e1077a257483a2f75989300a8f22cda289cb39a639d4295d5703894f5021487aa49cb0f8924a1e23fc8802df756
7
- data.tar.gz: aa0b62fdbc217dec652c1d67bd85d2d1a1f8c6f61fb138cf8659e28bb167ee9e2b232a84a1b3eabad9284a59ecc20f0ebd6078af5130bdb33c7db0c9fe056ec3
6
+ metadata.gz: 76755c440dfff7f5a4d17608cbc178976b7c487a7369b6bfc86d49072e73e6c5e8ecc71b0924b261a9c4fe36b5593eefcf7a28f62e875410c2c72186a4333e6d
7
+ data.tar.gz: 1078c3628e2f839df8d23633383200ac43c1e92525122bc6b7981e1499506b3c7e6f18863ad198d341dce33d2f8b0bba912fad00c5f35dc02c9348c6b8fbb11e
@@ -96,7 +96,7 @@ module Hobbit
96
96
  end
97
97
 
98
98
  def initialize
99
- if self.class.class_variable_defined? :@@controller_routes && @@controller_routes
99
+ if self.class.class_variable_defined?(:@@controller_routes) && @@controller_routes
100
100
  @@controller_routes.each do |route, controller|
101
101
  @@application.map(route) do
102
102
  run controller.new
@@ -104,7 +104,7 @@ module Hobbit
104
104
  end
105
105
  @@controller_routes = nil
106
106
  end
107
- if self.class.class_variable_defined? :@@root_controller && @@root_controller
107
+ if self.class.class_variable_defined?(:@@root_controller) && @@root_controller
108
108
  root_controller = @@root_controller
109
109
  @@application.map("/") do
110
110
  run root_controller.new
@@ -1,3 +1,3 @@
1
1
  module Halfling
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: halfling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo P.