OlderDiff < 20110116T223920Z < ThisDiff > 20110117T223753Z > NewerDiff
OLDREV 30561
NEWREV 30589
CHG ChangeLog 30560->30589
CHG array.c 30511->30583
CHG debug.h 29477->30582
CHG gem_prelude.rb 30549->30580
CHG ruby.c 30549->30580
CHG time.c 29952->30586
CHG version.h 30561->30585
CHG ext/psych/parser.c 27882->30588
CHG ext/psych/lib/psych/parser.rb 27112->30588
CHG ext/psych/lib/psych/visitors/json_tree.rb 27961->30587
CHG lib/rubygems/source_index.rb 28938->30589
CHG test/psych/test_json_tree.rb 27095->30587
CHG test/psych/test_parser.rb 27882->30588
COMMIT Add spec for Hash.each[_pair] yielding to |k,| args.
COMMIT Add specs for Proc#parameters with both styles of anonymous restarg.
COMMIT Add spec for alias called against a Fixnum or Symbol object being instance_eval'ed.
COMMIT Spec for frozen-check before coercion in Array#[]=
COMMIT Add specs for taint/untrust propagation to Array#inspect result.
COMMIT Add specs for "too big" product attempts with and without block.
COMMIT Spec for Array#repeated_combination with n greater than array size.
COMMIT Array#repeated_combination generates from a defensive copy, ignoring mutations.
COMMIT Array#repeated_permutations allows sizes larger than the source array.
COMMIT Array#repeated_permutation generates from a defensive copy, ignoring mutations.
COMMIT Array#permutation generates from a defensive copy, ignoring mutations.
COMMIT Array#combination generates from a defensive copy, ignoring mutations.
COMMIT Array#rindex enumerator cases: basic and early truncation.
COMMIT Array#sort{} uses the sign of Bignum block results as compare result.
COMMIT a do...end inside an dynamic string should parse (background from JRUBY-5359)
COMMIT Don't use should_not raise_error unless a pure side effect has no other testable state.
COMMIT Reduce this spec to be a bit simpler
COMMIT Defer interpolation until spec is run
===================================================================
+++ 20110117T223753Z
@@ 3293 @@
GC::Profiler.report -1
GC::Profiler.result 0
GC::Profiler.total_time 0
+Gem []
Hash [Enumerable, Object, Kernel, BasicObject]
Hash.[] -1
Hash.try_convert 1
@@ 4311 @@
UnboundMethod#to_s 0
ZeroDivisionError [StandardError, Exception, Object, Kernel, BasicObject]
fatal [Exception, Object, Kernel, BasicObject]
+236 modules, 1576 methods
== make # <time>
+ make
CC = gcc
@@ 7593 @@
Psych::TestParser#test_sequence_start_anchor = <elapsed> s = .
Psych::TestParser#test_literal_scalar = <elapsed> s = .
Psych::TestParser#test_external_encoding = <elapsed> s = .
+Psych::TestParser#test_index_numbers = <elapsed> s = .
Psych::TestParser#test_bogus_io = <elapsed> s = .
Psych::TestParser#test_start_stream = <elapsed> s = .
Psych::TestParser#test_sequence_start_block = <elapsed> s = .
+Psych::TestParser#test_column_numbers = <elapsed> s = .
Psych::TestParser#test_end_document_implicit = <elapsed> s = .
Psych::TestParser#test_end_document_explicit = <elapsed> s = .
Psych::TestParser#test_sequence_start_flow = <elapsed> s = .
@@ 7605 @@
Psych::TestParser#test_mapping_start = <elapsed> s = .
Psych::TestParser#test_bom = <elapsed> s = .
Psych::TestParser#test_mapping_end = <elapsed> s = .
+Psych::TestParser#test_line_numbers = <elapsed> s = .
Psych::TestParser#test_mapping_tag = <elapsed> s = .
Psych::TestParser#test_alias = <elapsed> s = .
Psych::TestParser#test_parse_io = <elapsed> s = .
@@ 12503 @@
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/ruby/lib/rubygems/specification.rb:706:in `to_yaml': YAML.quick_emit is deprecated
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/ruby/lib/rubygems/specification.rb:706:in `to_yaml': YAML.quick_emit is deprecated
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/ruby/lib/rubygems/specification.rb:706:in `to_yaml': YAML.quick_emit is deprecated
+<elapsed> s = F
TestGemSourceIndex#test_remove_extra_no_changes = /home/chkbuild/tmp/build/ruby-trunk/<buildtime>/ruby/lib/rubygems/specification.rb:706:in `to_yaml': YAML.quick_emit is deprecated
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/ruby/lib/rubygems/specification.rb:706:in `to_yaml': YAML.quick_emit is deprecated
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/ruby/lib/rubygems/specification.rb:706:in `to_yaml': YAML.quick_emit is deprecated
@@ 18730 @@
Finished tests in <n>s, <n> tests/s, <n> assertions/s.
+ <n>) Failure:
+test_self_load_specification_utf_8(TestGemSourceIndex) [/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/ruby/test/rubygems/test_gem_source_index.rb:105]:
+Expected "[cf80]", not "\xCF\x80".
+9102 tests, <num> assertions, 1 failures, 0 errors, 0 skips
+make: *** [yes-test-all] [e382a8e383a9e383bc] 1
+exit 2
+failed(test-all)
== rubyspec # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/ruby.1.9.mspec -t /home/chkbuild/tmp/build/ruby-trunk/<buildtime>/bin/ruby rubyspec/command_line rubyspec/core rubyspec/language rubyspec/library rubyspec/optional/capi
ruby <version>
@@ 19099 @@
- yields a copy of self if the argument is the size of the receiver
- yields [] when length is 0
- yields a partition consisting of only singletons
+- generates from a defensive copy, ignoring mutations
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/core/array/compact_spec.rb
Array#compact
@@ 19312 @@
- replaces the section defined by range with the given values
- just sets the section defined by range to other even if other is nil
- calls to_int on its start and length arguments
+- checks frozen before attempting to coerce arguments
- sets elements in the range arguments when passed ranges
- inserts the given elements with [range] which the range is zero-width
- inserts the given elements with [start, length] which length is zero
@@ 19600 @@
- returns a string
- calls inspect on its elements
- handles recursive arrays
+- propagates taint from itself or elements
+- propagates untrust from itself or elements
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/core/array/intersection_spec.rb
Array#&
@@ 21501 @@
- handles nested Arrays correctly
- truncates Float arguments
- returns an Enumerator which works as expected even when the array was modified
+- generates from a defensive copy, ignoring mutations
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/core/array/plus_spec.rb
Array#+
@@ 21547 @@
- returns the expected result
- has no required argument
- returns an empty array when the argument is an empty array
+- does not attempt to produce an unreasonable number of products
Array#product when given a block
- yields all combinations in turn
+- will ignore unreasonable numbers of products and yield anyway
Array#product when given an empty block
- returns self
@@ 21597 @@
- yields [] when length is 0
- yields nothing when the array is empty and num is non zero
- yields a partition consisting of only singletons
+- accepts sizes larger than the original array
+- generates from a defensive copy, ignoring mutations
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/core/array/repeated_permutation_spec.rb
Array#repeated_permutation
@@ 21609 @@
- handles duplicate elements correctly
- truncates Float arguments
- returns an Enumerator which works as expected even when the array was modified
+- allows permutations larger than the number of elements
+- generates from a defensive copy, ignoring mutations
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/core/array/replace_spec.rb
Array#replace
@@ 21652 @@
- accepts a block instead of an argument
- ignore the block if there is an argument
+Array#rindex given no argument and no block
+- produces an Enumerator
+- raises StopIteration if the array is truncated before completion
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/core/array/rotate_spec.rb
Array#rotate
@@ 21823 @@
- completes when supplied a block that always returns the same result
- does not freezes self during being sorted
- returns the specified value when it would break in the given block
+- uses the sign of Bignum block results as the sort result
- compares values returned by block with 0
- raises an error if objects can't be compared
- handles a large array that has been pruned
@@ 26307 @@
Hash#each_pair
- yields a [[key, value]] Array for each pair to a block expecting |*args|
- yields the key and value of each pair to a block expecting |key, value|
+- yields the key only to a block expecting |key,|
- uses the same order as keys() and values()
- returns an Enumerator if called on a non-empty hash without a block
- returns an Enumerator if called on an empty hash without a block
@@ 26316 @@
Hash#each
- yields a [[key, value]] Array for each pair to a block expecting |*args|
- yields the key and value of each pair to a block expecting |key, value|
+- yields the key only to a block expecting |key,|
- uses the same order as keys() and values()
- returns an Enumerator if called on a non-empty hash without a block
- returns an Enumerator if called on an empty hash without a block
@@ 31756 @@
- sets the first element of each sub-Array to :rest for parameters prefixed with asterisks
- sets the first element of each sub-Array to :block for parameters prefixed with ampersands
- sets the second element of each sub-Array to the name of the argument
+- ignores unnamed rest args
+- adds nameless rest arg for "star" argument
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/core/proc/source_location_spec.rb
Proc#source_location
@@ 36482 @@
- operates on methods with splat arguments on eigenclasses
- operates on methods with splat arguments defined in a superclass
- operates on methods with splat arguments defined in a superclass using text block for class eval
+- is not allowed against Fixnum or String instances
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/language/and_spec.rb
The '&&' statement
@@ 37697 @@
Processing RUBYOPT
- adds the -I path to $LOAD_PATH
+- sets $DEBUG to true for '-d'Exception `LoadError' at /home/chkbuild/tmp/build/ruby-trunk/<buildtime>/lib/ruby/1.9.1/rubygems.rb:1088 - cannot load such file -- rubygems/defaults/operating_system
+Exception `LoadError' at /home/chkbuild/tmp/build/ruby-trunk/<buildtime>/lib/ruby/1.9.1/rubygems.rb:1097 - cannot load such file -- rubygems/defaults/ruby
- prints the version number for '-v'
- sets $VERBOSE to true for '-w'
@@ 38091 @@
- call #to_s when the object is not a String
- call #to_s as a private method
- uses an internal representation when #to_s doesn't return a String
+- allow a dynamic string to parse a nested do...end block as an argument to a call without parens, interpolated
- are produced from character shortcuts
- are produced from control character shortcuts
@@ 48661 @@
<n>)
UNIXSocket#recv_io takes an optional mode to use ERROR
+NoMethodError: undefined method `mode' for #<File:fd 20>
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/library/socket/unixsocket/recv_io_spec.rb:48:in `block (3 levels) in <top (required)>'
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/library/socket/unixsocket/recv_io_spec.rb:4:in `<top (required)>'
Finished in <t> seconds
+3328 files, 17026 examples, <num> expectations, 11 failures, 3 errors
exit 1
failed(rubyspec)
== dist # <time>
===================================================================
--- 20110116T223920Z
@@ 4310 @@
UnboundMethod#to_s 0
ZeroDivisionError [StandardError, Exception, Object, Kernel, BasicObject]
fatal [Exception, Object, Kernel, BasicObject]
-235 modules, 1576 methods
== make # <time>
+ make
CC = gcc
@@ 18726 @@
Finished tests in <n>s, <n> tests/s, <n> assertions/s.
-9099 tests, <num> assertions, 0 failures, 0 errors, 0 skips
== rubyspec # <time>
+ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/ruby.1.9.mspec -t /home/chkbuild/tmp/build/ruby-trunk/<buildtime>/bin/ruby rubyspec/command_line rubyspec/core rubyspec/language rubyspec/library rubyspec/optional/capi
ruby <version>
@@ 37665 @@
Processing RUBYOPT
- adds the -I path to $LOAD_PATH
-- sets $DEBUG to true for '-d'
- prints the version number for '-v'
- sets $VERBOSE to true for '-w'
- sets $VERBOSE to true for '-W'
@@ 48626 @@
<n>)
UNIXSocket#recv_io takes an optional mode to use ERROR
-NoMethodError: undefined method `mode' for #<File:fd 17>
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/library/socket/unixsocket/recv_io_spec.rb:48:in `block (3 levels) in <top (required)>'
/home/chkbuild/tmp/build/ruby-trunk/<buildtime>/rubyspec/library/socket/unixsocket/recv_io_spec.rb:4:in `<top (required)>'
Finished in <t> seconds
-3328 files, 17006 examples, <num> expectations, 11 failures, 3 errors
exit 1
failed(rubyspec)
== dist # <time>
OlderDiff < 20110116T223920Z < ThisDiff > 20110117T223753Z > NewerDiff