backports 1.6.4 → 1.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,9 @@
1
1
  = Packable --- History
2
2
 
3
+ == Version 1.6.6 - April 30, 2009
4
+
5
+ Important bug fix. String#gsub is left alone until I find a good way to modify it.
6
+
3
7
  == Version 1.6 - April 29, 2009
4
8
 
5
9
  Completed backport to 1.8.7.
@@ -52,6 +52,7 @@ Complete Ruby 1.8.7 backporting. Refer to the official list of changes[http://sv
52
52
  * UnboundMethod
53
53
 
54
54
  Only exceptions:
55
+ * String#gsub
55
56
  * GC.stress=
56
57
  * Process.exec
57
58
  * recursive data handling (Array and Hash)
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 6
4
- :patch: 4
4
+ :patch: 6
@@ -3,8 +3,6 @@ class Symbol
3
3
  def to_proc
4
4
  Proc.new { |*args| args.shift.__send__(self, *args) }
5
5
  end unless :to_proc.respond_to?(:to_proc)
6
-
7
- include Enumerable
8
6
 
9
7
  [ [%w(<=> casecmp), {:before => "return nil unless args.first.is_a? Symbol" }],
10
8
  [%w(capitalize downcase next succ swapcase upcase), {:after => ".to_s"}],
@@ -17,4 +15,6 @@ class Symbol
17
15
  end unless method_defined? :#{method}
18
16
  end_eval
19
17
  end }
18
+
19
+ include Comparable unless ancestors.include? Comparable
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backports
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marc-Andr\xC3\xA9 Lafortune"