picombo 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/classes/router.rb +3 -2
- data/lib/core/core.rb +2 -0
- data/lib/picombo.rb +1 -0
- metadata +3 -3
data/lib/classes/router.rb
CHANGED
@@ -164,7 +164,8 @@ module Picombo
|
|
164
164
|
@@segments = @@current_uri.split('/')[1..-1]
|
165
165
|
@@rsegments = router_parts[1..-1]
|
166
166
|
routed_uri = @@current_uri
|
167
|
-
|
167
|
+
puts '@@current_uri: '+@@current_uri.inspect
|
168
|
+
puts 'routed_uri: '+routed_uri
|
168
169
|
# Try and find a direct match
|
169
170
|
if @@routes.key?(@@current_uri)
|
170
171
|
routed_uri = @@routes[@@current_uri][:val]
|
@@ -183,7 +184,7 @@ module Picombo
|
|
183
184
|
end
|
184
185
|
end
|
185
186
|
end
|
186
|
-
|
187
|
+
puts '@@rsegments: '+@@rsegments.inspect
|
187
188
|
params = @@rsegments.slice(2, router_parts.length)
|
188
189
|
|
189
190
|
if ! params.nil?
|
data/lib/core/core.rb
CHANGED
data/lib/picombo.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 3
|
9
|
+
version: 0.3.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jeremy Bush
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
version: 0.10.0
|
46
46
|
type: :runtime
|
47
47
|
version_requirements: *id002
|
48
|
-
description: Picombo is a lightweight MVC web framework that enables you to create websites quickly.
|
48
|
+
description: Picombo is a lightweight MVC web framework that enables you to create websites quickly. Testing Heroku functionality currently, resulting in many version bumps.
|
49
49
|
email: contractfrombelow@gmail.com
|
50
50
|
executables: []
|
51
51
|
|