Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
2541 files, 10412 examples, 34689 expectations, 10 failures, 268 errors, 262 guards 2 specs omitted by guard: ruby_version_is ...1.8: Array#* with an integer does not copy the taint status of the original array if the passed count is 0 Array#pack with float format may complain overflow when the passed integer is too large 50 specs omitted by guard: ruby_version_is ...1.8.7: argf_each_byte raises a LocalJumpError when passed no block array_collect_b raises LocalJumpError if no block given Array#delete_if raises a LocalJumpError if no block given Array#each_index raises a LocalJumpError if no block given Array#each raises a LocalJumpError if no block given Array#pop raises an ArgumentError if passed an argument Array#slice! expands self when indices are out of bounds Dir#path raises an IOError when called on a closed Dir instance Enumerable#partition throws LocalJumpError if called without a block Enumerable#reject raises a LocalJumpError if no block is given ENV.delete_if raises LocalJumpError if no block given ENV.each_key raises LocalJumpError if no block given env_each raises LocalJumpError if no block given ENV.each_value raises LocalJumpError if no block given ENV.reject! raises on no block given ENV.reject raises on no block given ENV.select raises when no block is given hash_iteration_no_block raises a LocalJumpError when called on a non-empty hash without a block hash_iteration_no_block does not raise a LocalJumpError when called on an empty hash without a block Hash#reject! raises a LocalJumpError when called on a non-empty hash without a block Hash#reject! does not raise a LocalJumpError when called on an empty hash without a block Hash#select raises a LocalJumpError when called on a non-empty hash without a block Hash#select does not raise a LocalJumpError when called on an empty hash without a block Integer#downto [stop] when self and stop are Fixnums does not require a block if self is less than stop Integer#downto [stop] when self and stop are Fixnums raises a LocalJumpError when no block given Integer#times raises a LocalJumpError when no block given Integer#upto [stop] when self and stop are Fixnums raises a LocalJumpError when no block given io_each yields a LocalJumpError when passed no block Numeric#step with [stop, step] raises no LocalJumpError when passed no block and self > stop Numeric#step with [stop, step] raises a LocalJumpError when passed no block and self < stop String#hex accepts a sequence of underscores as part of a number String#oct accepts a sequence of underscores as part of a number Struct#each_pair fails if not passed a block Struct#each fails if not passed a block ERB#src returns the compiled ruby code net_httpheader_each_capitalized when passed no block raises a LocalJumpError Net::HTTPHeader#each_capitalized_name when passed no block raises a LocalJumpError net_httpheader_each_header when passed no block raises a LocalJumpError net_httpheader_each_name when passed no block raises a LocalJumpError Net::HTTPHeader#each_value when passed no block raises a LocalJumpError OpenSSL::Cipher's CipherError exists under OpenSSL namespace Set#each raises a LocalJumpError when not passed a block Set#== does depend on the order of nested Sets SortedSet#each raises a LocalJumpError when not passed a block stringio_each_byte returns nil stringio_each_byte yields a LocalJumpError when passed no block stringio_each_char returns nil stringio_each_char yields a LocalJumpError when passed no block stringio_each_no_arguments yields a LocalJumpError when passed no block StringIO#seek when self is closed does not raise an IOError 2 specs omitted by guard: ruby_version_is ..1.8.6: Hash#hash computes recursive hash keys with identical hashes URI.parse populates the components of a parsed URI::FTP object 1 spec omitted by guard: ruby_version_is ..1.8.6p230: The 'utf-16' encoder emits an empty string when the source input is empty 1 spec omitted by guard: ruby_version_is 1.8.7..: URI.parse populates the components of a parsed URI::FTP object 8 specs omitted by guard: ruby_version_is 1.8.8: Array#pack returns a tainted string when the format is tainted Array#pack returns a tainted string when the format is tainted even if the given format is empty Set#classify returns an Enumerator when passed no block Set#delete_if returns an Enumerator when passed no block Set#reject! returns an Enumerator when passed no block SortedSet#classify returns an Enumerator when passed no block SortedSet#delete_if returns an Enumerator when passed no block SortedSet#reject! returns an Enumerator when passed no block 198 specs omitted by guard: ruby_version_is 1.9: self in an eigenclass body (class << obj) is a metaclass for classes self in an eigenclass body (class << obj) is a metametaclass for metaclasses self in an eigenclass body (class << obj) has the class's metaclass as superclass for classes self in an eigenclass body (class << obj) has Class as superclass for BasicObject class self in an eigenclass body (class << obj) has the class's metaclass's metaclass as superclass for metaclasses self in an eigenclass body (class << obj) has the metaclass of Class as superclass for the metaclass of BasicObject self in an eigenclass body (class << obj) has the object's class as superclass A constant on an eigenclass appears in the eigenclass constant list Instance methods of an eigenclass includes ones of the object's class Instance methods of an eigenclass does not include class methods of the object's class Instance methods of an eigenclass includes instance methods of Object Instance methods of an eigenclass does not include class methods of Object Instance methods of an eigenclass includes instance methods of Class, for a class Instance methods of an eigenclass does not include class methods of Class, for a class Instance methods of an eigenclass does not include instance methods of the metaclass of Class, for a class Instance methods of an eigenclass does not include class methods of the metaclass of Class, for a class Instance methods of an eigenclass includes instance methods of the metaclass of Class, for a metaclass Instance methods of an eigenclass does not include class methods of the metaclass of Class, for a metaclass Class methods of an eigenclass includes ones of the object's class Class methods of an eigenclass does not include instance methods of the object's class Class methods of an eigenclass includes instance methods of Class Class methods of an eigenclass does not include class mtehods of Class Class methods of an eigenclass includes instance methods of Class, for a class Class methods of an eigenclass includes class methods of Class, for a class Class methods of an eigenclass includes instance methods of the metaclass of Class, for a class Class methods of an eigenclass does not include class methods of the metaclass of Class, for a class Class methods of an eigenclass includes instance methods of the metaclass of Class, for a metaclass Class methods of an eigenclass includes class methods of the metaclass of Class, for a metaclass The __ENCODING__ pseudo-variable is an instance of Encoding The __ENCODING__ pseudo-variable is US-ASCII by default The __ENCODING__ pseudo-variable is the evaluated strings's one inside an eval The __ENCODING__ pseudo-variable is equal to the specified encoding when a magic comment exists The __ENCODING__ pseudo-variable is not assignable Magic comment is optional Magic comment determines __ENCODING__ Magic comment is case-insensitive Magic comment must be at the first line Magic comment must be at the first of line Magic comment can be after the shebang Magic comment can take Emacs style Magic comment can take vim style Ruby character strings are produced from character shortcuts Ruby character strings are produced from control character shortcuts Array#<< raises a RuntimeError on a frozen array Array#clear keeps untrusted status Array#clear raises a RuntimeError on a frozen array array_clone copies untrusted status from the original array_collect returns an Enumerator when no block given array_collect does not copy untrusted status array_collect_b returns an Enumerator when no block given, and the enumeratoe can modify the original array array_collect_b keeps untrusted status array_collect_b raises a RuntimeError on a frozen array Array#compact keeps untrusted status even if all elements are removed Array#compact! keeps untrusted status even if all elements are removed Array#compact! raises a RuntimeError on a frozen array Array#concat raises a RuntimeError when Array is frozen and modification occurs Array#concat keeps untrusted status Array#concat is not infected untrustedness by the other Array#concat keeps the untrusted status of elements Array#delete_at raises a RuntimeError on a frozen array Array#delete_at keeps untrusted status Array#delete_if returns an Enumerator if no block given, and the enumerator can modify the original array Array#delete_if raises a RuntimeError on a frozen array Array#delete_if keeps untrusted status Array#delete raises a RuntimeError on a frozen array if a modification would take place Array#delete keeps untrusted status Array#each_index returns an Enumerator if no block given Array#each returns an Enumerator if no block given Array.[] can unpack 2 or more nested referenced array Array.[] constructs a nested Hash for tailing key-value pairs Array#[]= just sets the section defined by [start,length] to other even if other is nil Array#[]= just sets the section defined by range to other even if other is nil Array#[]= just inserts nil if the section defined by range is zero-width and the rhs is nil Array#[]= just inserts nil if the section defined by range has negative width and the rhs is nil Array#[]= raises a RuntimeError on a frozen array Array#[]= with [index, count] just sets the section defined by [start,length] to nil even if the rhs is nil Array#[]= with [index, count] just sets the section defined by [start,length] to nil if negative index within bounds, cnt > 0 and the rhs is nil Array#[]= with [m..n] just sets the section defined by range to nil even if the rhs is nil Array#[]= with [m..n] just sets the section defined by range to nil if m and n < 0 and the rhs is nil Array#fill raises a RuntimeError on a frozen array Array#flatten! raises a RuntimeError on frozen arrays when modification would take place array_replace raises a RuntimeError on a frozen array Array#initialize is private Array#initialize raises a RuntimeError on frozen arrays even if the array would not be modified Array#insert raises a RuntimeError on frozen arrays if modification takes place array_join does not consider untrustworthiness of either the array or the separator when the array is empty array_join returns a string which would be infected with untrustworthiness of the array, its elements or the separator when the array is not empty Array#* with an integer copies the taint status of the original array even if the passed count is 0 Array#* with an integer copies the untrusted status of the original array even if the passed count is 0 Array#* with an integer copies the untrusted status of the original array even if the array is empty Array#* with an integer copies the untrusted status of the original array if the passed count is not 0 Array#pack returns a untrusted string when the format is untrusted Array#pack returns a untrusted string when the format is untrusted even if the given format is empty Array#pack returns a untrusted string when a pack argument is untrusted Array#pack returns a trusted string even if the array is untrusted Array#pack returns a string in encoding of common to the concatenated results Array#pack with the empty format returns an ASCII-8BIT Array#pack with ASCII-string format treats a multibyte character just as a byte sequence Array#pack with ASCII-string format keeps encoding of source strings Array#pack with ASCII-string format cuts byte sequence even if it breaks a multibyte character Array#pack with format 'B' treats the pack argument as a byte sequence when its characters are other than 0 or 1 Array#pack with format 'B' returns an ASCII-8BIT string Array#pack with format 'b' treats the pack argument as a byte sequence when its characters are other than 0 or 1 Array#pack with format 'b' returns an ASCII-8BIT string Array#pack with format 'H' returns an ASCII-8BIT string Array#pack with format 'h' returns an ASCII-8BIT string Array#pack with integer format (8bit) returns an ASCII-8BIT string Array#pack with integer format (16bit, little endian) does not raise a RangeError even when a pack argument is >= 2**32 Array#pack with integer format (16bit, little endian) does not raise a RangeError even when a pack argument is <= -2**32 Array#pack with integer format (16bit, little endian) returns an ASCII-8BIT string Array#pack with integer format (16bit, big endian) does not raise a RangeError even when a pack argument is >= 2**32 Array#pack with integer format (16bit, big endian) does not raise a RangeError even when a pack argument is <= -2**32 Array#pack with integer format (16bit, big endian) returns an ASCII-8BIT string Array#pack with integer format (32bit, little endian) drops higher bytes when a pack argument is >= 2**32 Array#pack with integer format (32bit, little endian) drops higher bytes when a pack argument is < -2**32 Array#pack with integer format (32bit, little endian) returns an ASCII-8BIT string Array#pack with integer format (32bit, big endian) drops higher bytes when a pack argument is >= 2**32 Array#pack with integer format (32bit, big endian) drops higher bytes when a pack argument is < -2**32 Array#pack with integer format (32bit, big endian) returns an ASCII-8BIT string Array#pack with integer format (64bit, little endian) drops higher bytes when a pack argument is >= 2**64 Array#pack with integer format (64bit, little endian) drops higher bytes when a pack argument is < -2**64 Array#pack with integer format (64bit, little endian) returns an ASCII-8BIT string Array#pack with integer format (64bit, big endian) drops higher bytes when a pack argument is >= 2**64 Array#pack with integer format (64bit, big endian) drops higher bytes when a pack argument is < -2**64 Array#pack with integer format (64bit, big endian) returns an ASCII-8BIT string Array#pack with float format returns a ASCII-8BIT string Array#pack with format 'M' returns an US-ASCII string Array#pack with format 'm' does not append newline if line length parameter is 0 Array#pack with format 'm' returns an US-ASCII string Array#pack with format 'U' returns a UTF-8 string Array#pack with format 'u' returns an US-ASCII string Array#pack with format 'w' returns an ASCII-8BIT string Array#pack with format 'X' doesn't change encoding of the result string Array#pack with format 'X' doesn't care even if breaks a character Array#pack with '@' doesn't change encoding of the result string Array#pack with '@' doesn't care even if breaks a character Array#pack with format 'x' returns an US-ASCII string Array#pack with format 'p' returns an ASCII-8BIT string Array#pack with format 'P' returns an ASCII-8BIT string Array#+ does not infected even if an original array is untrusted Array#pop raises a RuntimeError on a frozen array Array#pop keeps untrusted status Array#pop passed a number n as an argument returns a trusted array even if the array is untrusted Array#pop passed a number n as an argument raises a RuntimeError on a frozen array Array#pop passed a number n as an argument keeps untrusted status Array#reject! raises a RuntimeError on a frozen array Array#shift raises a RuntimeError on a frozen array Array#slice! raises a RuntimeError on a frozen array Array#sort! raises a RuntimeError on a frozen array Array#sort! ignores any changes of self which would take place during sort!ing Array#uniq! raises a RuntimeError on a frozen array if modification would take place Array#unshift raises a RuntimeError on a frozen array Enumerable#collect gathers initial args as elements when each yields multiple File.open raises an IOError when read in a block opened with File::RDONLY|File::APPEND mode File.open raises an IOError if the file exists when open with File::RDONLY|File::APPEND Hash#delete_if raises an RuntimeError if called on a frozen instance Hash#delete raises a RuntimeError if called on a frozen instance Hash#keys returns an array with the keys in the order they were inserted Hash#shift raises a RuntimeError if called on a frozen instance Kernel.autoload sets the autoload constant in Object's metaclass's constant table Kernel#freeze causes mutative calls to raise RuntimeError Kernel#instance_variable_get when passed Fixnum raises a TypeError Kernel#trust clears the untrusted bit from a target object Kernel#trust can not be called on frozen object Kernel#untrusted? sets the untrusted bit on a target object Kernel#untrusted? can not be called on frozen object Kernel#untrusted? returns the untrusted status of an object Kernel#untrusted? has no effect on immediate values Module#attr creates a getter but no setter for all given attribute names Module#attr applies current visibility to methods created Module#autoload does not remove the constant from the constant table if load fails Module#autoload does not remove the constant from the constant table if the loaded files does not define it Module#autoload does not load the file when refering to the constant in defined? Module.constants returns an array of Symbol names Module#constants returns an array of Symbol names of all constants defined in the moduleand all included modules Module#constants includes names of constants defined after a module is included Module#remove_const is a private method object_dup_clone preserves untrusted state from the original String#gsub with pattern and replacement untrusts the result if the original string or replacement is untrusted String#gsub with pattern and block untrusts the result if the original string or replacement is untrusted String#gsub! with pattern and replacement untrusts self if replacement is untrusted String#gsub! with pattern and block untrusts self if block's result is untrusted String#% formats zero without prefix using %#x String#% formats zero without prefix using %#X Etc.getgrgid returns a Etc::Group struct instance for the given user Etc.getgrgid returns the Etc::Group for a given gid if it exists Etc.getgrgid uses Process.gid as the default value for the argument Etc.getgrnam returns a Etc::Group struct instance for the given group Etc.getpwnam returns a Etc::Passwd struct instance for the given user Etc.getpwuid returns a Etc::Passwd struct instance for the given user Etc.getpwuid uses Process.uid as the default value for the argument BasicSocket.do_not_reverse_lookup causes 'peeraddr' to avoid name lookups BasicSocket.do_not_reverse_lookup looks for hostnames when set to false BasicSocket.do_not_reverse_lookup looks for numeric addresses when set to true Socket::IPSocket#addr returns an array with the socket's information Socket::IPSocket#addr returns an address in the array if do_not_reverse_lookup is true Socket::IPSocket#peeraddr returns an array of information on the peer Socket::IPSocket#peeraddr returns an IP instead of hostname if do_not_reverse_lookup is true
This paste will be private.
From the Design Piracy series on my blog: