dyndoc-ruby 0.9.10 → 0.9.11

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dyndoc-html-servers.rb +6 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c81dd8a9551bdc7f5a9c2a9983b7568a04177d1b
4
- data.tar.gz: 0df86ae57457b9942c9bf95026a56508e278177e
3
+ metadata.gz: 3e794529323a9dab819dac71b1b6de1e6eceaa36
4
+ data.tar.gz: d49314105fb3bdaa7be8c583b488631c1fe413a5
5
5
  SHA512:
6
- metadata.gz: c077688cc61442b83de175fd70348ab8e647669c4fb65ed67f5d69618f9a012849566d3de8d4c2b2cd1300ab7b5cbaf63f6503f1800623c18d13ca29bba2e921
7
- data.tar.gz: c747435c400a740f51968c0c9911a01de11b0fd3037c8c5ea48f7054e3e61cd716ca1c3e7e8a9e5046075c27ced825f3cbbb39ccd85f5849d3d5c711de650cdd
6
+ metadata.gz: 8d232669a147dab82f11839801dd78c5183deb154969a3678fad3e445fe159138efa55868a33cd5fbc0e757e6aaf21f11d1c78b1f6b3d1cea687cd1d2f1ea6b0
7
+ data.tar.gz: 7f525ea4329a3a372d71cf14e68df190d886dd33a2e75e1f0cd52a78bd28e392f0c59a06dbb3a9d085ff3d1ba547f6e1943c0d83c07db6c462ce621cfb58b59c
@@ -17,14 +17,14 @@ module Dyndoc
17
17
  @@cfg
18
18
  end
19
19
 
20
- def HtmlServers.dyn_http_server(host=nil,port="9294")
20
+ def HtmlServers.dyn_http_server(host=nil,port=nil)
21
21
  require 'thin'
22
22
  dyn_html_srv_ru=File.expand_path("../../share/html-srv/dyn-html-srv.ru",__FILE__)
23
23
  arg=["-R",dyn_html_srv_ru]
24
- if port
25
- arg += ["-p",port]
26
- elsif HtmlServers.cfg["html-srv-port"]
24
+ if HtmlServers.cfg["html-srv-port"]
27
25
  arg += ["-p",HtmlServers.cfg["html-srv-port"].to_s]
26
+ else
27
+ arg += ["-p",port || "9294"]
28
28
  end
29
29
  if host
30
30
  arg += ["-a",host]
@@ -95,9 +95,9 @@ ENDREFRESH
95
95
  end
96
96
  else
97
97
  if RUBY_PLATFORM =~ /darwin/
98
- p lint_error
98
+ ##p lint_error
99
99
  cmd_to_display='display notification "' +lint_error.map{|e| e[0].to_s+") "+e[1].to_s}.join('" & "')+ '" with title "Lint Error:'+filename+'"'
100
- p cmd_to_display
100
+ p [:cmd_display,cmd_to_display]
101
101
  `osascript -e '#{cmd_to_display}'`
102
102
  else
103
103
  puts "Lint Error: "+filename+" with "+lint_error.inspect
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyndoc-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - RCqls