backports 3.6.2 → 3.6.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.
- checksums.yaml +7 -0
- data/Gemfile.lock +1 -1
- data/lib/backports/1.9.3/string/byteslice.rb +2 -1
- data/lib/backports/version.rb +1 -1
- metadata +28 -48
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: bb32545170e25b4326deea036ff2ecde37291dd0
|
|
4
|
+
data.tar.gz: 555fa7791f6510224afea6fe96c4d21b9d7b5117
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 8fe397d00b446e9edda50e7183dd19912cb7f03cf6952328526dc6511a3aa29c039378ca6e83471c3321894115a67e2a23b85051d3596e9ce0de378f200f408d
|
|
7
|
+
data.tar.gz: 53e1ae0e675b281d5a15818a7458cc3f82885c50fc99b4652c012aafcccd8c463d2ff58c8e2d591f9ff7bf8f0963c0cd261ae689412d8ea760a9a3f7ecfabe2d
|
data/Gemfile.lock
CHANGED
|
@@ -30,7 +30,8 @@ unless String.method_defined? :byteslice
|
|
|
30
30
|
# Actual implementation:
|
|
31
31
|
str = unpack("@#{start}a#{len}").first
|
|
32
32
|
str = dup.replace(str) unless self.instance_of?(String) # Must return subclass
|
|
33
|
-
str.force_encoding(encoding)
|
|
33
|
+
str.force_encoding(encoding) if respond_to?(:encoding)
|
|
34
|
+
str
|
|
34
35
|
end
|
|
35
36
|
end
|
|
36
37
|
end
|
data/lib/backports/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,38 +1,28 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: backports
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 3
|
|
8
|
-
- 6
|
|
9
|
-
- 2
|
|
10
|
-
version: 3.6.2
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 3.6.3
|
|
11
5
|
platform: ruby
|
|
12
|
-
authors:
|
|
13
|
-
-
|
|
6
|
+
authors:
|
|
7
|
+
- Marc-André Lafortune
|
|
14
8
|
autorequire:
|
|
15
9
|
bindir: bin
|
|
16
10
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
date: 2014-10-04 00:00:00 Z
|
|
11
|
+
date: 2014-10-07 00:00:00.000000000 Z
|
|
19
12
|
dependencies: []
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
email:
|
|
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:
|
|
23
16
|
- github@marc-andre.ca
|
|
24
17
|
executables: []
|
|
25
|
-
|
|
26
18
|
extensions: []
|
|
27
|
-
|
|
28
19
|
extra_rdoc_files: []
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- .
|
|
32
|
-
- .
|
|
33
|
-
- .
|
|
34
|
-
- .
|
|
35
|
-
- .travis.yml
|
|
20
|
+
files:
|
|
21
|
+
- ".document"
|
|
22
|
+
- ".gitignore"
|
|
23
|
+
- ".gitmodules"
|
|
24
|
+
- ".irbrc"
|
|
25
|
+
- ".travis.yml"
|
|
36
26
|
- CHANGELOG.rdoc
|
|
37
27
|
- Gemfile
|
|
38
28
|
- Gemfile.lock
|
|
@@ -563,38 +553,28 @@ files:
|
|
|
563
553
|
- test/test_helper.rb
|
|
564
554
|
homepage: http://github.com/marcandre/backports
|
|
565
555
|
licenses: []
|
|
566
|
-
|
|
556
|
+
metadata: {}
|
|
567
557
|
post_install_message:
|
|
568
558
|
rdoc_options: []
|
|
569
|
-
|
|
570
|
-
require_paths:
|
|
559
|
+
require_paths:
|
|
571
560
|
- lib
|
|
572
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
573
|
-
|
|
574
|
-
requirements:
|
|
561
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
562
|
+
requirements:
|
|
575
563
|
- - ">="
|
|
576
|
-
- !ruby/object:Gem::Version
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
version: "0"
|
|
581
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
582
|
-
none: false
|
|
583
|
-
requirements:
|
|
564
|
+
- !ruby/object:Gem::Version
|
|
565
|
+
version: '0'
|
|
566
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
567
|
+
requirements:
|
|
584
568
|
- - ">="
|
|
585
|
-
- !ruby/object:Gem::Version
|
|
586
|
-
|
|
587
|
-
segments:
|
|
588
|
-
- 0
|
|
589
|
-
version: "0"
|
|
569
|
+
- !ruby/object:Gem::Version
|
|
570
|
+
version: '0'
|
|
590
571
|
requirements: []
|
|
591
|
-
|
|
592
572
|
rubyforge_project:
|
|
593
|
-
rubygems_version:
|
|
573
|
+
rubygems_version: 2.2.2
|
|
594
574
|
signing_key:
|
|
595
|
-
specification_version:
|
|
575
|
+
specification_version: 4
|
|
596
576
|
summary: Backports of Ruby features for older Ruby.
|
|
597
|
-
test_files:
|
|
577
|
+
test_files:
|
|
598
578
|
- spec/tags/1.8.6/core/argf/each_line_spec.rb
|
|
599
579
|
- spec/tags/1.8.6/core/argf/each_spec.rb
|
|
600
580
|
- spec/tags/1.8.6/core/argf/lines_spec.rb
|