guard-yard 2.1.3 → 2.1.4

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: 16b61ad3d66274004ed5ef18c3b4c519c8e5e720
4
- data.tar.gz: 0d8385afa823401e51a341ec20e6ef1b7f73a2d7
3
+ metadata.gz: 434a0ae6ebca42341d296bd0b0dbe0cf6277e338
4
+ data.tar.gz: 412d9c189a3d610ec839fef398c7861d7349d246
5
5
  SHA512:
6
- metadata.gz: 80702c5e6894e215b14e89aa879ae114b445aa321ffcc2c5018b557ed4f08152da8fbfd2e457fc7c40ed4f7837c1147f8a1e07d90526883f4332b88985bfc9b4
7
- data.tar.gz: 84b1d4cf8563baa5b1c67eadc66672d78ce0e7bbad75b6117bd6de1a40ace01d1bff41262e52ae19cdc8f005a2250761bf0e0fd80d2c28788451d184d2e8de03
6
+ metadata.gz: 61d5b1ec3083a8b5194922943d0bef9843588bf54e46139aedde790393bd1e3ae31f3680557841c938bf2fc3b9e71169e62b7b827f6629464180ee6efca4cd51
7
+ data.tar.gz: 6ff77b47418369da0b450a65a6229316885fd0167f6197d22ec1d9ff2c7c21248ead659bf0f755e73c181769b9f9a5b7dd59db2846c5fce526087a85f2ad106f
@@ -1,16 +1,16 @@
1
1
  require 'guard'
2
- require 'guard/guard'
2
+ require 'guard/plugin'
3
3
  require 'yard'
4
4
 
5
5
  module Guard
6
- class Yard < Guard
6
+ class Yard < Plugin
7
7
  autoload :NoServer, 'guard/yard/no_server'
8
8
  autoload :Server, 'guard/yard/server'
9
9
  attr_accessor :server
10
10
 
11
- def initialize(watchers=[], options={})
11
+ def initialize(options = {})
12
12
  super
13
- options[:server] = true unless options.has_key?(:server)
13
+ options[:server] = true unless options.key?(:server)
14
14
  @server = options[:server] ? Server.new(options) : NoServer.new
15
15
  end
16
16
 
@@ -35,7 +35,7 @@ module Guard
35
35
 
36
36
  def run_on_changes(paths)
37
37
  UI.info "[Guard::Yard] Detected changes in #{paths.join(',')}."
38
- paths.each{ |path| document([path]) }
38
+ paths.each { |path| document([path]) }
39
39
  UI.info "[Guard::Yard] Updated documentation for #{paths.join(',')}."
40
40
  end
41
41
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module YardVersion
3
- VERSION = "2.1.3"
3
+ VERSION = "2.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-yard
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pan Thomakos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-22 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -46,8 +46,8 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - lib/guard/yard.rb
49
- - lib/guard/yard/no_server.rb
50
49
  - lib/guard/yard/templates/Guardfile
50
+ - lib/guard/yard/no_server.rb
51
51
  - lib/guard/yard/server.rb
52
52
  - lib/guard/yard/version.rb
53
53
  - LICENSE