dns-sd 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fdcb5539e1d98f6f2869ebcf2989a701c8cff786437b4e153523792218dae82
4
- data.tar.gz: '09c6dc66d34cb711961d8c5828c50c113f963c0cf243367f4367c0ef0699ab71'
3
+ metadata.gz: fe6917aade5c8c3283020d6594e7f0ec8d49cd30a560eb0ccba6e090ae664044
4
+ data.tar.gz: 6c52ff63c3f335d1c794c829ed69be6d91691bd23c21f057887bfabed01bdcdb
5
5
  SHA512:
6
- metadata.gz: ce4db6e3274d9c635b1f0be3a12caf4ec8143c11857963a5e1d1f03bc9162732872e1a9da7faf946b4e85954eb32fd1460624af71280a45422c13f1a4ed4c61b
7
- data.tar.gz: 24ca5820b7d7a289d98d5e9a2b8a371804697dc4a815338cefa9ce947d148743c801d433ed8b4bd52e3b11c45c3c699875ac65fad8e36dbd452b14d1da3b1dcd
6
+ metadata.gz: f6816a0a6e1bf6a8c7b6e6caf1550eef3c934699c797bfdde30afaf2868bf9b740767b2a35dd9d2795d078924d0aac472af9448359e3f3826e7cfcefb470b4ef
7
+ data.tar.gz: 027a8f2a0602a99afd2697354e545bfb85b29308eefb272b5eec2e201ba464f502c4156ad35953ad350f805f7c74df9661d1f4b2a55658738550764fdec7958d
@@ -0,0 +1,14 @@
1
+ # This file is for unifying the coding style for different editors and IDEs
2
+ # editorconfig.org
3
+
4
+ root = true
5
+
6
+ [*]
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+ indent_style = space
11
+ indent_size = 2
12
+
13
+ [*.md]
14
+ trim_trailing_whitespace = false
@@ -3,8 +3,9 @@ sudo: false
3
3
  cache: bundler
4
4
 
5
5
  rvm:
6
- - 2.4.1
7
- - 2.3.4
6
+ - 2.4.4
7
+ - 2.3.7
8
+ - 1.9.3
8
9
 
9
10
  gemfile:
10
11
  - Gemfile
data/README.md CHANGED
@@ -115,7 +115,7 @@ tracker](https://github.com/discourse/dns-sd/issues). Patches can be sent as a
115
115
  Unless otherwise stated, everything in this repo is covered by the following
116
116
  copyright notice:
117
117
 
118
- Copyright (C) 2017 Civilzed Discourse Construction Kit, Inc.
118
+ Copyright (C) 2017, 2019 Civilized Discourse Construction Kit, Inc.
119
119
 
120
120
  This program is free software: you can redistribute it and/or modify it
121
121
  under the terms of the GNU General Public License version 3, as
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.platform = Gem::Platform::RUBY
14
14
 
15
15
  s.summary = "Query RFC6763 DNS-SD records"
16
- s.description = <<~EOF
16
+ s.description = <<-EOF
17
17
  If you need to retrieve and work with DNS-SD records, this is the library
18
18
  you've been waiting for.
19
19
  EOF
@@ -24,11 +24,11 @@ Gem::Specification.new do |s|
24
24
 
25
25
  s.files = `git ls-files -z`.split("\0").reject { |f| f =~ /^(G|spec|Rakefile)/ }
26
26
 
27
- s.required_ruby_version = ">= 2.3.0"
27
+ s.required_ruby_version = ">= 1.9.1"
28
28
 
29
29
  s.add_development_dependency 'bundler'
30
30
  s.add_development_dependency 'github-release'
31
- s.add_development_dependency 'git-version-bump'
31
+ s.add_development_dependency 'git-version-bump', '~> 0.16'
32
32
  s.add_development_dependency 'guard-rspec'
33
33
  s.add_development_dependency 'guard-rubocop'
34
34
  s.add_development_dependency 'rake', "~> 12.0"
@@ -101,7 +101,8 @@ class DNSSD
101
101
  # returned in a different order.
102
102
  #
103
103
  # @return [Array<DNSSD::Target>]
104
- def targets(deterministic: nil)
104
+ def targets(opts = {})
105
+ deterministic = opts[:deterministic]
105
106
  [].tap do |list|
106
107
  left = cached_resources(@fqdn, Resolv::DNS::Resource::IN::SRV)
107
108
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dns-sd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-12 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: git-version-bump
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '0.16'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '0.16'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: guard-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -164,15 +164,16 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
- description: |
168
- If you need to retrieve and work with DNS-SD records, this is the library
169
- you've been waiting for.
167
+ description: |2
168
+ If you need to retrieve and work with DNS-SD records, this is the library
169
+ you've been waiting for.
170
170
  email:
171
171
  - matt.palmer@discourse.org
172
172
  executables: []
173
173
  extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
+ - ".editorconfig"
176
177
  - ".gitignore"
177
178
  - ".rubocop.yml"
178
179
  - ".travis.yml"
@@ -198,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
198
199
  requirements:
199
200
  - - ">="
200
201
  - !ruby/object:Gem::Version
201
- version: 2.3.0
202
+ version: 1.9.1
202
203
  required_rubygems_version: !ruby/object:Gem::Requirement
203
204
  requirements:
204
205
  - - ">="