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: 9f228b9ac536
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 29616734d658
Choose a head ref

Commits on Apr 20, 2015

  1. Copy the full SHA
    4108e96 View commit details
  2. Copy the full SHA
    f40e626 View commit details
  3. Squashed 'spec/ruby/' changes from 44248dc..45d075c

    45d075c Add missing behavior expectation in last spec.
    fd39782 Add a spec for Module#method_added with undef_method.
    
    git-subtree-dir: spec/ruby
    git-subtree-split: 45d075c8c47ef0cc15ee5cb126806148ad0f5d35
    eregon committed Apr 20, 2015
    Copy the full SHA
    2c38858 View commit details
  4. Copy the full SHA
    1f47333 View commit details
  5. Copy the full SHA
    d67a173 View commit details
  6. Copy the full SHA
    5539cbd View commit details
  7. Copy the full SHA
    190234d View commit details
  8. Copy the full SHA
    4e6eab6 View commit details
  9. Tag out new test failures?

    enebo committed Apr 20, 2015
    Copy the full SHA
    1630b58 View commit details
  10. Copy the full SHA
    d6c1248 View commit details
  11. Copy the full SHA
    8f642a2 View commit details
  12. Copy the full SHA
    d8bb622 View commit details
  13. [Truffle] Fix most of break.

    * Breaks out of the call site.
    * Relax the type of the ForNode child.
    * Fix #2826, #2675.
    eregon committed Apr 20, 2015
    Copy the full SHA
    434c8a2 View commit details
  14. Copy the full SHA
    d061cbc View commit details
  15. Copy the full SHA
    3b1b368 View commit details
  16. Slightly adapt internal tests exclude code.

    * So to not depend on default definee.
    eregon committed Apr 20, 2015
    Copy the full SHA
    ff7a1d0 View commit details
  17. Copy the full SHA
    c0a8a73 View commit details
  18. Merge pull request #2848 from bjfish/truffle_long_specializations

    [Truffle] Adding additional long handling for multiple specializations.
    chrisseaton committed Apr 20, 2015
    Copy the full SHA
    b7ddabb View commit details
  19. Copy the full SHA
    ee3dd5a View commit details
  20. 3
    Copy the full SHA
    5b2f01f View commit details
  21. Merge branch 'master' into truffle-head

    Conflicts:
    	truffle/src/main/java/org/jruby/truffle/nodes/core/ArrayNodes.java
    	truffle/src/main/java/org/jruby/truffle/nodes/core/ModuleNodes.java
    chrisseaton committed Apr 20, 2015
    Copy the full SHA
    2961673 View commit details
