app-routes 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/app-routes.rb +1 -6
- metadata +2 -2
data/lib/app-routes.rb
CHANGED
@@ -2,16 +2,13 @@
|
|
2
2
|
|
3
3
|
# file: app-routes.rb
|
4
4
|
|
5
|
-
require 'logger'
|
6
|
-
|
7
5
|
module AppRoutes
|
8
6
|
|
9
7
|
attr_accessor :routes
|
10
8
|
|
11
|
-
def initialize(
|
9
|
+
def initialize()
|
12
10
|
@routes = {}
|
13
11
|
@params = {}
|
14
|
-
@logger = Logger.new(logfile,'daily')
|
15
12
|
end
|
16
13
|
|
17
14
|
def run_route(request)
|
@@ -41,8 +38,6 @@ module AppRoutes
|
|
41
38
|
rescue Exception => e
|
42
39
|
|
43
40
|
err_label = e.message + " :: \n" + e.backtrace.join("\n")
|
44
|
-
@logger.debug err_label
|
45
|
-
@logger.debug "app-routes error: " + ($!).to_s
|
46
41
|
end
|
47
42
|
|
48
43
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: app-routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.13
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- James Robertson
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-07-04 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description:
|