backports 3.22.0 → 3.22.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b29bdab2282a6e583c683ceb5d2a6665eba385330570cc99ec82935a3fd7156d
4
- data.tar.gz: 9539d241f8d89982762c21432713d04d13567ce4c9392af5d54b38099e08cc3f
3
+ metadata.gz: 4b09ae893ba2541ab9e4f564e480c01c7a435354b17a89d0b6e3bbdf33991037
4
+ data.tar.gz: 02b726590557cc3a0ab3253afa6bec58926c96524faf7cfe801a16db57edcfb4
5
5
  SHA512:
6
- metadata.gz: 6bfa34744270343976ea43ffab74f332e6652b681723cb18d6fa414327c57f994169dfca42efe75bed24a6cdccfeff0bb1c39f0f0ff61b056eb7333dfb514819
7
- data.tar.gz: 83617fcaa2270b28c3f11ac41cf29a875da9bac572da23381bc990a0d5c452a0f12809114fb98478ad6887136d962a8116da41601f4cfb532065dea88614117a
6
+ metadata.gz: 81ea7ba57a26c62c7919a0e875593a58e7875c8aec8e408b93a13c12373a9d1a48dbebb2e4ec41b38028a8923d110c0813885772df014faa71fbed2f96a22a3c
7
+ data.tar.gz: cb6a8e303724c7ecf9cf5b06907ff77e77dc8ac4a0cea8fa83f51785c85a24f1df650436e91e33af5ce79d3a9e8ea89396f90d6e053e73ca0e43f5db098fc375
data/README.md CHANGED
@@ -129,10 +129,6 @@ itself, JRuby and Rubinius.
129
129
 
130
130
  - `dirname` (with depth argument)
131
131
 
132
- #### Integer
133
-
134
- - `try_convert`
135
-
136
132
  #### MatchData
137
133
 
138
134
  - `match`
@@ -1,3 +1,3 @@
1
1
  module Backports
2
- VERSION = "3.22.0" unless Backports.constants.include? :VERSION # the guard is against a redefinition warning that happens on Travis
2
+ VERSION = "3.22.1" unless Backports.constants.include? :VERSION # the guard is against a redefinition warning that happens on Travis
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backports
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.22.0
4
+ version: 3.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc-André Lafortune
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-27 00:00:00.000000000 Z
11
+ date: 2021-12-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Essential backports that enable many of the nice features of Ruby for
14
14
  earlier versions.
@@ -555,8 +555,6 @@ files:
555
555
  - lib/backports/3.1.0/enumerable/tally.rb
556
556
  - lib/backports/3.1.0/file.rb
557
557
  - lib/backports/3.1.0/file/dirname.rb
558
- - lib/backports/3.1.0/integer.rb
559
- - lib/backports/3.1.0/integer/try_convert.rb
560
558
  - lib/backports/3.1.0/match_data.rb
561
559
  - lib/backports/3.1.0/match_data/match.rb
562
560
  - lib/backports/3.1.0/match_data/match_length.rb
@@ -1,5 +0,0 @@
1
- module Integer
2
- def self.try_convert(obj)
3
- ::Backports.try_convert(obj, ::Integer, :to_int)
4
- end
5
- end unless Integer.respond_to? :try_convert
@@ -1,3 +0,0 @@
1
- require 'backports/tools/require_relative_dir'
2
-
3
- Backports.require_relative_dir