backports 3.3.2 → 3.3.3

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.
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- backports (3.3.2)
10
+ backports (3.3.3)
11
11
 
12
12
  GEM
13
13
  remote: http://rubygems.org/
@@ -12,7 +12,7 @@
12
12
  # (they will only be undefined whenever a subclass of BasicObject is created)
13
13
  # Because of all the fineprint, BasicObject must be required explicitely
14
14
 
15
- unless Kernel.const_defined? :BasicObject
15
+ unless Object.const_defined? :BasicObject
16
16
 
17
17
  class BasicObject
18
18
  KEEP = %w[== equal? ! != instance_eval instance_exec __send__]
@@ -1,3 +1,3 @@
1
1
  module Backports
2
- VERSION = "3.3.2" unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
2
+ VERSION = "3.3.3" unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
3
3
  end
@@ -0,0 +1,2 @@
1
+ fails:Array#keep_if on frozen objects with truthy block raises a RuntimeError
2
+ fails:Array#keep_if on frozen objects with falsy block raises a RuntimeError
@@ -0,0 +1,2 @@
1
+ fails:Array#select! on frozen objects with truthy block raises a RuntimeError
2
+ fails:Array#select! on frozen objects with falsy block raises a RuntimeError
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.3.2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 13
5
5
  prerelease:
6
+ segments:
7
+ - 3
8
+ - 3
9
+ - 3
10
+ version: 3.3.3
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-06-13 00:00:00.000000000 Z
17
+
18
+ date: 2013-06-30 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
@@ -464,7 +473,9 @@ files:
464
473
  - tags/1.8.6/core/symbol/match_spec.rb
465
474
  - tags/1.8.6/core/symbol/swapcase_spec.rb
466
475
  - tags/1.8.6/core/symbol/upcase_spec.rb
476
+ - tags/1.8.7/core/array/keep_if_spec.rb
467
477
  - tags/1.8.7/core/array/rotate_spec.rb
478
+ - tags/1.8.7/core/array/select_spec.rb
468
479
  - tags/1.8.7/core/array/uniq_spec.rb
469
480
  - tags/1.8.7/core/complex/to_r_spec.rb
470
481
  - tags/1.8.7/core/env/to_h_spec.rb
@@ -513,32 +524,40 @@ files:
513
524
  - test/test_helper.rb
514
525
  homepage: http://github.com/marcandre/backports
515
526
  licenses: []
527
+
516
528
  post_install_message:
517
529
  rdoc_options: []
518
- require_paths:
530
+
531
+ require_paths:
519
532
  - lib
520
- required_ruby_version: !ruby/object:Gem::Requirement
533
+ required_ruby_version: !ruby/object:Gem::Requirement
521
534
  none: false
522
- requirements:
523
- - - ! '>='
524
- - !ruby/object:Gem::Version
525
- version: '0'
526
- required_rubygems_version: !ruby/object:Gem::Requirement
535
+ requirements:
536
+ - - ">="
537
+ - !ruby/object:Gem::Version
538
+ hash: 3
539
+ segments:
540
+ - 0
541
+ version: "0"
542
+ required_rubygems_version: !ruby/object:Gem::Requirement
527
543
  none: false
528
- requirements:
529
- - - ! '>='
530
- - !ruby/object:Gem::Version
531
- version: '0'
544
+ requirements:
545
+ - - ">="
546
+ - !ruby/object:Gem::Version
547
+ hash: 3
548
+ segments:
549
+ - 0
550
+ version: "0"
532
551
  requirements: []
552
+
533
553
  rubyforge_project:
534
554
  rubygems_version: 1.8.25
535
555
  signing_key:
536
556
  specification_version: 3
537
557
  summary: Backports of Ruby features for older Ruby.
538
- test_files:
558
+ test_files:
539
559
  - test/README
540
560
  - test/_backport_guards_test.rb
541
561
  - test/lazy_test.rb
542
562
  - test/socket_interaction_test.rb
543
563
  - test/test_helper.rb
544
- has_rdoc: