Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 2ae11dcdc45f8adb8dfc51e2184d1efcaf9543cc 1 parent e29e02e
Nikolai Weibull authored
View
2  lib/inventory/rake/tasks/yard-1.0.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)
View
2  lib/inventory/rake/tasks/yard/version.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.