ruby_ami 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # [develop](https://github.com/adhearsion/ruby_ami)
2
2
 
3
+ # [1.2.5](https://github.com/adhearsion/ruby_ami/compare/v1.2.4...v1.2.5) - [2012-10-24](https://rubygems.org/gems/ruby_ami/versions/1.2.5)
4
+ * Bugfix: Log wire stuff at trace level
5
+
3
6
  # [1.2.4](https://github.com/adhearsion/ruby_ami/compare/v1.2.3...v1.2.4) - [2012-10-13](https://rubygems.org/gems/ruby_ami/versions/1.2.4)
4
7
  * Bugfix: No longer suffer "invalid byte sequence" exceptions due to encoding mismatch. Thanks tboyko
5
8
 
@@ -0,0 +1,5 @@
1
+ module Celluloid::Logger
2
+ def self.trace(*args, &block)
3
+ debug *args, &block
4
+ end
5
+ end
@@ -49,17 +49,17 @@ module RubyAMI
49
49
  end
50
50
 
51
51
  def send_action(action)
52
- logger.debug "[SEND] #{action.to_s}"
52
+ logger.trace "[SEND] #{action.to_s}"
53
53
  send_data action.to_s
54
54
  end
55
55
 
56
56
  def receive_data(data)
57
- logger.debug "[RECV] #{data}"
57
+ logger.trace "[RECV] #{data}"
58
58
  @lexer << data
59
59
  end
60
60
 
61
61
  def message_received(message)
62
- logger.debug "[RECV] #{message.inspect}"
62
+ logger.trace "[RECV] #{message.inspect}"
63
63
  @event_callback.call message
64
64
  end
65
65
 
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module RubyAMI
3
- VERSION = "1.2.4"
3
+ VERSION = "1.2.5"
4
4
  end
data/lib/ruby_ami.rb CHANGED
@@ -17,6 +17,7 @@ module RubyAMI
17
17
  end
18
18
 
19
19
  %w{
20
+ core_ext/celluloid
20
21
  action
21
22
  agi_result_parser
22
23
  async_agi_environment_parser
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_ami
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-13 00:00:00.000000000 Z
12
+ date: 2012-10-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: celluloid-io
@@ -296,6 +296,7 @@ files:
296
296
  - lib/ruby_ami/agi_result_parser.rb
297
297
  - lib/ruby_ami/async_agi_environment_parser.rb
298
298
  - lib/ruby_ami/client.rb
299
+ - lib/ruby_ami/core_ext/celluloid.rb
299
300
  - lib/ruby_ami/error.rb
300
301
  - lib/ruby_ami/event.rb
301
302
  - lib/ruby_ami/lexer.rl.rb
@@ -330,7 +331,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
330
331
  version: '0'
331
332
  segments:
332
333
  - 0
333
- hash: -2097569653935330103
334
+ hash: 2320408873342490839
334
335
  required_rubygems_version: !ruby/object:Gem::Requirement
335
336
  none: false
336
337
  requirements:
@@ -339,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
339
340
  version: '0'
340
341
  segments:
341
342
  - 0
342
- hash: -2097569653935330103
343
+ hash: 2320408873342490839
343
344
  requirements: []
344
345
  rubyforge_project: ruby_ami
345
346
  rubygems_version: 1.8.23