polyfill 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +35 -0
- data/CHANGELOG.md +31 -2
- data/CONTRIBUTING.md +48 -17
- data/README.md +110 -80
- data/Rakefile +3 -1
- data/bin/console +3 -3
- data/lib/polyfill.rb +30 -19
- data/lib/polyfill/v2_4.rb +29 -12
- data/lib/polyfill/v2_4/array.rb +1 -1
- data/lib/polyfill/v2_4/array/instance.rb +3 -1
- data/lib/polyfill/v2_4/array/instance/concat.rb +5 -7
- data/lib/polyfill/v2_4/array/instance/sum.rb +17 -0
- data/lib/polyfill/v2_4/comparable.rb +1 -1
- data/lib/polyfill/v2_4/comparable/instance.rb +1 -1
- data/lib/polyfill/v2_4/comparable/instance/clamp.rb +11 -13
- data/lib/polyfill/v2_4/dir.rb +1 -1
- data/lib/polyfill/v2_4/dir/class.rb +1 -1
- data/lib/polyfill/v2_4/dir/class/empty_q.rb +5 -7
- data/lib/polyfill/v2_4/enumerable.rb +9 -0
- data/lib/polyfill/v2_4/enumerable/instance.rb +15 -0
- data/lib/polyfill/v2_4/enumerable/instance/chunk.rb +46 -0
- data/lib/polyfill/v2_4/enumerable/instance/sum.rb +52 -0
- data/lib/polyfill/v2_4/enumerable/instance/uniq.rb +45 -0
- data/lib/polyfill/v2_4/enumerator/lazy.rb +11 -0
- data/lib/polyfill/v2_4/enumerator/lazy/instance.rb +15 -0
- data/lib/polyfill/v2_4/enumerator/lazy/instance/chunk_while.rb +25 -0
- data/lib/polyfill/v2_4/enumerator/lazy/instance/uniq.rb +33 -0
- data/lib/polyfill/v2_4/file.rb +1 -1
- data/lib/polyfill/v2_4/file/class.rb +1 -1
- data/lib/polyfill/v2_4/file/class/empty_q.rb +5 -7
- data/lib/polyfill/v2_4/float.rb +1 -1
- data/lib/polyfill/v2_4/float/instance.rb +3 -3
- data/lib/polyfill/v2_4/float/instance/ceil.rb +8 -10
- data/lib/polyfill/v2_4/float/instance/floor.rb +7 -9
- data/lib/polyfill/v2_4/float/instance/truncate.rb +8 -10
- data/lib/polyfill/v2_4/hash.rb +1 -1
- data/lib/polyfill/v2_4/hash/instance.rb +4 -4
- data/lib/polyfill/v2_4/hash/instance/compact.rb +5 -7
- data/lib/polyfill/v2_4/hash/instance/compact_e.rb +5 -7
- data/lib/polyfill/v2_4/hash/instance/transform_values.rb +6 -8
- data/lib/polyfill/v2_4/hash/instance/transform_values_e.rb +6 -8
- data/lib/polyfill/v2_4/i_p_addr.rb +9 -0
- data/lib/polyfill/v2_4/i_p_addr/instance.rb +13 -0
- data/lib/polyfill/v2_4/i_p_addr/instance/equalequal.rb +27 -0
- data/lib/polyfill/v2_4/i_p_addr/instance/lessthanequalgreaterthan.rb +27 -0
- data/lib/polyfill/v2_4/integer.rb +1 -1
- data/lib/polyfill/v2_4/integer/instance.rb +5 -5
- data/lib/polyfill/v2_4/integer/instance/ceil.rb +7 -9
- data/lib/polyfill/v2_4/integer/instance/digits.rb +5 -7
- data/lib/polyfill/v2_4/integer/instance/floor.rb +7 -9
- data/lib/polyfill/v2_4/integer/instance/round.rb +7 -9
- data/lib/polyfill/v2_4/integer/instance/truncate.rb +7 -9
- data/lib/polyfill/v2_4/io.rb +2 -2
- data/lib/polyfill/v2_4/io/class.rb +2 -2
- data/lib/polyfill/v2_4/io/class/foreach.rb +21 -33
- data/lib/polyfill/v2_4/io/class/readlines.rb +12 -13
- data/lib/polyfill/v2_4/io/instance.rb +6 -4
- data/lib/polyfill/v2_4/io/instance/each_line.rb +20 -33
- data/lib/polyfill/v2_4/io/instance/gets.rb +12 -13
- data/lib/polyfill/v2_4/io/instance/lines.rb +54 -0
- data/lib/polyfill/v2_4/io/instance/readline.rb +12 -13
- data/lib/polyfill/v2_4/io/instance/readlines.rb +12 -13
- data/lib/polyfill/v2_4/match_data.rb +1 -1
- data/lib/polyfill/v2_4/match_data/instance.rb +2 -2
- data/lib/polyfill/v2_4/match_data/instance/named_captures.rb +5 -7
- data/lib/polyfill/v2_4/match_data/instance/values_at.rb +5 -7
- data/lib/polyfill/v2_4/numeric.rb +1 -1
- data/lib/polyfill/v2_4/numeric/instance.rb +6 -2
- data/lib/polyfill/v2_4/numeric/instance/clone.rb +23 -0
- data/lib/polyfill/v2_4/numeric/instance/dup.rb +23 -0
- data/lib/polyfill/v2_4/numeric/instance/finite_q.rb +5 -7
- data/lib/polyfill/v2_4/numeric/instance/infinite_q.rb +5 -7
- data/lib/polyfill/v2_4/object.rb +9 -0
- data/lib/polyfill/v2_4/object/instance.rb +11 -0
- data/lib/polyfill/v2_4/object/instance/clone.rb +29 -0
- data/lib/polyfill/v2_4/pathname.rb +9 -0
- data/lib/polyfill/v2_4/pathname/instance.rb +11 -0
- data/lib/polyfill/v2_4/pathname/instance/empty_q.rb +29 -0
- data/lib/polyfill/v2_4/regexp.rb +9 -0
- data/lib/polyfill/v2_4/regexp/instance.rb +11 -0
- data/lib/polyfill/v2_4/regexp/instance/match_q.rb +23 -0
- data/lib/polyfill/v2_4/string.rb +3 -1
- data/lib/polyfill/v2_4/string/class.rb +11 -0
- data/lib/polyfill/v2_4/string/class/new.rb +26 -0
- data/lib/polyfill/v2_4/string/instance.rb +12 -2
- data/lib/polyfill/v2_4/string/instance/casecmp_q.rb +23 -0
- data/lib/polyfill/v2_4/string/instance/concat.rb +5 -7
- data/lib/polyfill/v2_4/string/instance/each_line.rb +17 -0
- data/lib/polyfill/v2_4/string/instance/lines.rb +55 -0
- data/lib/polyfill/v2_4/string/instance/match_q.rb +23 -0
- data/lib/polyfill/v2_4/string/instance/prepend.rb +5 -7
- data/lib/polyfill/v2_4/string/instance/unpack1.rb +23 -0
- data/lib/polyfill/v2_4/string_io.rb +1 -1
- data/lib/polyfill/v2_4/string_io/instance.rb +4 -4
- data/lib/polyfill/v2_4/string_io/instance/each_line.rb +5 -7
- data/lib/polyfill/v2_4/string_io/instance/gets.rb +5 -7
- data/lib/polyfill/v2_4/string_io/instance/readline.rb +5 -7
- data/lib/polyfill/v2_4/string_io/instance/readlines.rb +5 -7
- data/lib/polyfill/v2_4/symbol.rb +9 -0
- data/lib/polyfill/v2_4/symbol/instance.rb +15 -0
- data/lib/polyfill/v2_4/symbol/instance/casecmp_q.rb +25 -0
- data/lib/polyfill/v2_4/symbol/instance/match.rb +27 -0
- data/lib/polyfill/v2_4/symbol/instance/match_q.rb +17 -0
- data/lib/polyfill/version.rb +1 -1
- data/polyfill.gemspec +1 -0
- metadata +56 -3
@@ -0,0 +1,17 @@
|
|
1
|
+
module Polyfill
|
2
|
+
module V2_4
|
3
|
+
module String
|
4
|
+
module Instance
|
5
|
+
module EachLine
|
6
|
+
refine ::String do
|
7
|
+
include IO::Instance::EachLine::Method
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.included(base)
|
11
|
+
base.include IO::Instance::EachLine::Method
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'English'
|
2
|
+
|
3
|
+
module Polyfill
|
4
|
+
module V2_4
|
5
|
+
module String
|
6
|
+
module Instance
|
7
|
+
module Lines
|
8
|
+
module Method
|
9
|
+
def lines(*args)
|
10
|
+
hash, others = args.partition { |arg| arg.is_a?(::Hash) }
|
11
|
+
chomps = hash[0] && hash[0][:chomp]
|
12
|
+
|
13
|
+
unless block_given?
|
14
|
+
lines = super(*others)
|
15
|
+
|
16
|
+
if chomps
|
17
|
+
separator = others.find do |other|
|
18
|
+
other.respond_to?(:to_str)
|
19
|
+
end || $INPUT_RECORD_SEPARATOR
|
20
|
+
|
21
|
+
lines.each { |line| line.chomp!(separator) }
|
22
|
+
end
|
23
|
+
|
24
|
+
return lines
|
25
|
+
end
|
26
|
+
|
27
|
+
block =
|
28
|
+
if chomps
|
29
|
+
separator = others.find do |other|
|
30
|
+
other.respond_to?(:to_str)
|
31
|
+
end || $INPUT_RECORD_SEPARATOR
|
32
|
+
|
33
|
+
proc do |line|
|
34
|
+
yield(line.chomp(separator))
|
35
|
+
end
|
36
|
+
else
|
37
|
+
Proc.new
|
38
|
+
end
|
39
|
+
|
40
|
+
super(*others, &block)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
refine ::String do
|
45
|
+
include Method
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.included(base)
|
49
|
+
base.include Method
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Polyfill
|
2
|
+
module V2_4
|
3
|
+
module String
|
4
|
+
module Instance
|
5
|
+
module MatchQ
|
6
|
+
module Method
|
7
|
+
def match?(pattern, position = 0)
|
8
|
+
!!(self[position..-1] =~ pattern)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
refine ::String do
|
13
|
+
include Method
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.included(base)
|
17
|
+
base.include Method
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -16,14 +16,12 @@ module Polyfill
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
end
|
19
|
+
refine ::String do
|
20
|
+
include Method
|
21
|
+
end
|
23
22
|
|
24
|
-
|
25
|
-
|
26
|
-
end
|
23
|
+
def self.included(base)
|
24
|
+
base.include Method
|
27
25
|
end
|
28
26
|
end
|
29
27
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Polyfill
|
2
|
+
module V2_4
|
3
|
+
module String
|
4
|
+
module Instance
|
5
|
+
module Unpack1
|
6
|
+
module Method
|
7
|
+
def unpack1(*args)
|
8
|
+
unpack(*args).first
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
refine ::String do
|
13
|
+
include Method
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.included(base)
|
17
|
+
base.include Method
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
require_relative 'instance/each_line'
|
2
|
+
require_relative 'instance/gets'
|
3
|
+
require_relative 'instance/readline'
|
4
|
+
require_relative 'instance/readlines'
|
5
5
|
|
6
6
|
module Polyfill
|
7
7
|
module V2_4
|
@@ -3,14 +3,12 @@ module Polyfill
|
|
3
3
|
module StringIO
|
4
4
|
module Instance
|
5
5
|
module EachLine
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
6
|
+
refine ::StringIO do
|
7
|
+
include IO::Instance::EachLine::Method
|
8
|
+
end
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
end
|
10
|
+
def self.included(base)
|
11
|
+
base.include IO::Instance::EachLine::Method
|
14
12
|
end
|
15
13
|
end
|
16
14
|
end
|
@@ -3,14 +3,12 @@ module Polyfill
|
|
3
3
|
module StringIO
|
4
4
|
module Instance
|
5
5
|
module Gets
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
6
|
+
refine ::StringIO do
|
7
|
+
include IO::Instance::Gets::Method
|
8
|
+
end
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
end
|
10
|
+
def self.included(base)
|
11
|
+
base.include IO::Instance::Gets::Method
|
14
12
|
end
|
15
13
|
end
|
16
14
|
end
|
@@ -3,14 +3,12 @@ module Polyfill
|
|
3
3
|
module StringIO
|
4
4
|
module Instance
|
5
5
|
module Readline
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
6
|
+
refine ::StringIO do
|
7
|
+
include IO::Instance::Readline::Method
|
8
|
+
end
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
end
|
10
|
+
def self.included(base)
|
11
|
+
base.include IO::Instance::Readline::Method
|
14
12
|
end
|
15
13
|
end
|
16
14
|
end
|
@@ -3,14 +3,12 @@ module Polyfill
|
|
3
3
|
module StringIO
|
4
4
|
module Instance
|
5
5
|
module Readlines
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
6
|
+
refine ::StringIO do
|
7
|
+
include IO::Instance::Readlines::Method
|
8
|
+
end
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
end
|
10
|
+
def self.included(base)
|
11
|
+
base.include IO::Instance::Readlines::Method
|
14
12
|
end
|
15
13
|
end
|
16
14
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require_relative 'instance/casecmp_q'
|
2
|
+
require_relative 'instance/match_q'
|
3
|
+
require_relative 'instance/match'
|
4
|
+
|
5
|
+
module Polyfill
|
6
|
+
module V2_4
|
7
|
+
module Symbol
|
8
|
+
module Instance
|
9
|
+
include CasecmpQ
|
10
|
+
include Match
|
11
|
+
include MatchQ
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Polyfill
|
2
|
+
module V2_4
|
3
|
+
module Symbol
|
4
|
+
module Instance
|
5
|
+
module CasecmpQ
|
6
|
+
module Method
|
7
|
+
def casecmp?(other)
|
8
|
+
return nil unless other.is_a?(::Symbol)
|
9
|
+
|
10
|
+
casecmp(other) == 0
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
refine ::Symbol do
|
15
|
+
include Method
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.included(base)
|
19
|
+
base.include Method
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Polyfill
|
2
|
+
module V2_4
|
3
|
+
module Symbol
|
4
|
+
module Instance
|
5
|
+
module Match
|
6
|
+
module Method
|
7
|
+
def match(*args)
|
8
|
+
if block_given?
|
9
|
+
to_s.match(*args, &Proc.new)
|
10
|
+
else
|
11
|
+
to_s.match(*args)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
refine ::Symbol do
|
17
|
+
include Method
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.included(base)
|
21
|
+
base.include Method
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Polyfill
|
2
|
+
module V2_4
|
3
|
+
module Symbol
|
4
|
+
module Instance
|
5
|
+
module MatchQ
|
6
|
+
refine ::Symbol do
|
7
|
+
include String::Instance::MatchQ::Method
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.included(base)
|
11
|
+
base.include String::Instance::MatchQ::Method
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/polyfill/version.rb
CHANGED
data/polyfill.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyfill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Lasseigne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.47.1
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.47.1
|
55
69
|
description:
|
56
70
|
email:
|
57
71
|
- aaron.lasseigne@gmail.com
|
@@ -61,6 +75,7 @@ extra_rdoc_files: []
|
|
61
75
|
files:
|
62
76
|
- ".gitignore"
|
63
77
|
- ".rspec"
|
78
|
+
- ".rubocop.yml"
|
64
79
|
- ".travis.yml"
|
65
80
|
- CHANGELOG.md
|
66
81
|
- CONTRIBUTING.md
|
@@ -75,12 +90,22 @@ files:
|
|
75
90
|
- lib/polyfill/v2_4/array.rb
|
76
91
|
- lib/polyfill/v2_4/array/instance.rb
|
77
92
|
- lib/polyfill/v2_4/array/instance/concat.rb
|
93
|
+
- lib/polyfill/v2_4/array/instance/sum.rb
|
78
94
|
- lib/polyfill/v2_4/comparable.rb
|
79
95
|
- lib/polyfill/v2_4/comparable/instance.rb
|
80
96
|
- lib/polyfill/v2_4/comparable/instance/clamp.rb
|
81
97
|
- lib/polyfill/v2_4/dir.rb
|
82
98
|
- lib/polyfill/v2_4/dir/class.rb
|
83
99
|
- lib/polyfill/v2_4/dir/class/empty_q.rb
|
100
|
+
- lib/polyfill/v2_4/enumerable.rb
|
101
|
+
- lib/polyfill/v2_4/enumerable/instance.rb
|
102
|
+
- lib/polyfill/v2_4/enumerable/instance/chunk.rb
|
103
|
+
- lib/polyfill/v2_4/enumerable/instance/sum.rb
|
104
|
+
- lib/polyfill/v2_4/enumerable/instance/uniq.rb
|
105
|
+
- lib/polyfill/v2_4/enumerator/lazy.rb
|
106
|
+
- lib/polyfill/v2_4/enumerator/lazy/instance.rb
|
107
|
+
- lib/polyfill/v2_4/enumerator/lazy/instance/chunk_while.rb
|
108
|
+
- lib/polyfill/v2_4/enumerator/lazy/instance/uniq.rb
|
84
109
|
- lib/polyfill/v2_4/file.rb
|
85
110
|
- lib/polyfill/v2_4/file/class.rb
|
86
111
|
- lib/polyfill/v2_4/file/class/empty_q.rb
|
@@ -95,6 +120,10 @@ files:
|
|
95
120
|
- lib/polyfill/v2_4/hash/instance/compact_e.rb
|
96
121
|
- lib/polyfill/v2_4/hash/instance/transform_values.rb
|
97
122
|
- lib/polyfill/v2_4/hash/instance/transform_values_e.rb
|
123
|
+
- lib/polyfill/v2_4/i_p_addr.rb
|
124
|
+
- lib/polyfill/v2_4/i_p_addr/instance.rb
|
125
|
+
- lib/polyfill/v2_4/i_p_addr/instance/equalequal.rb
|
126
|
+
- lib/polyfill/v2_4/i_p_addr/instance/lessthanequalgreaterthan.rb
|
98
127
|
- lib/polyfill/v2_4/integer.rb
|
99
128
|
- lib/polyfill/v2_4/integer/instance.rb
|
100
129
|
- lib/polyfill/v2_4/integer/instance/ceil.rb
|
@@ -109,6 +138,7 @@ files:
|
|
109
138
|
- lib/polyfill/v2_4/io/instance.rb
|
110
139
|
- lib/polyfill/v2_4/io/instance/each_line.rb
|
111
140
|
- lib/polyfill/v2_4/io/instance/gets.rb
|
141
|
+
- lib/polyfill/v2_4/io/instance/lines.rb
|
112
142
|
- lib/polyfill/v2_4/io/instance/readline.rb
|
113
143
|
- lib/polyfill/v2_4/io/instance/readlines.rb
|
114
144
|
- lib/polyfill/v2_4/match_data.rb
|
@@ -117,18 +147,41 @@ files:
|
|
117
147
|
- lib/polyfill/v2_4/match_data/instance/values_at.rb
|
118
148
|
- lib/polyfill/v2_4/numeric.rb
|
119
149
|
- lib/polyfill/v2_4/numeric/instance.rb
|
150
|
+
- lib/polyfill/v2_4/numeric/instance/clone.rb
|
151
|
+
- lib/polyfill/v2_4/numeric/instance/dup.rb
|
120
152
|
- lib/polyfill/v2_4/numeric/instance/finite_q.rb
|
121
153
|
- lib/polyfill/v2_4/numeric/instance/infinite_q.rb
|
154
|
+
- lib/polyfill/v2_4/object.rb
|
155
|
+
- lib/polyfill/v2_4/object/instance.rb
|
156
|
+
- lib/polyfill/v2_4/object/instance/clone.rb
|
157
|
+
- lib/polyfill/v2_4/pathname.rb
|
158
|
+
- lib/polyfill/v2_4/pathname/instance.rb
|
159
|
+
- lib/polyfill/v2_4/pathname/instance/empty_q.rb
|
160
|
+
- lib/polyfill/v2_4/regexp.rb
|
161
|
+
- lib/polyfill/v2_4/regexp/instance.rb
|
162
|
+
- lib/polyfill/v2_4/regexp/instance/match_q.rb
|
122
163
|
- lib/polyfill/v2_4/string.rb
|
164
|
+
- lib/polyfill/v2_4/string/class.rb
|
165
|
+
- lib/polyfill/v2_4/string/class/new.rb
|
123
166
|
- lib/polyfill/v2_4/string/instance.rb
|
167
|
+
- lib/polyfill/v2_4/string/instance/casecmp_q.rb
|
124
168
|
- lib/polyfill/v2_4/string/instance/concat.rb
|
169
|
+
- lib/polyfill/v2_4/string/instance/each_line.rb
|
170
|
+
- lib/polyfill/v2_4/string/instance/lines.rb
|
171
|
+
- lib/polyfill/v2_4/string/instance/match_q.rb
|
125
172
|
- lib/polyfill/v2_4/string/instance/prepend.rb
|
173
|
+
- lib/polyfill/v2_4/string/instance/unpack1.rb
|
126
174
|
- lib/polyfill/v2_4/string_io.rb
|
127
175
|
- lib/polyfill/v2_4/string_io/instance.rb
|
128
176
|
- lib/polyfill/v2_4/string_io/instance/each_line.rb
|
129
177
|
- lib/polyfill/v2_4/string_io/instance/gets.rb
|
130
178
|
- lib/polyfill/v2_4/string_io/instance/readline.rb
|
131
179
|
- lib/polyfill/v2_4/string_io/instance/readlines.rb
|
180
|
+
- lib/polyfill/v2_4/symbol.rb
|
181
|
+
- lib/polyfill/v2_4/symbol/instance.rb
|
182
|
+
- lib/polyfill/v2_4/symbol/instance/casecmp_q.rb
|
183
|
+
- lib/polyfill/v2_4/symbol/instance/match.rb
|
184
|
+
- lib/polyfill/v2_4/symbol/instance/match_q.rb
|
132
185
|
- lib/polyfill/version.rb
|
133
186
|
- polyfill.gemspec
|
134
187
|
homepage: ''
|
@@ -151,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
204
|
version: '0'
|
152
205
|
requirements: []
|
153
206
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.6.
|
207
|
+
rubygems_version: 2.6.11
|
155
208
|
signing_key:
|
156
209
|
specification_version: 4
|
157
210
|
summary: Adds newer Ruby methods to older versions.
|