jacs 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/actionjabber.rb +10 -9
  2. metadata +2 -2
@@ -40,17 +40,18 @@ module ActionJabber
40
40
  hash = parts.first
41
41
  path_parts = parts.last.split('?', 2)
42
42
  request = Request.new(hash, from, path_parts.first, ((path_parts.length == 2) ? path_parts.last : ''))
43
- begin
43
+ #begin
44
44
  response = {:status => 200, :data => ''}.merge @controller.route!(request)
45
45
  respond_to request, :status => response[:status], :data => response[:data]
46
- rescue
47
- respond_to request, :status => 500
48
- puts "Error responding to #{message.from.to_s.strip}:"
49
- puts $!
50
- else
51
- puts "Responded to '#{from}' in #{(Time.now - start).to_s} seconds."
52
- end
53
- puts "\n"
46
+ #rescue
47
+ # respond_to request, :status => 500
48
+ # puts "Error responding to #{message.from.to_s.strip}:"
49
+ # puts $!
50
+ #else
51
+ # puts "Responded to '#{from}' in #{(Time.now - start).to_s} seconds."
52
+ #end
53
+ puts "Responded to '#{from}' in #{(Time.now - start).to_s} seconds.\n"
54
+ #puts "\n"
54
55
  end
55
56
  end
56
57
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dirk Gadsden