asrake 0.13.1 → 0.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/asrake/asdoc.rb +5 -6
  2. metadata +2 -2
@@ -4,7 +4,8 @@ require 'nokogiri'
4
4
 
5
5
  # http://help.adobe.com/en_US/flex/using/WSd0ded3821e0d52fe1e63e3d11c2f44bc36-7ffa.html
6
6
 
7
- class ASRake::Asdoc
7
+ module ASRake
8
+ class Asdoc < BaseTask
8
9
 
9
10
  include Rake::DSL
10
11
  include ASRake
@@ -115,9 +116,8 @@ class ASRake::Asdoc
115
116
  attr_accessor name
116
117
  end
117
118
 
118
- def initialize(output=nil)
119
-
120
- raise "Output directory must be provided to ASDoc.new" if output == nil
119
+ def initialize(output)
120
+ super
121
121
 
122
122
  # set all defaults
123
123
  @@compiler_args.each do |name, type|
@@ -126,8 +126,6 @@ class ASRake::Asdoc
126
126
 
127
127
  @doc_sources = []
128
128
 
129
- @output = output
130
-
131
129
  yield self if block_given?
132
130
  end
133
131
 
@@ -181,4 +179,5 @@ class ASRake::Asdoc
181
179
  run("#{FlexSDK::asdoc} #{args}", true, &block)
182
180
  end
183
181
 
182
+ end
184
183
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asrake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-25 00:00:00.000000000 Z
12
+ date: 2012-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri