easy_upnp 1.1.1 → 1.1.2

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: b697312acbbe5ad906d385375b5da32f41e99976
4
- data.tar.gz: cb2b7666648460e0d7632cdde1022ec73872a7f0
3
+ metadata.gz: a269aa109f5d07c0b8ddfd218316a42073704783
4
+ data.tar.gz: ada5f6562fa9b61599348acd514ddca7c5eb4204
5
5
  SHA512:
6
- metadata.gz: 8ecf14d57ea0826ba2a9471ac36914962c84ec4138d1b4f22c04b450e3df8a1c9cf916737d0a353597fb797ea4a0cdab5b6c809586f966e02931490152ac0237
7
- data.tar.gz: 222a363cc222047da62f344f2ef554445cab219c661c7f13f3e55a31cb0d2ff829128719cf4d7109347d17ce99a58d3525c56143321c574e2240d2a72d73f49b
6
+ metadata.gz: fbe22254daada0ff4c6bfc9fe3ff8f4a0a61b62345bc3d959fff778e4df452d53c4980495a5a26eff8506d819ab03b9814f0f7503cd0360ae542948a6ae7873e
7
+ data.tar.gz: bb77cd15ac6cad082c69986b19cb9d392e322e8405ee9f111eb8744677313565b5832dbeaf1e509ce363ee5490ece40a01a8cb51b2a547316072a535e77dc5d2
@@ -152,8 +152,8 @@ module EasyUpnp
152
152
  @service_methods.keys
153
153
  end
154
154
 
155
- def add_event_callback(url)
156
- manager = EasyUpnp::SubscriptionManager.new(@events_client, url)
155
+ def add_event_callback(url, &block)
156
+ manager = EasyUpnp::SubscriptionManager.new(@events_client, url, &block)
157
157
  manager.subscribe
158
158
  manager
159
159
  end
@@ -1,3 +1,3 @@
1
1
  module EasyUpnp
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_upnp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mullins