devdnsd 3.0.7 → 3.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28c7c6ea59187147a0866b6925f64b697c22b97d
4
- data.tar.gz: c071ba1c3bf41e96839181da6c8ef494db29449e
3
+ metadata.gz: 882931a354ddc92c288fe0f12841850e4417bd06
4
+ data.tar.gz: e88a5e34a3a182ac5ec13c6b0cb8677ac6740c23
5
5
  SHA512:
6
- metadata.gz: 7d8864db5e8833a5c894d178aa776840034f7781acdc4ed0b9e3427133e1dee102037bd67c5c75f1409bc4d9a33e6bc3113b092da01001890540f09e5b7da906
7
- data.tar.gz: 14261714bcccc23d8b9c8b85655276544b9bc953d623bf1259d5d3299913421a06ed18f5e93dc850d8c7c7a5733aec3296746a3ace35e4d31d084a6df5fe25bf
6
+ metadata.gz: f06a7410544b6787ec1cc7d648a2af9927472c620f90b0b13a00765557d68794eb9e60ae5726416ef6c8470e35fcee8b9af7028e9371312dfa67f08004f52972
7
+ data.tar.gz: a41d41730f874e9199ee35b57ac2101dbdeb29878a49745e8666d09742970f81239a94ca86b5ce9494ee0f098560e4c8bdf6e6b8033f87f52ea8cbfb3ce78550
data/.bundle/install.log CHANGED
@@ -42,3 +42,47 @@ I, [2014-03-08T10:32:52.294090 #70946] INFO -- : 0: rspec-mocks (2.14.6) from
42
42
  I, [2014-03-08T10:32:52.294448 #70946] INFO -- : 0: rspec (2.14.1) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rspec-2.14.1.gemspec
43
43
  I, [2014-03-08T10:32:52.294799 #70946] INFO -- : 0: yard (0.8.7.3) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/yard-0.8.7.3.gemspec
44
44
  I, [2014-03-08T10:32:52.295126 #70946] INFO -- : 0: bundler (1.5.1) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0@global/specifications/bundler-1.5.1.gemspec
45
+ I, [2014-03-08T13:41:58.426718 #12610] INFO -- : 0: rake (10.1.1) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rake-10.1.1.gemspec
46
+ I, [2014-03-08T13:41:58.427136 #12610] INFO -- : 0: i18n (0.6.9) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/i18n-0.6.9.gemspec
47
+ I, [2014-03-08T13:41:58.427446 #12610] INFO -- : 0: multi_json (1.9.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/multi_json-1.9.0.gemspec
48
+ I, [2014-03-08T13:41:58.427731 #12610] INFO -- : 0: activesupport (3.2.17) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/activesupport-3.2.17.gemspec
49
+ I, [2014-03-08T13:41:58.428003 #12610] INFO -- : 0: atomic (1.1.15) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/atomic-1.1.15.gemspec
50
+ I, [2014-03-08T13:41:58.428276 #12610] INFO -- : 0: hashie (2.0.5) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/hashie-2.0.5.gemspec
51
+ I, [2014-03-08T13:41:58.428539 #12610] INFO -- : 0: json (1.8.1) from /Volumes/DATI/Users/Shogun/.rvm/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/specifications/default/json-1.8.1.gemspec
52
+ I, [2014-03-08T13:41:58.428831 #12610] INFO -- : 0: r18n-core (1.1.8) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/r18n-core-1.1.8.gemspec
53
+ I, [2014-03-08T13:41:58.429100 #12610] INFO -- : 0: r18n-desktop (1.1.8) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/r18n-desktop-1.1.8.gemspec
54
+ I, [2014-03-08T13:41:58.429413 #12610] INFO -- : 0: thread_safe (0.2.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/thread_safe-0.2.0.gemspec
55
+ I, [2014-03-08T13:41:58.429681 #12610] INFO -- : 0: tzinfo (1.1.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/tzinfo-1.1.0.gemspec
56
+ I, [2014-03-08T13:41:58.429953 #12610] INFO -- : 0: lazier (3.5.1) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/lazier-3.5.1.gemspec
57
+ I, [2014-03-08T13:41:58.430222 #12610] INFO -- : 0: open4 (1.3.3) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/open4-1.3.3.gemspec
58
+ I, [2014-03-08T13:41:58.430490 #12610] INFO -- : 0: bovem (3.0.5) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/bovem-3.0.5.gemspec
59
+ I, [2014-03-08T13:41:58.430758 #12610] INFO -- : 0: coderay (1.1.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/coderay-1.1.0.gemspec
60
+ I, [2014-03-08T13:41:58.431025 #12610] INFO -- : 0: mime-types (2.1) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/mime-types-2.1.gemspec
61
+ I, [2014-03-08T13:41:58.431283 #12610] INFO -- : 0: rest-client (1.6.7) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rest-client-1.6.7.gemspec
62
+ I, [2014-03-08T13:41:58.431551 #12610] INFO -- : 0: docile (1.1.3) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/docile-1.1.3.gemspec
63
+ I, [2014-03-08T13:41:58.431817 #12610] INFO -- : 0: simplecov-html (0.8.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/simplecov-html-0.8.0.gemspec
64
+ I, [2014-03-08T13:41:58.432082 #12610] INFO -- : 0: simplecov (0.8.2) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/simplecov-0.8.2.gemspec
65
+ I, [2014-03-08T13:41:58.432344 #12610] INFO -- : 0: tins (1.0.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/tins-1.0.0.gemspec
66
+ I, [2014-03-08T13:41:58.432607 #12610] INFO -- : 0: term-ansicolor (1.3.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/term-ansicolor-1.3.0.gemspec
67
+ I, [2014-03-08T13:41:58.432862 #12610] INFO -- : 0: thor (0.18.1) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/thor-0.18.1.gemspec
68
+ I, [2014-03-08T13:41:58.433110 #12610] INFO -- : 0: coveralls (0.7.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/coveralls-0.7.0.gemspec
69
+ I, [2014-03-08T13:41:59.564385 #12610] INFO -- : 0: highline (1.6.21) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/highline-1.6.21.gemspec
70
+ I, [2014-03-08T13:41:59.564782 #12610] INFO -- : 0: mustache (0.99.5) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/mustache-0.99.5.gemspec
71
+ I, [2014-03-08T13:41:59.565057 #12610] INFO -- : 0: plist (3.1.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/plist-3.1.0.gemspec
72
+ I, [2014-03-08T13:41:59.565329 #12610] INFO -- : 0: eventmachine (1.0.3) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/eventmachine-1.0.3.gemspec
73
+ I, [2014-03-08T13:41:59.565604 #12610] INFO -- : 0: rainbow (2.0.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rainbow-2.0.0.gemspec
74
+ I, [2014-03-08T13:41:59.565874 #12610] INFO -- : 0: rexec (1.6.3) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rexec-1.6.3.gemspec
75
+ I, [2014-03-08T13:41:59.566144 #12610] INFO -- : 0: rubydns (0.7.0) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rubydns-0.7.0.gemspec
76
+ I, [2014-03-08T13:41:59.671983 #12610] INFO -- : 0: devdnsd (3.0.8) from /Volumes/DATI/Users/Shogun/Programmazione/Ruby/devdnsd/devdnsd.gemspec
77
+ I, [2014-03-08T13:41:59.672384 #12610] INFO -- : 0: diff-lcs (1.2.5) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/diff-lcs-1.2.5.gemspec
78
+ I, [2014-03-08T13:41:59.672740 #12610] INFO -- : 0: github-markup (1.0.3) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/github-markup-1.0.3.gemspec
79
+ I, [2014-03-08T13:41:59.673033 #12610] INFO -- : 0: kramdown (1.3.2) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/kramdown-1.3.2.gemspec
80
+ I, [2014-03-08T13:41:59.673328 #12610] INFO -- : 0: method_source (0.8.2) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/method_source-0.8.2.gemspec
81
+ I, [2014-03-08T13:41:59.673603 #12610] INFO -- : 0: slop (3.4.7) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/slop-3.4.7.gemspec
82
+ I, [2014-03-08T13:41:59.673889 #12610] INFO -- : 0: pry (0.9.12.6) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/pry-0.9.12.6.gemspec
83
+ I, [2014-03-08T13:41:59.674173 #12610] INFO -- : 0: rspec-core (2.14.8) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rspec-core-2.14.8.gemspec
84
+ I, [2014-03-08T13:41:59.674468 #12610] INFO -- : 0: rspec-expectations (2.14.5) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rspec-expectations-2.14.5.gemspec
85
+ I, [2014-03-08T13:41:59.674750 #12610] INFO -- : 0: rspec-mocks (2.14.6) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rspec-mocks-2.14.6.gemspec
86
+ I, [2014-03-08T13:41:59.675030 #12610] INFO -- : 0: rspec (2.14.1) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/rspec-2.14.1.gemspec
87
+ I, [2014-03-08T13:41:59.675298 #12610] INFO -- : 0: yard (0.8.7.3) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0/specifications/yard-0.8.7.3.gemspec
88
+ I, [2014-03-08T13:41:59.675564 #12610] INFO -- : 0: bundler (1.5.1) from /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.1.0@global/specifications/bundler-1.5.1.gemspec
data/1 ADDED
File without changes
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 3.0.8 / 2014-03-08
2
+
3
+ * Installation fixes.
4
+ * Changed file paths to be more user-friendly.
5
+
1
6
  ### 3.0.7 / 2014-03-08
2
7
 
3
8
  * Show a warning when the configuration file is missing.
data/README.md CHANGED
@@ -37,7 +37,7 @@ Just type `devdnsd help` and you'll see all available options.
37
37
 
38
38
  ## Configuration
39
39
 
40
- By defaults, DevDNSd uses a configuration file in `~/.devdnsd_config`, but you can change the path using the `--config` switch.
40
+ By defaults, DevDNSd uses a configuration file in `~/.devdnsd/default.conf`, but you can change the path using the `--config` switch.
41
41
 
42
42
  The file is a plain Ruby file with a single `config` object that supports the following directives.
43
43
 
data/bin/devdnsd CHANGED
@@ -14,32 +14,38 @@ Bovem::Application.create do
14
14
  description localizer.application_description
15
15
  version DevDNSd::Version::STRING
16
16
 
17
- option :configuration, [], {type: String, help: localizer.application_help_configuration, default: "~/.devdnsd_config", meta: localizer.application_meta_file}
17
+ option :configuration, [], {type: String, help: localizer.application_help_configuration, default: "~/.devdnsd/default.conf", meta: localizer.application_meta_file}
18
18
  option :tld, [], {type: String, help: localizer.application_help_tld, default: "dev", meta: localizer.application_meta_domain}
19
19
  option :port, [], {type: Integer, help: localizer.application_help_port, default: 7771, meta: localizer.application_meta_port}
20
- option :pid_file, [:P, "pid-file"], {type: String, help: localizer.application_help_pid_file, default: "/var/run/devdnsd.pid", meta: localizer.application_meta_file}
21
- option :log_file, [:l, "log-file"], {type: String, help: localizer.application_help_log_file, default: "/var/log/devdnsd.log", meta: localizer.application_meta_file}
20
+ option :pid_file, [:P, "pid-file"], {type: String, help: localizer.application_help_pid_file, default: "~/.devdnsd/daemon.pid", meta: localizer.application_meta_file}
21
+ option :log_file, [:l, "log-file"], {type: String, help: localizer.application_help_log_file, default: "~/.devdnsd/daemon.log", meta: localizer.application_meta_file}
22
22
  option :log_level, [:L, "log-level"], {type: Integer, help: localizer.application_help_log_level, default: 1, meta: localizer.application_meta_level}
23
23
 
24
24
  command :start do
25
25
  description localizer.command_start
26
26
  option :foreground, [:n, "foreground"], {help: localizer.application_help_foreground}
27
- action { |command| DevDNSd::Application.instance(command).action_start() }
27
+ action { |command| DevDNSd::Application.instance(command).action_start }
28
28
  end
29
29
 
30
30
  command :stop do
31
31
  description localizer.command_stop
32
- action { |command| DevDNSd::Application.instance(command).action_stop() }
32
+ action { |command| DevDNSd::Application.instance(command).action_stop }
33
33
  end
34
34
 
35
35
  command :install do
36
36
  description localizer.command_install
37
- action { |command| DevDNSd::Application.instance(command).action_install() }
37
+ action { |command|
38
+ command.application.options[:log_file].set("STDOUT")
39
+ DevDNSd::Application.instance(command).action_install
40
+ }
38
41
  end
39
42
 
40
43
  command :uninstall do
41
44
  description localizer.command_uninstall
42
- action { |command| DevDNSd::Application.instance(command).action_uninstall() }
45
+ action { |command|
46
+ command.application.options[:log_file].set("STDOUT")
47
+ DevDNSd::Application.instance(command).action_uninstall
48
+ }
43
49
  end
44
50
 
45
51
  command :aliases do