punchblock 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1152b11b0e04b0b908129ed719d27c5d82c3e840
4
- data.tar.gz: 8680c53051c70725c6b3aeb1b1fd05af8e416ceb
3
+ metadata.gz: 7e22367a7afc3824dff77a61e77d6b0008208f7b
4
+ data.tar.gz: b4b52ffd999987e0bb67a4a3da052f3b1547e4d3
5
5
  SHA512:
6
- metadata.gz: 26766a491387d61395c7ebb9cd6302ee7e0ac0c981ec6043b83f5ee098cb11684711b147e4094b2ad7da1c20d23fa9a2e5f39521f7197e90eeb8a1e4d360da92
7
- data.tar.gz: e214e5d8e43088da4105ce7c3f4b20cba314440208cddfcf19887d6386ac517598e9cd7c151735e851abc20c6a93f1d73af589330ad40f71d14bb33ab866af7b
6
+ metadata.gz: f212f2fcbba8b23ed7a88ac16dd8a9785cefaef44818f9d52c35d2155514169fae63ee797268482b0b79b68bf1e01a7c011f59baac6f444eb5f9cc122eced8c4
7
+ data.tar.gz: 48846a2da3e64093ea3fef764ff5f33357f393496f13e70dd767c65fd6040b443fdb44b134b7ae02c9b2be25a2fcf538b71cd91d5e59b220f22c62b148748002
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # [develop](https://github.com/adhearsion/punchblock)
2
2
 
3
+ # [v2.2.1](https://github.com/adhearsion/punchblock/compare/v2.2.0...v2.2.1) - [2014-01-17](https://rubygems.org/gems/punchblock/versions/2.2.1)
4
+ * Bugfix: `Punchblock::Event::Complete::Reason` is now a `Punchblock::Event`
5
+
3
6
  # [v2.2.0](https://github.com/adhearsion/punchblock/compare/v2.1.1...v2.2.0) - [2014-01-15](https://rubygems.org/gems/punchblock/versions/2.2.0)
4
7
  * Feature: Support Rayo CPA and Fax specifications
5
8
  * Feature: Implement a simple filter for AMI events -> Rayo events in `Punchblock::Translator::Asterisk.event_filter=`
@@ -41,7 +41,7 @@ module Punchblock
41
41
  super
42
42
  end
43
43
 
44
- class Reason < RayoNode
44
+ class Reason < Event
45
45
  attribute :name, Symbol, default: ->(node,_) { node.class.registered_name.to_sym }
46
46
 
47
47
  def inherit(xml_node)
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Punchblock
4
- VERSION = "2.2.0"
4
+ VERSION = "2.2.1"
5
5
  end
@@ -401,6 +401,7 @@ module Punchblock
401
401
  subject { RayoNode.from_xml(parse_stanza(stanza).root) }
402
402
 
403
403
  it { should be_instance_of Input::Signal }
404
+ it { should be_a Punchblock::Event }
404
405
 
405
406
  its(:name) { should be == :signal }
406
407
  its(:type) { should be == 'urn:xmpp:rayo:cpa:beep:1' }
@@ -150,5 +150,11 @@ module Punchblock
150
150
  its(:details) { should be == 'Ooops' }
151
151
  end
152
152
  end
153
+
154
+ describe Complete::Reason do
155
+ subject { Complete::Reason.new name: "Foo" }
156
+
157
+ it { should be_a Punchblock::Event }
158
+ end
153
159
  end
154
160
  end # Punchblock
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: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Goecke
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-01-15 00:00:00.000000000 Z
13
+ date: 2014-01-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri