moomerman-rambo 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ module Redirect
4
4
  unless destination[0,1] == "/"
5
5
  destination = "/#{self.controller}/#{destination}"
6
6
  end
7
- puts "redirecting to #{destination}"
7
+ #puts "redirecting to #{destination}"
8
8
 
9
9
  response.status = 302
10
10
  response.header['Location'] = destination
@@ -5,7 +5,7 @@ require 'rambo/controller/redirect'
5
5
 
6
6
  module Rambo
7
7
  class Controller
8
- attr_accessor :params, :request, :response
8
+ attr_accessor :request, :response
9
9
 
10
10
  include Template
11
11
  include Cache
data/lib/rambo/server.rb CHANGED
@@ -65,12 +65,12 @@ module Rambo
65
65
  @@loadcache ||= {}
66
66
  if cache = @@loadcache[file]
67
67
  if (mtime = File.mtime(file)) > cache
68
- puts "reloading: #{file}"
68
+ #puts "reloading: #{file}"
69
69
  load file
70
70
  @@loadcache[file] = mtime
71
71
  end
72
72
  else
73
- puts "loading: #{file}"
73
+ #puts "loading: #{file}"
74
74
  load file
75
75
  @@loadcache[file] = File.mtime(file)
76
76
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moomerman-rambo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor