guard-yard 1.0.2 → 2.0.0

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.
data/README.markdown CHANGED
@@ -33,6 +33,8 @@ Guard::Yard also provides some basic options for doc generation and running the
33
33
  Available options:
34
34
 
35
35
  :port => '8808' # Port on which the server shoud run.
36
+ :stdout => 'yard.log' # File in which to log the yard server output.
37
+ :stderr => '/dev/null' # File in which to log the yard server errors.
36
38
 
37
39
  ## Clean-Slate Documentation
38
40
 
data/lib/guard/yard.rb CHANGED
@@ -33,7 +33,7 @@ module Guard
33
33
  true
34
34
  end
35
35
 
36
- def run_on_change(paths)
36
+ def run_on_changes(paths)
37
37
  UI.info "[Guard::Yard] Detected changes in #{paths.join(',')}."
38
38
  paths.each{ |path| document([path]) }
39
39
  UI.info "[Guard::Yard] Updated documentation for #{paths.join(',')}."
@@ -3,7 +3,7 @@ require 'socket'
3
3
  module Guard
4
4
  class Yard
5
5
  class Server
6
- attr_accessor :pid, :port, :hide_stderr
6
+ attr_accessor :pid, :port
7
7
 
8
8
  def initialize(port, stdout, stderr)
9
9
  @port = port || '8808'
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module Yard
3
- VERSION = "1.0.2"
3
+ VERSION = "2.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-yard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-25 00:00:00.000000000Z
12
+ date: 2012-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &70208451492040 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.2
21
+ version: 1.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70208451492040
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.1.0
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: yard
27
- requirement: &70208451491540 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: 0.7.0
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70208451491540
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.7.0
36
46
  description: Guard::Yard automatically monitors Yard Documentation.
37
47
  email:
38
48
  - pan.thomakos@gmail.com
@@ -66,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
76
  version: '0'
67
77
  requirements: []
68
78
  rubyforge_project: guard-yard
69
- rubygems_version: 1.8.6
79
+ rubygems_version: 1.8.23
70
80
  signing_key:
71
81
  specification_version: 3
72
82
  summary: Guard gem for YARD