devdnsd 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +1 -1
  3. data/.travis-gemfile +1 -1
  4. data/.travis.yml +1 -4
  5. data/.yardopts +1 -1
  6. data/Gemfile +1 -1
  7. data/LICENSE.md +21 -0
  8. data/README.md +24 -28
  9. data/Rakefile +1 -1
  10. data/bin/devdnsd +1 -1
  11. data/devdnsd.gemspec +1 -1
  12. data/{doc → docs}/DevDNSd.html +1 -1
  13. data/{doc → docs}/DevDNSd/Aliases.html +1 -1
  14. data/{doc → docs}/DevDNSd/Application.html +1 -1
  15. data/{doc → docs}/DevDNSd/Configuration.html +1 -1
  16. data/{doc → docs}/DevDNSd/Errors.html +1 -1
  17. data/{doc → docs}/DevDNSd/Errors/InvalidRule.html +1 -1
  18. data/{doc → docs}/DevDNSd/OSX.html +1 -1
  19. data/{doc → docs}/DevDNSd/Rule.html +1 -1
  20. data/{doc → docs}/DevDNSd/Server.html +1 -1
  21. data/{doc → docs}/DevDNSd/System.html +1 -1
  22. data/{doc → docs}/DevDNSd/Version.html +1 -1
  23. data/{doc → docs}/_index.html +1 -1
  24. data/{doc → docs}/class_list.html +0 -0
  25. data/{doc → docs}/css/common.css +0 -0
  26. data/{doc → docs}/css/full_list.css +0 -0
  27. data/{doc → docs}/css/style.css +0 -0
  28. data/{doc → docs}/file.README.html +7 -5
  29. data/{doc → docs}/file_list.html +0 -0
  30. data/{doc → docs}/frames.html +0 -0
  31. data/{doc → docs}/index.html +7 -5
  32. data/{doc → docs}/js/app.js +0 -0
  33. data/{doc → docs}/js/full_list.js +0 -0
  34. data/{doc → docs}/js/jquery.js +0 -0
  35. data/{doc → docs}/method_list.html +0 -0
  36. data/{doc → docs}/top-level-namespace.html +1 -1
  37. data/lib/devdnsd.rb +1 -1
  38. data/lib/devdnsd/aliases.rb +1 -1
  39. data/lib/devdnsd/application.rb +1 -1
  40. data/lib/devdnsd/configuration.rb +1 -1
  41. data/lib/devdnsd/errors.rb +1 -1
  42. data/lib/devdnsd/osx.rb +1 -1
  43. data/lib/devdnsd/rule.rb +1 -1
  44. data/lib/devdnsd/server.rb +1 -1
  45. data/lib/devdnsd/system.rb +1 -1
  46. data/lib/devdnsd/version.rb +2 -2
  47. data/locales/en.yml +1 -1
  48. data/locales/it.yml +1 -1
  49. data/spec/devdnsd/application_spec.rb +1 -1
  50. data/spec/devdnsd/configuration_spec.rb +1 -1
  51. data/spec/devdnsd/rule_spec.rb +1 -1
  52. data/spec/resolver_helper.rb +1 -1
  53. data/spec/spec_helper.rb +1 -1
  54. metadata +29 -30
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e86c63c0df9fb463d522f48bfb6bb1bba34ca264
4
- data.tar.gz: e0d478ea1c12a89749ab6e7e1992d861bcc78a47
2
+ SHA256:
3
+ metadata.gz: fd3ed5c35402fba45b6b7a997a297d6b3e9a8369f6361ecbb928f390a607f4b8
4
+ data.tar.gz: ad85520d1738a1b6ec96d4a52d8f6b5b1d183b72a94e80570f862b59a5ab4edf
5
5
  SHA512:
6
- metadata.gz: 7b241da3f9e2ce257d4ebe5865f97f5b78cf697f9015f5f017c9547fc9928d9b7eef9af51f20a95ec6854eb73e6880498d431f7ea68f90818a6a2c22afcbe034
7
- data.tar.gz: 46fc7084e593df3e1ecf7bd23cbd973af2946f7bc575a7dd811c674b37775d6aad4f1749b21792bfe48e8f93ec5e36be351ed2296a648726ab78538f44a9b2bf
6
+ metadata.gz: dae1d4e9dd909f64b92f00c7618cbb49b938f11e158ed505332d39ac1bf390bf4c3a4716b2b845e90a15bdf2f1060b566b91f72ec133e543f63734ae31c69702
7
+ data.tar.gz: ca0583509e29dbe260f0f9f288fc3b6d0097df9a5574c5585027fb6e75f566a616f048a9b429a6a5db10aab55f6325297f684953cddd3ce57a3426c006ee090a
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  AllCops:
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  source "http://rubygems.org"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  language: ruby
@@ -10,6 +10,3 @@ script: bundle exec rake spec:ci
10
10
  gemfile: .travis-gemfile
11
11
  notifications:
12
12
  email: false
13
- addons:
14
- code_climate:
15
- repo_token: bac83dc8b02f38cc87f2d3b6dab710a3b6c80cca3772687f5a6c3b8697dce9c3
data/.yardopts CHANGED
@@ -1 +1 @@
1
- -m markdown
1
+ -o ./docs -m markdown
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  source "http://rubygems.org"
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (C) 2018 and above Shogun <shogun@cowtech.it>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,20 +1,12 @@
1
1
  # devdnsd
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/devdnsd.png)](http://badge.fury.io/rb/devdnsd)
4
- [![Dependency Status](https://gemnasium.com/ShogunPanda/devdnsd.png?travis)](https://gemnasium.com/ShogunPanda/devdnsd)
5
- [![Build Status](https://secure.travis-ci.org/ShogunPanda/devdnsd.png?branch=master)](http://travis-ci.org/ShogunPanda/devdnsd)
6
- [![Code Climate](https://codeclimate.com/github/ShogunPanda/devdnsd.png)](https://codeclimate.com/github/ShogunPanda/devdnsd)
7
- [![Coverage Status](https://coveralls.io/repos/ShogunPanda/devdnsd/badge.png)](https://coveralls.io/r/ShogunPanda/devdnsd)
3
+ ## END OF DEVELOPMENT NOTICE - This gem has been discontinued
8
4
 
9
5
  A small DNS server to enable local .dev domain resolution.
10
6
 
11
- http://sw.cowtech.it/devdnsd
12
-
13
- http://rdoc.info/gems/devdnsd
14
-
15
7
  ## Description
16
8
 
17
- DevDNSd is a small DNS server which add a resolver to the system only for single TLD (by default, **.dev**). This way you can access your local application by typing every kind of url, i.e. *locallapp.dev*.
9
+ DevDNSd is a small DNS server which add a resolver to the system only for single TLD (by default, **.dev**). This way you can access your local application by typing every kind of url, i.e. _locallapp.dev_.
18
10
 
19
11
  Of course, DevDNSd is inspired by [pow](https://github.com/37signals/pow), but it only provides DNS features, delegating the setup of a web-server to the user.
20
12
 
@@ -22,11 +14,11 @@ Of course, DevDNSd is inspired by [pow](https://github.com/37signals/pow), but i
22
14
 
23
15
  1. Install the gem:
24
16
 
25
- `gem install devdnsd`
17
+ `gem install devdnsd`
26
18
 
27
19
  2. Install the service:
28
20
 
29
- `devdnsd install`
21
+ `devdnsd install`
30
22
 
31
23
  **You're done!**
32
24
 
@@ -49,14 +41,14 @@ By defaults, DevDNSd uses a configuration file in `~/.devdnsd/default.conf`, but
49
41
 
50
42
  The file is a plain Ruby file with a single `config` object that supports the following directives.
51
43
 
52
- * `foreground`: If run the application in foreground.
53
- * `address`: The IP to bind, 0.0.0.0 by default.
54
- * `port`: The port to bind, 7771 by default.
55
- * `pid_file`: The PID file to use.
56
- * `tld`: The TLD to handle.
57
- * `log_file`: The default log file. Not used if run in foreground.
58
- * `log_level`: The default log level. Valid values are from 0 to 5 where 0 means "all messages".
59
- * `add_rule`: Add a rule to the server. See section *Rules* below.
44
+ - `foreground`: If run the application in foreground.
45
+ - `address`: The IP to bind, 0.0.0.0 by default.
46
+ - `port`: The port to bind, 7771 by default.
47
+ - `pid_file`: The PID file to use.
48
+ - `tld`: The TLD to handle.
49
+ - `log_file`: The default log file. Not used if run in foreground.
50
+ - `log_level`: The default log level. Valid values are from 0 to 5 where 0 means "all messages".
51
+ - `add_rule`: Add a rule to the server. See section _Rules_ below.
60
52
 
61
53
  ## Rules
62
54
 
@@ -82,15 +74,19 @@ DevDNSd as a local resolver is tightly coupled with the OSX name resolution syst
82
74
 
83
75
  You can, anyway, run the software as DNS server.
84
76
 
77
+ ## API Documentation
78
+
79
+ The API documentation can be found [here](https://sw.cowtech.it/devdnsd/docs).
80
+
85
81
  ## Contributing to devdnsd
86
82
 
87
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
88
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
89
- * Fork the project.
90
- * Start a feature/bugfix branch.
91
- * Commit and push until you are happy with your contribution.
92
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
93
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
83
+ - Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
84
+ - Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
85
+ - Fork the project.
86
+ - Start a feature/bugfix branch.
87
+ - Commit and push until you are happy with your contribution.
88
+ - Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
89
+ - Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
94
90
 
95
91
  ## Copyright
96
92
 
@@ -98,4 +94,4 @@ This software have been made possible by the awesome job of [Samuel Williams](ht
98
94
 
99
95
  Copyright (C) 2013 and above Shogun (shogun@cowtech.it).
100
96
 
101
- Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
97
+ Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2011 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  require "bundler/gem_tasks"
@@ -2,7 +2,7 @@
2
2
  # encoding: utf-8
3
3
  #
4
4
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
5
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
6
6
  #
7
7
 
8
8
  $:.unshift(File.absolute_path(File.dirname(__FILE__) + "/../lib/"))
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  require "./lib/devdnsd/version"
@@ -121,7 +121,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Wed Mar 30 19:23:43 2016 by
124
+ Generated on Thu Aug 18 15:49:57 2016 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
126
  0.8.7.6 (ruby-2.3.0).
127
127
  </div>
@@ -767,7 +767,7 @@
767
767
  </div>
768
768
 
769
769
  <div id="footer">
770
- Generated on Wed Mar 30 19:23:43 2016 by
770
+ Generated on Thu Aug 18 15:49:57 2016 by
771
771
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
772
772
  0.8.7.6 (ruby-2.3.0).
773
773
  </div>
@@ -3635,7 +3635,7 @@
3635
3635
  </div>
3636
3636
 
3637
3637
  <div id="footer">
3638
- Generated on Wed Mar 30 19:23:43 2016 by
3638
+ Generated on Thu Aug 18 15:49:58 2016 by
3639
3639
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3640
3640
  0.8.7.6 (ruby-2.3.0).
3641
3641
  </div>
@@ -451,7 +451,7 @@ config.add_rule("match.dev", "10.0.0.1")
451
451
  </div>
452
452
 
453
453
  <div id="footer">
454
- Generated on Wed Mar 30 19:23:43 2016 by
454
+ Generated on Thu Aug 18 15:49:58 2016 by
455
455
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
456
456
  0.8.7.6 (ruby-2.3.0).
457
457
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Wed Mar 30 19:23:43 2016 by
119
+ Generated on Thu Aug 18 15:49:57 2016 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.8.7.6 (ruby-2.3.0).
122
122
  </div>
@@ -124,7 +124,7 @@
124
124
  </div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Wed Mar 30 19:23:43 2016 by
127
+ Generated on Thu Aug 18 15:49:58 2016 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
129
  0.8.7.6 (ruby-2.3.0).
130
130
  </div>
@@ -974,7 +974,7 @@
974
974
  </div>
975
975
 
976
976
  <div id="footer">
977
- Generated on Wed Mar 30 19:23:43 2016 by
977
+ Generated on Thu Aug 18 15:49:57 2016 by
978
978
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
979
979
  0.8.7.6 (ruby-2.3.0).
980
980
  </div>
@@ -2626,7 +2626,7 @@
2626
2626
  </div>
2627
2627
 
2628
2628
  <div id="footer">
2629
- Generated on Wed Mar 30 19:23:43 2016 by
2629
+ Generated on Thu Aug 18 15:49:58 2016 by
2630
2630
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2631
2631
  0.8.7.6 (ruby-2.3.0).
2632
2632
  </div>
@@ -512,7 +512,7 @@
512
512
  </div>
513
513
 
514
514
  <div id="footer">
515
- Generated on Wed Mar 30 19:23:43 2016 by
515
+ Generated on Thu Aug 18 15:49:57 2016 by
516
516
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
517
517
  0.8.7.6 (ruby-2.3.0).
518
518
  </div>
@@ -886,7 +886,7 @@
886
886
  </div>
887
887
 
888
888
  <div id="footer">
889
- Generated on Wed Mar 30 19:23:43 2016 by
889
+ Generated on Thu Aug 18 15:49:57 2016 by
890
890
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
891
891
  0.8.7.6 (ruby-2.3.0).
892
892
  </div>
@@ -180,7 +180,7 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Wed Mar 30 19:23:43 2016 by
183
+ Generated on Thu Aug 18 15:49:57 2016 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
185
  0.8.7.6 (ruby-2.3.0).
186
186
  </div>
@@ -238,7 +238,7 @@
238
238
  </div>
239
239
 
240
240
  <div id="footer">
241
- Generated on Wed Mar 30 19:23:43 2016 by
241
+ Generated on Thu Aug 18 15:49:57 2016 by
242
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
243
243
  0.8.7.6 (ruby-2.3.0).
244
244
  </div>
File without changes
File without changes
File without changes
File without changes
@@ -67,13 +67,11 @@
67
67
  <a href="https://gemnasium.com/ShogunPanda/devdnsd"><img src="https://gemnasium.com/ShogunPanda/devdnsd.png?travis" alt="Dependency Status" /></a>
68
68
  <a href="http://travis-ci.org/ShogunPanda/devdnsd"><img src="https://secure.travis-ci.org/ShogunPanda/devdnsd.png?branch=master" alt="Build Status" /></a>
69
69
  <a href="https://codeclimate.com/github/ShogunPanda/devdnsd"><img src="https://codeclimate.com/github/ShogunPanda/devdnsd.png" alt="Code Climate" /></a>
70
- <a href="https://coveralls.io/r/ShogunPanda/devdnsd"><img src="https://coveralls.io/repos/ShogunPanda/devdnsd/badge.png" alt="Coverage Status" /></a></p>
70
+ <a href="https://coveralls.io/github/ShogunPanda/devdnsd?branch=master"><img src="https://coveralls.io/repos/github/ShogunPanda/devdnsd/badge.svg?branch=master" alt="Coverage Status" /></a></p>
71
71
 
72
72
  <p>A small DNS server to enable local .dev domain resolution.</p>
73
73
 
74
- <p>http://sw.cowtech.it/devdnsd</p>
75
-
76
- <p>http://rdoc.info/gems/devdnsd</p>
74
+ <p>https://sw.cowtech.it/devdnsd</p>
77
75
 
78
76
  <h2 id="description">Description</h2>
79
77
 
@@ -152,6 +150,10 @@ This argument is ignored if you pass the block, as it assumes that the second ar
152
150
 
153
151
  <p>You can, anyway, run the software as DNS server.</p>
154
152
 
153
+ <h2 id="api-documentation">API Documentation</h2>
154
+
155
+ <p>The API documentation can be found <a href="https://sw.cowtech.it/devdnsd/docs">here</a>.</p>
156
+
155
157
  <h2 id="contributing-to-devdnsd">Contributing to devdnsd</h2>
156
158
 
157
159
  <ul>
@@ -174,7 +176,7 @@ This argument is ignored if you pass the block, as it assumes that the second ar
174
176
  </div></div>
175
177
 
176
178
  <div id="footer">
177
- Generated on Wed Mar 30 19:23:43 2016 by
179
+ Generated on Thu Aug 18 15:49:57 2016 by
178
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
179
181
  0.8.7.6 (ruby-2.3.0).
180
182
  </div>
File without changes
File without changes
@@ -67,13 +67,11 @@
67
67
  <a href="https://gemnasium.com/ShogunPanda/devdnsd"><img src="https://gemnasium.com/ShogunPanda/devdnsd.png?travis" alt="Dependency Status" /></a>
68
68
  <a href="http://travis-ci.org/ShogunPanda/devdnsd"><img src="https://secure.travis-ci.org/ShogunPanda/devdnsd.png?branch=master" alt="Build Status" /></a>
69
69
  <a href="https://codeclimate.com/github/ShogunPanda/devdnsd"><img src="https://codeclimate.com/github/ShogunPanda/devdnsd.png" alt="Code Climate" /></a>
70
- <a href="https://coveralls.io/r/ShogunPanda/devdnsd"><img src="https://coveralls.io/repos/ShogunPanda/devdnsd/badge.png" alt="Coverage Status" /></a></p>
70
+ <a href="https://coveralls.io/github/ShogunPanda/devdnsd?branch=master"><img src="https://coveralls.io/repos/github/ShogunPanda/devdnsd/badge.svg?branch=master" alt="Coverage Status" /></a></p>
71
71
 
72
72
  <p>A small DNS server to enable local .dev domain resolution.</p>
73
73
 
74
- <p>http://sw.cowtech.it/devdnsd</p>
75
-
76
- <p>http://rdoc.info/gems/devdnsd</p>
74
+ <p>https://sw.cowtech.it/devdnsd</p>
77
75
 
78
76
  <h2 id="description">Description</h2>
79
77
 
@@ -152,6 +150,10 @@ This argument is ignored if you pass the block, as it assumes that the second ar
152
150
 
153
151
  <p>You can, anyway, run the software as DNS server.</p>
154
152
 
153
+ <h2 id="api-documentation">API Documentation</h2>
154
+
155
+ <p>The API documentation can be found <a href="https://sw.cowtech.it/devdnsd/docs">here</a>.</p>
156
+
155
157
  <h2 id="contributing-to-devdnsd">Contributing to devdnsd</h2>
156
158
 
157
159
  <ul>
@@ -174,7 +176,7 @@ This argument is ignored if you pass the block, as it assumes that the second ar
174
176
  </div></div>
175
177
 
176
178
  <div id="footer">
177
- Generated on Wed Mar 30 19:23:43 2016 by
179
+ Generated on Thu Aug 18 15:49:57 2016 by
178
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
179
181
  0.8.7.6 (ruby-2.3.0).
180
182
  </div>
File without changes
File without changes
File without changes
File without changes
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Wed Mar 30 19:23:43 2016 by
106
+ Generated on Thu Aug 18 15:49:57 2016 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.6 (ruby-2.3.0).
109
109
  </div>
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  require "rubydns"
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  # A small DNS server to enable local .dev domain resolution.
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  # A small DNS server to enable local .dev domain resolution.
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  module DevDNSd
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  module DevDNSd
@@ -1,5 +1,5 @@
1
1
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
2
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
2
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
3
3
  #
4
4
 
5
5
  # A small DNS server to enable local .dev domain resolution.
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  module DevDNSd
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  # A small DNS server to enable local .dev domain resolution.
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  # A small DNS server to enable local .dev domain resolution.
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  module DevDNSd
@@ -16,7 +16,7 @@ module DevDNSd
16
16
  MINOR = 0
17
17
 
18
18
  # The patch version.
19
- PATCH = 0
19
+ PATCH = 1
20
20
 
21
21
  # The current version number of DevDNSd.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  require "spec_helper"
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  require "spec_helper"
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  require "spec_helper"
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  def devdnsd_resolv(address = "match.dev", type = "ANY", nameserver = "127.0.0.1", port = 7771, logger = nil)
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
4
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
5
5
  #
6
6
 
7
7
  require "bundler/setup"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devdnsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shogun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-30 00:00:00.000000000 Z
11
+ date: 2019-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bovem
@@ -98,36 +98,37 @@ files:
98
98
  - ".yardopts"
99
99
  - CHANGELOG.md
100
100
  - Gemfile
101
+ - LICENSE.md
101
102
  - README.md
102
103
  - Rakefile
103
104
  - bin/devdnsd
104
105
  - config/devdnsd_config.sample
105
106
  - devdnsd.gemspec
106
- - doc/DevDNSd.html
107
- - doc/DevDNSd/Aliases.html
108
- - doc/DevDNSd/Application.html
109
- - doc/DevDNSd/Configuration.html
110
- - doc/DevDNSd/Errors.html
111
- - doc/DevDNSd/Errors/InvalidRule.html
112
- - doc/DevDNSd/OSX.html
113
- - doc/DevDNSd/Rule.html
114
- - doc/DevDNSd/Server.html
115
- - doc/DevDNSd/System.html
116
- - doc/DevDNSd/Version.html
117
- - doc/_index.html
118
- - doc/class_list.html
119
- - doc/css/common.css
120
- - doc/css/full_list.css
121
- - doc/css/style.css
122
- - doc/file.README.html
123
- - doc/file_list.html
124
- - doc/frames.html
125
- - doc/index.html
126
- - doc/js/app.js
127
- - doc/js/full_list.js
128
- - doc/js/jquery.js
129
- - doc/method_list.html
130
- - doc/top-level-namespace.html
107
+ - docs/DevDNSd.html
108
+ - docs/DevDNSd/Aliases.html
109
+ - docs/DevDNSd/Application.html
110
+ - docs/DevDNSd/Configuration.html
111
+ - docs/DevDNSd/Errors.html
112
+ - docs/DevDNSd/Errors/InvalidRule.html
113
+ - docs/DevDNSd/OSX.html
114
+ - docs/DevDNSd/Rule.html
115
+ - docs/DevDNSd/Server.html
116
+ - docs/DevDNSd/System.html
117
+ - docs/DevDNSd/Version.html
118
+ - docs/_index.html
119
+ - docs/class_list.html
120
+ - docs/css/common.css
121
+ - docs/css/full_list.css
122
+ - docs/css/style.css
123
+ - docs/file.README.html
124
+ - docs/file_list.html
125
+ - docs/frames.html
126
+ - docs/index.html
127
+ - docs/js/app.js
128
+ - docs/js/full_list.js
129
+ - docs/js/jquery.js
130
+ - docs/method_list.html
131
+ - docs/top-level-namespace.html
131
132
  - lib/devdnsd.rb
132
133
  - lib/devdnsd/aliases.rb
133
134
  - lib/devdnsd/application.rb
@@ -164,8 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
165
  - !ruby/object:Gem::Version
165
166
  version: '0'
166
167
  requirements: []
167
- rubyforge_project: devdnsd
168
- rubygems_version: 2.5.1
168
+ rubygems_version: 3.0.3
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: A small DNS server to enable local domain resolution.
@@ -175,4 +175,3 @@ test_files:
175
175
  - spec/devdnsd/rule_spec.rb
176
176
  - spec/resolver_helper.rb
177
177
  - spec/spec_helper.rb
178
- has_rdoc: