Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 07d7f578fa32
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6a837542ca92
Choose a head ref
  • 3 commits
  • 65 files changed
  • 1 contributor

Commits on Mar 17, 2015

  1. Verified

    This commit was signed with the committer’s verified signature.
    headius Charles Oliver Nutter
    Copy the full SHA
    2c8d0e8 View commit details
  2. Fix verbose warning for &arg.

    headius committed Mar 17, 2015
    Copy the full SHA
    771e628 View commit details
  3. Copy the full SHA
    6a83754 View commit details
Showing with 152 additions and 6 deletions.
  1. +3 −5 .travis.yml
  2. +1 −1 core/src/main/ruby/jruby/java/java_utilities.rb
  3. +3 −0 spec/tags/ruby/core/argf/bytes_tags.txt
  4. +3 −0 spec/tags/ruby/core/argf/chars_tags.txt
  5. +3 −0 spec/tags/ruby/core/argf/close_tags.txt
  6. +1 −0 spec/tags/ruby/core/argf/closed_tags.txt
  7. +3 −0 spec/tags/ruby/core/argf/each_byte_tags.txt
  8. +3 −0 spec/tags/ruby/core/argf/each_char_tags.txt
  9. +3 −0 spec/tags/ruby/core/argf/each_line_tags.txt
  10. +3 −0 spec/tags/ruby/core/argf/each_tags.txt
  11. +4 −0 spec/tags/ruby/core/argf/eof_tags.txt
  12. +1 −0 spec/tags/ruby/core/argf/file_tags.txt
  13. +2 −0 spec/tags/ruby/core/argf/filename_tags.txt
  14. +2 −0 spec/tags/ruby/core/argf/fileno_tags.txt
  15. +2 −0 spec/tags/ruby/core/argf/getc_tags.txt
  16. +6 −0 spec/tags/ruby/core/argf/gets_tags.txt
  17. +3 −0 spec/tags/ruby/core/argf/lineno_tags.txt
  18. +2 −0 spec/tags/ruby/core/argf/lines_tags.txt
  19. +2 −0 spec/tags/ruby/core/argf/path_tags.txt
  20. +3 −0 spec/tags/ruby/core/argf/pos_tags.txt
  21. +12 −0 spec/tags/ruby/core/argf/read_tags.txt
  22. +2 −0 spec/tags/ruby/core/argf/readchar_tags.txt
  23. +5 −0 spec/tags/ruby/core/argf/readline_tags.txt
  24. +2 −0 spec/tags/ruby/core/argf/readlines_tags.txt
  25. +3 −0 spec/tags/ruby/core/argf/rewind_tags.txt
  26. +3 −0 spec/tags/ruby/core/argf/seek_tags.txt
  27. +4 −0 spec/tags/ruby/core/argf/set_encoding_tags.txt
  28. +3 −0 spec/tags/ruby/core/argf/skip_tags.txt
  29. +2 −0 spec/tags/ruby/core/argf/tell_tags.txt
  30. +2 −0 spec/tags/ruby/core/argf/to_a_tags.txt
  31. +2 −0 spec/tags/ruby/core/argf/to_i_tags.txt
  32. +1 −0 spec/tags/ruby/core/argf/to_io_tags.txt
  33. +1 −0 spec/tags/ruby/core/exception/errno_tags.txt
  34. +1 −0 spec/tags/ruby/core/exception/system_call_error_tags.txt
  35. +1 −0 spec/tags/ruby/core/file/stat/inspect_tags.txt
  36. +1 −0 spec/tags/ruby/core/hash/assoc_tags.txt
  37. +2 −0 spec/tags/ruby/core/hash/compare_by_identity_tags.txt
  38. +1 −0 spec/tags/ruby/core/hash/reject_tags.txt
  39. +2 −0 spec/tags/ruby/core/io/popen_tags.txt
  40. +1 −0 spec/tags/ruby/core/io/reopen_tags.txt
  41. +1 −0 spec/tags/ruby/core/kernel/autoload_tags.txt
  42. +1 −0 spec/tags/ruby/core/kernel/proc_tags.txt
  43. +6 −0 spec/tags/ruby/core/kernel/spawn_tags.txt
  44. +1 −0 spec/tags/ruby/core/marshal/dump_tags.txt
  45. +2 −0 spec/tags/ruby/core/marshal/load_tags.txt
  46. +2 −0 spec/tags/ruby/core/marshal/restore_tags.txt
  47. +1 −0 spec/tags/ruby/core/module/attr_accessor_tags.txt
  48. +1 −0 spec/tags/ruby/core/module/attr_reader_tags.txt
  49. +1 −0 spec/tags/ruby/core/module/attr_writer_tags.txt
  50. +1 −0 spec/tags/ruby/core/module/const_defined_tags.txt
  51. +1 −0 spec/tags/ruby/core/module/module_function_tags.txt
  52. +1 −0 spec/tags/ruby/core/objectspace/define_finalizer_tags.txt
  53. +6 −0 spec/tags/ruby/core/process/getrlimit_tags.txt
  54. +3 −0 spec/tags/ruby/core/process/spawn_tags.txt
  55. +4 −0 spec/tags/ruby/core/range/bsearch_tags.txt
  56. +1 −0 spec/tags/ruby/core/string/crypt_tags.txt
  57. +1 −0 spec/tags/ruby/core/thread/backtrace/location/base_label_tags.txt
  58. +1 −0 spec/tags/ruby/core/thread/backtrace/location/label_tags.txt
  59. +1 −0 spec/tags/ruby/core/thread/join_tags.txt
  60. +1 −0 spec/tags/ruby/core/time/zone_tags.txt
  61. +3 −0 spec/tags/ruby/language/block_tags.txt
  62. +3 −0 spec/tags/ruby/language/break_tags.txt
  63. +2 −0 spec/tags/ruby/language/hash_tags.txt
  64. +2 −0 spec/tags/ruby/language/method_tags.txt
  65. +1 −0 spec/tags/ruby/language/regexp/character_classes_tags.txt
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -56,20 +56,18 @@ matrix:
jdk: openjdk7
- env: PHASE='-Pj2ee'
jdk: oraclejdk7
# These next two started crashing on JDK7 in March 2015, possibly due to JVM issues on Travis's Docker-based env
- env: PHASE='-Pjruby-jars,test -Dinvoker.test=extended'
jdk: oraclejdk7
jdk: oraclejdk8
- env: PHASE='-Pmain,test -Dinvoker.test=extended'
jdk: openjdk7
jdk: oraclejdk8
- env: PHASE='-Pjruby_complete_jar_extended -Dinvoker.skip=true'
jdk: oraclejdk8
- env: COMMAND=test/check_versions.sh
jdk: oraclejdk8
- env: COMMAND=tool/truffle-findbugs.sh
jdk: oraclejdk8
fast_finish: true
allow_failures:
- env: PHASE='-Pjruby-jars,test -Dinvoker.test=extended'
- env: PHASE='-Pmain,test -Dinvoker.test=extended'


