picombo 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -74,6 +74,8 @@ module Picombo
74
74
  class Core
75
75
  @@cli = false
76
76
 
77
+ VERSION = '0.3.3'
78
+
77
79
  # Determines if the request was made on the CLI or not
78
80
  def self.cli
79
81
  @@cli
data/lib/picombo.rb CHANGED
@@ -9,5 +9,6 @@ def run_system()
9
9
  app = Rack::Builder.new do
10
10
  use Rack::Session::Cookie
11
11
  run Picombo::Core.new
12
+ puts '-- Starting Picombo Version '+Picombo::Core::VERSION
12
13
  end
13
14
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 2
9
- version: 0.3.2
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