backports 3.2.0 → 3.3.0

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.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = Backports --- History
2
2
 
3
+ == Version 3.2.0 - April 3rd, 2013
4
+
5
+ * Moved `Proc#yield` & `Hash#key` from 1.8.7 to 1.9.1
6
+
3
7
  == Version 3.2.0 - April 2nd, 2013
4
8
 
5
9
  * Moved `Dir.mktmpdir` to the stdlib 'tmpdir' for Ruby 1.8.7
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- backports (3.2.0)
10
+ backports (3.3.0)
11
11
 
12
12
  GEM
13
13
  remote: http://rubygems.org/
data/README.rdoc CHANGED
@@ -109,6 +109,7 @@ Additionally, the following Ruby 1.9 features have been backported:
109
109
 
110
110
  * Hash
111
111
  * +assoc+, +rassoc+
112
+ * +key+
112
113
  * +try_convert+
113
114
  * <tt>default_proc=</tt>
114
115
 
data/Rakefile CHANGED
@@ -60,7 +60,7 @@ DEPENDENCIES = Hash.new([]).merge!(
60
60
  '1.8.7/enumerable/entries' => ['backports/1.8.7/enumerable/each_with_index', 'backports/1.8.7/enumerable/to_a'],
61
61
  '1.8.7/enumerator/rewind' => 'backports/1.8.7/enumerator/next',
62
62
  '1.8.7/hash/reject' => 'backports/1.8.7/integer/even',
63
- '1.9.1/hash/rassoc' => 'backports/1.8.7/hash/key',
63
+ '1.9.1/hash/rassoc' => 'backports/1.9.1/hash/key',
64
64
  '1.9.1/proc/lambda' => 'backports/1.9.1/proc/curry',
65
65
  '1.9.2/complex/to_r' => 'complex',
66
66
  '1.9.2/array/select' => 'backports/1.8.7/array/select',
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module Backports
2
- VERSION = "3.2.0" unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
2
+ VERSION = "3.3.0" unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
3
3
  end
@@ -0,0 +1,4 @@
1
+ fails:Proc#yield on a Proc created with Kernel#lambda or Kernel#proc ignores excess arguments when self is a proc
2
+ fails:Proc#yield on a Proc created with Kernel#lambda or Kernel#proc substitutes nil for missing arguments when self is a proc
3
+ fails:Proc#yield on a Proc created with Kernel#lambda or Kernel#proc raises an ArgumentError on excess arguments when self is a lambda
4
+ fails:Proc#yield on a Proc created with Kernel#lambda or Kernel#proc raises an ArgumentError on missing arguments when self is a lambda
metadata CHANGED
@@ -1,24 +1,33 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: backports
3
- version: !ruby/object:Gem::Version
4
- version: 3.2.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 11
5
5
  prerelease:
6
+ segments:
7
+ - 3
8
+ - 3
9
+ - 0
10
+ version: 3.3.0
6
11
  platform: ruby
7
- authors:
8
- - Marc-André Lafortune
12
+ authors:
13
+ - "Marc-Andr\xC3\xA9 Lafortune"
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-04-03 00:00:00.000000000 Z
17
+
18
+ date: 2013-04-03 00:00:00 Z
13
19
  dependencies: []
14
- description: Essential backports that enable many of the nice features of Ruby 1.8.7
15
- up to 2.0.0 for earlier versions.
16
- email:
20
+
21
+ description: Essential backports that enable many of the nice features of Ruby 1.8.7 up to 2.0.0 for earlier versions.
22
+ email:
17
23
  - github@marc-andre.ca
18
24
  executables: []
25
+
19
26
  extensions: []
27
+
20
28
  extra_rdoc_files: []
21
- files:
29
+
30
+ files:
22
31
  - .document
23
32
  - .gitignore
24
33
  - .gitmodules
@@ -129,7 +138,6 @@ files:
129
138
  - lib/backports/1.8.7/hash/each_value.rb
130
139
  - lib/backports/1.8.7/hash/eql.rb
131
140
  - lib/backports/1.8.7/hash/hash.rb
132
- - lib/backports/1.8.7/hash/key.rb
133
141
  - lib/backports/1.8.7/hash/reject.rb
134
142
  - lib/backports/1.8.7/hash/select.rb
135
143
  - lib/backports/1.8.7/integer.rb
@@ -164,8 +172,6 @@ files:
164
172
  - lib/backports/1.8.7/numeric/step.rb
165
173
  - lib/backports/1.8.7/object_space.rb
166
174
  - lib/backports/1.8.7/object_space/each_object.rb
167
- - lib/backports/1.8.7/proc.rb
168
- - lib/backports/1.8.7/proc/yield.rb
169
175
  - lib/backports/1.8.7/process.rb
170
176
  - lib/backports/1.8.7/process/exec.rb
171
177
  - lib/backports/1.8.7/range.rb
@@ -264,6 +270,7 @@ files:
264
270
  - lib/backports/1.9.1/hash.rb
265
271
  - lib/backports/1.9.1/hash/assoc.rb
266
272
  - lib/backports/1.9.1/hash/default_proc.rb
273
+ - lib/backports/1.9.1/hash/key.rb
267
274
  - lib/backports/1.9.1/hash/rassoc.rb
268
275
  - lib/backports/1.9.1/hash/try_convert.rb
269
276
  - lib/backports/1.9.1/integer.rb
@@ -289,6 +296,7 @@ files:
289
296
  - lib/backports/1.9.1/proc/case_compare.rb
290
297
  - lib/backports/1.9.1/proc/curry.rb
291
298
  - lib/backports/1.9.1/proc/lambda.rb
299
+ - lib/backports/1.9.1/proc/yield.rb
292
300
  - lib/backports/1.9.1/range.rb
293
301
  - lib/backports/1.9.1/range/cover.rb
294
302
  - lib/backports/1.9.1/regexp.rb
@@ -490,6 +498,7 @@ files:
490
498
  - tags/1.8.7/core/math/log2_spec.rb
491
499
  - tags/1.8.7/core/math/log_spec.rb
492
500
  - tags/1.8.7/core/proc/curry_spec.rb
501
+ - tags/1.8.7/core/proc/yield_spec.rb
493
502
  - tags/1.8.7/core/string/getbyte_spec.rb
494
503
  - tags/1.8.7/core/string/prepend_spec.rb
495
504
  - tags/1.8.7/core/string/setbyte_spec.rb
@@ -513,35 +522,38 @@ files:
513
522
  - test/test_helper.rb
514
523
  homepage: http://github.com/marcandre/backports
515
524
  licenses: []
525
+
516
526
  post_install_message:
517
527
  rdoc_options: []
518
- require_paths:
528
+
529
+ require_paths:
519
530
  - lib
520
- required_ruby_version: !ruby/object:Gem::Requirement
531
+ required_ruby_version: !ruby/object:Gem::Requirement
521
532
  none: false
522
- requirements:
523
- - - '>='
524
- - !ruby/object:Gem::Version
525
- version: '0'
526
- segments:
533
+ requirements:
534
+ - - ">="
535
+ - !ruby/object:Gem::Version
536
+ hash: 3
537
+ segments:
527
538
  - 0
528
- hash: -2299400734931840914
529
- required_rubygems_version: !ruby/object:Gem::Requirement
539
+ version: "0"
540
+ required_rubygems_version: !ruby/object:Gem::Requirement
530
541
  none: false
531
- requirements:
532
- - - '>='
533
- - !ruby/object:Gem::Version
534
- version: '0'
535
- segments:
542
+ requirements:
543
+ - - ">="
544
+ - !ruby/object:Gem::Version
545
+ hash: 3
546
+ segments:
536
547
  - 0
537
- hash: -2299400734931840914
548
+ version: "0"
538
549
  requirements: []
550
+
539
551
  rubyforge_project:
540
552
  rubygems_version: 1.8.25
541
553
  signing_key:
542
554
  specification_version: 3
543
555
  summary: Backports of Ruby features for older Ruby.
544
- test_files:
556
+ test_files:
545
557
  - test/README
546
558
  - test/_backport_guards_test.rb
547
559
  - test/lazy_test.rb
@@ -1,3 +0,0 @@
1
- require 'backports/tools'
2
-
3
- Backports.require_relative_dir