branches:
2 changes: 1 addition & 1 deletion core/src/main/ruby/jruby/java/java_utilities.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module JavaUtilities
def self.extend_proxy(java_class_name, &block)
java_class = JavaUtilities.get_proxy_class(java_class_name)
java_class.class_eval &block
java_class.class_eval(&block)
end

def self.print_class(java_type, indent="")
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/bytes_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.bytes yields each byte of all streams to the passed block
fails:ARGF.bytes returns self when passed a block
fails:ARGF.bytes returns an Enumerator when passed no block
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/chars_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.chars yields each char of all streams to the passed block
fails:ARGF.chars returns self when passed a block
fails:ARGF.chars returns an Enumerator when passed no block
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/close_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.close closes the current open stream
fails:ARGF.close returns self
fails:ARGF.close raises an IOError if called on a closed stream
1 change: 1 addition & 0 deletions spec/tags/ruby/core/argf/closed_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:ARGF.closed? returns true if the current stream has been closed
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/each_byte_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.each_byte yields each byte of all streams to the passed block
fails:ARGF.each_byte returns self when passed a block
fails:ARGF.each_byte returns an Enumerator when passed no block
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/each_char_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.each_char yields each char of all streams to the passed block
fails:ARGF.each_char returns self when passed a block
fails:ARGF.each_char returns an Enumerator when passed no block
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/each_line_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.each_line reads each line of files
fails:ARGF.each_line returns self when passed a block
fails:ARGF.each_line with a separator yields each separated section of all streams
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/each_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.each reads each line of files
fails:ARGF.each returns self when passed a block
fails:ARGF.each with a separator yields each separated section of all streams
4 changes: 4 additions & 0 deletions spec/tags/ruby/core/argf/eof_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:ARGF.eof returns true when reaching the end of a file
fails:ARGF.eof raises IOError when called on a closed stream
fails:ARGF.eof? returns true when reaching the end of a file
fails:ARGF.eof? raises IOError when called on a closed stream
1 change: 1 addition & 0 deletions spec/tags/ruby/core/argf/file_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:ARGF.file returns the current file object on each file
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/filename_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.filename returns the current file name on each file
fails:ARGF.filename sets the $FILENAME global variable with the current file name on each file
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/fileno_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.fileno returns the current file number on each file
fails:ARGF.fileno raises an ArgumentError when called on a closed stream
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/getc_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.getc reads each char of files
fails:ARGF.getc returns nil when end of stream reached
6 changes: 6 additions & 0 deletions spec/tags/ruby/core/argf/gets_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fails:ARGF.gets reads one line of a file
fails:ARGF.gets reads all lines of a file
fails:ARGF.gets reads all lines of two files
fails:ARGF.gets sets $_ global variable with each line read
fails:ARGF.gets returns nil when reaching end of files
fails:ARGF.gets reads the contents of the file with default encoding
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/lineno_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.lineno returns the current line number on each file
fails:ARGF.lineno resets to 0 after the stream is rewound
fails:ARGF.lineno aliases to $.
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/lines_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
fails:ARGF.lines with a separator yields each separated section of all streams
fails:ARGF.lines reads each line of files
fails:ARGF.lines returns self when passed a block
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/path_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.path returns the current file name on each file
fails:ARGF.path sets the $FILENAME global variable with the current file name on each file
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/pos_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.pos gives the correct position for each read operation
fails:ARGF.pos raises an ArgumentError when called on a closed stream
fails:ARGF.pos= sets the correct position in files
12 changes: 12 additions & 0 deletions spec/tags/ruby/core/argf/read_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
fails:ARGF.read reads the contents of a file
fails:ARGF.read treats first nil argument as no length limit
fails:ARGF.read treats second nil argument as no output buffer
fails:ARGF.read treats second argument as an output buffer
fails:ARGF.read reads a number of bytes from the first file
fails:ARGF.read reads from a single file consecutively
fails:ARGF.read reads the contents of two files
fails:ARGF.read reads the contents of one file and some characters from the second
fails:ARGF.read reads across two files consecutively
fails:ARGF.read reads the contents of the same file twice
fails:ARGF.read reads the contents of a special device file
fails:ARGF.read reads the contents of the file with default encoding
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/readchar_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.getc reads each char of files
fails:ARGF.readchar raises EOFError when end of stream reached
5 changes: 5 additions & 0 deletions spec/tags/ruby/core/argf/readline_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fails:ARGF.readline reads one line of a file
fails:ARGF.readline reads all lines of a file
fails:ARGF.readline reads all lines of two files
fails:ARGF.readline sets $_ global variable with each line read
fails:ARGF.readline raises an EOFError when reaching end of files
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/readlines_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.readlines reads all lines of all files
fails:ARGF.readlines returns an empty Array when end of stream reached
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/rewind_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.rewind goes back to beginning of current file
fails:ARGF.rewind resets ARGF.lineno to 0
fails:ARGF.rewind raises an ArgumentError when end of stream reached
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/seek_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.seek sets the absolute position relative to beginning of file
fails:ARGF.seek sets the position relative to current position in file
fails:ARGF.seek sets the absolute position relative to end of file
4 changes: 4 additions & 0 deletions spec/tags/ruby/core/argf/set_encoding_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:ARGF.set_encoding sets the external encoding when passed an encoding instance
fails:ARGF.set_encoding sets the external encoding when passed an encoding name
fails:ARGF.set_encoding sets the external, internal encoding when passed two encoding instances
fails:ARGF.set_encoding sets the external, internal encoding when passed 'ext:int' String
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/argf/skip_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:ARGF.skip skips the current file
fails:ARGF.skip has no effect when called twice in a row
fails:ARGF.skip has no effect at end of stream
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/tell_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.tell gives the correct position for each read operation
fails:ARGF.tell raises an ArgumentError when called on a closed stream
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/to_a_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.to_a reads all lines of all files
fails:ARGF.to_a returns an empty Array when end of stream reached
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/to_i_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:ARGF.to_i returns the current file number on each file
fails:ARGF.to_i raises an ArgumentError when called on a closed stream
1 change: 1 addition & 0 deletions spec/tags/ruby/core/argf/to_io_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:ARGF.to_io returns the IO of the current file
1 change: 1 addition & 0 deletions spec/tags/ruby/core/exception/errno_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Errno::EINVAL.new accepts an optional custom message and location
1 change: 1 addition & 0 deletions spec/tags/ruby/core/exception/system_call_error_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:SystemCallError.new accepts an optional third argument specifying the location
1 change: 1 addition & 0 deletions spec/tags/ruby/core/file/stat/inspect_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:File::Stat#inspect produces a nicely formatted description of a File::Stat object
1 change: 1 addition & 0 deletions spec/tags/ruby/core/hash/assoc_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Hash#assoc only returns the first matching key-value pair for identity hashes
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/hash/compare_by_identity_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:Hash#compare_by_identity causes future comparisons on the receiver to be made by identity
fails:Hash#compare_by_identity uses the semantics of BasicObject#equal? to determine key identity
1 change: 1 addition & 0 deletions spec/tags/ruby/core/hash/reject_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Hash#reject taints the resulting hash
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/io/popen_tags.txt
Original file line number Diff line number Diff line change
@@ -3,3 +3,5 @@ fails:IO.popen starts returns a forked process if the command is -
fails:IO.popen does not throw an exception if child exited and has been waited for
fails:IO.popen with a leading ENV Hash accepts a single String command with a trailing Hash of Process.exec options, and an IO mode
fails:IO.popen with a leading ENV Hash accepts an Array command with a separate trailing Hash of Process.exec options, and an IO mode
fails:IO.popen with a leading Array argument accepts a trailing Hash of Process.exec options
fails:IO.popen with a leading Array argument accepts an IO mode argument following the Array
1 change: 1 addition & 0 deletions spec/tags/ruby/core/io/reopen_tags.txt
Original file line number Diff line number Diff line change
@@ -3,3 +3,4 @@ fails:IO#reopen with an IO sets path equals to the other IO's path if other IO i
fails:IO#reopen changes the class of the instance to the class of the object returned by #to_io
fails:IO#reopen with an IO may change the class of the instance
fails:IO#reopen with a String effects exec/system/fork performed after it
fails:IO#reopen with a String closes the file descriptor obtained by opening the new file
1 change: 1 addition & 0 deletions spec/tags/ruby/core/kernel/autoload_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Kernel.autoload sets the autoload constant in Object's constant table
1 change: 1 addition & 0 deletions spec/tags/ruby/core/kernel/proc_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Kernel#proc uses the implicit block from an enclosing method
6 changes: 6 additions & 0 deletions spec/tags/ruby/core/kernel/spawn_tags.txt
Original file line number Diff line number Diff line change
@@ -127,3 +127,9 @@ fails:Kernel.spawn does not close file descriptors >= 3 in the child process whe
fails:Kernel.spawn when passed :chdir changes to the directory passed for :chdir
fails:Kernel.spawn when passed :chdir calls #to_path to convert the :chdir value
fails:Kernel.spawn with Integer option keys maps the key to a file descriptor in the child that inherits the file descriptor from the parent specified by the value
fails:Kernel#spawn does not unset other environment variables when given a false :unsetenv_others option
fails:Kernel#spawn does not unset environment variables included in the environment hash
fails:Kernel#spawn joins the current process if :pgroup => false
fails:Kernel.spawn does not unset other environment variables when given a false :unsetenv_others option
fails:Kernel.spawn does not unset environment variables included in the environment hash
fails:Kernel.spawn joins the current process if :pgroup => false
1 change: 1 addition & 0 deletions spec/tags/ruby/core/marshal/dump_tags.txt
Original file line number Diff line number Diff line change
@@ -18,3 +18,4 @@ fails:Marshal.dump with a Symbol dumps an encoded Symbol
fails:Marshal.dump with a Time dumps the zone and the offset
fails:Marshal.dump with a Time dumps the zone, but not the offset if zone is UTC
fails:Marshal.dump with an Exception contains the filename in the backtrace
fails:Marshal.dump with a Symbol dumps a binary encoded Symbol
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/marshal/load_tags.txt
Original file line number Diff line number Diff line change
@@ -13,3 +13,5 @@ fails:Marshal.load when source is tainted does not taint Bignums
fails:Marshal.load when source is tainted does not taint Floats
fails:Marshal.load when a class with the same name as the dumped one exists outside the namespace raises a NameError
fails:Marshal.load when a class with the same name as the dumped one exists outside the namespace invokes Module#const_missing
fails:Marshal.load loads an array containing an object with _dump that returns an immediate value, followed by multiple instances of another object
fails:Marshal.load when a class does not exist in the namespace raises an ArgumentError
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/marshal/restore_tags.txt
Original file line number Diff line number Diff line change
@@ -13,3 +13,5 @@ fails:Marshal.restore when source is tainted does not taint Bignums
fails:Marshal.restore when source is tainted does not taint Floats
fails:Marshal.restore when a class with the same name as the dumped one exists outside the namespace raises a NameError
fails:Marshal.restore when a class with the same name as the dumped one exists outside the namespace invokes Module#const_missing
fails:Marshal.restore loads an array containing an object with _dump that returns an immediate value, followed by multiple instances of another object
fails:Marshal.restore when a class does not exist in the namespace raises an ArgumentError
1 change: 1 addition & 0 deletions spec/tags/ruby/core/module/attr_accessor_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Module#attr_accessor not allows creating an attr_accessor on an immediate class
1 change: 1 addition & 0 deletions spec/tags/ruby/core/module/attr_reader_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Module#attr_reader not allows for adding an attr_reader to an immediate
1 change: 1 addition & 0 deletions spec/tags/ruby/core/module/attr_writer_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Module#attr_writer not allows for adding an attr_writer to an immediate
1 change: 1 addition & 0 deletions spec/tags/ruby/core/module/const_defined_tags.txt
Original file line number Diff line number Diff line change
@@ -5,3 +5,4 @@ fails:Module#const_defined? returns true when passed a scoped constant name for
fails:Module#const_defined? returns true when passed a scoped constant name for a constant in the inheritance hierarchy and the inherited flag is true
fails:Module#const_defined? returns false when passed a scoped constant name for a constant in the inheritance hierarchy and the inherited flag is false
fails:Module#const_defined? returns false when the name begins with '::' and the toplevel constant does not exist
fails:Module#const_defined? returns true or false for the nested name
1 change: 1 addition & 0 deletions spec/tags/ruby/core/module/module_function_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
fails:Module#module_function on Class raises a TypeError if calling after rebinded to Class
fails:Module#module_function as a toggle (no arguments) in a Module body does not affect definitions when inside an eval even if the definitions are outside of it
fails:Module#module_function as a toggle (no arguments) in a Module body doesn't affect definitions when inside an eval even if the definitions are outside of it
1 change: 1 addition & 0 deletions spec/tags/ruby/core/objectspace/define_finalizer_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fails:ObjectSpace.define_finalizer calls finalizer on process termination
fails:ObjectSpace.define_finalizer calls finalizer at exit even if it is self-referencing
fails:ObjectSpace.define_finalizer raises a RuntimeError if the object is not garbage collectable
fails:ObjectSpace.define_finalizer raises ArgumentError trying to define a finalizer on a non-reference
6 changes: 6 additions & 0 deletions spec/tags/ruby/core/process/getrlimit_tags.txt
Original file line number Diff line number Diff line change
@@ -35,3 +35,9 @@ fails:Process.getrlimit when passed a String coerces 'NICE' into RLIMIT_NICE
fails:Process.getrlimit when passed a String raises ArgumentError when passed an unknown resource
fails:Process.getrlimit when passed on Object calls #to_str to convert to a String
fails:Process.getrlimit when passed on Object calls #to_int if #to_str does not return a String
fails:Process.getrlimit when passed a Symbol coerces :OFILE into RLIMIT_OFILE
fails:Process.getrlimit when passed a Symbol coerces :NLIMITS into RLIMIT_NLIMITS
fails:Process.getrlimit when passed a Symbol coerces :LOCKS into RLIMIT_LOCKS
fails:Process.getrlimit when passed a String coerces 'OFILE' into RLIMIT_OFILE
fails:Process.getrlimit when passed a String coerces 'NLIMITS' into RLIMIT_NLIMITS
fails:Process.getrlimit when passed a String coerces 'LOCKS' into RLIMIT_LOCKS
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/process/spawn_tags.txt
Original file line number Diff line number Diff line change
@@ -61,3 +61,6 @@ fails:Process.spawn does not close file descriptors >= 3 in the child process wh
fails:Process.spawn when passed :chdir changes to the directory passed for :chdir
fails:Process.spawn when passed :chdir calls #to_path to convert the :chdir value
fails:Process.spawn with Integer option keys maps the key to a file descriptor in the child that inherits the file descriptor from the parent specified by the value
fails:Process.spawn does not unset other environment variables when given a false :unsetenv_others option
fails:Process.spawn does not unset environment variables included in the environment hash
fails:Process.spawn joins the current process if :pgroup => false
4 changes: 4 additions & 0 deletions spec/tags/ruby/core/range/bsearch_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Range#bsearch with Float values with a block returning true or false returns minimum element if the block returns true for every element
fails:Range#bsearch with Float values with a block returning true or false returns the smallest element for which block returns true
fails:Range#bsearch with Float values with a block returning negative, zero, positive numbers returns an element at an index for which block returns 0.0
fails:Range#bsearch with Float values with a block returning negative, zero, positive numbers returns an element at an index for which block returns 0
1 change: 1 addition & 0 deletions spec/tags/ruby/core/string/crypt_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:String#crypt returns NULL bytes prepended to the string when the salt contains NULL bytes
fails:String#crypt raises an ArgumentError when the salt is shorter than two characters
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Thread::Backtrace::Location#base_label returns the base label of the call frame
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Thread::Backtrace::Location#label returns the base label of the call frame
1 change: 1 addition & 0 deletions spec/tags/ruby/core/thread/join_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Thread#join coerces timeout to a Float if it is not nil
1 change: 1 addition & 0 deletions spec/tags/ruby/core/time/zone_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:Time#zone returns nil when getting the local time with a fixed offset
fails:Time#zone Encoding.default_internal is set returns an ASCII string
3 changes: 3 additions & 0 deletions spec/tags/ruby/language/block_tags.txt
Original file line number Diff line number Diff line change
@@ -7,3 +7,6 @@ fails:A block yielded a single Array raises a TypeError if #to_hash does not ret
fails:A block yielded a single Array raises the error raised inside #to_hash
fails:A block yielded a single Object receives the object if #to_ary returns nil
fails:A block yielded a single Array assigns elements to required arguments when a keyword rest argument is present
fails:A block yielded a single Array treats hashes with symbol keys as keyword arguments
fails:A block yielded a single Array does not treat hashes with string keys as keyword arguments
fails:A block yielded a single Array calls #to_hash on the last element when there are more arguments than parameters
3 changes: 3 additions & 0 deletions spec/tags/ruby/language/break_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:The break statement in a captured block when the invocation of the scope creating the block is still active raises a LocalJumpError when invoking the block from the scope creating the block
fails:The break statement in a captured block when the invocation of the scope creating the block is still active raises a LocalJumpError when invoking the block from a method
fails:The break statement in a captured block when the invocation of the scope creating the block is still active raises a LocalJumpError when yielding to the block
2 changes: 2 additions & 0 deletions spec/tags/ruby/language/hash_tags.txt
Original file line number Diff line number Diff line change
@@ -3,3 +3,5 @@ fails:Hash literal expands an '**obj' element into the containing Hash literal i
fails:Hash literal calls #to_hash to convert an '**obj' element
fails:Hash literal merges the containing Hash into the **obj before importing obj's items
fails:Hash literal merges multiple nested '**obj' in Hash literals
fails:Hash literal expands an '**{}' element with the last key/value pair taking precedence
fails:Hash literal calls #to_hash to expand an '**obj' element
2 changes: 2 additions & 0 deletions spec/tags/ruby/language/method_tags.txt
Original file line number Diff line number Diff line change
@@ -14,3 +14,5 @@ fails:"A method assigns local variables from method parameters for definition \n
fails:"A method assigns local variables from method parameters for definition \n def m(*, **) end"
fails:"A method assigns local variables from method parameters for definition \n def m(*a, **) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(*, **k) k end"
fails:"A method assigns local variables from method parameters for definition \n def m(a = nil, **k) [a, k] end"
fails:"A method assigns local variables from method parameters for definition \n def m(*a, **k) [a, k] end"
1 change: 1 addition & 0 deletions spec/tags/ruby/language/regexp/character_classes_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Regexp with character classes doesn't match Unicode Mongolian vowel seperator characters with [[:blank:]]