yard 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of yard might be problematic. Click here for more details.

data/ChangeLog CHANGED
@@ -1,3 +1,11 @@
1
+ 2010-11-21 Loren Segal <lsegal@soen.ca>
2
+
3
+ * ChangeLog, README.md, lib/yard.rb, yard.gemspec: Bump to version 0.6.3
4
+
5
+ * lib/yard/templates/helpers/markup_helper.rb,
6
+ spec/templates/helpers/markup_helper_spec.rb: Fix regression where markup
7
+ loading fails when generating HTML
8
+
1
9
  2010-11-15 Loren Segal <lsegal@soen.ca>
2
10
 
3
11
  * ChangeLog, README.md, lib/yard.rb, yard.gemspec: Bump to version 0.6.2
data/README.md CHANGED
@@ -8,8 +8,8 @@ YARD: Yay! A Ruby Documentation Tool
8
8
  **Contributors**: See Contributors section below
9
9
  **Copyright**: 2007-2010
10
10
  **License**: MIT License
11
- **Latest Version**: 0.6.2 (codename "White Picket Fences")
12
- **Release Date**: November 15th 2010
11
+ **Latest Version**: 0.6.3 (codename "Better White Picket Fences")
12
+ **Release Date**: November 21st 2010
13
13
 
14
14
  Synopsis
15
15
  --------
@@ -289,6 +289,9 @@ More options can be seen by typing `yard-graph --help`, but here is an example:
289
289
  Changelog
290
290
  ---------
291
291
 
292
+ - **November.21.10**: 0.6.3 release
293
+ - Fixed regression that caused `yardoc --markup` to silently exit
294
+
292
295
  - **November.15.10**: 0.6.2 release
293
296
  - **Plugins no longer automatically load, use `--plugin` to load a plugin**
294
297
  - Added YARD::Config and ~/.yard/config YAML configuration file
@@ -1,5 +1,5 @@
1
1
  module YARD
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
 
4
4
  # The root path for YARD source libraries
5
5
  ROOT = File.expand_path(File.dirname(__FILE__))
@@ -81,7 +81,7 @@ module YARD
81
81
  begin require provider[:lib].to_s; rescue LoadError; next end
82
82
  @markup_cache[type][:provider] = provider[:lib] # Cache the provider
83
83
  @markup_cache[type][:class] = eval(provider[:const])
84
- return false
84
+ return true
85
85
  end
86
86
 
87
87
  # Show error message telling user to install first potential provider
@@ -35,12 +35,14 @@ describe YARD::Templates::Helpers::MarkupHelper do
35
35
  end
36
36
 
37
37
  it "should search through available markup providers for the markup type if none is set" do
38
+ module YARD::Templates::Helpers::MarkupHelper::BlueCloth; end
38
39
  @gen.should_receive(:require).with('bluecloth').and_return(true)
40
+ @gen.should_not_receive(:require).with('maruku')
39
41
  @gen.stub!(:options).and_return({:markup => :markdown})
40
42
  # this only raises an exception because we mock out require to avoid
41
43
  # loading any libraries but our implementation tries to return the library
42
44
  # name as a constant
43
- @gen.load_markup_provider.should rescue nil
45
+ @gen.load_markup_provider.should == true
44
46
  @gen.markup_provider.should == :bluecloth
45
47
  end
46
48
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 2
9
- version: 0.6.2
8
+ - 3
9
+ version: 0.6.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Loren Segal
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-15 00:00:00 -05:00
17
+ date: 2010-11-21 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -464,7 +464,7 @@ files:
464
464
  - README.md
465
465
  - Rakefile
466
466
  - .yardopts
467
- has_rdoc: yard
467
+ has_rdoc: true
468
468
  homepage: http://yardoc.org
469
469
  licenses: []
470
470