dnssd 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- \������R��� �<f�m�0��jr��qbY i\���m������x���J>D� �o�gP�c�h����.�.�?M1,Nc(o[4pjT/ɯ�9@���~@�w��$_h�֞�AX��V/���7t�?��ҥ�V�u5�록�wlu�ĸk��"?*���&(�����<3L�b�2a;]�ވd>�^�
2
- E~�`z^g�j��3�#�gjx�>���5st�3 ZoLhG
1
+ �,�0�_A^�h���������H���f��L�-ް�}dfd�-��P��<0���X�"Ή��?�Tm
2
+ -�b~�i9[)n7Nh9gZ���� ���5v,;g��a ���"`lqA�N�ԄJ��.-E���R܍�6
@@ -1,3 +1,9 @@
1
+ === 1.3.4 / 2010-08-29
2
+
3
+ * Bug fixes
4
+ * Fixed installation of dnssd shared object at gem build time
5
+ * Fixed 64 -> 32 bit truncation warnings
6
+
1
7
  === 1.3.3 / 2010-08-29
2
8
 
3
9
  * Bug fixes
@@ -69,5 +69,5 @@ have_func 'kDNSServiceFlagsShareConnection', 'dns_sd.h'
69
69
  # avahi 0.6.25 is missing errors after BadTime
70
70
  have_func 'kDNSServiceErr_BadSig', 'dns_sd.h'
71
71
 
72
- create_makefile 'dnssd'
72
+ create_makefile 'dnssd/dnssd'
73
73
 
@@ -241,7 +241,7 @@ dnssd_service_add_record(VALUE self, VALUE _flags, VALUE _rrtype, VALUE _rdata,
241
241
  rrtype = NUM2UINT(_rrtype);
242
242
  rdlen = RSTRING_LEN(_rdata);
243
243
  rdata = (void *)RSTRING_PTR(_rdata);
244
- ttl = NUM2ULONG(_ttl);
244
+ ttl = (uint32_t)NUM2ULONG(_ttl);
245
245
 
246
246
  get(cDNSSDService, self, DNSServiceRef, client);
247
247
 
@@ -308,7 +308,7 @@ dnssd_service_browse(VALUE self, VALUE _flags, VALUE _interface, VALUE _type,
308
308
  flags = (DNSServiceFlags)NUM2ULONG(_flags);
309
309
 
310
310
  if (!NIL_P(_interface))
311
- interface = NUM2ULONG(_interface);
311
+ interface = (uint32_t)NUM2ULONG(_interface);
312
312
 
313
313
  get(cDNSSDService, self, DNSServiceRef, client);
314
314
 
@@ -358,7 +358,7 @@ dnssd_service_enumerate_domains(VALUE self, VALUE _flags, VALUE _interface) {
358
358
  flags = (DNSServiceFlags)NUM2ULONG(_flags);
359
359
 
360
360
  if (!NIL_P(_interface))
361
- interface = NUM2ULONG(_interface);
361
+ interface = (uint32_t)NUM2ULONG(_interface);
362
362
 
363
363
  get(cDNSSDService, self, DNSServiceRef, client);
364
364
 
@@ -418,7 +418,7 @@ dnssd_service_getaddrinfo(VALUE self, VALUE _flags, VALUE _interface,
418
418
  flags = (DNSServiceFlags)NUM2ULONG(_flags);
419
419
 
420
420
  if (!NIL_P(_interface))
421
- interface = NUM2ULONG(_interface);
421
+ interface = (uint32_t)NUM2ULONG(_interface);
422
422
 
423
423
  get(cDNSSDService, self, DNSServiceRef, client);
424
424
 
@@ -474,7 +474,7 @@ dnssd_service_query_record(VALUE self, VALUE _flags, VALUE _interface,
474
474
  uint16_t rrclass;
475
475
 
476
476
  flags = (DNSServiceFlags)NUM2ULONG(_flags);
477
- interface = NUM2ULONG(_interface);
477
+ interface = (uint32_t)NUM2ULONG(_interface);
478
478
  fullname = StringValueCStr(_fullname);
479
479
  rrtype = NUM2UINT(_rrtype);
480
480
  rrclass = NUM2UINT(_rrclass);
@@ -550,7 +550,7 @@ dnssd_service_register(VALUE self, VALUE _flags, VALUE _interface, VALUE _name,
550
550
  flags = (DNSServiceFlags)NUM2ULONG(_flags);
551
551
 
552
552
  if (!NIL_P(_interface))
553
- interface = NUM2ULONG(_interface);
553
+ interface = (uint32_t)NUM2ULONG(_interface);
554
554
 
555
555
  if (rb_block_given_p())
556
556
  callback = dnssd_service_register_reply;
@@ -610,10 +610,10 @@ dnssd_service_resolve(VALUE self, VALUE _flags, VALUE _interface, VALUE _name,
610
610
  domain = StringValueCStr(_domain);
611
611
 
612
612
  if (!NIL_P(_flags))
613
- flags = NUM2ULONG(_flags);
613
+ flags = (uint32_t)NUM2ULONG(_flags);
614
614
 
615
615
  if (!NIL_P(_interface))
616
- interface = NUM2ULONG(_interface);
616
+ interface = (uint32_t)NUM2ULONG(_interface);
617
617
 
618
618
  get(cDNSSDService, self, DNSServiceRef, client);
619
619
 
@@ -13,7 +13,7 @@ module DNSSD
13
13
  ##
14
14
  # The version of DNSSD you're using.
15
15
 
16
- VERSION = '1.3.3'
16
+ VERSION = '1.3.4'
17
17
 
18
18
  ##
19
19
  # Registers +socket+ with DNSSD as +name+. If +service+ is omitted it is
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnssd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 3
10
- version: 1.3.3
9
+ - 4
10
+ version: 1.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Hodel
metadata.gz.sig CHANGED
Binary file