inventory-rake-tasks-yard 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,8 +56,10 @@ class Inventory::Rake::Tasks::YARD
56
56
  require 'yard'
57
57
  yardoc = YARD::CLI::Yardoc.new
58
58
  yardoc.parse_arguments(*arguments)
59
- yardoc.options.merge! globals
60
- Rake.rake_output_message 'yard doc %s' % Shellwords.shelljoin(arguments(yardoc.yardopts.dup)) if verbose
59
+ globals.each do |key, value|
60
+ yardoc.options.globals.send '%s=' % key, value
61
+ end
62
+ rake_output_message 'yard doc %s' % Shellwords.shelljoin(arguments(yardoc.yardopts.dup)) if verbose
61
63
  yardoc.run(nil)
62
64
  end
63
65
  end
@@ -3,20 +3,19 @@
3
3
  require 'inventory-1.0'
4
4
 
5
5
  class Inventory::Rake::Tasks::YARD
6
- Version = Inventory.new(1, 2, 0){
6
+ Version = Inventory.new(1, 3, 0){
7
7
  def dependencies
8
8
  super + Inventory::Dependencies.new{
9
9
  development 'lookout', 3, 0, 0
10
10
  development 'lookout-rake', 3, 0, 0
11
11
  runtime 'inventory-rake', 1, 3, 0
12
- optional 'rake', 0, 9, 2
13
- optional 'yard', 0, 7, 0
12
+ runtime 'rake', 0, 9, 2, :feature => 'rake'
13
+ optional 'yard', 0, 8, 0
14
14
  }
15
15
  end
16
16
 
17
17
  def requires
18
18
  %w'
19
- rake
20
19
  shellwords
21
20
  '
22
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inventory-rake-tasks-yard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-30 00:00:00.000000000 Z
12
+ date: 2012-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: inventory
16
- requirement: &2152941300 !ruby/object:Gem::Requirement
16
+ requirement: &2160074540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '1.2'
21
+ version: '1.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2152941300
24
+ version_requirements: *2160074540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: lookout
27
- requirement: &2152940140 !ruby/object:Gem::Requirement
27
+ requirement: &2160073780 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2152940140
35
+ version_requirements: *2160073780
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: lookout-rake
38
- requirement: &2152939320 !ruby/object:Gem::Requirement
38
+ requirement: &2160073200 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2152939320
46
+ version_requirements: *2160073200
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: inventory-rake
49
- requirement: &2152938400 !ruby/object:Gem::Requirement
49
+ requirement: &2160072520 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '1.3'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2152938400
57
+ version_requirements: *2160072520
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rake
60
- requirement: &2152937640 !ruby/object:Gem::Requirement
60
+ requirement: &2160071740 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,18 +65,18 @@ dependencies:
65
65
  version: 0.9.2
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *2152937640
68
+ version_requirements: *2160071740
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: yard
71
- requirement: &2152936960 !ruby/object:Gem::Requirement
71
+ requirement: &2160070760 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
75
75
  - !ruby/object:Gem::Version
76
- version: 0.7.0
76
+ version: 0.8.0
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *2152936960
79
+ version_requirements: *2160070760
80
80
  description: ! " Inventory-Rake-Tasks-YARD\n\n Inventory-Rake-Tasks-YARD
81
81
  provides Rake¹ tasks for YARD² using your\n Inventory³.\n\n¹ Read up on Ruby’s
82
82
  build tool Rake at http://rake.rubyforge.org/\n² Find out more about the YARD documentation