Showing with 420 additions and 579 deletions.
  1. +1 −1 core/pom.xml
  2. +8 −5 core/src/main/java/org/jruby/util/io/SelectExecutor.java
  3. +14 −1 lib/ruby/stdlib/jruby/compiler.rb
  4. +0 −2 maven/jruby/src/it/bouncycastle-with-bc-gem/invoker.properties
  5. +0 −66 maven/jruby/src/it/bouncycastle-with-bc-gem/pom.xml.skip
  6. +0 −34 maven/jruby/src/it/bouncycastle-with-bc-gem/src/test/java/org/jruby/its/BouncyCastleTestCase.java
  7. +14 −0 spec/ruby/core/module/method_added_spec.rb
  8. +0 −2 spec/truffle/tags/core/basicobject/instance_exec_tags.txt
  9. +0 −1 spec/truffle/tags/core/bignum/bit_or_tags.txt
  10. +0 −1 spec/truffle/tags/core/complex/minus_tags.txt
  11. +0 −1 spec/truffle/tags/core/complex/plus_tags.txt
  12. +0 −3 spec/truffle/tags/core/enumerator/each_with_index_tags.txt
  13. +0 −1 spec/truffle/tags/core/enumerator/generator/each_tags.txt
  14. +0 −1 spec/truffle/tags/core/enumerator/generator/initialize_tags.txt
  15. +0 −1 spec/truffle/tags/core/enumerator/inject_tags.txt
  16. +0 −2 spec/truffle/tags/core/enumerator/lazy/collect_concat_tags.txt
  17. +0 −2 spec/truffle/tags/core/enumerator/lazy/collect_tags.txt
  18. +0 −2 spec/truffle/tags/core/enumerator/lazy/drop_tags.txt
  19. +0 −2 spec/truffle/tags/core/enumerator/lazy/drop_while_tags.txt
  20. +0 −3 spec/truffle/tags/core/enumerator/lazy/enum_for_tags.txt
  21. +0 −2 spec/truffle/tags/core/enumerator/lazy/find_all_tags.txt
  22. +0 −2 spec/truffle/tags/core/enumerator/lazy/flat_map_tags.txt
  23. +0 −5 spec/truffle/tags/core/enumerator/lazy/grep_tags.txt
  24. +0 −1 spec/truffle/tags/core/enumerator/lazy/initialize_tags.txt
  25. +0 −2 spec/truffle/tags/core/enumerator/lazy/map_tags.txt
  26. +0 −2 spec/truffle/tags/core/enumerator/lazy/reject_tags.txt
  27. +0 −2 spec/truffle/tags/core/enumerator/lazy/select_tags.txt
  28. +0 −3 spec/truffle/tags/core/enumerator/lazy/to_enum_tags.txt
  29. +0 −2 spec/truffle/tags/core/enumerator/lazy/zip_tags.txt
  30. +0 −1 spec/truffle/tags/core/enumerator/next_values_tags.txt
  31. +0 −1 spec/truffle/tags/core/enumerator/peek_values_tags.txt
  32. +0 −1 spec/truffle/tags/core/enumerator/yielder/append_tags.txt
  33. +0 −1 spec/truffle/tags/core/exception/backtrace_tags.txt
  34. +0 −7 spec/truffle/tags/core/exception/exception_tags.txt
  35. +0 −1 spec/truffle/tags/core/exception/name_error_tags.txt
  36. +0 −1 spec/truffle/tags/core/exception/no_method_error_tags.txt
  37. +0 −5 spec/truffle/tags/core/file/absolute_path_tags.txt
  38. +0 −3 spec/truffle/tags/core/file/dirname_tags.txt
  39. +0 −13 spec/truffle/tags/core/file/expand_path_tags.txt
  40. +0 −12 spec/truffle/tags/core/file/join_tags.txt
  41. +0 −1 spec/truffle/tags/core/filetest/file_tags.txt
  42. +0 −2 spec/truffle/tags/core/filetest/owned_tags.txt
  43. +0 −2 spec/truffle/tags/core/filetest/pipe_tags.txt
  44. +0 −1 spec/truffle/tags/core/filetest/setgid_tags.txt
  45. +0 −1 spec/truffle/tags/core/filetest/setuid_tags.txt
  46. +0 −2 spec/truffle/tags/core/filetest/socket_tags.txt
  47. +0 −1 spec/truffle/tags/core/filetest/sticky_tags.txt
  48. +0 −1 spec/truffle/tags/core/filetest/symlink_tags.txt
  49. +0 −2 spec/truffle/tags/core/float/rationalize_tags.txt
  50. +0 −1 spec/truffle/tags/core/io/constants_tags.txt
  51. +0 −1 spec/truffle/tags/core/io/io_tags.txt
  52. +0 −11 spec/truffle/tags/core/marshal/dump_tags.txt
  53. +0 −7 spec/truffle/tags/core/marshal/load_tags.txt
  54. +0 −5 spec/truffle/tags/core/marshal/restore_tags.txt
  55. +0 −1 spec/truffle/tags/core/method/source_location_tags.txt
  56. +0 −1 spec/truffle/tags/core/module/append_features_tags.txt
  57. +0 −1 spec/truffle/tags/core/module/attr_reader_tags.txt
  58. +0 −3 spec/truffle/tags/core/module/class_variable_get_tags.txt
  59. +0 −6 spec/truffle/tags/core/module/extend_object_tags.txt
  60. +0 −3 spec/truffle/tags/core/module/extended_tags.txt
  61. +0 −5 spec/truffle/tags/core/module/include_tags.txt
  62. +0 −2 spec/truffle/tags/core/module/protected_instance_methods_tags.txt
  63. +0 −4 spec/truffle/tags/core/module/public_instance_methods_tags.txt
  64. +0 −1 spec/truffle/tags/core/numeric/uminus_tags.txt
  65. +0 −1 spec/truffle/tags/core/proc/lambda_tags.txt
  66. +0 −1 spec/truffle/tags/core/process/gid/change_privilege_tags.txt
  67. +0 −2 spec/truffle/tags/core/process/gid/eid_tags.txt
  68. +0 −1 spec/truffle/tags/core/process/gid/grant_privilege_tags.txt
  69. +0 −1 spec/truffle/tags/core/process/gid/re_exchange_tags.txt
  70. +0 −1 spec/truffle/tags/core/process/gid/re_exchangeable_tags.txt
  71. +0 −1 spec/truffle/tags/core/process/gid/rid_tags.txt
  72. +0 −1 spec/truffle/tags/core/process/gid/sid_available_tags.txt
  73. +0 −1 spec/truffle/tags/core/process/gid/switch_tags.txt
  74. +0 −1 spec/truffle/tags/core/random/rand_tags.txt
  75. +0 −4 spec/truffle/tags/core/random/srand_tags.txt
  76. +0 −1 spec/truffle/tags/core/range/cover_tags.txt
  77. +0 −1 spec/truffle/tags/core/range/include_tags.txt
  78. +0 −1 spec/truffle/tags/core/range/member_tags.txt
  79. +0 −1 spec/truffle/tags/core/rational/denominator_tags.txt
  80. +0 −6 spec/truffle/tags/core/rational/divmod_tags.txt
  81. +0 −2 spec/truffle/tags/core/rational/floor_tags.txt
  82. +0 −1 spec/truffle/tags/core/rational/numerator_tags.txt
  83. +0 −1 spec/truffle/tags/core/rational/rationalize_tags.txt
  84. +0 −2 spec/truffle/tags/core/rational/round_tags.txt
  85. +0 −2 spec/truffle/tags/core/rational/truncate_tags.txt
  86. +0 −1 spec/truffle/tags/core/regexp/compile_tags.txt
  87. +0 −1 spec/truffle/tags/core/regexp/match_tags.txt
  88. +0 −8 spec/truffle/tags/core/thread/alive_tags.txt
  89. +0 −2 spec/truffle/tags/core/thread/element_reference_tags.txt
  90. +0 −2 spec/truffle/tags/core/thread/element_set_tags.txt
  91. +0 −3 spec/truffle/tags/core/thread/exclusive_tags.txt
  92. +0 −2 spec/truffle/tags/core/thread/exit_tags.txt
  93. +0 −1 spec/truffle/tags/core/thread/group_tags.txt
  94. +0 −3 spec/truffle/tags/core/thread/kill_tags.txt
  95. +0 −1 spec/truffle/tags/core/time/at_tags.txt
  96. +0 −1 spec/truffle/tags/core/time/getgm_tags.txt
  97. +0 −9 spec/truffle/tags/core/time/getlocal_tags.txt
  98. +0 −1 spec/truffle/tags/core/time/getutc_tags.txt
  99. +0 −3 spec/truffle/tags/core/time/gmt_offset_tags.txt
  100. +0 −1 spec/truffle/tags/core/time/gmtime_tags.txt
  101. +0 −3 spec/truffle/tags/core/time/gmtoff_tags.txt
  102. +0 −9 spec/truffle/tags/core/time/localtime_tags.txt
  103. +0 −2 spec/truffle/tags/core/time/minus_tags.txt
  104. +0 −7 spec/truffle/tags/core/time/plus_tags.txt
  105. +0 −5 spec/truffle/tags/core/time/round_tags.txt
  106. +0 −3 spec/truffle/tags/core/time/utc_offset_tags.txt
  107. +0 −1 spec/truffle/tags/core/time/utc_tags.txt
  108. +0 −1 spec/truffle/tags/language/break_tags.txt
  109. +4 −1 spec/truffle/truffle.mspec
  110. +1 −0 test/mri/excludes/TestCSV/Parsing.rb
  111. +1 −0 test/mri/excludes/TestDir_M17N.rb
  112. +2 −4 test/mri/lib/minitest/unit.rb
  113. +3 −0 truffle/src/main/java/org/jruby/truffle/TruffleBridgeImpl.java
  114. +2 −2 truffle/src/main/java/org/jruby/truffle/nodes/ForNode.java
  115. +9 −2 truffle/src/main/java/org/jruby/truffle/nodes/control/BreakNode.java
  116. +17 −70 truffle/src/main/java/org/jruby/truffle/nodes/core/ArrayNodes.java
  117. +4 −3 truffle/src/main/java/org/jruby/truffle/nodes/core/CoreMethodNodeManager.java
  118. +0 −18 truffle/src/main/java/org/jruby/truffle/nodes/core/IntegerNodes.java
  119. +17 −69 truffle/src/main/java/org/jruby/truffle/nodes/core/ModuleNodes.java
  120. +0 −12 truffle/src/main/java/org/jruby/truffle/nodes/core/RangeNodes.java
  121. +8 −1 truffle/src/main/java/org/jruby/truffle/nodes/methods/BlockDefinitionNode.java
  122. +55 −0 truffle/src/main/java/org/jruby/truffle/nodes/methods/CatchBreakFromCallNode.java
  123. +1 −1 truffle/src/main/java/org/jruby/truffle/nodes/rubinius/RegexpPrimitiveNodes.java
  124. +2 −0 truffle/src/main/java/org/jruby/truffle/nodes/rubinius/RubiniusPrimitive.java
  125. +44 −0 truffle/src/main/java/org/jruby/truffle/nodes/rubinius/RubiniusTypeNodes.java
  126. +21 −0 truffle/src/main/java/org/jruby/truffle/nodes/rubinius/StringPrimitiveNodes.java
  127. +10 −1 truffle/src/main/java/org/jruby/truffle/runtime/control/BreakException.java
  128. +9 −0 truffle/src/main/java/org/jruby/truffle/runtime/core/CoreLibrary.java
  129. +1 −1 truffle/src/main/java/org/jruby/truffle/runtime/core/RubyModule.java
  130. +23 −7 truffle/src/main/java/org/jruby/truffle/translator/BodyTranslator.java
  131. +8 −4 truffle/src/main/java/org/jruby/truffle/translator/MethodTranslator.java
  132. +5 −0 truffle/src/main/java/org/jruby/truffle/translator/ParseEnvironment.java
  133. +4 −4 truffle/src/main/java/org/jruby/truffle/translator/TranslatorDriver.java
  134. +19 −11 truffle/src/main/java/org/jruby/truffle/translator/TranslatorEnvironment.java
  135. +5 −1 truffle/src/main/ruby/core.rb
  136. +45 −0 truffle/src/main/ruby/core/rubinius/alpha.rb
  137. +12 −1 truffle/src/main/ruby/core/rubinius/common/module.rb
  138. +51 −0 truffle/src/main/ruby/core/rubinius/delta/module.rb
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@
<parser.dir>core/src/main/java/org/jruby/parser</parser.dir>
<jruby.basedir>${basedir}/..</jruby.basedir>
<rubyspec.dir>${spec.dir}/ruby</rubyspec.dir>
<version.ruby.revision>49761</version.ruby.revision>
<version.ruby.revision>50293</version.ruby.revision>
<jruby.test.memory>3G</jruby.test.memory>
<mspec.dir>${spec.dir}/mspec</mspec.dir>
<build.date>${maven.build.timestamp}</build.date>
13 changes: 8 additions & 5 deletions core/src/main/java/org/jruby/util/io/SelectExecutor.java
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ IRubyObject selectInternal(ThreadContext context) throws IOException {
pendingReadFDs.add(fptr.fd());
}
}
if (pendingReadFDs != null) { /* no blocking if there's buffered data */
if (pendingReadFDs != null || unselectableReadFDs != null) {/* ready to go if there's buffered data or we can't select */
timeout = (long) 0;
}
}
@@ -130,6 +130,9 @@ IRubyObject selectInternal(ThreadContext context) throws IOException {
fptr = write_io.getOpenFileChecked();
fdSetWrite(context, fptr.fd(), writeAry.size());
}
if (unselectableWriteFDs != null) {/* ready to go if we can't select */
timeout = (long) 0;
}
}

RubyArray exceptAry = null;
@@ -240,8 +243,8 @@ private int maxWriteReadySize() {
}

private void fdSetRead(ThreadContext context, ChannelFD fd, int maxSize) throws IOException {
if (fd.chFile != null || fd.isNativeFile) {
// files are not selectable, so we treat them as ready
if (fd.chSelect == null) {
// channels that are not selectable are treated as always ready, like files
if (unselectableReadFDs == null) unselectableReadFDs = new ArrayList(1);
unselectableReadFDs.add(fd);
return;
@@ -253,8 +256,8 @@ private void fdSetRead(ThreadContext context, ChannelFD fd, int maxSize) throws
}

private void fdSetWrite(ThreadContext context, ChannelFD fd, int maxSize) throws IOException {
if (fd.chFile != null || fd.isNativeFile) {
// files are not selectable, so we treat them as ready
if (fd.chSelect == null) {
// channels that are not selectable are treated as always ready, like files
if (unselectableWriteFDs == null) unselectableWriteFDs = new ArrayList(1);
unselectableWriteFDs.add(fd);
return;
15 changes: 14 additions & 1 deletion lib/ruby/stdlib/jruby/compiler.rb
Original file line number Diff line number Diff line change
@@ -162,6 +162,9 @@ def compile_files_with_options(filenames, options = default_options)
IRWriter.persist(stream, scope)
string = String.from_java_bytes(bytes.to_byte_array, 'BINARY')

# bust it up into 32k-1 chunks
pieces = string.scan(/.{1,32767}/m)

cls = ClassWriter.new(ClassWriter::COMPUTE_MAXS | ClassWriter::COMPUTE_FRAMES)
cls.visit(
Opcodes::V1_7,
@@ -185,7 +188,17 @@ def compile_files_with_options(filenames, options = default_options)
main.astore(1)
main.aload(1)
main.aload(1)
main.ldc(string)

# put String back together
main.newobj("java/lang/StringBuilder")
main.dup
main.invokespecial("java/lang/StringBuilder", "<init>", "()V")
pieces.each do |piece|
main.ldc(piece)
main.invokevirtual("java/lang/StringBuilder", "append", "(Ljava/lang/String;)Ljava/lang/StringBuilder;")
end
main.invokevirtual("java/lang/Object", "toString", "()Ljava/lang/String;")

main.ldc("ISO-8859-1")
main.invokevirtual("java/lang/String", "getBytes", "(Ljava/lang/String;)[B")
main.invokestatic("org/jruby/ir/runtime/IRRuntimeHelpers", "decodeScopeFromBytes", "(Lorg/jruby/Ruby;[B)Lorg/jruby/ir/IRScope;")

This file was deleted.

66 changes: 0 additions & 66 deletions maven/jruby/src/it/bouncycastle-with-bc-gem/pom.xml.skip

This file was deleted.

This file was deleted.

14 changes: 14 additions & 0 deletions spec/ruby/core/module/method_added_spec.rb
Original file line number Diff line number Diff line change
@@ -33,4 +33,18 @@ def test() end
$methods_added = nil
end
end

it "is not called when a method is undefined in self" do
m = Module.new do
def method_to_undef
end

def self.method_added(name)
fail("method_added called by undef_method")
end

undef_method :method_to_undef
end
m.should_not have_method(:method_to_undef)
end
end
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/basicobject/instance_exec_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/bignum/bit_or_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Bignum#| raises a TypeError when passed a Float
fails:Bignum#| returns self bitwise OR other when one operand is negative
1 change: 0 additions & 1 deletion spec/truffle/tags/core/complex/minus_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/complex/plus_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/truffle/tags/core/enumerator/each_with_index_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/enumerator/generator/each_tags.txt

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/enumerator/inject_tags.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
fails:Enumerator::Lazy#collect_concat calls the block with initial values when yield with multiple arguments
fails:Enumerator::Lazy#collect_concat when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#collect_concat when the returned lazy enumerator is evaluated by Enumerable#first flattens elements when the given block returned an array or responding to .each and .force
fails:Enumerator::Lazy#collect_concat on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#collect_concat on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first flattens elements when the given block returned an array or responding to .each and .force
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/collect_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Enumerator::Lazy#collect calls the block with initial values when yield with multiple arguments
fails:Enumerator::Lazy#collect when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#collect on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/drop_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/drop_while_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Enumerator::Lazy#drop_while calls the block with initial values when yield with multiple arguments
fails:Enumerator::Lazy#drop_while when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#drop_while on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/enumerator/lazy/enum_for_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
fails:Enumerator::Lazy#enum_for requires multiple arguments
fails:Enumerator::Lazy#enum_for generates a lazy enumerator from the given name
fails:Enumerator::Lazy#enum_for passes given arguments to wrapped method
fails:Enumerator::Lazy#enum_for used by some parent's methods though returning Lazy
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/find_all_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Enumerator::Lazy#find_all calls the block with a gathered array when yield with multiple arguments
fails:Enumerator::Lazy#find_all when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#find_all on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/flat_map_tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
fails:Enumerator::Lazy#flat_map calls the block with initial values when yield with multiple arguments
fails:Enumerator::Lazy#flat_map when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#flat_map when the returned lazy enumerator is evaluated by Enumerable#first flattens elements when the given block returned an array or responding to .each and .force
fails:Enumerator::Lazy#flat_map on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#flat_map on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first flattens elements when the given block returned an array or responding to .each and .force
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/enumerator/lazy/grep_tags.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
fails:Enumerator::Lazy#grep requires an argument
fails:Enumerator::Lazy#grep calls the block with a gathered array when yield with multiple arguments
fails:Enumerator::Lazy#grep when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times when not given a block
fails:Enumerator::Lazy#grep when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times when given a block
fails:Enumerator::Lazy#grep on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times when not given a block
fails:Enumerator::Lazy#grep on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times when given a block
1 change: 0 additions & 1 deletion spec/truffle/tags/core/enumerator/lazy/initialize_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/map_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Enumerator::Lazy#map calls the block with initial values when yield with multiple arguments
fails:Enumerator::Lazy#map when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#map on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/reject_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Enumerator::Lazy#reject calls the block with a gathered array when yield with multiple arguments
fails:Enumerator::Lazy#reject when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#reject on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/select_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Enumerator::Lazy#select calls the block with a gathered array when yield with multiple arguments
fails:Enumerator::Lazy#select when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#select on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/enumerator/lazy/to_enum_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
fails:Enumerator::Lazy#to_enum requires multiple arguments
fails:Enumerator::Lazy#to_enum generates a lazy enumerator from the given name
fails:Enumerator::Lazy#to_enum passes given arguments to wrapped method
fails:Enumerator::Lazy#to_enum used by some parent's methods though returning Lazy
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/enumerator/lazy/zip_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Enumerator::Lazy#zip calls the block with a gathered array when yield with multiple arguments
fails:Enumerator::Lazy#zip when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
fails:Enumerator::Lazy#zip on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first stops after specified times
1 change: 0 additions & 1 deletion spec/truffle/tags/core/enumerator/next_values_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Enumerator#next_values returns an empty array if yield is called without arguments
fails:Enumerator#next_values returns an array with only nil if yield is called with nil
1 change: 0 additions & 1 deletion spec/truffle/tags/core/enumerator/peek_values_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Enumerator#peek_values returns an empty array if yield is called without arguments
fails:Enumerator#peek_values returns an array with only nil if yield is called with nil
1 change: 0 additions & 1 deletion spec/truffle/tags/core/enumerator/yielder/append_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/exception/backtrace_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Exception#backtrace returns nil if no backtrace was set
fails:Exception#backtrace when redefined does not affect the behaviour of Exception#message
7 changes: 0 additions & 7 deletions spec/truffle/tags/core/exception/exception_tags.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
fails:Exception.exception creates a new instance of Exception
fails:Exception.exception sets the message of the Exception when passes a message
fails:Exception.exception returns 'Exception' for message when no message given
fails:Exception.exception returns the exception when it has a custom constructor
fails:Exception#exception returns self when passed no argument
fails:Exception#exception returns self when passed self as an argument
fails:Exception#exception returns an exception of the same class as self with the message given as argument
fails:Exception#exception returns an exception of the same class as self with the message given as argument, but without reinitializing
1 change: 0 additions & 1 deletion spec/truffle/tags/core/exception/name_error_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/exception/no_method_error_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
fails:NoMethodError.new allows passing method args
fails:NoMethodError#args returns an empty array if the caller method had no arguments
fails:NoMethodError#args returns an array with the same elements as passed to the method
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/file/absolute_path_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/truffle/tags/core/file/dirname_tags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
fails:File.dirname returns all the components of filename except the last one
fails:File.dirname returns all the components of filename except the last one (edge cases on all platforms)
fails:File.dirname returns all the components of filename except the last one (edge cases on non-windows)
fails:File.dirname accepts an object that has a #to_path method
fails(windows):File.dirname returns all the components of filename except the last one (edge cases on windows)
fails(windows):File.dirname returns the return all the components of filename except the last one (Windows format)
fails(windows):File.dirname returns the return all the components of filename except the last one (windows unc)
13 changes: 0 additions & 13 deletions spec/truffle/tags/core/file/expand_path_tags.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
fails:File.expand_path converts a pathname to an absolute pathname
fails:File.expand_path converts a pathname to an absolute pathname, using ~ (home) as base
fails:File.expand_path expand_path for commoms unix path give a full path
fails:File.expand_path does not replace multiple '/' at the beginning of the path
fails:File.expand_path raises an ArgumentError if the path is not valid
fails:File.expand_path expands ~ENV['USER'] to the user's home directory
fails:File.expand_path expands ../foo with ~/dir as base dir to /path/to/user/home/foo
fails:File.expand_path accepts objects that have a #to_path method
fails:File.expand_path returns a String in the same encoding as the argument
fails:File.expand_path expands a path when the default external encoding is ASCII-8BIT
fails:File.expand_path expands a path with multi-byte characters
fails:File.expand_path raises an Encoding::CompatibilityError if the external encoding is not compatible
fails:File.expand_path does not modify a HOME string argument
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~' if HOME is nil
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~/' if HOME is nil
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~' if HOME == ''
fails(windows):File.expand_path expands C:/./dir to C:/dir
windows:File.expand_path converts a pathname to an absolute pathname, Ruby-Talk:18512
windows:File.expand_path converts a pathname to an absolute pathname, using a complete path
12 changes: 0 additions & 12 deletions spec/truffle/tags/core/file/join_tags.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
fails:File.join changes only boundaries separators
fails:File.join respects the given separator if only one part has a boundary separator
fails:File.join prefers the separator of the right part if both parts have separators
fails:File.join does not treat \ as a separator on non-Windows
fails:File.join handles leading parts edge cases
fails:File.join handles trailing parts edge cases
fails:File.join handles middle parts edge cases
fails:File.join raises an ArgumentError if passed a recursive array
fails:File.join raises a TypeError exception when args are nil
fails:File.join calls #to_str
fails:File.join doesn't mutate the object when calling #to_str
fails:File.join calls #to_path
fails(windows):File.join respects given separator if only one part has a boundary separator
1 change: 0 additions & 1 deletion spec/truffle/tags/core/filetest/file_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/filetest/owned_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/filetest/pipe_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/filetest/setgid_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/filetest/setuid_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/filetest/socket_tags.txt

This file was deleted.

Loading