em-udns 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/em-udns.c +14 -14
- metadata +3 -3
data/ext/em-udns.c
CHANGED
@@ -569,20 +569,20 @@ VALUE Resolver_submit_NAPTR(VALUE self, VALUE rb_domain)
|
|
569
569
|
|
570
570
|
|
571
571
|
/* Attribute readers. */
|
572
|
-
VALUE RR_MX_domain(VALUE self) { return
|
573
|
-
VALUE RR_MX_priority(VALUE self) { return
|
574
|
-
|
575
|
-
VALUE RR_SRV_priority(VALUE self) { return
|
576
|
-
VALUE RR_SRV_weight(VALUE self) { return
|
577
|
-
VALUE RR_SRV_port(VALUE self) { return
|
578
|
-
VALUE RR_SRV_domain(VALUE self) { return
|
579
|
-
|
580
|
-
VALUE RR_NAPTR_order(VALUE self) { return
|
581
|
-
VALUE RR_NAPTR_preference(VALUE self) { return
|
582
|
-
VALUE RR_NAPTR_flags(VALUE self) { return
|
583
|
-
VALUE RR_NAPTR_service(VALUE self) { return
|
584
|
-
VALUE RR_NAPTR_regexp(VALUE self) { return
|
585
|
-
VALUE RR_NAPTR_replacement(VALUE self) { return
|
572
|
+
VALUE RR_MX_domain(VALUE self) { return rb_ivar_get(self, rb_intern("@domain")); }
|
573
|
+
VALUE RR_MX_priority(VALUE self) { return rb_ivar_get(self, rb_intern("@priority")); }
|
574
|
+
|
575
|
+
VALUE RR_SRV_priority(VALUE self) { return rb_ivar_get(self, rb_intern("@priority")); }
|
576
|
+
VALUE RR_SRV_weight(VALUE self) { return rb_ivar_get(self, rb_intern("@weight")); }
|
577
|
+
VALUE RR_SRV_port(VALUE self) { return rb_ivar_get(self, rb_intern("@port")); }
|
578
|
+
VALUE RR_SRV_domain(VALUE self) { return rb_ivar_get(self, rb_intern("@domain")); }
|
579
|
+
|
580
|
+
VALUE RR_NAPTR_order(VALUE self) { return rb_ivar_get(self, rb_intern("@order")); }
|
581
|
+
VALUE RR_NAPTR_preference(VALUE self) { return rb_ivar_get(self, rb_intern("@preference")); }
|
582
|
+
VALUE RR_NAPTR_flags(VALUE self) { return rb_ivar_get(self, rb_intern("@flags")); }
|
583
|
+
VALUE RR_NAPTR_service(VALUE self) { return rb_ivar_get(self, rb_intern("@service")); }
|
584
|
+
VALUE RR_NAPTR_regexp(VALUE self) { return rb_ivar_get(self, rb_intern("@regexp")); }
|
585
|
+
VALUE RR_NAPTR_replacement(VALUE self) { return rb_ivar_get(self, rb_intern("@replacement")); }
|
586
586
|
|
587
587
|
|
588
588
|
void Init_em_udns_ext()
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-udns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ default_executable:
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: eventmachine
|
17
|
-
requirement: &
|
17
|
+
requirement: &9925860 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *9925860
|
26
26
|
description: em-udns is an async DNS resolver for EventMachine based on udns C library.
|
27
27
|
Having most of the core written in C, em-udns becomes very fast. It can resolve
|
28
28
|
DNS A, AAAA, PTR, MX, TXT, SRV and NAPTR records, and can handle every kind of errors
|