Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.4
-
Component/s: Ruby 1.9.2
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
Fix several specs for ruby 1.9 mode:
Subject: [PATCH] [1.9] Array#frozen? returns false for an array being sorted by #sort!
Subject: [PATCH] [1.9] Array.collect returns an Enumerator when no block given
Subject: [PATCH] [1.9] Array#choice should raise a NoMethodError when array is empty
Subject: [PATCH] [1.9] Array keeps untrusted status even if all elements are removed
Subject: [PATCH] [1.9] Array.concat raises a RuntimeError when Array is frozen and modification occurs
Subject: [PATCH] [1.9] Array.flatten! raises a RuntimeError on frozen arrays
Subject: [PATCH] [1.9] Array.push raises a RuntimeError on a frozen array
Subject: [PATCH] [1.9] Array.unshift raises a RuntimeError on a frozen array
Subject: [PATCH] [1.9] Array.uniq! raises a RuntimeError on a frozen array
Subject: [PATCH] [1.9] Array.map returns an Enumerator when no block given
Subject: [PATCH] [1.9] Array#insert raises a RuntimeError on frozen arrays
Subject: [PATCH] [1.9] Array#join raises an ArgumentError when the Array is recursive
Subject: [PATCH] [1.9] Array#join returns a string which would be infected with untrustworthiness of the array, its elements or the separator when the array is not empty
I forgot to add a commit, fixed