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: 6eae595ff171
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0d1d636b9aa6
Choose a head ref
  • 4 commits
  • 189 files changed
  • 1 contributor

Commits on Jan 26, 2015

  1. Copy the full SHA
    4adfeac View commit details
  2. Copy the full SHA
    22250a4 View commit details
  3. Copy the full SHA
    0ba07c1 View commit details
  4. Copy the full SHA
    0d1d636 View commit details
Showing with 128 additions and 823 deletions.
  1. +0 −11 core/src/main/ruby/jruby/truffle/core/shims.rb
  2. +21 −0 lib/ruby/truffle/shims/openssl.rb
  3. +0 −1 spec/truffle/tags/core/bignum/bit_xor_tags.txt
  4. +0 −1 spec/truffle/tags/core/bignum/case_compare_tags.txt
  5. +0 −2 spec/truffle/tags/core/bignum/coerce_tags.txt
  6. +0 −11 spec/truffle/tags/core/bignum/comparison_tags.txt
  7. +0 −1 spec/truffle/tags/core/bignum/div_tags.txt
  8. +0 −2 spec/truffle/tags/core/bignum/element_reference_tags.txt
  9. +0 −1 spec/truffle/tags/core/bignum/equal_value_tags.txt
  10. +0 −1 spec/truffle/tags/core/bignum/magnitude_tags.txt
  11. +0 −3 spec/truffle/tags/core/bignum/modulo_tags.txt
  12. +0 −1 spec/truffle/tags/core/bignum/multiply_tags.txt
  13. +0 −4 spec/truffle/tags/core/bignum/odd_tags.txt
  14. +0 −2 spec/truffle/tags/core/bignum/to_f_tags.txt
  15. +0 −2 spec/truffle/tags/core/bignum/to_s_tags.txt
  16. +0 −1 spec/truffle/tags/core/dir/dir_tags.txt
  17. +0 −1 spec/truffle/tags/core/encoding/_dump_tags.txt
  18. +0 −1 spec/truffle/tags/core/encoding/_load_tags.txt
  19. +0 −1 spec/truffle/tags/core/encoding/converter/insert_output_tags.txt
  20. +0 −1 spec/truffle/tags/core/encoding/converter/search_convpath_tags.txt
  21. +0 −2 spec/truffle/tags/core/encoding/default_external_tags.txt
  22. +0 −1 spec/truffle/tags/core/file/absolute_path_tags.txt
  23. +0 −2 spec/truffle/tags/core/file/chown_tags.txt
  24. +0 −4 spec/truffle/tags/core/file/constants_tags.txt
  25. +0 −1 spec/truffle/tags/core/file/delete_tags.txt
  26. +0 −5 spec/truffle/tags/core/file/dirname_tags.txt
  27. +0 −4 spec/truffle/tags/core/file/exist_tags.txt
  28. +0 −4 spec/truffle/tags/core/file/exists_tags.txt
  29. +0 −11 spec/truffle/tags/core/file/expand_path_tags.txt
  30. +0 −5 spec/truffle/tags/core/file/file_tags.txt
  31. +0 −1 spec/truffle/tags/core/file/initialize_tags.txt
  32. +0 −6 spec/truffle/tags/core/file/join_tags.txt
  33. +0 −1 spec/truffle/tags/core/file/lstat_tags.txt
  34. +0 −1 spec/truffle/tags/core/file/owned_tags.txt
  35. +0 −1 spec/truffle/tags/core/file/path_tags.txt
  36. +0 −1 spec/truffle/tags/core/file/pipe_tags.txt
  37. +0 −3 spec/truffle/tags/core/file/size_tags.txt
  38. +0 −1 spec/truffle/tags/core/file/stat/file_tags.txt
  39. +0 −1 spec/truffle/tags/core/file/stat/owned_tags.txt
  40. +0 −1 spec/truffle/tags/core/file/stat/pipe_tags.txt
  41. +0 −1 spec/truffle/tags/core/file/stat/setgid_tags.txt
  42. +0 −1 spec/truffle/tags/core/file/stat/setuid_tags.txt
  43. +0 −2 spec/truffle/tags/core/file/stat/size_tags.txt
  44. +0 −2 spec/truffle/tags/core/file/stat/socket_tags.txt
  45. +0 −2 spec/truffle/tags/core/file/stat/sticky_tags.txt
  46. +0 −1 spec/truffle/tags/core/file/stat/world_readable_tags.txt
  47. +0 −1 spec/truffle/tags/core/file/stat/world_writable_tags.txt
  48. +0 −1 spec/truffle/tags/core/file/sticky_tags.txt
  49. +0 −1 spec/truffle/tags/core/file/unlink_tags.txt
  50. +0 −5 spec/truffle/tags/core/filetest/file_tags.txt
  51. +0 −1 spec/truffle/tags/core/filetest/owned_tags.txt
  52. +0 −1 spec/truffle/tags/core/filetest/pipe_tags.txt
  53. +0 −1 spec/truffle/tags/core/filetest/setgid_tags.txt
  54. +0 −1 spec/truffle/tags/core/filetest/setuid_tags.txt
  55. +0 −1 spec/truffle/tags/core/filetest/socket_tags.txt
  56. +0 −1 spec/truffle/tags/core/filetest/symlink_tags.txt
  57. +0 −1 spec/truffle/tags/core/filetest/world_readable_tags.txt
  58. +0 −1 spec/truffle/tags/core/filetest/world_writable_tags.txt
  59. +0 −2 spec/truffle/tags/core/float/case_compare_tags.txt
  60. +0 −1 spec/truffle/tags/core/float/equal_value_tags.txt
  61. +0 −2 spec/truffle/tags/core/hash/allocate_tags.txt
  62. +0 −1 spec/truffle/tags/core/hash/clear_tags.txt
  63. +0 −1 spec/truffle/tags/core/hash/constructor_tags.txt
  64. +0 −3 spec/truffle/tags/core/hash/default_proc_tags.txt
  65. +0 −1 spec/truffle/tags/core/hash/default_tags.txt
  66. +0 −4 spec/truffle/tags/core/hash/element_reference_tags.txt
  67. +0 −3 spec/truffle/tags/core/hash/element_set_tags.txt
  68. +0 −1 spec/truffle/tags/core/hash/empty_tags.txt
  69. +0 −2 spec/truffle/tags/core/hash/eql_tags.txt
  70. +0 −2 spec/truffle/tags/core/hash/hash_tags.txt
  71. +0 −1 spec/truffle/tags/core/hash/initialize_copy_tags.txt
  72. +0 −2 spec/truffle/tags/core/hash/initialize_tags.txt
  73. +0 −5 spec/truffle/tags/core/hash/new_tags.txt
  74. +0 −1 spec/truffle/tags/core/hash/store_tags.txt
  75. +0 −2 spec/truffle/tags/core/hash/to_hash_tags.txt
  76. +1 −0 spec/truffle/tags/core/integer/next_tags.txt
  77. +1 −0 spec/truffle/tags/core/integer/succ_tags.txt
  78. +0 −1 spec/truffle/tags/core/io/fdatasync_tags.txt
  79. +0 −1 spec/truffle/tags/core/io/initialize_copy_tags.txt
  80. +0 −1 spec/truffle/tags/core/io/io_tags.txt
  81. +0 −1 spec/truffle/tags/core/io/output_tags.txt
  82. +0 −2 spec/truffle/tags/core/io/readlines_tags.txt
  83. +0 −7 spec/truffle/tags/core/kernel/Array_tags.txt
  84. +0 −10 spec/truffle/tags/core/kernel/Complex_tags.txt
  85. +0 −109 spec/truffle/tags/core/kernel/Float_tags.txt
  86. +0 −1 spec/truffle/tags/core/kernel/Hash_tags.txt
  87. +0 −2 spec/truffle/tags/core/kernel/Rational_tags.txt
  88. +0 −15 spec/truffle/tags/core/kernel/String_tags.txt
  89. +0 −1 spec/truffle/tags/core/kernel/__send___tags.txt
  90. +0 −1 spec/truffle/tags/core/kernel/abort_tags.txt
  91. +0 −3 spec/truffle/tags/core/main/define_method_tags.txt
  92. +0 −1 spec/truffle/tags/core/main/include_tags.txt
  93. +0 −2 spec/truffle/tags/core/main/private_tags.txt
  94. +0 −2 spec/truffle/tags/core/main/public_tags.txt
  95. +0 −1 spec/truffle/tags/core/main/to_s_tags.txt
  96. +0 −92 spec/truffle/tags/core/marshal/dump_tags.txt
  97. +0 −19 spec/truffle/tags/core/marshal/load_tags.txt
  98. +0 −19 spec/truffle/tags/core/marshal/restore_tags.txt
  99. +0 −3 spec/truffle/tags/core/matchdata/post_match_tags.txt
  100. +0 −3 spec/truffle/tags/core/matchdata/pre_match_tags.txt
  101. +19 −0 spec/truffle/tags/core/method/arity_tags.txt
  102. +0 −1 spec/truffle/tags/core/method/hash_tags.txt
  103. +0 −10 spec/truffle/tags/core/module/alias_method_tags.txt
  104. +0 −2 spec/truffle/tags/core/module/allocate_tags.txt
  105. +0 −2 spec/truffle/tags/core/module/ancestors_tags.txt
  106. +0 −2 spec/truffle/tags/core/module/append_features_tags.txt
  107. +0 −2 spec/truffle/tags/core/module/case_compare_tags.txt
  108. +0 −3 spec/truffle/tags/core/module/class_eval_tags.txt
  109. +0 −2 spec/truffle/tags/core/module/class_exec_tags.txt
  110. +0 −2 spec/truffle/tags/core/module/class_variable_defined_tags.txt
  111. +0 −1 spec/truffle/tags/core/module/class_variable_get_tags.txt
  112. +0 −1 spec/truffle/tags/core/module/class_variables_tags.txt
  113. +0 −1 spec/truffle/tags/core/module/const_missing_tags.txt
  114. +0 −5 spec/truffle/tags/core/module/const_set_tags.txt
  115. +0 −1 spec/truffle/tags/core/module/constants_tags.txt
  116. +0 −1 spec/truffle/tags/core/module/define_singleton_method_tags.txt
  117. +0 −4 spec/truffle/tags/core/module/include_tags.txt
  118. +0 −1 spec/truffle/tags/core/nil/to_c_tags.txt
  119. +0 −5 spec/truffle/tags/core/object/clone_tags.txt
  120. +0 −5 spec/truffle/tags/core/object/dup_tags.txt
  121. +0 −4 spec/truffle/tags/core/object/instance_of_tags.txt
  122. +0 −8 spec/truffle/tags/core/object/is_a_tags.txt
  123. +0 −8 spec/truffle/tags/core/object/kind_of_tags.txt
  124. +0 −1 spec/truffle/tags/core/object/match_tags.txt
  125. +0 −1 spec/truffle/tags/core/object/metaclass_tags.txt
  126. +0 −3 spec/truffle/tags/core/object/object_id_tags.txt
  127. +0 −4 spec/truffle/tags/core/proc/call_tags.txt
  128. +0 −4 spec/truffle/tags/core/proc/element_reference_tags.txt
  129. +0 −3 spec/truffle/tags/core/proc/inspect_tags.txt
  130. +0 −1 spec/truffle/tags/core/range/begin_tags.txt
  131. +0 −1 spec/truffle/tags/core/range/each_tags.txt
  132. +0 −1 spec/truffle/tags/core/range/end_tags.txt
  133. +0 −1 spec/truffle/tags/core/range/eql_tags.txt
  134. +0 −14 spec/truffle/tags/core/range/include_tags.txt
  135. +0 −3 spec/truffle/tags/core/range/initialize_tags.txt
  136. +0 −3 spec/truffle/tags/core/range/max_tags.txt
  137. +0 −3 spec/truffle/tags/core/range/member_tags.txt
  138. +0 −2 spec/truffle/tags/core/range/min_tags.txt
  139. +0 −1 spec/truffle/tags/core/range/range_tags.txt
  140. +0 −2 spec/truffle/tags/core/range/step_tags.txt
  141. +1 −0 spec/truffle/tags/core/rational/ceil_tags.txt
  142. +1 −0 spec/truffle/tags/core/rational/denominator_tags.txt
  143. +1 −0 spec/truffle/tags/core/rational/div_tags.txt
  144. +2 −0 spec/truffle/tags/core/rational/divmod_tags.txt
  145. +1 −0 spec/truffle/tags/core/rational/numerator_tags.txt
  146. +1 −0 spec/truffle/tags/core/rational/zero_tags.txt
  147. +0 −3 spec/truffle/tags/core/string/allocate_tags.txt
  148. +0 −9 spec/truffle/tags/core/string/append_tags.txt
  149. +0 −10 spec/truffle/tags/core/string/ascii_only_tags.txt
  150. +0 −2 spec/truffle/tags/core/string/b_tags.txt
  151. +0 −6 spec/truffle/tags/core/string/bytesize_tags.txt
  152. +0 −4 spec/truffle/tags/core/string/byteslice_tags.txt
  153. +0 −2 spec/truffle/tags/core/string/capitalize_tags.txt
  154. +0 −1 spec/truffle/tags/core/string/case_compare_tags.txt
  155. +0 −13 spec/truffle/tags/core/string/chomp_tags.txt
  156. +0 −6 spec/truffle/tags/core/string/chr_tags.txt
  157. +0 −3 spec/truffle/tags/core/string/clear_tags.txt
  158. +0 −4 spec/truffle/tags/core/string/clone_tags.txt
  159. +0 −3 spec/truffle/tags/core/string/comparison_tags.txt
  160. +0 −2 spec/truffle/tags/core/string/concat_tags.txt
  161. +1 −1 spec/truffle/tags/core/string/count_tags.txt
  162. +0 −2 spec/truffle/tags/core/string/downcase_tags.txt
  163. +0 −11 spec/truffle/tags/core/string/dump_tags.txt
  164. +0 −4 spec/truffle/tags/core/string/dup_tags.txt
  165. +0 −16 spec/truffle/tags/core/string/element_reference_tags.txt
  166. +0 −7 spec/truffle/tags/core/string/encode_tags.txt
  167. +0 −21 spec/truffle/tags/core/string/encoding_tags.txt
  168. +0 −2 spec/truffle/tags/core/string/eql_tags.txt
  169. +0 −1 spec/truffle/tags/core/string/equal_value_tags.txt
  170. +0 −5 spec/truffle/tags/core/string/force_encoding_tags.txt
  171. +0 −2 spec/truffle/tags/core/string/getbyte_tags.txt
  172. +0 −3 spec/truffle/tags/core/string/gsub_tags.txt
  173. +0 −1 spec/truffle/tags/core/struct/eql_tags.txt
  174. +0 −3 spec/truffle/tags/core/time/at_tags.txt
  175. +0 −6 spec/truffle/tags/core/time/comparison_tags.txt
  176. +0 −4 spec/truffle/tags/core/time/eql_tags.txt
  177. +0 −1 spec/truffle/tags/core/time/minus_tags.txt
  178. +0 −2 spec/truffle/tags/core/time/nsec_tags.txt
  179. +0 −1 spec/truffle/tags/core/time/plus_tags.txt
  180. +0 −2 spec/truffle/tags/core/time/subsec_tags.txt
  181. +0 −1 spec/truffle/tags/core/time/to_f_tags.txt
  182. +0 −1 spec/truffle/tags/core/time/to_r_tags.txt
  183. +0 −1 spec/truffle/tags/core/time/wday_tags.txt
  184. +20 −0 spec/truffle/tags/core/unboundmethod/arity_tags.txt
  185. +17 −73 spec/truffle/truffle.mspec
  186. +6 −1 truffle/src/main/java/org/jruby/truffle/nodes/core/ArrayNodes.java
  187. +2 −2 truffle/src/main/java/org/jruby/truffle/nodes/core/StringNodes.java
  188. +29 −0 truffle/src/main/java/org/jruby/truffle/nodes/core/TruffleDebugNodes.java
  189. +4 −2 truffle/src/main/java/org/jruby/truffle/nodes/rubinius/ObjectPrimitiveNodes.java
11 changes: 0 additions & 11 deletions core/src/main/ruby/jruby/truffle/core/shims.rb
Original file line number Diff line number Diff line change
@@ -149,14 +149,3 @@ def extended_modules(object)
end

end

module Rubinius
module Type

def self.infect(host, source)
host
end

end

end
21 changes: 21 additions & 0 deletions lib/ruby/truffle/shims/openssl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. This
# code is released under a tri EPL/GPL/LGPL license. You can use it,
# redistribute it and/or modify it under the terms of the:
#
# Eclipse Public License version 1.0
# GNU General Public License version 2
# GNU Lesser General Public License version 2.1

# This is shimmed specifically for RubySpec's marshal specs

module OpenSSL
module X509
class Name

def to_a
raise "not implemented"
end

end
end
end
1 change: 0 additions & 1 deletion spec/truffle/tags/core/bignum/bit_xor_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/bignum/case_compare_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
fails:Bignum#=== returns true if self has the same value as the given argument
fails:Bignum#=== calls 'other == self' if the given argument is not an Integer
fails:Bignum#=== returns the result of 'other == self' as a boolean
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/bignum/coerce_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
fails:Bignum#coerce coerces other to a Bignum and returns [other, self] when passed a Fixnum
fails:Bignum#coerce returns [other, self] when passed a Bignum
fails:Bignum#coerce raises a TypeError when not passed a Fixnum or Bignum
fails:Bignum#coerce raises a TypeError when passed a Float or String
11 changes: 0 additions & 11 deletions spec/truffle/tags/core/bignum/comparison_tags.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
fails:Bignum#<=> returns 1 when self is Infinity and other is a Bignum
fails:Bignum#<=> returns 1 when self is negative and other is -Infinity
fails:Bignum#<=> returns -1 when self is -Infinity and other is negative
fails:Bignum#<=> with a Float when other is negative returns -1 when self is negative and other is larger
fails:Bignum#<=> with a Float when other is negative returns 0 when other is equal
fails:Bignum#<=> with a Float when other is negative returns 1 when self is negative and other is smaller
fails:Bignum#<=> with a Float when other is negative returns 1 when self is positive
fails:Bignum#<=> with a Float when other is positive returns -1 when self is negative
fails:Bignum#<=> with a Float when other is positive returns -1 when self is positive and other is larger
fails:Bignum#<=> with a Float when other is positive returns 0 when other is equal
fails:Bignum#<=> with a Float when other is positive returns 1 when other is smaller
fails:Bignum#<=> with an Object calls #coerce on other
fails:Bignum#<=> with an Object returns nil if #coerce raises an exception
fails:Bignum#<=> with an Object raises an exception if #coerce raises a non-StandardError exception
1 change: 0 additions & 1 deletion spec/truffle/tags/core/bignum/div_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Bignum#div returns self divided by other
fails:Bignum#div returns a result of integer division of self by a float argument
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/bignum/element_reference_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Bignum#[] returns the nth bit in the binary representation of self
fails:Bignum#[] tries to convert the given argument to an Integer using #to_int
fails:Bignum#[] raises a TypeError when the given argument can't be converted to Integer
1 change: 0 additions & 1 deletion spec/truffle/tags/core/bignum/equal_value_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
fails:Bignum#== returns true if self has the same value as the given argument
fails:Bignum#== calls 'other == self' if the given argument is not an Integer
fails:Bignum#== returns the result of 'other == self' as a boolean
1 change: 0 additions & 1 deletion spec/truffle/tags/core/bignum/magnitude_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/truffle/tags/core/bignum/modulo_tags.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
fails:Bignum#% returns the modulus obtained from dividing self by the given argument
fails:Bignum#modulo returns the modulus obtained from dividing self by the given argument
fails:Bignum#modulo raises a ZeroDivisionError when the given argument is 0
fails:Bignum#modulo raises a ZeroDivisionError when the given argument is 0 and a Float
fails:Bignum#modulo raises a TypeError when given a non-Integer
fails:Bignum#% raises a ZeroDivisionError when the given argument is 0 and a Float
1 change: 0 additions & 1 deletion spec/truffle/tags/core/bignum/multiply_tags.txt

This file was deleted.

4 changes: 0 additions & 4 deletions spec/truffle/tags/core/bignum/odd_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/bignum/to_f_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/bignum/to_s_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
fails:Bignum#to_s when given a base returns self converted to a String using the given base
fails:Bignum#to_s returns a String in US-ASCII encoding when Encoding.default_internal is nil
fails:Bignum#to_s returns a String in US-ASCII encoding when Encoding.default_internal is not nil
1 change: 0 additions & 1 deletion spec/truffle/tags/core/dir/dir_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/encoding/_dump_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/encoding/_load_tags.txt

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
fails:Encoding::Converter.search_convpath returns multiple encoding pairs when direct conversion is impossible
fails:Encoding::Converter.search_convpath sets the last element of each pair to the first element of the next
fails:Encoding::Converter.search_convpath indicates if crlf_newline conversion would occur
fails:Encoding::Converter.search_convpath raises an Encoding::ConverterNotFoundError if no conversion path exists
slow:Encoding::Converter.search_convpath returns an Array
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/encoding/default_external_tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
fails:Encoding.default_external returns an Encoding object
fails:Encoding.default_external returns the default external encoding
fails:Encoding.default_external with command line options is not changed by the -U option
fails:Encoding.default_external with command line options returns the encoding specified by '-E external'
fails:Encoding.default_external with command line options returns the encoding specified by '-E external:'
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/absolute_path_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:File.absolute_path returns the argument if it's an absolute pathname
fails:File.absolute_path resolves paths relative to the current working directory
fails:File.absolute_path does not expand '~' to a home directory.
fails:File.absolute_path does not expand '~user' to a home directory.
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/file/chown_tags.txt
Original file line number Diff line number Diff line change
@@ -2,5 +2,3 @@ fails:File.chown returns the number of files processed
fails:File.chown raises an error for a non existent path
fails:File.chown accepts an object that has a #to_path method
fails:File#chown returns 0
fails:File.chown needs to be reviewed for spec completeness
fails:File#chown needs to be reviewed for spec completeness
4 changes: 0 additions & 4 deletions spec/truffle/tags/core/file/constants_tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
fails:File::Constants matches mode constants
fails:File::Constants the separator constant
fails:File::Constants the open mode constants
fails:File::Constants lock mode constants
fails:File::Constants File::RDONLY
@@ -14,6 +13,3 @@ fails:File::Constants File::LOCK_EX
fails:File::Constants File::LOCK_NB
fails:File::Constants File::LOCK_SH
fails:File::Constants File::LOCK_UN
fails:File::Constants File::SEPARATOR
fails:File::Constants File::Separator
fails:File::Constants File::PATH_SEPARATOR
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/delete_tags.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
fails:File.delete returns 0 when called without arguments
fails:File.delete deletes multiple files
fails:File.delete raises a TypeError if not passed a String type
fails:File.delete raises an Errno::ENOENT when the given file doesn't exist
fails:File.delete coerces a given parameter into a string if possible
fails:File.delete accepts an object that has a #to_path method
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/file/dirname_tags.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
fails:File.dirname returns all the components of filename except the last one
fails:File.dirname returns a String
fails:File.dirname does not modify its argument
fails:File.dirname ignores a trailing /
fails:File.dirname returns the return all the components of filename except the last one (unix format)
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:File.dirname raises a TypeError if not passed a String type
4 changes: 0 additions & 4 deletions spec/truffle/tags/core/file/exist_tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
fails:File.exist? returns true if the file exist
fails:File.exist? returns true if the file exist using the alias exists?
fails:File.exist? raises an ArgumentError if not passed one argument
fails:File.exist? raises a TypeError if not passed a String type
fails:File.exist? accepts an object that has a #to_path method
4 changes: 0 additions & 4 deletions spec/truffle/tags/core/file/exists_tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
fails:File.exists? returns true if the file exist
fails:File.exists? returns true if the file exist using the alias exists?
fails:File.exists? raises an ArgumentError if not passed one argument
fails:File.exists? raises a TypeError if not passed a String type
fails:File.exists? accepts an object that has a #to_path method
11 changes: 0 additions & 11 deletions spec/truffle/tags/core/file/expand_path_tags.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
fails:File.expand_path converts a pathname to an absolute pathname
fails:File.expand_path converts a pathname to an absolute pathname, Ruby-Talk:18512
fails:File.expand_path keeps trailing dots on absolute pathname
fails:File.expand_path converts a pathname to an absolute pathname, using a complete path
fails:File.expand_path converts a pathname to an absolute pathname, using ~ (home) as base
fails:File.expand_path does not return a frozen string
fails:File.expand_path expand path with
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 replaces multiple '/' with a single '/'
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 does not expand ~ENV['USER'] when it's not at the start
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 raises a TypeError if not passed a String type
fails:File.expand_path expands /./dir to /dir
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 the string argument
fails:File.expand_path does not modify a HOME string argument
fails:File.expand_path returns a String when passed a String subclass
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 == ''
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/file/file_tags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
fails:File includes Enumerable
fails:File includes File::Constants
fails:File.file? returns true if the named file exists and is a regular file.
fails:File.file? accepts an object that has a #to_path method
fails:File.file? returns true if the null device exists and is a regular file.
fails:File.file? raises an ArgumentError if not passed one argument
fails:File.file? raises a TypeError if not passed a String type
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/initialize_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
fails:File#initialize needs to be reviewed for spec completeness
fails:File#initialize accepts encoding options in mode parameter
fails:File#initialize accepts encoding options as a hash parameter
6 changes: 0 additions & 6 deletions spec/truffle/tags/core/file/join_tags.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
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 joins parts using File::SEPARATOR if there are no boundary separators
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 returns an empty string when given no arguments
fails:File.join returns a duplicate string when given a single argument
fails:File.join supports any number of arguments
fails:File.join flattens nested arrays
fails:File.join inserts the separator in between empty strings and arrays
fails:File.join handles leading parts edge cases
fails:File.join handles trailing parts edge cases
fails:File.join handles middle parts edge cases
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/lstat_tags.txt
Original file line number Diff line number Diff line change
@@ -3,4 +3,3 @@ fails:File.lstat returns a File::Stat object when called on an instance of File
fails:File.lstat accepts an object that has a #to_path method
fails:File.lstat raises an Errno::ENOENT if the file does not exist
fails:File.lstat returns a File::Stat object with symlink properties for a symlink
fails:File#lstat needs to be reviewed for spec completeness
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/owned_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:File.owned? accepts an object that has a #to_path method
fails:File.owned? returns false if file does not exist
fails:File.owned? returns true if the file exist and is owned by the user
fails:File.owned? returns false when the file is not owned by the user
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/path_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:File#path returns the pathname used to create file as a string
fails:File.path returns the full path for the given file
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/pipe_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:File.pipe? accepts an object that has a #to_path method
fails:File.pipe? returns false if file does not exist
fails:File.pipe? returns false if the file is not a pipe
fails:File.pipe? returns true if the file is a pipe
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/file/size_tags.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
fails:File.size? returns the size of the file if it exists and is not empty
fails:File.size? accepts a String-like (to_str) parameter
fails:File.size? accepts an object that has a #to_path method
fails:File.size? calls #to_io to convert the argument to an IO
fails:File.size? returns nil if file_name doesn't exist or has 0 size
fails:File.size? returns nil if file_name is empty
fails:File.size? accepts a File argument
fails:File.size returns the size of the file if it exists and is not empty
fails:File.size accepts a String-like (to_str) parameter
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/stat/file_tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
fails:File::Stat#file? returns true if the named file exists and is a regular file.
fails:File::Stat#file? accepts an object that has a #to_path method
fails:File::Stat#file? returns true if the null device exists and is a regular file.
fails:File::Stat#file? raises an ArgumentError if not passed one argument
fails:File::Stat#file? raises a TypeError if not passed a String type
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/stat/owned_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
fails:File::Stat#owned? accepts an object that has a #to_path method
fails:File::Stat#owned? returns true if the file is owned by the user
fails:File::Stat#owned? returns false if the file is not owned by the user
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/stat/pipe_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
fails:File::Stat#pipe? accepts an object that has a #to_path method
fails:File::Stat#pipe? returns false if the file is not a pipe
fails:File::Stat#pipe? returns true if the file is a pipe
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/stat/setgid_tags.txt

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/file/stat/size_tags.txt
Original file line number Diff line number Diff line change
@@ -6,5 +6,3 @@ fails:File::Stat.size returns the size of the file if it exists and is not empty
fails:File::Stat.size accepts a String-like (to_str) parameter
fails:File::Stat.size accepts an object that has a #to_path method
fails:File::Stat.size returns 0 if the file is empty
fails:File::Stat#size needs to be reviewed for spec completeness
fails:File::Stat#size? needs to be reviewed for spec completeness
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/file/stat/socket_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/file/stat/sticky_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/stat/world_readable_tags.txt
Original file line number Diff line number Diff line change
@@ -4,4 +4,3 @@ fails:File::Stat.world_readable? returns nil if the file is chmod 700
fails:File::Stat.world_readable? returns a Fixnum if the file is chmod 644
fails:File::Stat.world_readable? returns a Fixnum if the file is a directory and chmod 644
fails:File::Stat.world_readable? coerces the argument with #to_path
fails:File::Stat#world_readable? needs to be reviewed for spec completeness
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/stat/world_writable_tags.txt
Original file line number Diff line number Diff line change
@@ -4,4 +4,3 @@ fails:File::Stat.world_writable? returns nil if the file is chmod 700
fails:File::Stat.world_writable? returns a Fixnum if the file is chmod 777
fails:File::Stat.world_writable? returns a Fixnum if the file is a directory and chmod 777
fails:File::Stat.world_writable? coerces the argument with #to_path
fails:File::Stat#world_writable? needs to be reviewed for spec completeness
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/sticky_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:File.sticky? accepts an object that has a #to_path method
fails:File.sticky? returns false if the file dies not exist
fails:File.sticky? returns false if file does not exist
fails:File.sticky? returns false if the file has not sticky bit set
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/unlink_tags.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
fails:File.unlink returns 0 when called without arguments
fails:File.unlink deletes multiple files
fails:File.unlink raises a TypeError if not passed a String type
fails:File.unlink raises an Errno::ENOENT when the given file doesn't exist
fails:File.unlink coerces a given parameter into a string if possible
fails:File.unlink accepts an object that has a #to_path method
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/filetest/file_tags.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
fails:File.file? returns true if the named file exists and is a regular file.
fails:File.file? accepts an object that has a #to_path method
fails:File.file? returns true if the null device exists and is a regular file.
fails:File.file? raises an ArgumentError if not passed one argument
fails:File.file? raises a TypeError if not passed a String type
fails:FileTest.file? needs to be reviewed for spec completeness
1 change: 0 additions & 1 deletion spec/truffle/tags/core/filetest/owned_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:FileTest.owned? accepts an object that has a #to_path method
fails:FileTest.owned? needs to be reviewed for spec completeness
1 change: 0 additions & 1 deletion spec/truffle/tags/core/filetest/pipe_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:FileTest.pipe? accepts an object that has a #to_path method
fails:FileTest.pipe? needs to be reviewed for spec completeness
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.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/filetest/socket_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:FileTest.socket? accepts an object that has a #to_path method
fails:FileTest.socket? needs to be reviewed for spec completeness
1 change: 0 additions & 1 deletion spec/truffle/tags/core/filetest/symlink_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
fails:FileTest.symlink? returns true if the file is a link
fails:FileTest.symlink? accepts an object that has a #to_path method
fails:FileTest.symlink? returns false if the file does not exist
1 change: 0 additions & 1 deletion spec/truffle/tags/core/filetest/world_readable_tags.txt

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/float/case_compare_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/float/equal_value_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/hash/allocate_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/hash/clear_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:Hash#clear removes all key, value pairs
fails:Hash#clear does not remove default values
fails:Hash#clear does not remove default procs
fails:Hash#clear raises a RuntimeError if called on a frozen instance
1 change: 0 additions & 1 deletion spec/truffle/tags/core/hash/constructor_tags.txt
Original file line number Diff line number Diff line change
@@ -12,7 +12,6 @@ fails:Hash.[] returns instances of subclasses
fails:Hash.[] returns an instance of the class it's called on
fails:Hash.[] does not call #initialize on the subclass instance
fails:Hash.[] removes the default_proc
fails:Hash.[] passed zero arguments returns an empty hash
fails:Hash.[] passed an array treats elements that are 2 element arrays as key and value
fails:Hash.[] passed an array treats elements that are 1 element arrays as keys with value nil
fails:Hash.[] passed a single argument which responds to #to_hash coerces it and returns a copy
Loading