yard 0.7.0 → 0.7.1

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,5 +1,16 @@
1
+ 2011-05-18 Loren Segal <lsegal@soen.ca>
2
+
3
+ * ChangeLog, lib/yard.rb: Update version / changelog
4
+
5
+ * README.md: Bump to 0.7.1
6
+
7
+ * spec/code_objects/constants_spec.rb: Fix a spec
8
+
1
9
  2011-05-17 Loren Segal <lsegal@soen.ca>
2
10
 
11
+ * templates/default/fulldoc/html/setup.rb: Oops, yard server sets @items
12
+ manually and does not fill options[:objects]
13
+
3
14
  * ChangeLog, README.md: Release 0.7.0
4
15
 
5
16
  * lib/yard.rb: Bump version to 0.7.0
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-2011
10
10
  **License**: MIT License
11
- **Latest Version**: 0.7.0 (codename "Heroes")
12
- **Release Date**: May 17th 2011
11
+ **Latest Version**: 0.7.1 (codename "Heroes")
12
+ **Release Date**: May 18th 2011
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
+ - **May.18.11**: 0.7.1 release
293
+ - Fixes a bug in `yard server` not displaying class list properly.
294
+
292
295
  - **May.17.11**: 0.7.0 release
293
296
  - See the {docs/WhatsNew.md} document for details on added features
294
297
  - Make sure that Docstring#line_range is filled when possible (#243)
data/lib/yard.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module YARD
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
 
4
4
  # The root path for YARD source libraries
5
5
  ROOT = File.expand_path(File.dirname(__FILE__))
@@ -50,7 +50,7 @@ end
50
50
  describe YARD::CodeObjects, "BUILTIN_CLASSES" do
51
51
  it "should include all base classes" do
52
52
  YARD::CodeObjects::BUILTIN_CLASSES.each do |name|
53
- next if RUBY19 && ["MatchingData"].include?(name)
53
+ next if name == "MatchingData" && !defined?(::MatchingData)
54
54
  eval(name).should be_instance_of(Class)
55
55
  end
56
56
  end
@@ -146,7 +146,7 @@ end
146
146
 
147
147
  # Generate a searchable class list in the output
148
148
  def generate_class_list
149
- @items = options[:objects]
149
+ @items = options[:objects] if options[:objects]
150
150
  @list_title = "Class List"
151
151
  @list_type = "class"
152
152
  asset('class_list.html', erb(:full_list))
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: yard
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.0
5
+ version: 0.7.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Loren Segal
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-17 00:00:00 -04:00
13
+ date: 2011-05-18 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16