Skip to content

Instantly share code, notes, and snippets.

@voxik
Created May 7, 2012 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voxik/2627889 to your computer and use it in GitHub Desktop.
Save voxik/2627889 to your computer and use it in GitHub Desktop.
Failing
Mock Version: 1.1.18
Mock Version: 1.1.18
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/rubygem-yard.spec'], False, '/var/lib/mock/f18-build-1337607-215211/root/', None, 86400, True, False, 418, 418, None, False, None, logger=<mockbuild.trace_decorator.getLog object at 0x2745b50>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/rubygem-yard.spec']
error: Macro %__isa_name has empty body
error: Macro %__isa_bits has empty body
Building target platforms: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/rubygem-yard-0.8.1-1.fc18.src.rpm
Child returncode was: 0
LEAVE do -->
ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/rubygem-yard.spec'], False, '/var/lib/mock/f18-build-1337607-215211/root/', None, 86400, True, False, 418, 418, None, False, None, logger=<mockbuild.trace_decorator.getLog object at 0x2745b50>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/rubygem-yard.spec']
error: Macro %__isa_name has empty body
error: Macro %__isa_bits has empty body
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CbskoT
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf rubygem-yard-0.8.1
+ /usr/bin/mkdir -p rubygem-yard-0.8.1
+ cd rubygem-yard-0.8.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ mkdir -p ./usr/share/gems
+ gem install --local --install-dir ./usr/share/gems --bindir ./usr/bin --force /builddir/build/SOURCES/yard-0.8.1.gem
Successfully installed yard-0.8.1
1 gem installed
Installing ri documentation for yard-0.8.1...
Installing RDoc documentation for yard-0.8.1...
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.osDnOB
+ umask 022
+ cd /builddir/build/BUILD
+ cd rubygem-yard-0.8.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FJHQek
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch
++ dirname /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch
+ cd rubygem-yard-0.8.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mkdir -p /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch/usr/share/gems
+ cp -a ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch/usr/share/gems/
+ mkdir -p /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch/usr/bin
+ cp -a ./usr/bin/yard ./usr/bin/yardoc ./usr/bin/yri /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch/usr/bin/
+ xargs chmod a+x
+ find /builddir/build/BUILDROOT/rubygem-yard-0.8.1-1.fc18.noarch/usr/share/gems/gems/yard-0.8.1/bin -type f
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/rubygem-yard-0.8.1
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.r8gIz3
+ umask 022
+ cd /builddir/build/BUILD
+ cd rubygem-yard-0.8.1
+ unset DISPLAY
+ pushd ./usr/share/gems/gems/yard-0.8.1
~/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1 ~/build/BUILD/rubygem-yard-0.8.1
+ rspec -f d spec
Array
#place
should create an Insertion object
should allow multiple objects to be placed
String
#shell_split
should split simple non-quoted text
should split double quoted text into single token
should split single quoted text into single token
should handle escaped quotations in quotes
should handle escaped quotations outside quotes
should handle escaped backslash
should handle any whitespace as space
should handle complex input
File
.relative_path
should return the relative path between two files
should return the relative path between two directories
should return only the to file if from file is in the same directory as the to file
should handle non-normalized paths
.cleanpath
should clean double brackets
should clean a path with .
should clean a path with ..
should clean a path with multiple ..
should clean a path ending in ..
should pass the initial directory
should not remove multiple '../' at the beginning
.open!
should create the path before opening
should just open the file if the path exists
Insertion
#before
should place an object before another
#after
should place an object after another
should no longer place an object after another and its subsections (0.6)
should place an array after an object
#before_any
should place an object before another anywhere inside list (including sublists)
#after_any
should place an object after another anywhere inside list (including sublists)
SymbolHash
should allow access to keys as String or Symbol
should #delete by key as String or Symbol
should return same #has_key? for key as String or Symbol
should symbolize value if it is a String (and only a string)
should not symbolize value if SymbolHash.new(false) is created
should not symbolize value if it is not a String
should support symbolization using #update or #merge!
should support symbolization non-destructively using #merge
should support #initializing of a hash
should support reverse merge syntax
Hash
.[]
should accept an Array argument (Ruby 1.8.6 and older)
should accept an array as a key
Module
#class_name
should return just the name of the class/module
#namespace
should return everything before the class name
YARD::RegistryStore
#load
should load root.dat as full object list if it is a Hash
should load old yardoc format if .yardoc is a file
should load new yardoc format if .yardoc is a directory
should return true if .yardoc is loaded (file)
should return true if .yardoc is loaded (directory)
should return false if .yardoc does not exist
should return false if there is no file to load
should load checksums if they exist
should load proxy_types if they exist
should load root object if it exists
#save
should save as single object db if single_object_db is nil and there are less than 3000 objects
should save as single object db if single_object_db is nil and there are more than 3000 objects
should save as single object db if single_object_db is true (and any amount of objects)
should never save as single object db if single_object_db is false
#put
should assign values
should treat '' as root
#get
should hit cache if object exists
should hit backstore on cache miss and cache is not fully loaded
#keys
should load entire database if reload=true
should not load entire database if reload=false
#values
should load entire database if reload=true
should not load entire database if reload=false
#paths_for_type
should set all object types if not set by object_types
should keep track of types when assigning values
should reassign path if type changes
#values_for_type
should return all objects with type
#load_all
should load the entire database
#destroy
should destroy file ending in .yardoc when force=false
should destroy dir ending in .yardoc when force=false
should not destroy file/dir not ending in .yardoc when force=false
should destroy any file/dir when force=true
YARD::Server
.register_static_path
should register a static path
YARD::Options
.default_attr
should allow default attributes to be defined with symbols
should call lambda if value is a Proc
#reset_defaults
should not define defaults until reset is called
#delete
should delete an option
should not error if an option is deleted that does not exist
#[]
should handle getting option values using hash syntax
#[]=
should handle setting options using hash syntax
should allow setting of unregistered keys
#method_missing
should allow setting of unregistered keys
should allow getting values of unregistered keys (return nil)
should print debugging messages about unregistered keys
#update
should allow updating of options
should not ignore keys with no setter (OpenStruct behaviour)
#merge
should update a new object
should add in values from original object
#to_hash
should convert all instance variables and symbolized keys
should use accessor when converting values to hash
should ignore ivars with no accessor
#tap
should support #tap(&block) (even in 1.8.6)
YARD::Tags::DefaultFactory
#parse_tag
should not have trailing whitespace on a regular freeform tag
#extract_types_and_name_from_text
should handle one type
should handle a list of types
should handle ducktypes
should handle ducktypes with special method name #foo=
should handle ducktypes with special method name #<<
should handle ducktypes with special method name #<=>
should handle ducktypes with special method name #>>
should handle ducktypes with special method name #==
should handle ducktypes with special method name #===
should handle ducktypes with special method name Array<#<=>>
should handle ducktypes with special method name Array<#==>
should only parse #ducktypes inside brackets
should return the text before and after the type list
should handle a complex list of types
should handle any of the following start/end delimiting chars: (), <>, {}, []
should return the text before the type list as the last element
should return text unparsed if there is no type list
should allow A => B syntax
#parse_tag_with_types
should parse given types and description
should parse given types only
should allow type list to be omitted
should raise an error if a name is specified before type list
#parse_tag_with_types_name_and_default
should parse a standard type list with name before types (no default)
should parse a standard type list with name after types (no default)
should parse a tag definition with name, typelist and default
should parse a tag definition with name, typelist and default when name is before type list
should allow typelist to be omitted
#parse_tag_with_options
should have a name before tag info
should parse the rest of the tag like DefaultTag
YARD::Tags::OverloadTag
should parse the first line as a method signature
should parse the rest of the text as a new Docstring
should set Docstring's object after #object= is called
should respond to #tag, #tags and #has_tag?
should not be a CodeObjects::Base when not hooked up to an object
should be a CodeObjects::Base when hooked up to an object
should not parse 'def' out of method name
YARD::Tags::DefaultTag
should create a tag with defaults
YARD::Tags::ParseDirective
#call
should parse if handler=nil but use file=(stdin)
should allow parser type to be specified in type
should parse code in context of current handler
YARD::Tags::GroupDirective
#call
should do nothing if handler=nil
should set group value in parser state (with handler)
YARD::Tags::EndGroupDirective
#call
should do nothing if handler=nil
should set group value in parser state (with handler)
YARD::Tags::MacroDirective
#call
should define new macro when [new] is provided
should define new macro if text block is provided
should expand macros and return #expanded_text to tag parser
should not expand new macro if docstring is unattached
should expand new anonymous macro even if docstring is unattached
should allow multiple macros to be expanded
should allow anonymous macros
should expand call_params and caller_method using $N when handler is provided
should attach macro to method if one exists
should not expand new attached macro if defined on class method
should not attempt to expand macro values if handler = nil
YARD::Tags::MethodDirective
#call
should use entire docstring if no indented data is found
should handle indented block text in @!method
should execute directives on object in indented block
should be able to define multiple @methods in docstring
should define the method inside namespace if attached to namespace object
should set scope to class if signature has 'self.' prefix
should be able to define method with module scope (module function)
YARD::Tags::AttributeDirective
should set scope to class if signature has 'self.' prefix
#call
should use entire docstring if no indented data is found
should handle indented block in @!attribute
should be able to define multiple @attributes in docstring
should define the attr inside namespace if attached to namespace object
YARD::Tags::ScopeDirective
#call
should set state on tag parser if object = nil
should set state on tag parser if object is namespace
should set scope on object if object is a method object
should allow class as value
should allow instance as value
should allow module as value
should not allow invalid as value
should not allow foo as value
should not allow FOO as value
should not allow CLASS as value
should not allow INSTANCE as value
YARD::Tags::VisibilityDirective
#call
should set visibility on tag parser if object = nil
should set state on tag parser if object is namespace
should set visibility on object if object is a method object
should allow public as value
should allow private as value
should allow protected as value
should not allow invalid as value
should not allow foo as value
should not allow FOO as value
should not allow PRIVATE as value
should not allow INSTANCE as value
YARD::Tags::Library
#see_tag
should take a URL
should take an object path
should take a description after the url/object
.define_tag
should allow defining tags with '.' in the name (x.y.z defines method x_y_z)
YARD::Tags::RefTagList
should accept symbol or string as owner's path and convert it into a proxy
should accept proxy object as owner
should return tags from a proxy object
should return named tags from a proxy object
all tags should respond to #owner and be a RefTag
YARD::Logger
#show_backtraces
should be true if debug level is on
YARD::Server::DocServerHelper
#url_for
should not link to /library/ if single_library = true
should return /PREFIX/foo/version if foo has a version
#url_for_file
should properly link file objects using file/ prefix
YARD::Server::WebrickServlet
#do_GET
should perform a GET
YARD::Server::RackMiddleware
should handle requests (PENDING: rack required for these tests)
should pass up to the next middleware on 404 (PENDING: rack required for these tests)
*** YARD::Server::Adapter.shutdown
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
YARD::Server::Commands::LibraryCommand
#call
[error]: Missing 'redcarpet' gem for Markdown formatting. Install it with `gem install redcarpet`
should raise NotImplementedError
should set :rdoc as the default markup in incremental mode
should set :rdoc as the default markup in regular mode
YARD::Server::Commands::StaticFileCommand
#run
should search through document root before static paths
should return file contents if found
should allow registering of new paths and use those before other static paths
should not use registered path before docroot
should return 404 if not found
should return text/html for file with no extension
should serve file.js as text/javascript
should serve file.css as text/css
should serve file.png as image/png
should serve file.gif as image/gif
should serve file.htm as text/html
should serve file.html as text/html
should serve file.txt as text/plain
should serve file.unknown as application/octet-stream
YARD::Server::Commands::Base
#cache
should not cache if caching == false
should require document root to cache
should cache to path/to/file.html and create directories
#redirect
should return a valid redirection
#call
should handle a NotFoundError and use message as body
should not use message as body if not provided in NotFoundError
should handle 404 status code from #run
should not override body if status is 404 and body is defined
should handle body as Array
should allow headers to be defined
YARD::Server::DocServerSerializer
#serialized_path
should return '/PREFIX/library/toplevel' for root
should return /PREFIX/library/Object for Object in a library
should link to instance method as Class:method
should link to class method as Class.method
should link to anchor for constant
should link to anchor for class variable
should link files using file/ prefix
*** YARD::Server::Adapter.shutdown
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
YARD::Server::Adapter
#add_library
*** YARD::Server::Adapter.setup
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
should add a library
#start
*** YARD::Server::Adapter.setup
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
should not implement #start
.setup
*** YARD::Server::Adapter.setup
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
should add template paths and helpers
.shutdown
*** YARD::Server::Adapter.setup
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
*** YARD::Server::Adapter.shutdown
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
should cleanup template paths and helpers
*** YARD::Server::Adapter.shutdown
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
YARD::Server::StaticCaching
#check_static_cache
should return nil if document root is not set
should read a file from document root if path matches file on system
should read a file if path matches file on system + .html
should return nil if no matching file is found
YARD::Server::Router
#parse_library_from_path
should parse library and version name out of path
should parse library and use latest version if version is not supplied
should parse library and use latest version if next component is not a version
should return nil library if no library is found
should not parse library or version if single_library == true
#route
should route /docs/OBJECT to object if single_library = true
should route /docs
should route /docs as index for library if single_library == true
should route /docs/name/version
should route /docs/name/ to latest version of library
should route /list/name/version/class
should route /list/name/version/methods
should route /list/name/version/files
should route /list/name to latest version of library
should route /search/name/version
should route /search/name to latest version of library
should search static files for non-existent library
YARD::Config
.load
should use default options if no ~/.yard/config is found
should overwrite options with data in ~/.yard/config
should ignore any plugins specified in '~/.yard/ignored_plugins'
should load safe_mode setting from --safe command line option
.save
should save options to config file
.load_plugin
should load a plugin by 'name' as 'yard-name'
should not load plugins like 'doc-*'
should load plugin by 'yard-name' as 'yard-name'
should load plugin by 'yard_name' as 'yard_name'
should log error if plugin is not found
should sanitize plugin name (remove /'s)
should ignore plugins in :ignore_plugins
.load_plugins
should load gem plugins if :load_plugins is true
should ignore gem loading if RubyGems cannot load
should load certain plugins automatically when specified in :autoload_plugins
should parse --plugin from command line arguments
should load --plugin arguments from .yardopts
should load any gem plugins starting with 'yard_' or 'yard-'
should log an error if a gem raises an error
YARD::Parser tag handling
should know the list of all available tags
should know the text of tags on a method
should return true when asked whether a tag exists
YARD::Parser::SourceParser
.before_parse_list
should handle basic callback support
should support multiple callbacks
should cancel parsing if it returns false
should not cancel on nil
should pass in globals
.after_parse_list
should handle basic callback support and maintain files/globals
should support multiple callbacks
should not cancel parsing if it returns false
.before_parse_file
should handle basic callback support
should support multiple callbacks
should cancel parsing if it returns false
should not cancel on nil
.after_parse_file
should handle basic callback support
should support multiple callbacks
should not cancel parsing if it returns false
.register_parser_type
should register a subclass of Parser::Base
should require class to be a subclass of Parser::Base
.parser_type_for_extension
should find an extension in a registered array of extensions
should find an extension in a Regexp
should find an extension in a list of Regexps
should find an extension in a String
#parse_string
should parse basic Ruby code
should parse Ruby code with metaclasses
should only use prepended comments for an object
should not add comments appended to last line of block
should add comments appended to an object's first line
should take preceeding comments only if they exist
should strip all hashes prefixed on comment line
should handle =begin/=end style comments
should know about docstrings starting with ##
should remove shebang from initial file comments
should remove encoding line from initial file comments
should add macros on any object
should allow directives parsed on lone comments
should parse lone comments at end of blocks
should handle lone comment with no code
should handle non-ASCII encoding in heredoc
#parse
should parse a basic Ruby file
should parse a set of file globs
should parse a set of absolute paths
should clean paths before parsing
should parse files with '*' in them as globs and others as absolute paths
should convert directories into globs
should use Registry.checksums cache if file is cached
should support excluded paths
should convert file contents to proper encoding if coding line is present
should convert C file contents to proper encoding if coding line is present
should understand UTF-8 BOM
#parse_in_order
should attempt to parse files in order
should attempt to order files by length (process toplevel files first)
#parse_statements
should display a warning for invalid parser type
should display a warning for a syntax error (with new parser)
should handle groups
YARD::Parser::C::CParser
#parse
Array class
should parse Array class
should parse method
Source located in extra files
should look for methods in extra files (if 'in' comment is found)
should stop searching for extra source file gracefully if file is not found
Foo class
should not include comments in docstring source
Constant
should not truncate docstring
Override comments
should parse GMP::Z class
should parse GMP::Z methods w/ bodies
should parse GMP::Z methods w/o bodies
YARD::Parser::Ruby::RubyParser
#parse
should get comment line numbers
should only look up to two lines back for comments
should handle 1.9 lambda syntax with args
should handle 1.9 lambda syntax
should handle standard lambda syntax
should throw a ParserSyntaxError on invalid code
should handle bare hashes as method parameters
should handle source for hash syntax
should handle an empty hash
new hash label syntax should show label without colon
should handle begin/rescue blocks
should handle method rescue blocks
should handle defs with keywords as method name
should end source properly on array reference
should end source properly on if/unless mod
should show proper source for assignment
should show proper source for a top_const_ref
should show proper source for inline heredoc
should show proper source for regular heredoc
should show proper source for heredoc with comment
should show proper source for string
should show proper source for %w() array
should show proper source for %w{} array
should parse %w() array in constant declaration
should parse %w() array source in object[] parsed context
should parse %w() array source in object[]= parsed context
should parse [] as array
should show source for unary minus
should show source for unary exclamation
should find lone comments
YARD::Parser::Ruby::AstNode
#jump
should jump to the first specific inner node if found
should return the original ast if no inner node is found
#pretty_print
should show a list of nodes
YARD::Parser::Ruby::Legacy::TokenList
#initialize / #push
should accept a tokenlist (via constructor or push)
accept a token (via constructor or push)
should accept a string and parse it as code (via constructor or push)
should not accept any other input
should not interpolate string data
#to_s
should only show the statement portion of the tokens by default
should show ... for the block token if all of the tokens are shown
should ignore ... if show_block = false
YARD::Parser::Ruby::Legacy::StatementList
should parse dangling block expressions
should allow semicolons within parentheses
should allow for non-block statements
should allow block statements to be used as part of other block statements
should allow continued processing after a block
should parse default arguments
should parse complex default arguments
should parse blocks with do/end
should parse blocks with {}
should parse blocks with begin/end
should parse nested blocks
should not parse hashes as blocks
should parse hashes in blocks with {}
should parse blocks with {} in hashes
should handle multiple methods
should handle nested methods
should get comment line numbers
should only look up to two lines back for comments
should handle CRLF (Windows) newlines
should handle elsif blocks
should handle else blocks
should allow aliasing keywords
should not open a block on an aliased keyword block opener
should convert heredoc to string
YARD::Parser::Base
#initialize
should take 2 arguments
should raise NotImplementedError on #initialize
should raise NotImplementedError on #parse
should raise NotImplementedError on #tokenize
YARD::I18n::Text
Header
should extract attribute
should ignore markup line
should terminate header block by markup line not at the first line
Body
should split to paragraphs
YARD::I18n::Message
#id
should return ID
#add_location
should add some locations
#add_comment
should add some comments
#==
should return true for same value messages
YARD::I18n::PotGenerator
Generate
should generate the default header
should generate messages in location order
Escape
should escape <\>
should escape <">
should escape <\n>
Object
should extract docstring
should extract location
should extract tag name
should extract tag text
should extract tag types
File
should extract attribute
should extract paragraphs
YARD::I18n::Messages
#each
should enumerate Message
should not any Message for empty messages
#[]
should return registered message
should return for nonexistent message ID
#register
should return registered message
should return existent message
#==
should return true for same value messages
YARD::Docstring
#initialize
should handle docstrings with empty newlines
#+
should add another Docstring
should copy over tags
should add a String
#line
should return nil if #line_range is not set
should return line_range.first if #line_range is set
#summary
should handle empty docstrings
should handle multiple calls
should return the first sentence
should return the first paragraph
should return proper summary when docstring is changed
should not double the ending period
should handle references embedded in summary
should only end first sentence when outside parentheses
should only see '.' as period if whitespace (or eof) follows
#ref_tags
should parse reference tag into ref_tags
should parse named reference tag into ref_tags
should fail to parse named reference tag into ref_tags
should return all valid reference tags along with #tags
should return all valid named reference tags along with #tags(name)
should ignore invalid reference tags
resolves references to methods in the same class with #methname
#empty?/#blank?
should be blank and empty if it has no content and no tags
shouldn't be empty or blank if it has content
should be empty but not blank if it has tags
should be empty but not blank if it has ref tags
should be blank if it has no visible tags
should not be blank if it has invisible tags and only_visible_tags = false
#delete_tags
should delete tags by a given tag name
#delete_tag_if
should delete tags for a given block
#to_raw
should return a clean representation of tags
should handle tags with newlines and indentation
should handle deleted tags
should handle added tags
should be equal to .all if not modified
#dup
should duplicate docstring text
should duplicate tags to new list
should preserve summary
should preserve hash_flag
should preserve line_range
YARD::DocstringParser
#parse
should parse comments into tags
should end parsing a tag on de-dent
should parse examples embedded in doc
should remove only original indentation from beginning of line in tags
should allow numbers in tags
should end tag on newline if next line is not indented
should warn about unknown tag
should not add trailing whitespace to freeform tags
#parse with custom tag library
should accept valid tags
should not parse invalid tag names
should allow namespaced tags in the form @x.y.z
should ignore new directives without @! prefix syntax
should handle non prefixed @attribute syntax as directive, not tag
should handle non prefixed @endgroup syntax as directive, not tag
should handle non prefixed @group syntax as directive, not tag
should handle non prefixed @macro syntax as directive, not tag
should handle non prefixed @method syntax as directive, not tag
should handle non prefixed @scope syntax as directive, not tag
should handle non prefixed @visibility syntax as directive, not tag
should handle directives with @! prefix syntax
#text
should only return text data
#raw_text
should return the entire original data
#tags
should return the parsed tags
#directives
should group all processed directives
#state
should handle modified state
after_parse
should allow specifying of callbacks
should warn about invalid named parameters
should warn about duplicate named parameters
YARD::CodeObjects::CodeObjectList
pushing a value should only allow CodeObjects::Base, String or Symbol
added value should be a proxy if parameter was String or Symbol
should contain a unique list of objects
YARD::CodeObjects::ClassObject
#inheritance_tree
should show the proper inheritance tree
should show proper inheritance tree when mixins are included
should not modify the object's mixin list when mixins are included
should list class mixins in inheritance tree
#meths / #inherited_meths
should show inherited methods by default
should allow :inherited to be set to false
should not show overridden methods
should not show inherited methods overridden by other subclasses
should show mixed in methods before superclass method
#constants / #inherited_constants
should list inherited constants by default
should not list inherited constants if turned off
should not include an inherited constant if it is overridden by the object
should not include an inherited constant if it is overridden by another subclass
should not set a superclass on BasicObject class
should set superclass of Object to BasicObject
should raise ArgumentError if superclass == self
should tell the world if it is an exception class
should not raise ArgumentError if superclass is proxy in different namespace
YARD::CodeObjects::NamespaceObject
#child
should return the object matching the name passed in if argument is a Symbol
should look for attributes matching the object if the argument is a Hash
#meths
should return #meths even if parent is a Proxy
should not list included methods that are already defined in the namespace using #meths
#included_meths
should list methods mixed into the class scope as class methods
should not list methods overridden by another included module
#class_attributes
should list class attributes
#instance_attributes
should list instance attributes
#constants/#included_constants
should list all included constants by default
should allow :included to be set to false to ignore included constants
should not list an included constant if it is defined in the object
should not list an included constant if it is shadowed by another included constant
#included_meths
should return all included methods with :all = true
YARD::CodeObjects CONSTANTMATCH
should match a constant
YARD::CodeObjects NAMESPACEMATCH
should match a namespace (multiple constants with ::)
YARD::CodeObjects METHODNAMEMATCH
should match a method name
YARD::CodeObjects METHODMATCH
should match a full class method path
should match self.method
YARD::CodeObjects BUILTIN_EXCEPTIONS
should include all base exceptions
YARD::CodeObjects BUILTIN_CLASSES
should include all base classes
should include all exceptions
YARD::CodeObjects BUILTIN_ALL
should include classes modules and exceptions
YARD::CodeObjects BUILTIN_MODULES
should include all base modules
YARD::CodeObjects::ExtraFileObject
#initialize
should attempt to read contents from filesystem if contents=nil
should raise Errno::ENOENT if contents=nil and file does not exist
should not attempt to read from disk if contents are provided
should set filename to filename
should parse out attributes at top of the file
should allow whitespace prior to '#' marker when parsing attributes
should parse out old-style #!markup shebang format
should not parse old-style #!markup if any whitespace is found
should not parse out attributes if there are newlines prior to attributes
should set contents to data after attributes
should preserve newlines
should not include newlines in attribute data
should force encoding to @encoding attribute if present
should warn if @encoding is invalid
should attempt to re-parse data as 8bit ascii if parsing fails
#name
should be set to basename (not extension) of filename
#title
should return @title attribute if present
should return #name if no @title attribute exists
#==
should define equality on filename alone
YARD::CodeObjects::ModuleObject
#meths
should list all methods (including mixin methods) via #meths
should allow :visibility to be set
should only display class methods for :scope => :class
should only display instance methods for :scope => :class
should allow :included to be set
should choose the method defined in the class over an included module
#inheritance_tree
should show only itself for an inheritance tree without included modules
should show proper inheritance three when modules are included
should not list inheritance tree of proxy objects in inheritance tree
should list class mixins in inheritance tree
YARD::CodeObjects::Base
should return a unique instance of any registered object
should create a new object if cached object is not of the same class
should recall the block if #new is called on an existing object
should allow complex name and convert that to namespace
should allow namespace to be nil and not register in the Registry
should allow namespace to be a NamespaceObject
should allow :root to be the shorthand namespace of `Registry.root`
should not allow any other types as namespace
should register itself in the registry if namespace is supplied
should set any attribute using #[]=
#[]= should use the accessor method if available
should set attributes via attr= through method_missing
should exist in the parent's #children after creation
should properly re-indent source starting from 0 indentation
should not add newlines to source when parsing sub blocks
should handle source for 'def x; end'
should set file and line information
should maintain all file associations when objects are defined multiple times in one file
should maintain all file associations when objects are defined multiple times in multiple files
should prioritize the definition with a docstring when returning #file
#format
should send to Templates.render
#source_type
should default source_type to :ruby
#relative_path
should accept a string
should return full class name when objects share a common class prefix
should return the relative path when they share a common namespace
should return the full path if they don't have a common namespace
should return a relative path for class methods
should return a relative path for instance methods
should return full path if relative path is to parent namespace
should only return name for relative path to self
#docstring=
should convert string into Docstring when #docstring= is set
should set docstring to docstring of other object if docstring is '(see Path)'
should not copy docstring mid-docstring
should allow extra docstring after (see Path)
#docstring
should return empty string if docstring was '(see Path)' and Path is not resolved
should return docstring when object is resolved
#add_file
should only add a file/line combination once
#copy_to
should copy all data to new object
should return copied object
should copy docstring and rewrite tags for new object
should only copy #copyable_attributes
YARD::CodeObjects::MacroObject
.create
should create an object
should use identity map
should allow specifying of macro data
should attach if a method object is provided
.find
should search for an object by name
should accept Symbol
.find_or_create
should look up name if @!macro is present and find object
should create new macro if macro by that name does not exist
.apply
should only expand macros if @macro is present
should handle macro text inside block
should append docstring to existing macro
should use only non macro data if docstring is an existing macro
should create macros if they don't exist
should keep other tags
.expand
should allow escaping of macro syntax
should replace $* with the whole statement
should replace $0 with method name
should replace all $N values with the Nth argument in the method call
should replace ${N-M} ranges with N-M arguments (incl. commas)
should handle open ended ranges (${N-})
should handle negative indexes ($-N)
should accept Docstring objects
#expand
should expand macro given its data
YARD::CodeObjects::Proxy
should return the object if it's in the Registry
should handle complex string namespaces
should not return true to Proxy === obj if obj is a Proxy class holding a resolved object
should return the object if it's an included Module
should respond_to respond_to?
should make itself obvious that it's a proxy
should pretend it's the object's type if it can resolve
should handle instance method names
should handle instance method names under a namespace
should allow type to be changed
should retain a type change between Proxy objects
should never equal Registry.root
should reset namespace and name when object is resolved
should ensure that the correct object was resolved
should handle constant names in namespaces
YARD::CodeObjects::MethodObject
should have a path of testing for an instance method in the root
should have a path of YARD#testing for an instance method in YARD
should have a path of YARD.testing for a class method in YARD
should have a path of ::testing (note the ::) for a class method added to root namespace
should exist in the registry after successful creation
should allow #scope to be changed after creation
should create object in :class scope if scope is :module
should create second private instance method if scope is :module
should yield block to second method if scope is :module
#name
should show a prefix for an instance method when prefix=true
should never show a prefix for a class method
#is_attribute?
should only return true if attribute is set in namespace for read/write
#attr_info
should return attribute info if namespace is available
should return nil if namespace is proxy
should return nil if meth is not an attribute
#writer?
should return true if method is a writer attribute
#reader?
should return true if method is a reader attribute
#constructor?
should mark the #initialize method as constructor
should not mark Klass.initialize as constructor
should not mark module method #initialize as constructor
#overridden_method
should return overridden method from mixin first
should return overridden method from superclass
should return nil if none is found
should return nil if namespace is a proxy
YARD::Handlers::Ruby::ExceptionHandler
should not document an exception outside of a method
should document a valid raise
should only document non-dynamic raises
should treat ConstantName.new as a valid exception class
should not document a method with an existing @raise tag
should only document the first raise message of a method (limitation of exception handler)
should handle complex class names
should ignore any raise calls on a receiver
should handle raise expressions that are method calls
should ignore empty raise call
YARD::Handlers::Ruby::ClassConditionHandler
should parse all unless blocks for complex conditions
should not parse conditionals inside methods
should only parse then block if condition is literal value `true`
should only parse then block if condition is literal integer != 0
should invert block to parse for literal condition if it's an unless block
should handle conditions such as 'defined? VALUE'
should parse all if/elsif blocks for complex conditions
should only parse else block if condition is literal value `false`
should only parse else block if condition is literal integer == 0
should not fail on complex conditions
YARD::Handlers::Ruby::ClassVariableHandler
should not parse class variables inside methods
YARD::Handlers::Ruby::DSLHandler
should create a readable attribute when @!attribute r is found
should create a writable attribute when @!attribute w is found
should default to readwrite @!attribute
should allow @!attribute to define alternate method name
should default to creating an instance method for any DSL method with special tags
should recognize implicit docstring when it has scope tag
should recognize implicit docstring when it has visibility tag
should not recognize implicit docstring with any other normal tag
should set the method name when using @!method
should allow setting of @!scope
should create module function if @!scope is module
should allow setting of @!visibility
should ignore DSL methods without tags
should accept a DSL method without tags if it has hash_flag (##)
should allow creation of macros
should handle macros with no parameters to expand
should expand $N on method definitions
should apply new macro docstrings on new objects
should allow reuse of named macros
should know about method information on DSL with macro expansion
should use attached macros
should append docstring on DSL method to attached macro
should only use attached macros on methods defined in inherited hierarchy
should handle top-level DSL methods
should handle Constant.foo syntax
should not detect implicit macros with invalid method names
YARD::Handlers::Ruby::MixinHandler
should handle includes from classes or modules
should handle includes in class << self
should handle includes for modules that don't yet exist
should set the type of non-existing modules to :module
should handle includes with multiple parameters
should handle complex include statements
should treat a mixed in Constant by taking its value as the real object name
should add includes in the correct order when include is given multiple arguments
should avoid including self for unresolved mixins of the same name
should raise undocumentable error if argument is variable
should parse all other arguments before erroring out on undocumentable error
YARD::Handlers::Ruby::AttributeHandler
should parse attributes inside modules too
should parse 'attr'
should parse 'attr_reader'
should parse 'attr_writer'
should parse 'attr_accessor'
should parse a list of attributes
should have a default docstring if one is not supplied
should set the correct docstring if one is supplied
should be able to differentiate between class and instance attributes
should respond true in method's #is_attribute?
should not return true for #is_explicit? in created methods
should handle attr call with no arguments
should add existing reader method as part of attr_writer combo
should add existing writer method as part of attr_reader combo
should maintain visibility for attr_reader
YARD::Handlers::Ruby::MethodConditionHandler
should not parse regular if blocks in methods
should parse if/unless blocks in the form X if COND
YARD::Handlers::Ruby::Legacy::Base#tokval
should return the String's value without quotes
should not allow interpolated strings with TkSTRING
should return a Symbol's value as a String (as if it was done via :name.to_sym)
should return nil for any non accepted type
should accept TkVal tokens by default
should accept any ID type if TkId is set
should allow extra token types to be accepted
should allow :string for any string type
should not include interpolated strings when using :attr
should allow any number type with :number
should should allow method names with :identifier
YARD::Handlers::Base#tokval_list
should return the list of tokvalues
should try to skip any invalid tokens
should ignore a token if another invalid token is read before a comma
should stop on most keywords
should handle ignore parentheses that begin the token list
should end when a closing parenthesis was found
should ignore parentheses around items in a list
should not stop on a true/false/self keyword (cannot handle nil)
should ignore invalid commas
should return an empty list if no matches were found
should treat {} as a valid value
YARD::Handlers::C::MixinHandler
should add includes to modules or classes
should add include as proxy if symbol lookup fails
YARD::Handlers::C::AttributeHandler
should handle readonly attribute (rb_define_attr)
should handle writeonly attribute (rb_define_attr)
should handle readwrite attribute (rb_define_attr)
should handle commented writeonly attribute (/* rb_define_attr */)
YARD::Handlers::C::PathHandler
should track variable names defined under namespaces
should track variable names defined under namespaces
should handle rb_path2class() calls
YARD::Handlers::C::AliasHandler
should allow defining of aliases (rb_define_alias)
should allow defining of aliases (rb_define_alias) of attributes
YARD::Handlers::C::ClassHandler
should register classes
should register classes under namespaces
should remember symbol defined with class
should lookup superclass symbol name
should user superclass symbol name as proxy if not found
should not associate declaration comments as class docstring
should associate a file with the declaration
should properly handle Proxy superclasses
YARD::Handlers::C::ClassHandler
should register modules
should register classes under namespaces
should remember symbol defined with class
should not associate declaration comments as module docstring
should associate a file with the declaration
YARD::Handlers::C::InitHandler
should add documentation in Init_ClassName() to ClassName
should not add documentation if ClassName is not created in Init
should not overwrite override comment
YARD::Handlers::C::ConstantHandler
should register constants
should look for override comments
should use comment attached to declaration as fallback
should allow the form VALUE: DOCSTRING to document value
should allow escaping of backslashes in VALUE: DOCSTRING syntax
YARD::Handlers::C::MethodHandler
should register methods
should register private methods
should register singleton methods
should register module functions
should register global functions into Kernel
should look for symbol containing method source
should find docstrings attached to method symbols
should use declaration comments as docstring if there are no others
should look for symbols in other file
should allow extra file to include /'s and other filename characters
should warn if other file can't be found
should look at override comments for docstring
should look at overrides in other files
should add return tag on methods ending in '?'
should not add return tag if return tags exist
YARD::Handlers::C::OverrideCommentHandler
should handle Document-class
should handle Document-module
should handle multiple class/module combinations
should handle Document-class with inheritance
YARD::Handlers::C::StructHandler
should handle Struct class definitions
YARD::Handlers::Ruby::AliasHandler
should throw alias into namespace object list
should handle the Ruby 'alias' keyword syntax for method #c
should handle the Ruby 'alias' keyword syntax for method #d?
should handle the Ruby 'alias' keyword syntax for method #[]
should handle the Ruby 'alias' keyword syntax for method #[]=
should handle the Ruby 'alias' keyword syntax for method #-@
should handle the Ruby 'alias' keyword syntax for method #%
should handle the Ruby 'alias' keyword syntax for method #*
should handle keywords as the alias name
should allow ConstantNames to be specified as aliases
should create a new method object for the alias
should pull the method into the current class if it's from another one
should gracefully fail to pull a method in if the original method cannot be found
should allow complex Ruby expressions after the alias parameters
should show up in #is_alias? for method
should allow operators and keywords to be specified as symbols
should handle keywords in alias names
should handle quoted symbols
should prepend aliases object's docstring to comments
should raise an UndocumentableError if only one parameter is passed
should raise an UndocumentableError if the parameter is not a Symbol or String
YARD::Handlers::Ruby::ExtendHandler
should include modules at class scope
should handle a module extending itself
should extend module with correct namespace
should not allow extending self if object is a class
YARD::Handlers::Ruby::Base#valid_handler?
should only handle Handlers inherited from Ruby::Base class
should handle string input (matches AstNode#source)
should handle symbol input (matches AstNode#type)
should handle regex input (matches AstNode#source)
should handle AstNode input (matches AST literally)
should handle #method_call(:methname) on a valid AST
YARD::Handlers::Ruby::Legacy::Base#handles and inheritance
should only handle Handlers inherited from Ruby::Legacy::Base class
should handle a string input
should handle regex input
should handle token input
should parse a do/end or { } block with #parse_block
YARD::Handlers::Ruby::ClassHandler
should parse a class block with docstring
should handle complex class names
should handle the subclassing syntax
should interpret class << self as a class level block
should interpret class << ClassName as a class level block in ClassName's namespace
should make visibility public when parsing a block
should set superclass type to :class if it is a Proxy
should look for a superclass before creating the class if it shares the same name
should handle class definitions in the form ::ClassName
should handle superclass as a constant-style method (camping style < R /path/)
should handle superclass with OStruct.new or Struct.new syntax (superclass should be OStruct/Struct)
should handle DelegateClass(CLASSNAME) superclass syntax
should handle a superclass of the same name in the form ::ClassName
should raise an UndocumentableError for invalid class 'CallMethod('test')'
should raise an UndocumentableError for invalid class 'VSD^#}}'
should raise an UndocumentableError for invalid class 'not.aclass'
should raise an UndocumentableError for invalid class 'self'
should raise an UndocumentableError for invalid superclass '@@INVALID' but it should create the class.
should raise an UndocumentableError for invalid superclass 'hi' but it should create the class.
should raise an UndocumentableError for invalid superclass '$MYCLASS' but it should create the class.
should raise an UndocumentableError for invalid superclass 'AnotherClass.new' but it should create the class.
should raise an UndocumentableError if the constant class reference 'class << SomeConstant' does not point to a valid class name
should raise an UndocumentableError if the constant class reference 'class << SomeConstant' does not point to a valid class name
should raise an UndocumentableError if the constant class reference 'class << SomeConstant' does not point to a valid class name
should document 'class << SomeConstant' by using SomeConstant's value as a reference to the real class name
should allow class << SomeRubyClass to create the class if it does not exist
should document 'class Exception' without running into superclass issues
should document 'class RT < XX::RT' with proper superclass even if XX::RT is a proxy
should not overwrite docstring with an empty one
should turn 'class Const < Struct.new(:sym)' into class Const with attr :sym
should turn 'class Const < Struct.new('Name', :sym)' into class Const with attr :sym
should create a Struct::Name class when class Const < Struct.new('Name', :sym) is found
should attach attribtues to the generated Struct::Name class when Struct.new('Name') is used
should use @attr to set attribute descriptions on Struct subclasses
should use @attr to set attribute types on Struct subclasses
should default types unspecified by @attr to Object on Struct subclasses
should create parameters for writers of Struct subclass's attributes
should inherit from a regular struct
should handle inheritance from 'self'
Attributes on a struct
defines both readers and writers when @attr is used on Structs
defines only a reader when only @attr_reader is used on Structs
defines only a writer when only @attr_writer is used on Structs
defines a reader with correct return types when @attr_reader is used on Structs
defines a writer with correct parameter types when @attr_writer is used on Structs
defines a reader and a writer when both @attr_reader and @attr_writer are used
uses @attr_reader for the getter when both @attr_reader and @attr_writer are given
uses @attr_writer for the setter when both @attr_reader and @attr_writer are given
extracts text from @attr_reader
extracts text from @attr_writer
Attributes on a class
defines both readers and writers when @attr is used on Structs
defines only a reader when only @attr_reader is used on Structs
defines only a writer when only @attr_writer is used on Structs
defines a reader with correct return types when @attr_reader is used on Structs
defines a writer with correct parameter types when @attr_writer is used on Structs
defines a reader and a writer when both @attr_reader and @attr_writer are used
uses @attr_reader for the getter when both @attr_reader and @attr_writer are given
uses @attr_writer for the setter when both @attr_reader and @attr_writer are given
extracts text from @attr_reader
extracts text from @attr_writer
YARD::Handlers::Ruby::ModuleHandler
should parse a module block
should attach docstring
should handle any formatting
should handle complex module names
should handle modules in the form ::ModName
should list mixins in proper order
should create proper module when constant is in namespace
YARD::Handlers::Ruby::VisibilityHandler
should be able to set visibility to public
should be able to set visibility to private
should be able to set visibility to protected
should support parameters and only set visibility on those methods
should only accept strings and symbols
should handle constants passed in as symbols
YARD::Handlers::Ruby::ConstantHandler
should not parse constants inside methods
should only parse valid constants
should maintain newlines
should turn Const = Struct.new(:sym) into class Const with attr :sym
should turn Const = Struct.new('Name', :sym) into class Const with attr :sym
should turn Const = Struct.new into empty struct
should maintain docstrings on structs defined via constants
should raise undocumentable error in 1.9 parser for Struct.new assignment to non-const
YARD::Handlers::Ruby::MethodHandler
should add methods to parent's #meths list
should parse/add class methods (self.method2)
should parse/add class methods from other namespaces (String.hello)
should allow valid method []
should allow valid method []=
should allow valid method allowed?
should allow valid method /
should allow valid method =~
should allow valid method ==
should allow valid method `
should allow valid method |
should allow valid method *
should allow valid method &
should allow valid method %
should allow valid method ^
should allow valid method -@
should allow valid method +@
should allow valid method ~@
should allow self.methname
should mark dynamic methods as such
should show that a method is explicitly defined (if it was originally defined implicitly by attribute)
should handle parameters
should handle opts = {} as parameter
should handle &block as parameter
should handle overloads
should set a return tag if not set on #initialize
should set @private tag on inherited callback method if no docstring is set
should set @private tag on included callback method if no docstring is set
should set @private tag on method_added callback method if no docstring is set
should set @private tag on method_removed callback method if no docstring is set
should set @private tag on method_undefined callback method if no docstring is set
should not set @private tag on extended callback method since docstring is set
should add @return [Boolean] tag to methods ending in ? without return types
should add Boolean type to return tag without types
should not change return type for method ending in ? with return types set
should not change return type for method ending in ? with return types set by @overload
should add method writer to existing attribute
should add method reader to existing attribute
should generate an options parameter if @option refers to an undocumented parameter
should raise an undocumentable error when a method is defined on an object instance
should allow class method to be defined on constant reference object
should copy alias information on method (re-)definition to new method
should add macros for class methods
should handle macros on any object
should skip macros on instance methods
should warn if the macro name is invalid
should handle 'def end' methods
YARD::Handlers::Base
#handles and inheritance
should keep track of subclasses
should raise NotImplementedError if process is called on a class with no #process
should allow multiple handles arguments
should allow multiple handles calls
transitive tags
should add transitive tags to children
sharing global state
should allow globals to share global state among handlers
#push_state
should push and return all old state info after block
should allow owner to be pushed individually
should allow scope to be pushed individually
.in_file
Parser type = :ruby
should allow handler to be specific to a file
should ignore handler if filename does not match
should only test filename part when given a String
should test exact match for entire String
should allow a Regexp as argument and test against full path
should allow multiple in_file declarations
Parser type = :ruby18
should allow handler to be specific to a file
should ignore handler if filename does not match
should only test filename part when given a String
should test exact match for entire String
should allow a Regexp as argument and test against full path
should allow multiple in_file declarations
YARD::Handlers::Ruby::VisibilityHandler
should be able to create a module function with parameters
should be able to set scope for duration of block without params
should handle all method names in parameters
should only accept strings and symbols
should handle constants passed in as symbols
YARD::Handlers::Ruby::PrivateConstantHandler
should handle private_constant statement
should make all other constants public
should fail if parameter is not String, Symbol or Constant
should fail if constant can't be recognized
YARD::Handlers::Ruby::YieldHandler
should only parse yield blocks in methods
should handle an empty yield statement
should not document a yield statement in a method with either @yield or @yieldparam
should handle any arbitrary yield statement
should handle parentheses
should only document the first yield statement in a method (limitation of yield handler)
should handle `self` keyword and list object type as yieldparam for _self
should handle `super` keyword and document it under _super
YARD::Handlers::Processor
should start with public visibility
should start in instance scope
should start in root namespace
should have a globals structure
YARD::CLI::Diff
Argument handling
should exit if there is only one gem name
Diffing
should show differences between objects
should accept -a/--all
File searching
should search for gem/.yardoc
should search for argument as yardoc
should search for installed gem
should search for .gem file
should search for .gem file on rubygems.org
should error if gem is not found
YARD::CLI::YRI
#find_object
should use cache if available
should never use cache ahead of current directory's .yardoc
#cache_object
should skip caching for Registry.yardoc_file
#initialize
should load search paths
should use DEFAULT_SEARCH_PATHS prior to other paths
#run
should search for objects and print their documentation
should print usage if no object is provided
should print no documentation exists for object if object is not found
YARD::CLI::Gems
#run
should build all gem indexes if no gem is specified
should allow gem to be specified
should allow multiple gems to be specified for building
should allow version to be specified with gem
should warn if one of the gems is not found, but it should process others
should fail if specified gem(s) is/are not found
should accept --rebuild
YARD::CLI::Stats
should list undocumented objects with --list-undoc
should list no undocumented objects with --list-undoc when objects are undocumented
should list undocumented objects in compact mode with --list-undoc --compact
should still list stats with --quiet
should ignore everything with --no-public
YARD::CLI::Server
should default to current dir if no library is specified
should use .yardoc as yardoc file is library list is odd
should force multi library if more than one library is listed
should accept -m, --multi-library
should accept -c, --cache
should accept -r, --reload
should accept -d, --daemon
should accept -p, --port
should accept --docroot
should accept -a webrick to create WEBrick adapter
should accept -a rack to create Rack adapter (PENDING: rack required for this test)
should default to Rack adapter if exists on system (PENDING: rack required for this test)
should fall back to WEBrick adapter if Rack is not on system
should accept -s, --server
should accept -g, --gems
should accept -G, --gemfile (PENDING: bundler required for this test)
should warn if lockfile is not found (with -G) (PENDING: bundler required for this test)
should error if Bundler not available (with -G)
*** YARD::Server::Adapter.setup
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates"]
*** YARD::Server::Adapter.setup
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates", "foo"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates", "foo"]
should load template paths after adapter template paths
*** YARD::Server::Adapter.setup
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates", "foo"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates", "foo"]
*** YARD::Server::Adapter.setup
1. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
2. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates", "foo"]
3. [#<Proc:0x8f243e4@/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:47>, YARD::Server::DocServerHelper]
4. ["/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/../templates", "/builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/templates", "foo"]
should load ruby code (-e) after adapter
YARD::CLI::Help
#run
should accept 'help command'
should accept no arguments (lists all commands)
should show all commands if command isn't found
YARD::CLI::CommandParser
#run
should show help if --help is provided
should use default command if first argument is a switch
should use default command if no arguments are provided
should list commands if command is not found
should list commands if --help is provided as sole argument
YARD::CLI::Config
Listing configuration
should accept --list
Viewing an item
should view item if no value is given
Modifying an item
should accept --reset to set value
should accept --as-list to force single item as list
should accept --append to append values to existing key
should turn key into list if --append is used on single item
should modify item if value is given
should turn list of values into array of values
should turn number into numeric Ruby type
should turn true into TrueClass
should turn false into FalseClass
should save on modification
YARD::CLI::I18n
Defaults
should read .yardopts by default
should use {lib,app}/**/*.rb and ext/**/*.c as default file glob
should only show public visibility by default
General options
should accept --yardopts
should accept --yardopts with filename
should accept --no-yardopts
should accept --exclude
.yardopts handling
should search for and use yardopts file specified by #options_file
#run
should parse_arguments if run() is called
should parse_arguments if run(arg1, arg2, ...) is called
should not parse_arguments if run(nil) is called
YARD::CLI::Yardoc
Defaults
should use cache by default
print statistics by default
should generate output by default
should read .yardopts by default
should read .document by default
should use {lib,app}/**/*.rb and ext/**/*.c as default file glob
should use rdoc as default markup type (but falls back on none)
should use default as default template
should use HTML as default format
should use 'Object' as default return type
should not hide void return types by default
should only show public visibility by default
should not list objects by default
should not embed mixins by default
General options
should accept --single-db
should accept --no-single-db
should accept -c
should accept --use-cache
should accept --no-cache
should accept --yardopts
should accept --yardopts with filename
should accept --no-yardopts
should accept --document
should accept --no-document
should accept -b
should accept --db
should accept -n
should accept --no-output
should accept --exclude
should accept --no-save
Output options
should accept --title
should allow --title to have multiple spaces in .yardopts
should alias --main to the --readme flag
should select a markup provider when --markup-provider or -mp is set
should select a markup format when -m is set
should accept --default-return
should allow --hide-void-return to be set
should accept --embed-mixins
should accept --embed-mixin MODULE
should generate all objects with --use-cache
should not print statistics with --no-stats
--asset
should copy assets to output directory
should allow multiple --asset options
should not allow from or to to refer to a path above current path
should allow from:to syntax
should not put from inside of to/ if from is a directory
--[no-]api
should allow --api name
should allow multiple --api's to all be shown
should allow --no-api to specify objects with no @api tag
should allow --no-api to work with other --api switches
should ensure Ruby code cannot be used
--no-private option
should accept --no-private
should hide object if namespace is @private with --no-private
should not call #tag on namespace if namespace is proxy with --no-private
should not call #tag on namespace if namespace is proxy with --no-private
should not call #tag on proxy object
should hide methods inside a 'private' class/module with --no-private
.yardopts and .document handling
should search for and use yardopts file specified by #options_file
should use String#shell_split to split .yardopts tokens
should allow opts specified in command line to override yardopts file
should load the RDoc .document file if found
Query options
should hide private constants in with default visibilities
should setup visibility rules as verifier
should accept a --query
should accept multiple --query arguments
Extra file arguments
should accept extra files if specified after '-' with source files
should accept files section only containing extra files
should accept globs as extra files
should warn if extra file is not found
should warn if readme file is not found
should use first file as readme if no readme is specified when using --one-file
should use readme it exists when using --one-file
should not allow US-ASCII charset when using --one-file
Source file arguments
should accept no params and parse {lib,app}/**/*.rb ext/**/*.c
Tags options
should accept --tag
should accept --tag without title (and default to captialized tag name)
should only list tag once if declared twice
should accept --type-tag
should accept --type-name-tag
should accept --name-tag
should accept --title-tag
should accept --hide-tag before tag is listed
should accept --hide-tag after tag is listed
should accept --transitive-tag
Safe mode
should not allow --load or -e in safe mode
should not allow --query in safe mode
should not allow modifying the template paths
Markup Loading
should load rdoc markup if no markup is provided
should load rdoc markup even when no output is specified
should warn if rdoc cannot be loaded and fallback to :none
should error immediately if markup for any files are missing
should error immediately if markup for any files are missing (file markup specified in attributes)
#run
should parse_arguments if run() is called
should parse_arguments if run(arg1, arg2, ...) is called
should not parse_arguments if run(nil) is called
YARD::CLI::List
should pass command off to Yardoc with --list
YARD::CLI::Command
#parse_options
should skip unrecognized options but continue to next option
should skip unrecognized options and any extra non-option arg that follows
should stop retrying to parse at non-switch argument
YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_docstring
*** signature
should render html format correctly (FAILED - 1)
should render text format correctly
should hide private constructors
YARD::Templates::Template
.include_parent
should not include parent directory if parent directory is a template root path
should include overridden parent directory
should include parent directory template if exists
.full_paths
should list full_path
should list paths of included modules
should list paths from modules of included modules
should only list full paths of modules that respond to full_paths
.load_setup_rb
should load setup.rb file for module
.T
should load template from absolute path
.find_file
should find file in module's full_path
should return nil if no file is found
.find_nth_file
should find 2nd existing file in template paths
should return nil if no file is found
.extra_includes
should be included when a module is initialized
should support lambdas in list
.is_a?
should be kind of Template
#T
should delegate to class method
#init
should be called during initialization
#file
should read the file if it exists
should raise ArgumentError if the file does not exist
should replace {{{__super__}}} with inherited template contents if allow_inherited=true
should not replace {{{__super__}}} with inherited template contents if allow_inherited=false
#superb
should return the inherited erb template contents
should work inside an erb template
#sections
should allow sections to be set if arguments are provided
#run
should render all sections
should render all sections with options
should run section list if provided
should accept a nil section as empty string
#add_options
should set instance variables in addition to options
should set instance variables and options only for the block
#render_section
should call method if method exists by section name as Symbol
should call erb if no method exists by section name
should run a template if section is one
should run a template instance if section is one
#yield
should yield a subsection
should yield a subsection within a yielded subsection
should support arbitrary nesting
should yield first two elements if yield is called twice
should ignore any subsections inside subsection yields
should allow extra options passed via yield
#yieldall
should yield all subsections
should yield options to all subsections
should yield all subsections more than once
should not yield if no yieldall is called
YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_method
regular (deprecated) method
it should behave like all formats
should render html format correctly
should render text format correctly
method with 1 overload
it should behave like all formats
should render html format correctly
should render text format correctly
method with 2 overloads
it should behave like all formats
should render html format correctly
should render text format correctly
method void return
it should behave like all formats
should render html format correctly
should render text format correctly
method void return in an overload
it should behave like all formats
should render html format correctly
should render text format correctly
YARD::Templates::Section
#initialize
should convert first argument to splat if it is array
should allow initialization with Section objects
should make a list of sections
#[]
should use Array#[] if argument is integer
should return new Section object if more than one argument
should return new Section object if arg is Range
should look for section by name if arg is object
#eql?
should check for equality of two equal sections
should not be equal if section names are different
#==
should allow comparison to Symbol
should allow comparison to String
should allow comparison to Template
should allow comparison to Section
should allow comparison to Object
should allow comparison to Array
#to_a
should convert Section to regular Array list
#place
should place objects as Sections
should place objects anywhere inside Section with before/after_any
should allow multiple sections to be placed
#push
should push objects as Sections
should alias to #<<
#unshift
should unshift objects as Sections
#any
should find item inside sections
should find item in any deeply nested set of sections
YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_constant
fully dressed constant
should render text format correctly
simple constant with no documentation
should render text format correctly
YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_onefile
should render html (FAILED - 2)
YARD::Templates::Helpers::HtmlHelper
#h
should use #h to escape HTML
#charset
should return foo if LANG=foo
should convert US-ASCII to iso-8859-1
should convert ASCII-7BIT to iso-8859-1
should convert ASCII-8BIT to iso-8859-1
should support utf8 as an encoding value for utf-8
should take file encoding if there is a file
#format_types
should include brackets by default
should avoid brackets if brackets=false
should link all classes in String
should link all classes in A::B::C
should link all classes in Array<String>
should link all classes in Array<String, Symbol>
should link all classes in Array<{String => Array<Symbol>}>
#htmlify
should not use hard breaks for textile markup (RedCloth specific) (PENDING: test requires redcloth gem)
should use hard breaks for textile_strict markup (RedCloth specific) (PENDING: test requires redcloth gem)
should handle various encodings
should return pre-formatted text with :pre markup
should return regular text with :text markup
should return unmodified text with :none markup
should highlight ruby if markup is :ruby
should include file and htmlify it
should autolink URLs (markdown specific) (PENDING: This test depends on markdown)
should not autolink URLs inside of {} (markdown specific) (PENDING: This test depends on markdown)
#link_object
should return the object path if there's no serializer and no title
should return the title if there's a title but no serializer
should link objects from overload tag
should use relative path in title
should use relative path to parent class in title
should use Klass.foo when linking to class method in current namespace
should escape method name in title
#url_for
should return nil if serializer is nil
should return nil if serializer does not implement #serialized_path
should link to a path/file for a namespace object
should link to the object's namespace path/file and use the object as the anchor
should properly urlencode methods with punctuation in links
#anchor_for
should not urlencode data when called directly
#resolve_links
should escape {} syntax with backslash (\{foo bar})
should escape {} syntax with ! (!{foo bar})
should link static files with file: prefix
should create regular links with http:// or https:// prefixes
should create mailto links with mailto: prefixes
should ignore {links} that begin with |...|
should gracefully ignore {} in links
should ignore links in <tt>
should ignore links in <code>
should ignore links in <pre>
should resolve {Name}
should resolve ({Name})
should resolve link with newline in title-part
should resolve links to methods whose names have been escaped
should warn about missing reference at right file location for object
should show ellipsis on either side if there is more on the line in a reference warning
should warn about missing reference for file template (no object)
#signature
*** signature
should link to regular method if overload name does not have the same method name
it should behave like signature
should show signature for regular instance method
should allow default return type to be changed
should allow default return type to be omitted
should show signature for private class method
should show return type for single type
should show return type for 2 types
should show return type for 2 types over multiple tags
should show 'Type?' if return types are [Type, nil]
should show 'Type?' if return types are [Type, nil, nil] (extra nil)
should show 'Type+' if return types are [Type, Array<Type>]
should (Type, ...) for more than 2 return types
should show (void) for @return [void] by default
should not show return for @return [void] if :hide_void_return is true
should show block for method with yield
should use regular return tag if the @overload is empty
#html_syntax_highlight
should return empty string on nil input
should call #html_syntax_highlight_ruby by default
should call #html_syntax_highlight_NAME if there's an object with a #source_type
should add !!!LANG to className in outputted pre tag
should call html_syntax_highlight_NAME if source starts with !!!NAME
should not highlight if highlight option is false
should not highlight if there is no highlight method specified by !!!NAME
should highlight as ruby if htmlify(text, :ruby) is called
should not prioritize object source type when called directly
shouldn't escape code snippets twice
should highlight source when matching a pre lang= tag
should highlight source when matching a code class= tag
#link_url
should add target if scheme is provided
YARD::Templates::Helpers::HtmlSyntaxHighlightHelper
#html_syntax_highlight
should not highlight source if options.highlight is false
should highlight source (legacy)
should highlight source (ripper)
should return escaped unhighlighted source if a syntax error is found (ripper)
YARD::Templates::Helpers::Markup::RDocMarkup
loading mechanism
should load RDoc2.x if rdoc/markup is present
should fail on RDoc2.x if rdoc/markup/to_html is not present
should load RDoc1.x if RDoc2 fails and rdoc/markup/simple_markup is present
should error on loading if neither lib is present
#fix_typewriter
should use #fix_typewriter to convert +text+ to <tt>text</tt>
should not apply to code blocks
should not apply to HTML tag attributes
should still apply inside of other tags
YARD::Templates::Helpers::MarkupHelper
#load_markup_provider
should exit on an invalid markup type
should fail on when an invalid markup provider is specified
should load RDocMarkup if rdoc is specified and it is installed
should fail if RDoc cannot be loaded
should search through available markup providers for the markup type if none is set
should continue searching if some of the providers are unavailable
should override the search if `:markup_provider` is set in options
should fail if no provider is found
should fail if overridden provider is not found
should fail if the markup type is not found
#markup_for_file
should look for a shebang line
should return the default markup type if no shebang is found or no valid ext is found
should look for a file extension if no shebang is found
should recognize .htm as html markup type
should recognize .html as html markup type
should recognize .shtml as html markup type
should recognize .txt as text markup type
should recognize .textile as textile markup type
should recognize .txtile as textile markup type
should recognize .markdown as markdown markup type
should recognize .md as markdown markup type
should recognize .mdown as markdown markup type
should recognize .mkd as markdown markup type
should recognize .rdoc as rdoc markup type
should recognize .rb as ruby markup type
should recognize .ru as ruby markup type
YARD::Templates::Helpers::TextHelper
#signature
it should behave like signature
should show signature for regular instance method
should allow default return type to be changed
should allow default return type to be omitted
should show signature for private class method
should show return type for single type
should show return type for 2 types
should show return type for 2 types over multiple tags
should show 'Type?' if return types are [Type, nil]
should show 'Type?' if return types are [Type, nil, nil] (extra nil)
should show 'Type+' if return types are [Type, Array<Type>]
should (Type, ...) for more than 2 return types
should show (void) for @return [void] by default
should not show return for @return [void] if :hide_void_return is true
should show block for method with yield
should use regular return tag if the @overload is empty
#align_right
should align text right
should truncate text that is longer than allowed width
YARD::Templates::Helpers::MethodHelper
#format_args
should not show &blockarg if no @param tag and has @yield
should not show &blockarg if no @param tag and has @yieldparam
should show &blockarg if @param block is documented (even with @yield)
#format_block
should show block for method with yield
should show block for method with @yieldparam tags
should show block for method with @yield but no types
should show block for method with @yield and types
YARD::Templates::Helpers::BaseHelper
#run_verifier
should run verifier proc against list if provided
should prune list if lambda returns false and only false
should return list if no verifier exists
#h
should return just the text
#link_object
should return the title if provided
should return a path if argument is a Proxy or object
should should return path of Proxified object if argument is a String or Symbol
should return the argument if not an object, proxy, String or Symbol
#link_url
should return the URL
#linkify
should call #link_url for mailto: links
should call #link_url for URL schemes (http://)
should call #link_file for file: links
should pass off to #link_object if argument is an object
should return empty string and warn if object does not exist
should pass off to #link_url if argument is recognized as a URL
should call #link_include_object for include:ObjectName
should call #link_include_file for include:file:path/to/file
should not allow include:file for path above pwd
should warn if include:file:path does not exist
#format_types
should return the list of types separated by commas surrounded by brackets
should return the list of types without brackets if brackets=false
should should return an empty string if list is empty or nil
#format_object_type
should return Exception if type is Exception
should return Class if type is Class
should return object type in other cases
#format_object_title
should return Top Level Namespace for root object
should return 'type: path' in other cases
YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module
*** signature
should render html format correctly (FAILED - 3)
should render text format correctly
should render dot format correctly
*** signature
should render groups correctly in html (FAILED - 4)
*** signature
should ignore overwritten/private attributes/constants from inherited list (FAILED - 5)
*** signature
should embed mixins with :embed_mixins = ['Foo', 'Bar', 'Baz::A*'] (FAILED - 6)
YARD::Templates::Engine
.register_template_path
should register a String path
.template!
should create a module including Template
should create a module including Template with full_path
.template
should raise an error if the template is not found
should create a module including Template
should create a Template from a relative Template path
should create a Template including other matching templates in path
should include parent directories before other template paths
.generate
should generate with fulldoc template
.render
should accept method call with no parameters
should allow template key to be changed
should allow type key to be changed
should allow format key to be changed
YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_tags
all known tags
should render text format correctly
param tags on non-methods
should not display @param tags on non-method objects
YARD::Verifier
#parse_expressions
should create #__execute method
should parse @tagname into tag('tagname')
should parse @@tagname into object.tags('tagname')
should allow namespaced tag using @{} syntax
should allow namespaced tags using @{} syntax
should call methods on tag object
should send any missing methods to object
should allow multiple expressions
#o
should alias object to o
#call
should mock a nonexistent tag so that exceptions are not raised
should not fail if no expressions were added
should always ignore proxy objects and return true
#expressions
should maintain a list of all unparsed expressions
#expressions=
should recompile expressions when attribute is modified
#add_expressions
should add new expressions and recompile
YARD::Rake::YardocTask
#initialize
should allow separate rake task name to be set
#files
should allow files to be set
#options
should allow extra options to be set
#before
should allow before callback
#after
should allow after callback
#verifier
should allow a verifier proc to be set
should override --query options
YARD::Serializers::FileSystemSerializer
#basepath
should default the base path to the 'doc/'
#extension
should default the file extension to .html
#serialized_path
should allow no extension to be used
should serialize to top-level-namespace for root
should return serialized_path for a String
should remove special chars from path
should handle ExtraFileObject's
should differentiate instance and class methods from serialized path
should serialize path from overload tag
#serialize
should serialize to the correct path
should guarantee the directory exists
YARD::Serializers::YardocSerializer
#dump
should maintain object equality when loading a dumped object
should maintain hash key equality when loading a dumped object
#serialize
should accept a hash of codeobjects (and write to root)
YARD::Registry
.yardoc_file_for_gem
should return nil if gem isn't found
should allow version to be specified
should return existing .yardoc path for gem when for_writing=false
should return nil if no .yardoc path exists in gem when for_writing=false
should search local gem path first if for_writing=false
should return global .yardoc path for gem if for_writing=true and dir is writable
should return local .yardoc path for gem if for_writing=true and dir is not writable
should return gem path if gem starts with yard-doc- and for_writing=false
should return nil if gem starts with yard-doc- and for_writing=true
.root
should have an empty path for root
.resolve
should resolve any existing namespace
should resolve an object in the root namespace when prefixed with ::
should resolve instance methods with # prefix
should resolve instance methods in the root without # prefix
should resolve superclass methods when inheritance = true
should resolve mixin methods when inheritance = true
should resolve methods in Object when inheritance = true
should resolve methods in BasicObject when inheritance = true
should not resolve methods in Object if inheriting BasicObject when inheritance = true
should only check 'Path' in lookup on root namespace
should not perform lookup by joining namespace and name without separator
.all
should return objects of types specified by arguments
should return code objects
should allow .all to omit list
.paths
should return all object paths
.load_yardoc
should delegate load to RegistryStore
should return itself
should maintain hash key equality on loaded objects
.load
should return itself
.load_all
should return itself
.load!
should return itself
.each
should iterate over .all
should include Enumerable and allow for find, select
.instance
should return itself
.single_object_db
should default to nil
Thread local
should maintain two Registries in separate threads
should allow setting of yardoc_file in separate threads
should automatically clear in new threads
Pending:
YARD::Server::RackMiddleware should handle requests
# rack required for these tests
#
YARD::Server::RackMiddleware should pass up to the next middleware on 404
# rack required for these tests
#
YARD::CLI::Server should accept -a rack to create Rack adapter
# rack required for this test
#
YARD::CLI::Server should default to Rack adapter if exists on system
# rack required for this test
#
YARD::CLI::Server should accept -G, --gemfile
# bundler required for this test
#
YARD::CLI::Server should warn if lockfile is not found (with -G)
# bundler required for this test
#
YARD::Templates::Helpers::HtmlHelper#htmlify should not use hard breaks for textile markup (RedCloth specific)
# test requires redcloth gem
#
YARD::Templates::Helpers::HtmlHelper#htmlify should use hard breaks for textile_strict markup (RedCloth specific)
# test requires redcloth gem
#
YARD::Templates::Helpers::HtmlHelper#htmlify should autolink URLs (markdown specific)
# This test depends on markdown
#
YARD::Templates::Helpers::HtmlHelper#htmlify should not autolink URLs inside of {} (markdown specific)
# This test depends on markdown
#
Failures:
1) YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_docstring should render html format correctly
Failure/Error: html_equals(Registry.at('A').format(html_options), :class001)
NoMethodError:
undefined method `router' for nil:NilClass
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:71:in `router'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:14:in `url_for'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/helpers/html_helper.rb:495:in `signature'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/item_summary.erb:8:in `_erb_cache_19'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:380:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `block in yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:388:in `with_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/method_summary.erb:12:in `block (2 levels) in _erb_cache_18'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/method_summary.erb:11:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/method_summary.erb:11:in `block in _erb_cache_18'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:146:in `block in groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:152:in `block in scopes'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:150:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:150:in `scopes'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:146:in `groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/method_summary.erb:4:in `_erb_cache_18'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:374:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:123:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/engine.rb:88:in `render'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/code_objects/base.rb:465:in `format'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/spec/templates/class_spec.rb:34:in `block (2 levels) in <top (required)>'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `instance_eval'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:173:in `with_around_hooks'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:77:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:355:in `block in run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:337:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:34:in `report'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:25:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'
2) YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_onefile should render html
Failure/Error: Templates::Engine.generate Registry.all(:class),
NoMethodError:
undefined method `router' for nil:NilClass
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:71:in `router'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:14:in `url_for'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/helpers/html_helper.rb:93:in `html_markup_rdoc'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/helpers/html_helper.rb:41:in `htmlify'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/onefile/html/readme.erb:4:in `_erb_cache_29'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:374:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `block in yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:388:in `with_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/onefile/html/layout.erb:19:in `_erb_cache_28'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:374:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:123:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/fulldoc/html/setup.rb:46:in `block in serialize_onefile'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/engine.rb:116:in `with_serializer'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/fulldoc/html/setup.rb:45:in `serialize_onefile'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/fulldoc/html/setup.rb:6:in `init'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:173:in `initialize'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:118:in `new'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:123:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/engine.rb:104:in `generate'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/spec/templates/onefile_spec.rb:48:in `render'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/spec/templates/onefile_spec.rb:56:in `block (2 levels) in <top (required)>'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `instance_eval'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:173:in `with_around_hooks'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:77:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:355:in `block in run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:337:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:34:in `report'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:25:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'
3) YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module should render html format correctly
Failure/Error: html_equals(Registry.at('A').format(html_options(:hide_void_return => true,
NoMethodError:
undefined method `router' for nil:NilClass
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:71:in `router'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:14:in `url_for'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/helpers/html_helper.rb:495:in `signature'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/item_summary.erb:8:in `_erb_cache_38'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:380:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `block in yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:388:in `with_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:7:in `block (2 levels) in _erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:6:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:6:in `block in _erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:146:in `block in groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:152:in `block in scopes'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:150:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:150:in `scopes'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:146:in `groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:3:in `_erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:374:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:123:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/engine.rb:88:in `render'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/code_objects/base.rb:465:in `format'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/spec/templates/module_spec.rb:69:in `block (2 levels) in <top (required)>'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `instance_eval'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:173:in `with_around_hooks'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:77:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:355:in `block in run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:337:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:34:in `report'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:25:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'
4) YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module should render groups correctly in html
Failure/Error: html_equals(Registry.at('A').format(html_options), :module002)
NoMethodError:
undefined method `router' for nil:NilClass
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:71:in `router'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:14:in `url_for'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/helpers/html_helper.rb:495:in `signature'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/item_summary.erb:8:in `_erb_cache_38'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:380:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `block in yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:388:in `with_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:7:in `block (2 levels) in _erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:6:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:6:in `block in _erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:131:in `block in groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:129:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:129:in `groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:3:in `_erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:374:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:123:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/engine.rb:88:in `render'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/code_objects/base.rb:465:in `format'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/spec/templates/module_spec.rb:106:in `block (2 levels) in <top (required)>'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `instance_eval'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:173:in `with_around_hooks'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:77:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:355:in `block in run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:337:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:34:in `report'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:25:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'
5) YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module should ignore overwritten/private attributes/constants from inherited list
Failure/Error: html_equals(Registry.at('A').format(html_options(
NoMethodError:
undefined method `router' for nil:NilClass
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:71:in `router'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:14:in `url_for'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/helpers/html_helper.rb:495:in `signature'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/item_summary.erb:8:in `_erb_cache_38'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:380:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `block in yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:388:in `with_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:7:in `block (2 levels) in _erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:6:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:6:in `block in _erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:146:in `block in groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:152:in `block in scopes'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:150:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:150:in `scopes'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:146:in `groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:3:in `_erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:374:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:123:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/engine.rb:88:in `render'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/code_objects/base.rb:465:in `format'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/spec/templates/module_spec.rb:127:in `block (2 levels) in <top (required)>'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `instance_eval'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:173:in `with_around_hooks'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:77:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:355:in `block in run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:337:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:34:in `report'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:25:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'
6) YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module should embed mixins with :embed_mixins = ['Foo', 'Bar', 'Baz::A*']
Failure/Error: html_equals(Registry.at('A').format(html_options(:embed_mixins => ['Foo', 'Bar', 'Baz::A*'])), :module004)
NoMethodError:
undefined method `router' for nil:NilClass
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:71:in `router'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/server/doc_server_helper.rb:14:in `url_for'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/helpers/html_helper.rb:495:in `signature'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/item_summary.erb:8:in `_erb_cache_38'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:380:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `block in yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:388:in `with_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:257:in `yieldall'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:7:in `block (2 levels) in _erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:6:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:6:in `block in _erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:146:in `block in groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:152:in `block in scopes'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:150:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:150:in `scopes'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/setup.rb:146:in `groups'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/templates/default/module/html/attribute_summary.erb:3:in `_erb_cache_37'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:267:in `erb'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:345:in `render_section'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:239:in `block (2 levels) in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `each'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:236:in `block in run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:374:in `add_options'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:235:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/template.rb:123:in `run'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/templates/engine.rb:88:in `render'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/lib/yard/code_objects/base.rb:465:in `format'
# /builddir/build/BUILD/rubygem-yard-0.8.1/usr/share/gems/gems/yard-0.8.1/spec/templates/module_spec.rb:175:in `block (2 levels) in <top (required)>'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `instance_eval'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:80:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:173:in `with_around_hooks'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb:77:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:355:in `block in run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:351:in `run_examples'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:337:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `map'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:28:in `block in run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:34:in `report'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:25:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in `run'
# /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'
Finished in 5.58 seconds
1568 examples, 6 failures, 10 pending
Failed examples:
rspec ./spec/templates/class_spec.rb:33 # YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_docstring should render html format correctly
rspec ./spec/templates/onefile_spec.rb:55 # YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_onefile should render html
rspec ./spec/templates/module_spec.rb:68 # YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module should render html format correctly
rspec ./spec/templates/module_spec.rb:88 # YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module should render groups correctly in html
rspec ./spec/templates/module_spec.rb:109 # YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module should ignore overwritten/private attributes/constants from inherited list
rspec ./spec/templates/module_spec.rb:131 # YARD::Templates::Engine::Template__builddir_build_BUILD_rubygem_yard_0_8_1_usr_share_gems_gems_yard_0_8_1_templates_default_module should embed mixins with :embed_mixins = ['Foo', 'Bar', 'Baz::A*']
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.r8gIz3 (%check)
Macro %__isa_name has empty body
Macro %__isa_bits has empty body
Bad exit status from /var/tmp/rpm-tmp.r8gIz3 (%check)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/rubygem-yard.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 352, in do
raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/rubygem-yard.spec']
LEAVE do --> EXCEPTION RAISED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment