punchblock 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,8 @@
1
1
  # [develop](https://github.com/adhearsion/punchblock)
2
2
 
3
+ # [v1.5.3](https://github.com/adhearsion/punchblock/compare/v1.5.2...v1.5.3) - [2012-11-01](https://rubygems.org/gems/punchblock/versions/1.5.3)
4
+ * Doc: Add link to docs for unrenderable doc error
5
+
3
6
  # [v1.5.2](https://github.com/adhearsion/punchblock/compare/v1.5.1...v1.5.2) - [2012-10-25](https://rubygems.org/gems/punchblock/versions/1.5.2)
4
7
  * Bugfix: Use correct GRXML content type
5
8
  * Bugfix: Fix UniMRCP for documents containing commas
@@ -83,7 +83,7 @@ module Punchblock
83
83
  end
84
84
  end.compact
85
85
  rescue
86
- raise UnrenderableDocError, 'The provided document could not be rendered.'
86
+ raise UnrenderableDocError, 'The provided document could not be rendered. See http://adhearsion.com/docs/common_problems#unrenderable-document-error for details.'
87
87
  end
88
88
 
89
89
  def playback(path)
@@ -101,7 +101,6 @@ module Punchblock
101
101
  text.gsub(/,/, '\\,')
102
102
  end
103
103
 
104
-
105
104
  def mrcpsynth_options
106
105
  [].tap do |opts|
107
106
  opts << 'i=any' if [:any, :dtmf].include? @component_node.interrupt_on
@@ -30,7 +30,7 @@ module Punchblock
30
30
  end
31
31
  end.compact
32
32
  rescue
33
- raise UnrenderableDocError, 'The provided document could not be rendered.'
33
+ raise UnrenderableDocError, 'The provided document could not be rendered. See http://adhearsion.com/docs/common_problems#unrenderable-document-error for details.'
34
34
  end
35
35
 
36
36
  def playback(path)
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Punchblock
4
- VERSION = "1.5.2"
4
+ VERSION = "1.5.3"
5
5
  end
@@ -469,7 +469,7 @@ module Punchblock
469
469
 
470
470
  it "should return an unrenderable document error" do
471
471
  subject.execute
472
- error = ProtocolError.new.setup 'unrenderable document error', 'The provided document could not be rendered.'
472
+ error = ProtocolError.new.setup 'unrenderable document error', 'The provided document could not be rendered. See http://adhearsion.com/docs/common_problems#unrenderable-document-error for details.'
473
473
  original_command.response(0.1).should be == error
474
474
  end
475
475
  end
@@ -521,7 +521,7 @@ module Punchblock
521
521
 
522
522
  it "should return an unrenderable document error" do
523
523
  subject.execute
524
- error = ProtocolError.new.setup 'unrenderable document error', 'The provided document could not be rendered.'
524
+ error = ProtocolError.new.setup 'unrenderable document error', 'The provided document could not be rendered. See http://adhearsion.com/docs/common_problems#unrenderable-document-error for details.'
525
525
  original_command.response(0.1).should be == error
526
526
  end
527
527
  end
@@ -72,7 +72,7 @@ module Punchblock
72
72
 
73
73
  it "should return an unrenderable document error" do
74
74
  subject.execute
75
- error = ProtocolError.new.setup 'unrenderable document error', 'The provided document could not be rendered.'
75
+ error = ProtocolError.new.setup 'unrenderable document error', 'The provided document could not be rendered. See http://adhearsion.com/docs/common_problems#unrenderable-document-error for details.'
76
76
  original_command.response(0.1).should be == error
77
77
  end
78
78
 
@@ -161,7 +161,7 @@ module Punchblock
161
161
 
162
162
  it "should return an unrenderable document error" do
163
163
  subject.execute
164
- error = ProtocolError.new.setup 'unrenderable document error', 'The provided document could not be rendered.'
164
+ error = ProtocolError.new.setup 'unrenderable document error', 'The provided document could not be rendered. See http://adhearsion.com/docs/common_problems#unrenderable-document-error for details.'
165
165
  original_command.response(0.1).should be == error
166
166
  end
167
167
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: punchblock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-10-25 00:00:00.000000000 Z
14
+ date: 2012-11-01 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: niceogiri
@@ -515,7 +515,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
515
515
  version: '0'
516
516
  segments:
517
517
  - 0
518
- hash: 1038933123642374556
518
+ hash: -3789580734338132722
519
519
  required_rubygems_version: !ruby/object:Gem::Requirement
520
520
  none: false
521
521
  requirements: