Skip to content
Permalink
Browse files

Merge pull request #772 from kostya/untag2

untag more things
  • Loading branch information
alex committed Jun 25, 2013
2 parents 60c1f32 + d9cc817 commit e26a5a01710db5c8df296ddb141a378f75e40d5a
Showing with 148 additions and 86 deletions.
  1. +2 −4 spec/tags/core/array/hash_tags.txt
  2. +0 −2 spec/tags/core/array/pack/a_tags.txt
  3. +0 −1 spec/tags/core/array/pack/at_tags.txt
  4. +0 −2 spec/tags/core/array/pack/c_tags.txt
  5. +0 −2 spec/tags/core/array/pack/d_tags.txt
  6. +0 −2 spec/tags/core/array/pack/e_tags.txt
  7. +0 −2 spec/tags/core/array/pack/f_tags.txt
  8. +0 −2 spec/tags/core/array/pack/g_tags.txt
  9. +0 −2 spec/tags/core/array/pack/i_tags.txt
  10. +0 −2 spec/tags/core/array/pack/n_tags.txt
  11. +0 −2 spec/tags/core/array/pack/p_tags.txt
  12. +0 −2 spec/tags/core/array/pack/q_tags.txt
  13. +0 −2 spec/tags/core/array/pack/s_tags.txt
  14. +0 −2 spec/tags/core/array/pack/v_tags.txt
  15. +0 −2 spec/tags/core/array/pack/x_tags.txt
  16. +0 −1 spec/tags/core/array/pack/z_tags.txt
  17. +0 −1 spec/tags/core/class/initialize_tags.txt
  18. +2 −10 spec/tags/core/file/open_tags.txt
  19. +0 −1 spec/tags/core/float/quo_tags.txt
  20. +1 −4 spec/tags/core/io/popen_tags.txt
  21. +2 −3 spec/tags/core/io/read_tags.txt
  22. +1 −3 spec/tags/core/io/rewind_tags.txt
  23. +0 −2 spec/tags/core/kernel/exit_tags.txt
  24. +0 −6 spec/tags/core/math/gamma_tags.txt
  25. +0 −1 spec/tags/core/module/module_function_tags.txt
  26. +0 −1 spec/tags/core/module/name_tags.txt
  27. +0 −1 spec/tags/core/module/remove_class_variable_tags.txt
  28. +0 −1 spec/tags/core/numeric/abs2_tags.txt
  29. +0 −3 spec/tags/core/numeric/fdiv_tags.txt
  30. +0 −1 spec/tags/core/process/exec_tags.txt
  31. +0 −1 spec/tags/core/random/rand_tags.txt
  32. +0 −1 spec/tags/core/regexp/initialize_tags.txt
  33. +22 −0 spec/tags/core/string/byteslice_tags.txt
  34. +6 −0 spec/tags/core/string/crypt_tags.txt
  35. +31 −0 spec/tags/core/string/element_reference_tags.txt
  36. +72 −0 spec/tags/core/string/slice_tags.txt
  37. +1 −0 spec/tags/core/string/split_tags.txt
  38. +0 −1 spec/tags/language/alias_tags.txt
  39. +0 −4 spec/tags/language/singleton_class_tags.txt
  40. +0 −1 spec/tags/language/string_tags.txt
  41. +8 −0 spec/tags/language/super_tags.txt
  42. +0 −8 topaz.mspec
@@ -1,4 +1,2 @@
fails:properly handles recursive arrays
fails:returns the same hash for equal recursive arrays
fails:Array#hash returns same hash code for arrays with the same content
fails:Array#hash returns the same value if arrays are #eql?
fails:Array#hash returns the same hash for equal recursive arrays
fails:Array#hash returns the same hash for equal recursive arrays through hashes
@@ -11,5 +11,3 @@ fails:Array#pack with format 'a' adds a NULL byte when the value is nil
fails:Array#pack with format 'a' pads the output with NULL bytes when the value is nil
fails:Array#pack with format 'a' does not pad with NULL bytes when passed the '*' modifier and the value is nil
fails:Array#pack with format 'a' returns a tainted string when a pack argument is tainted
fails:Array#pack with format 'a' taints the output string if the format string is tainted
fails:Array#pack with format 'A' taints the output string if the format string is tainted
@@ -1,2 +1 @@
fails:Array#pack with format '@' taints the output string if the format string is tainted
fails:Array#pack with format '@' extends the string with NULL bytes if the string size is less than the count
@@ -1,5 +1,3 @@
fails:Array#pack with format 'C' taints the output string if the format string is tainted
fails:Array#pack with format 'c' taints the output string if the format string is tainted
fails:Array#pack with format 'C' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'C' returns an ASCII-8BIT string
fails:Array#pack with format 'c' encodes all remaining elements when passed the '*' modifier
@@ -1,7 +1,5 @@
fails:Array#pack with format 'D' taints the output string if the format string is tainted
fails:Array#pack with format 'D' raises a ArgumentError if a String does not represent a floating point number
fails:Array#pack with format 'D' calls #to_f to convert an object to a float
fails:Array#pack with format 'd' taints the output string if the format string is tainted
fails:Array#pack with format 'd' raises a ArgumentError if a String does not represent a floating point number
fails:Array#pack with format 'd' calls #to_f to convert an object to a float
fails:Array#pack with format 'D' returns an ASCII-8BIT string
@@ -1,7 +1,5 @@
fails:Array#pack with format 'E' taints the output string if the format string is tainted
fails:Array#pack with format 'E' raises a ArgumentError if a String does not represent a floating point number
fails:Array#pack with format 'E' calls #to_f to convert an object to a float
fails:Array#pack with format 'e' taints the output string if the format string is tainted
fails:Array#pack with format 'e' raises a ArgumentError if a String does not represent a floating point number
fails:Array#pack with format 'e' calls #to_f to convert an object to a float
fails:Array#pack with format 'E' returns an ASCII-8BIT string
@@ -1,7 +1,5 @@
fails:Array#pack with format 'F' taints the output string if the format string is tainted
fails:Array#pack with format 'F' raises a ArgumentError if a String does not represent a floating point number
fails:Array#pack with format 'F' calls #to_f to convert an object to a float
fails:Array#pack with format 'f' taints the output string if the format string is tainted
fails:Array#pack with format 'f' raises a ArgumentError if a String does not represent a floating point number
fails:Array#pack with format 'f' calls #to_f to convert an object to a float
fails:Array#pack with format 'F' returns an ASCII-8BIT string
@@ -1,7 +1,5 @@
fails:Array#pack with format 'G' taints the output string if the format string is tainted
fails:Array#pack with format 'G' raises a ArgumentError if a String does not represent a floating point number
fails:Array#pack with format 'G' calls #to_f to convert an object to a float
fails:Array#pack with format 'g' taints the output string if the format string is tainted
fails:Array#pack with format 'g' raises a ArgumentError if a String does not represent a floating point number
fails:Array#pack with format 'g' calls #to_f to convert an object to a float
fails:Array#pack with format 'G' returns an ASCII-8BIT string
@@ -1,5 +1,3 @@
fails:Array#pack with format 'I' taints the output string if the format string is tainted
fails:Array#pack with format 'i' taints the output string if the format string is tainted
fails:Array#pack with format 'I' returns an ASCII-8BIT string
fails:Array#pack with format 'i' returns an ASCII-8BIT string
fails:Array#pack with format 'I' with modifier '<' encodes the number of array elements specified by the count modifier
@@ -1,5 +1,3 @@
fails:Array#pack with format 'N' taints the output string if the format string is tainted
fails:Array#pack with format 'n' taints the output string if the format string is tainted
fails:Array#pack with format 'N' returns an ASCII-8BIT string
fails:Array#pack with format 'N' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'n' returns an ASCII-8BIT string
@@ -1,3 +1 @@
fails:Array#pack with format 'P' taints the output string if the format string is tainted
fails:Array#pack with format 'P' returns a String whose size is the number of bytes in a mochine word
fails:Array#pack with format 'p' taints the output string if the format string is tainted
@@ -1,5 +1,3 @@
fails:Array#pack with format 'Q' taints the output string if the format string is tainted
fails:Array#pack with format 'q' taints the output string if the format string is tainted
fails:Array#pack with format 'Q' returns an ASCII-8BIT string
fails:Array#pack with format 'q' returns an ASCII-8BIT string
fails:Array#pack with format 'Q' with modifier '<' encodes the number of array elements specified by the count modifier
@@ -1,5 +1,3 @@
fails:Array#pack with format 'S' taints the output string if the format string is tainted
fails:Array#pack with format 's' taints the output string if the format string is tainted
fails:Array#pack with format 'S' returns an ASCII-8BIT string
fails:Array#pack with format 's' returns an ASCII-8BIT string
fails:Array#pack with format 'S' with modifier '<' encodes the number of array elements specified by the count modifier
@@ -1,5 +1,3 @@
fails:Array#pack with format 'V' taints the output string if the format string is tainted
fails:Array#pack with format 'v' taints the output string if the format string is tainted
fails:Array#pack with format 'V' returns an ASCII-8BIT string
fails:Array#pack with format 'V' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'v' returns an ASCII-8BIT string
@@ -1,4 +1,2 @@
fails:Array#pack with format 'x' taints the output string if the format string is tainted
fails:Array#pack with format 'X' taints the output string if the format string is tainted
fails:Array#pack with format 'x' does not add a NULL byte when passed the '*' modifier
fails:Array#pack with format 'X' has no affect when passed the '*' modifier
@@ -1,4 +1,3 @@
fails:Array#pack with format 'Z' taints the output string if the format string is tainted
fails:Array#pack with format 'Z' returns a tainted string when a pack argument is tainted
fails:Array#pack with format 'Z' returns a untrusted string when a pack argument is untrusted
fails:returns a string in encoding of common to the concatenated results

This file was deleted.

@@ -1,18 +1,11 @@
fails:File.open opens directories
fails:File.open opens file when call with a block (basic case)
fails:File.open opens a file with mode string and block
fails:File.open opens the file when passed mode, num and permissions
fails:File.open opens a file with mode num and block
fails:File.open opens the file when passed mode, num, permissions and block
fails:File.open creates the file and returns writable descriptor when called with 'w' mode and r-o permissions
fails:File.open opens the existing file, does not change permissions even when they are specified
fails:File.open creates a new write-only file when invoked with 'w' and '0222'
fails:File.open opens a file that no exists when use File::WRONLY mode
fails:File.open opens a file that no exists when use File::RDONLY mode
fails:File.open opens a file that no exists when use 'r' mode
fails:File.open opens a file that no exists when use File::EXCL mode
fails:File.open opens a file that no exists when use File::NONBLOCK mode
fails:File.open opens a file that no exists when use File::TRUNC mode
fails:File.open opens a file that no exists when use File::NOCTTY mode
fails:File.open raises an IO exception when write in a block opened with RDONLY mode
fails:File.open raises an IO exception when write in a block opened with 'r' mode
@@ -23,13 +16,10 @@ fails:File.open raises an IOError when read in a block opened with 'a' mode
fails:File.open raises an IOError when read in a block opened with File::WRONLY|File::APPEND mode
fails:File.open raises an IOError when read in a block opened with File::RDONLY|File::APPEND mode
fails:File.open can't read in a block when call open with File::EXCL mode
fails:File.open raises an Errorno::EEXIST if the file exists when open with File::CREAT|File::EXCL
fails:File.open raises an IOError if the file exists when open with File::RDONLY|File::APPEND
fails:File.open can't write in a block when call open with File::TRUNC mode
fails:File.open raises an Errorno::EEXIST if the file exists when open with File::RDONLY|File::TRUNC
fails:File.open opens a file for read-write and truncate the file
fails:File.open opens a file for binary read-write starting at the beginning of the file
fails:File.open opens a file for binary read-write and truncate the file
fails:File.open raises a SystemCallError if passed an invalid Integer type
fails:File.open raises an ArgumentError if passed the wrong number of arguments
fails:File.open defaults external_encoding to ASCII-8BIT for binary modes
@@ -40,3 +30,5 @@ fails:File.open on a FIFO opens it as a normal file
fails:File.open when passed a file descriptor opens a file
fails:File.open when passed a file descriptor opens a file when passed a block
fails:File.open uses the second argument as an options Hash
fails:File.open opens a file for binary read-write starting at the beginning of the file
fails:File.open opens a file for binary read-write and truncate the file
@@ -11,4 +11,3 @@ fails:Float#quo returns -0.0 when the argument is -Infinity
fails:Float#quo performs floating-point division between self and a Rational
fails:Float#quo performs floating-point division between self and a Complex
fails:Float#quo raises a TypeError when argument isn't numeric
fails:Float#quo raises an ArgumentError when passed multiple arguments
@@ -6,12 +6,9 @@ fails:IO.popen waits for the child to finish
fails:IO.popen returns an instance of a subclass when called on a subclass
fails:IO.popen coerces mode argument with #to_str
fails:IO.popen starts returns a forked process if the command is -
fails:IO.popen with a block yields an open IO to the block
fails:IO.popen with a block yields an instance of a subclass when called on a subclass
fails:IO.popen with a block closes the IO after yielding
fails:IO.popen with a block allows the IO to be closed inside the block
fails:IO.popen with a block returns the value of the block
fails:IO.popen with a leading Array parameter uses the Array as command plus args for the child process
fails:IO.popen with a leading Array parameter uses a leading Hash in the Array as additional environment variables
fails:IO.popen with a leading Array parameter uses a trailing Hash in the Array for spawn-like settings
fails:IO.popen does not throw an exception if child exited and has been waited for
fails:IO.popen with a leading Array parameter uses a trailing Hash in the Array for spawn-like settings
@@ -7,10 +7,7 @@ fails:IO.read reads the file if the options Hash includes read/write mode
fails:IO.read reads the file if the options Hash includes read/write append mode
fails:IO.read treats second nil argument as no length limit
fails:IO.read treats third nil argument as 0
fails:IO.read reads the contents of a file up to a certain size when specified
fails:IO.read reads the contents of a file from an offset of a specific size when specified
fails:IO.read returns nil at end-of-file when length is passed
fails:IO.read raises an Errno::ENOENT when the requested file does not exist
fails:IO.read raises an Errno::EINVAL when not passed a valid offset
fails:IO.read from a pipe runs the rest as a subprocess and returns the standard output
fails:IO.read from a pipe opens a pipe to a fork if the rest is -
@@ -45,3 +42,5 @@ fails:IO.read with BOM reads a file with a utf-16le bom
fails:IO.read with BOM reads a file with a utf-16be bom
fails:IO.read with BOM reads a file with a utf-32le bom
fails:IO.read with BOM reads a file with a utf-32be bom
fails:IO.read reads the contents of a file up to a certain size when specified
fails:IO.read reads the contents of a file from an offset of a specific size when specified
@@ -1,4 +1,2 @@
fails:IO#rewind positions the instance to the beginning of input
fails:IO#rewind positions the instance to the beginning of input and clears EOF
fails:IO#rewind sets lineno to 0
fails:IO#rewind raises IOError on closed stream
fails:IO#rewind positions the instance to the beginning of input and clears EOF
@@ -1,8 +1,6 @@
fails:Kernel#exit is a private method
fails:Kernel#exit raises a SystemExit with the specified boolean status
fails:Kernel#exit! is a private method
fails:Kernel#exit! exits with the given status
fails:Kernel#exit! exits immediately when called from a thread
fails:Kernel.exit raises a SystemExit with the specified boolean status
fails:Kernel.exit! exits with the given status
fails:Kernel.exit! exits immediately when called from a thread
@@ -1,8 +1,2 @@
fails:Math.gamma returns exactly 22! given 23
fails:Math.gamma returns approximately 29! given 30
fails:Math.gamma returns approximately 23! given 24
fails:Math.gamma returns approximately 24! given 25
fails:Math.gamma returns approximately 25! given 26
fails:Math.gamma returns approximately 26! given 27
fails:Math.gamma returns approximately 28! given 29
fails:Math.gamma returns approximately 27! given 28
@@ -1,5 +1,4 @@
fails:Module#module_function with specific method names makes the instance methods private
fails:Module#module_function with specific method names makes the new Module methods public
fails:Module#module_function as a toggle (no arguments) in a Module body makes any subsequently defined methods module functions with the normal semantics
fails:Module#module_function as a toggle (no arguments) in a Module body stops creating module functions if the body encounters another toggle like public/protected/private without arguments
fails:Module#module_function as a toggle (no arguments) in a Module body does not stop creating module functions if the body encounters public/protected/private WITH arguments
@@ -1,4 +1,3 @@
fails:Module#name is set with a conditional assignment to a nested constant
fails:Module#name is set with a conditional assignment to a constant
fails:Module#name preserves the encoding in which the class was defined
fails:Module#name is nil for a nested module created with the module keyword
@@ -1,3 +1,2 @@
fails:Module#remove_class_variable removes class variable
fails:Module#remove_class_variable returns the value of removing class variable
fails:Module#remove_class_variable is public

This file was deleted.

@@ -1,6 +1,3 @@
fails:Numeric#fdiv coerces self with #to_f
fails:Numeric#fdiv coerces other with #to_f
fails:Numeric#fdiv performs floating-point division
fails:Numeric#fdiv returns a Float
fails:Numeric#fdiv returns Infinity if other is 0
fails:Numeric#fdiv returns NaN if other is NaN
@@ -1,3 +1,2 @@
fails:Process.exec
fails:Process.exec raises Errno::ENOENT for an empty string
fails:Process.exec raises Errno::ENOENT for a command which does not exist
@@ -3,4 +3,3 @@ fails:Random#rand with Bignum returns a Bignum greater than or equal to 0
fails:Random#rand with Bignum returns a Bignum less than the argument
fails:Random#rand with Bignum returns the same sequence for a given seed
fails:Random#rand with Range raises an ArgumentError when the endpoint lacks #+ and #- methods
fails:Random#rand with Bignum raises an ArgumentError when the argument is negative
@@ -1,3 +1,2 @@
fails:Regexp#initialize is a private method
fails:Regexp#initialize raises a SecurityError on a Regexp literal
fails:Regexp#initialize raises a TypeError on an initialized non-literal Regexp
@@ -0,0 +1,22 @@
fails:String#byteslice returns the character code of the character at the given index
fails:String#byteslice returns nil if index is outside of self
fails:String#byteslice calls to_int on the given index
fails:String#byteslice raises a TypeError if the given index is nil
fails:String#byteslice raises a TypeError if the given index can't be converted to an Integer
fails:String#byteslice with index, length returns the substring starting at the given index with the given length
fails:String#byteslice with index, length always taints resulting strings when self is tainted
fails:String#byteslice with index, length returns nil if the offset falls outside of self
fails:String#byteslice with index, length returns nil if the length is negative
fails:String#byteslice with index, length calls to_int on the given index and the given length
fails:String#byteslice with index, length raises a TypeError when idx or length can't be converted to an integer
fails:String#byteslice with index, length raises a TypeError when the given index or the given length is nil
fails:String#byteslice with index, length returns subclass instances
fails:String#byteslice with index, length handles repeated application
fails:String#byteslice with Range returns the substring given by the offsets of the range
fails:String#byteslice with Range returns nil if the beginning of the range falls outside of self
fails:String#byteslice with Range returns an empty string if range.begin is inside self and > real end
fails:String#byteslice with Range always taints resulting strings when self is tainted
fails:String#byteslice with Range returns subclass instances
fails:String#byteslice with Range calls to_int on range arguments
fails:String#byteslice with Range works with Range subclasses
fails:String#byteslice with Range handles repeated application
@@ -0,0 +1,6 @@
fails:String#crypt returns a cryptographic hash of self by applying the UNIX crypt algorithm with the specified salt
fails:String#crypt raises an ArgumentError when the salt is shorter than two characters
fails:String#crypt calls #to_str to converts the salt arg to a String
fails:String#crypt raises a type error when the salt arg can't be converted to a string
fails:String#crypt taints the result if either salt or self is tainted
fails:String#crypt doesn't return subclass instances

0 comments on commit e26a5a0

Please sign in to comment.