backports 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +8 -0
- data/README.rdoc +6 -1
- data/VERSION.yml +3 -3
- data/backports.gemspec +2 -2
- data/lib/backports/1.8.7/kernel.rb +1 -1
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
= Packable --- History
|
2
2
|
|
3
|
+
== Version 2.0.0 - December 5th, 2010
|
4
|
+
|
5
|
+
Change of major version because of two small changes that are not quite compatible and because the minor version was getting quite high!
|
6
|
+
|
7
|
+
* Remove attempt at faking the new method missing. Unless you used `respond_to_missing` *and* `method(:some_method_handled_with_method_missing)`, you won't see a difference, except better performance (see issue #32) and this fixes some errors (see issue #34)
|
8
|
+
|
9
|
+
* Change behavior of array.flatten(0) to match Ruby 1.9 (i.e. return a dup of array, instead of array itself)
|
10
|
+
|
3
11
|
== Version 1.18.0 - June 19th, 2010
|
4
12
|
|
5
13
|
* Added some features of 1.9.1:
|
data/README.rdoc
CHANGED
@@ -133,7 +133,6 @@ Finally, most of Ruby 1.9.2 features have been backported:
|
|
133
133
|
* +keep_if+, <tt>select!</tt>
|
134
134
|
|
135
135
|
* Object
|
136
|
-
* <tt>respond_to_missing?</tt>
|
137
136
|
* <tt>singleton_class</tt>
|
138
137
|
|
139
138
|
* Random (new class)
|
@@ -180,6 +179,12 @@ Thanks for the bug reports and patches, in particular the repeat offenders:
|
|
180
179
|
* Arto Bendiken ( bendiken[http://github.com/bendiken] )
|
181
180
|
* Roger Pack ( rdp[http://github.com/rdp] )
|
182
181
|
|
182
|
+
The best way to submit a patch is to also submit a patch to RubySpec[https://github.com/rubyspec/rubyspec] and then a patch to backports that make it pass the spec. To test rubyspec along with backports, one way to test this is:
|
183
|
+
|
184
|
+
mspec path/to/specs -t path/to/ruby186 --unguarded -r path/to/backports
|
185
|
+
|
186
|
+
You must then check manually for which failures are acceptable and which are not.
|
187
|
+
|
183
188
|
= License
|
184
189
|
|
185
190
|
+backports+ is released under the terms of the MIT License, see the included LICENSE file.
|
data/VERSION.yml
CHANGED
data/backports.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{backports}
|
8
|
-
s.version = "2.0.
|
8
|
+
s.version = "2.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Marc-Andr\303\251 Lafortune"]
|
12
|
-
s.date = %q{2011-03-
|
12
|
+
s.date = %q{2011-03-05}
|
13
13
|
s.description = %q{ Essential backports that enable some of the really nice features of ruby 1.8.7, ruby 1.9 and rails from ruby 1.8.6 and earlier.
|
14
14
|
}
|
15
15
|
s.email = %q{github@marc-andre.ca}
|
@@ -11,7 +11,7 @@ module Kernel
|
|
11
11
|
self
|
12
12
|
end.send(:define_method, :"temporary method for instance_exec", &block)
|
13
13
|
send(:"temporary method for instance_exec", *arg)
|
14
|
-
end unless method_defined?
|
14
|
+
end unless Object.method_defined?(:instance_exec)
|
15
15
|
|
16
16
|
# Standard in ruby 1.8.7. See official documentation[http://ruby-doc.org/core-1.9/classes/Object.html]
|
17
17
|
def tap
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Marc-Andr\xC3\xA9 Lafortune"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-05 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|