polyfill 0.10.0 → 1.0.0
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 +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +2 -11
- data/lib/polyfill.rb +1 -1
- data/lib/polyfill/v2_4/regexp.rb +1 -1
- data/lib/polyfill/v2_4/string.rb +1 -1
- data/lib/polyfill/v2_4/symbol.rb +1 -1
- data/lib/polyfill/version.rb +1 -1
- data/polyfill.gemspec +4 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a96e791fce1f6c398fbd95778155ac3b1776a56
|
4
|
+
data.tar.gz: bf4bbd4993ee7223e401b20c82e609f842156e3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c659eeef9dfb1ba1e6596bdf384f714415e6b049bed9c0da1bc9568dce5afa4b7bf37be50290b1cc2fda4b61398549bc6ba5108c33b8f82876f34db2ef51c812
|
7
|
+
data.tar.gz: 13eabaaa7097fbb3c319183631b62ad2a99a34cdd1b2963340a88c1a838a4398c64866c8d6e57e468cfaad3e4ee93ce5d2e5db03b2b37fc6ca7415d770b819e3
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
# [0.
|
1
|
+
# [1.0.0][] (2017-05-15)
|
2
|
+
|
3
|
+
- Bumped to show stablization of the API
|
4
|
+
|
5
|
+
# [0.10.0][] (2017-05-15)
|
2
6
|
|
3
7
|
- v2.3 Numeric#negative?
|
4
8
|
- v2.3 Numeric#positive?
|
@@ -161,6 +165,7 @@
|
|
161
165
|
- v2.4 String#concat?
|
162
166
|
- v2.4 String#prepend?
|
163
167
|
|
168
|
+
[1.0.0]: https://github.com/AaronLasseigne/polyfill/compare/v0.10.0...v1.0.0
|
164
169
|
[0.10.0]: https://github.com/AaronLasseigne/polyfill/compare/v0.9.0...v0.10.0
|
165
170
|
[0.9.0]: https://github.com/AaronLasseigne/polyfill/compare/v0.8.0...v0.9.0
|
166
171
|
[0.8.0]: https://github.com/AaronLasseigne/polyfill/compare/v0.7.0...v0.8.0
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Polyfill
|
2
2
|
|
3
|
+
[](https://rubygems.org/gems/polyfill)
|
3
4
|
[](https://travis-ci.org/AaronLasseigne/polyfill)
|
4
5
|
|
5
6
|
Polyfill implements newer Ruby features into older versions. If the Ruby
|
@@ -10,7 +11,6 @@ code that would like newer features but is not completely ready to upgrade
|
|
10
11
|
Ruby versions. The polyfills are built using refinements so there is **no
|
11
12
|
monkey patching** that may cause issues outside of your use.
|
12
13
|
|
13
|
-
- [Caveat Emptor](#caveat-emptor)
|
14
14
|
- [Installation](#installation)
|
15
15
|
- [Goals](#goals)
|
16
16
|
- [Usage](#usage)
|
@@ -21,21 +21,12 @@ monkey patching** that may cause issues outside of your use.
|
|
21
21
|
- [2.3](#23)
|
22
22
|
- [2.2](#22)
|
23
23
|
|
24
|
-
## Caveat Emptor
|
25
|
-
|
26
|
-
Not all features can be perfectly implemented. This is a best effort
|
27
|
-
implementation but it's best to always test thoroughly across versions.
|
28
|
-
This project is also currently pre-1.0. Breaking changes may occur on
|
29
|
-
any release. Once a stable API is built it will be moved to 1.0.0.
|
30
|
-
|
31
|
-
See the [implementation table](#implementation-table) for specifics about what has been implemented.
|
32
|
-
|
33
24
|
## Installation
|
34
25
|
|
35
26
|
Add it to your Gemfile:
|
36
27
|
|
37
28
|
```ruby
|
38
|
-
gem 'polyfill', '
|
29
|
+
gem 'polyfill', '~> 1.0'
|
39
30
|
```
|
40
31
|
|
41
32
|
Or install it manually:
|
data/lib/polyfill.rb
CHANGED
data/lib/polyfill/v2_4/regexp.rb
CHANGED
data/lib/polyfill/v2_4/string.rb
CHANGED
data/lib/polyfill/v2_4/symbol.rb
CHANGED
data/lib/polyfill/version.rb
CHANGED
data/polyfill.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
|
+
|
2
3
|
lib = File.expand_path('../lib', __FILE__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'polyfill/version'
|
@@ -23,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
23
24
|
spec.require_paths = ['lib']
|
24
25
|
|
25
26
|
spec.add_development_dependency 'bundler', '~> 1.14'
|
26
|
-
spec.add_development_dependency 'rake', '~>
|
27
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
28
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
27
|
+
spec.add_development_dependency 'rake', '~> 12.0'
|
28
|
+
spec.add_development_dependency 'rspec', '~> 3.6'
|
29
|
+
spec.add_development_dependency 'rubocop', '~> 0.48.1'
|
29
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyfill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Lasseigne
|
@@ -30,42 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '12.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '12.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
47
|
+
version: '3.6'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
54
|
+
version: '3.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.48.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.48.1
|
69
69
|
description:
|
70
70
|
email:
|
71
71
|
- aaron.lasseigne@gmail.com
|