backports 3.6.1 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -11,6 +11,7 @@ group :test do
11
11
  gem 'mspec', :git => 'git://github.com/rubyspec/mspec.git'
12
12
  gem 'activesupport'
13
13
  gem 'minitest', '< 5.0.0', :require => false
14
+ gem 'test-unit'
14
15
  end
15
16
 
16
17
  # Declare any dependencies that are still in development here instead of in
@@ -19,6 +19,7 @@ GEM
19
19
  minitest (4.7.5)
20
20
  multi_json (1.7.2)
21
21
  rake (10.1.0)
22
+ test-unit (2.1.1.0)
22
23
 
23
24
  PLATFORMS
24
25
  java
@@ -30,3 +31,4 @@ DEPENDENCIES
30
31
  minitest (< 5.0.0)
31
32
  mspec!
32
33
  rake
34
+ test-unit
@@ -19,7 +19,7 @@ module Backports
19
19
 
20
20
  def srand(new_seed = 0)
21
21
  new_seed = Backports.coerce_to_int(new_seed)
22
- old, @seed = @seed, new_seed.nonzero? || Random.new_seed
22
+ old, @seed = @seed, new_seed.nonzero? || ::Random.new_seed
23
23
  @mt = MT19937[ @seed ]
24
24
  old
25
25
  end
@@ -45,7 +45,7 @@ module Backports
45
45
  end
46
46
 
47
47
  def ==(other)
48
- other.is_a?(Random) &&
48
+ other.is_a?(::Random) &&
49
49
  seed == other.seed &&
50
50
  left == other.send(:left) &&
51
51
  state == other.send(:state)
@@ -1,3 +1,3 @@
1
1
  module Backports
2
- VERSION = "3.6.1" unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
2
+ VERSION = "3.6.2" unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
3
3
  end
metadata CHANGED
@@ -1,28 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: backports
3
- version: !ruby/object:Gem::Version
4
- version: 3.6.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 3
8
+ - 6
9
+ - 2
10
+ version: 3.6.2
5
11
  platform: ruby
6
- authors:
7
- - Marc-André Lafortune
12
+ authors:
13
+ - "Marc-Andr\xC3\xA9 Lafortune"
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
- date: 2014-09-20 00:00:00.000000000 Z
17
+
18
+ date: 2014-10-04 00:00:00 Z
12
19
  dependencies: []
13
- description: Essential backports that enable many of the nice features of Ruby 1.8.7
14
- up to 2.1.0 for earlier versions.
15
- email:
20
+
21
+ description: Essential backports that enable many of the nice features of Ruby 1.8.7 up to 2.1.0 for earlier versions.
22
+ email:
16
23
  - github@marc-andre.ca
17
24
  executables: []
25
+
18
26
  extensions: []
27
+
19
28
  extra_rdoc_files: []
20
- files:
21
- - ".document"
22
- - ".gitignore"
23
- - ".gitmodules"
24
- - ".irbrc"
25
- - ".travis.yml"
29
+
30
+ files:
31
+ - .document
32
+ - .gitignore
33
+ - .gitmodules
34
+ - .irbrc
35
+ - .travis.yml
26
36
  - CHANGELOG.rdoc
27
37
  - Gemfile
28
38
  - Gemfile.lock
@@ -553,28 +563,38 @@ files:
553
563
  - test/test_helper.rb
554
564
  homepage: http://github.com/marcandre/backports
555
565
  licenses: []
556
- metadata: {}
566
+
557
567
  post_install_message:
558
568
  rdoc_options: []
559
- require_paths:
569
+
570
+ require_paths:
560
571
  - lib
561
- required_ruby_version: !ruby/object:Gem::Requirement
562
- requirements:
572
+ required_ruby_version: !ruby/object:Gem::Requirement
573
+ none: false
574
+ requirements:
563
575
  - - ">="
564
- - !ruby/object:Gem::Version
565
- version: '0'
566
- required_rubygems_version: !ruby/object:Gem::Requirement
567
- requirements:
576
+ - !ruby/object:Gem::Version
577
+ hash: 3
578
+ segments:
579
+ - 0
580
+ version: "0"
581
+ required_rubygems_version: !ruby/object:Gem::Requirement
582
+ none: false
583
+ requirements:
568
584
  - - ">="
569
- - !ruby/object:Gem::Version
570
- version: '0'
585
+ - !ruby/object:Gem::Version
586
+ hash: 3
587
+ segments:
588
+ - 0
589
+ version: "0"
571
590
  requirements: []
591
+
572
592
  rubyforge_project:
573
- rubygems_version: 2.2.2
593
+ rubygems_version: 1.8.25
574
594
  signing_key:
575
- specification_version: 4
595
+ specification_version: 3
576
596
  summary: Backports of Ruby features for older Ruby.
577
- test_files:
597
+ test_files:
578
598
  - spec/tags/1.8.6/core/argf/each_line_spec.rb
579
599
  - spec/tags/1.8.6/core/argf/each_spec.rb
580
600
  - spec/tags/1.8.6/core/argf/lines_spec.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 430000473f04af601871828caab46e10c40f3bec
4
- data.tar.gz: ab531de035b845cd0758da9163e0388c6e574396
5
- SHA512:
6
- metadata.gz: 10ce1d9a36e6a0bfa87d420704ebfe86677147dace2f90fdaf96c114390eb2bdec46a0e92fc5346fa38e44ddff22b3013ebf1a36374782979c880bdacb515aa7
7
- data.tar.gz: 499dc45d4d8a65b0881d4cbaf488210ecc0bd0269012da7af3dd2eab94fc33f76d1d95c2a6a7bdc0a35fdb7f80a11dc76618a4bf64c88d5b3c352f3c10b4daef