Permalink
Browse files

Remove bogus @raise check

The test wouldn’t work for @raise (see …) and writing one that does gets
too complicated.
  • Loading branch information...
1 parent e29e02e commit 2ae11dcdc45f8adb8dfc51e2184d1efcaf9543cc Nikolai Weibull committed May 4, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/inventory/rake/tasks/yard-1.0.rb
  2. +1 −1 lib/inventory/rake/tasks/yard/version.rb
@@ -24,7 +24,7 @@ def initialize(options = {})
['--no-private',
'--protected',
'--private',
- ['--query', '"(!object.docstring.blank?&&!(YARD::CodeObjects::NamespaceObject===object.namespace&&(a=object.namespace.aliases[object])&&object.name==:eql?&&a==:==)&&!(object.visibility!=:public&&((@return.text==\'\'&&@return.types==%w\'Boolean\')||object.docstring.start_with?(\'Returns the value of attribute \', \'Sets the attribute \')||(@raise&&@raise.types=[]))))||object.root?"'],
+ ['--query', '"(!object.docstring.blank?&&!(YARD::CodeObjects::NamespaceObject===object.namespace&&(a=object.namespace.aliases[object])&&object.name==:eql?&&a==:==)&&!(object.visibility!=:public&&((@return.text==\'\'&&@return.types==%w\'Boolean\')||object.docstring.start_with?(\'Returns the value of attribute \', \'Sets the attribute \'))))||object.root?"'],
['--markup', 'markdown'],
'--no-stats'])
self.inventory = options.fetch(:inventory, Inventory::Rake::Tasks.inventory)
@@ -3,7 +3,7 @@
require 'inventory-1.0'
class Inventory::Rake::Tasks::YARD
- Version = Inventory.new(1, 3, 0){
+ Version = Inventory.new(1, 3, 1){
def dependencies
super + Inventory::Dependencies.new{
development 'lookout', 3, 0, 0

0 comments on commit 2ae11dc

Please sign in to comment.