ssdp 1.1.5 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/lib/ssdp.rb +1 -1
  3. data/lib/ssdp/consumer.rb +1 -0
  4. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1bd080216b2e1e4cbea55faf7d5986d788e2f3bd
4
- data.tar.gz: 2dadaf0bd4a0ce828b6c17ac1d8b636b666c18e1
2
+ SHA256:
3
+ metadata.gz: 9dde6e34c6341d13f464d3786568706e2ac0c5d8ab2789cd814dfb8b717746cb
4
+ data.tar.gz: 432923b54a22f5e5f444877606de2d8665767eeb7ae69809b59f414c6c89380d
5
5
  SHA512:
6
- metadata.gz: 65961e05d83af6b6c1f1e6506087568c6fd32511e1bc824dad85622ee5759aee6aff74d12d678acdd7f7c97e9169008f238542293fd7650b069ec20879b395c7
7
- data.tar.gz: 5dc78af9a826e93e4f5f5ce18a1b3fd5d1d08596a12cda369257cc3973bcc1420712abea54639919eee0b036fae932ce5f8a5976d494e21af82bd2c62cb1f42d
6
+ metadata.gz: d197d4f990bbf0838ffac6d06c5e29b4673798b92ef24d30caf56e72f7e548f9a6be2c075d0c6eb01f911ad0f8c41f91cc71c17f652f296cd8589611ad0c8a8f
7
+ data.tar.gz: 8612b41a6f26aad72946a48e916f841f7565c18d78be761e7aa2c007bfe7966f6be5b3a6d2bb0c5a2c1b3088a114a542540a66739d07ff2776594d7a8582dbdc
@@ -59,7 +59,7 @@ module SSDP
59
59
  def create_broadcaster
60
60
  broadcaster = UDPSocket.new
61
61
  broadcaster.setsockopt Socket::SOL_SOCKET, Socket::SO_BROADCAST, true
62
- broadcaster.setsockopt :IPPROTO_IP, :IP_MULTICAST_TTL, 1
62
+ broadcaster.setsockopt Socket::IPPROTO_IP, Socket::IP_MULTICAST_TTL, 1
63
63
  broadcaster
64
64
  end
65
65
  module_function :create_broadcaster
@@ -102,6 +102,7 @@ module SSDP
102
102
  end
103
103
  end
104
104
 
105
+ result = nil unless found
105
106
  if options[:synchronous]
106
107
  result
107
108
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dillon Aumiller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-25 00:00:00.000000000 Z
11
+ date: 2018-02-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: SSDP client/server library. Server notify/part/respond; client search/listen.
14
14
  email: dillonaumiller@gmail.com
@@ -16,13 +16,13 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
+ - LICENSE
19
20
  - lib/ssdp.rb
20
- - lib/ssdp/producer.rb
21
21
  - lib/ssdp/consumer.rb
22
- - LICENSE
22
+ - lib/ssdp/producer.rb
23
23
  homepage: https://github.com/daumiller/ssdp
24
24
  licenses:
25
- - BSD 2-Clause
25
+ - BSD-2-Clause
26
26
  metadata: {}
27
27
  post_install_message:
28
28
  rdoc_options: []
@@ -30,17 +30,17 @@ require_paths:
30
30
  - lib
31
31
  required_ruby_version: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: 1.9.0
36
36
  required_rubygems_version: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 2.0.14
43
+ rubygems_version: 2.7.4
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: SSDP client/server library.