adhearsion-asterisk 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,8 @@
1
1
  # develop
2
2
 
3
+ # v0.1.2 - 2012-01-24
4
+ * Fix a bug that prevented agi actions from completing properly due to accessing their completion reason incorrectly
5
+
3
6
  # v0.1.1 - 2012-01-18
4
7
  * Depend on Adhearsion properly
5
8
 
@@ -18,7 +18,7 @@ module Adhearsion
18
18
  dialplan :agi do |name, *params|
19
19
  component = Punchblock::Component::Asterisk::AGI::Command.new :name => name, :params => params
20
20
  execute_component_and_await_completion component
21
- complete_reason = component.complete_event.resource.reason
21
+ complete_reason = component.complete_event.reason
22
22
  [:code, :result, :data].map { |p| complete_reason.send p }
23
23
  end
24
24
 
@@ -1,5 +1,5 @@
1
1
  module Adhearsion
2
2
  module Asterisk
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -22,7 +22,7 @@ module Adhearsion::Asterisk
22
22
  end
23
23
 
24
24
  it 'should execute an AGI command with the specified name and parameters and return the response code, response and data' do
25
- Punchblock::Component::Asterisk::AGI::Command.any_instance.stubs :complete_event => mock('Complete', :resource => complete_event)
25
+ Punchblock::Component::Asterisk::AGI::Command.any_instance.stubs :complete_event => complete_event
26
26
 
27
27
  subject.expects(:execute_component_and_await_completion).once.with expected_agi_command
28
28
  values = subject.agi 'Dial', '4044754842', 15
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adhearsion-asterisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-18 00:00:00.000000000 Z
13
+ date: 2012-01-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: adhearsion
17
- requirement: &2156115060 !ruby/object:Gem::Requirement
17
+ requirement: &2152740340 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.0.0.alpha1
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156115060
25
+ version_requirements: *2152740340
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activesupport
28
- requirement: &2156130660 !ruby/object:Gem::Requirement
28
+ requirement: &2152739680 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 3.0.10
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2156130660
36
+ version_requirements: *2152739680
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bundler
39
- requirement: &2156129960 !ruby/object:Gem::Requirement
39
+ requirement: &2152739140 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.0.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2156129960
47
+ version_requirements: *2152739140
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rspec
50
- requirement: &2156129340 !ruby/object:Gem::Requirement
50
+ requirement: &2152754940 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 2.5.0
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2156129340
58
+ version_requirements: *2152754940
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: ci_reporter
61
- requirement: &2156128560 !ruby/object:Gem::Requirement
61
+ requirement: &2152754280 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.6.3
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2156128560
69
+ version_requirements: *2152754280
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: simplecov
72
- requirement: &2156127560 !ruby/object:Gem::Requirement
72
+ requirement: &2152750980 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *2156127560
80
+ version_requirements: *2152750980
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: simplecov-rcov
83
- requirement: &2156126720 !ruby/object:Gem::Requirement
83
+ requirement: &2152750220 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *2156126720
91
+ version_requirements: *2152750220
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: yard
94
- requirement: &2156126080 !ruby/object:Gem::Requirement
94
+ requirement: &2152749520 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ~>
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: 0.6.0
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *2156126080
102
+ version_requirements: *2152749520
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rake
105
- requirement: &2156125400 !ruby/object:Gem::Requirement
105
+ requirement: &2152748840 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ! '>='
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: '0'
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *2156125400
113
+ version_requirements: *2152748840
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: mocha
116
- requirement: &2156124340 !ruby/object:Gem::Requirement
116
+ requirement: &2152748060 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ! '>='
@@ -121,10 +121,10 @@ dependencies:
121
121
  version: '0'
122
122
  type: :development
123
123
  prerelease: false
124
- version_requirements: *2156124340
124
+ version_requirements: *2152748060
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bones
127
- requirement: &2156123340 !ruby/object:Gem::Requirement
127
+ requirement: &2152747520 !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
130
  - - ! '>='
@@ -132,10 +132,10 @@ dependencies:
132
132
  version: '0'
133
133
  type: :development
134
134
  prerelease: false
135
- version_requirements: *2156123340
135
+ version_requirements: *2152747520
136
136
  - !ruby/object:Gem::Dependency
137
137
  name: guard-rspec
138
- requirement: &2164469080 !ruby/object:Gem::Requirement
138
+ requirement: &2152763300 !ruby/object:Gem::Requirement
139
139
  none: false
140
140
  requirements:
141
141
  - - ! '>='
@@ -143,10 +143,10 @@ dependencies:
143
143
  version: '0'
144
144
  type: :development
145
145
  prerelease: false
146
- version_requirements: *2164469080
146
+ version_requirements: *2152763300
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: ruby_gntp
149
- requirement: &2164466540 !ruby/object:Gem::Requirement
149
+ requirement: &2152762660 !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements:
152
152
  - - ! '>='
@@ -154,7 +154,7 @@ dependencies:
154
154
  version: '0'
155
155
  type: :development
156
156
  prerelease: false
157
- version_requirements: *2164466540
157
+ version_requirements: *2152762660
158
158
  description: An Adhearsion Plugin providing Asterisk-specific dialplan methods, AMI
159
159
  access, and access to Asterisk configuration
160
160
  email:
@@ -210,7 +210,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
210
  version: '0'
211
211
  segments:
212
212
  - 0
213
- hash: 1232900260893092701
213
+ hash: -3490260311815688158
214
214
  required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  none: false
216
216
  requirements:
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  segments:
221
221
  - 0
222
- hash: 1232900260893092701
222
+ hash: -3490260311815688158
223
223
  requirements: []
224
224
  rubyforge_project: adhearsion-asterisk
225
225
  rubygems_version: 1.8.10