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 +1 -0
- data/Gemfile.lock +2 -0
- data/lib/backports/random/implementation.rb +2 -2
- data/lib/backports/version.rb +1 -1
- metadata +48 -28
- checksums.yaml +0 -7
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -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)
|
data/lib/backports/version.rb
CHANGED
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
|
-
|
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-
|
12
|
+
authors:
|
13
|
+
- "Marc-Andr\xC3\xA9 Lafortune"
|
8
14
|
autorequire:
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
|
-
|
17
|
+
|
18
|
+
date: 2014-10-04 00:00:00 Z
|
12
19
|
dependencies: []
|
13
|
-
|
14
|
-
|
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
|
-
|
21
|
-
|
22
|
-
-
|
23
|
-
-
|
24
|
-
-
|
25
|
-
-
|
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
|
-
|
566
|
+
|
557
567
|
post_install_message:
|
558
568
|
rdoc_options: []
|
559
|
-
|
569
|
+
|
570
|
+
require_paths:
|
560
571
|
- lib
|
561
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
562
|
-
|
572
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
573
|
+
none: false
|
574
|
+
requirements:
|
563
575
|
- - ">="
|
564
|
-
- !ruby/object:Gem::Version
|
565
|
-
|
566
|
-
|
567
|
-
|
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
|
-
|
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:
|
593
|
+
rubygems_version: 1.8.25
|
574
594
|
signing_key:
|
575
|
-
specification_version:
|
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
|