set 1.1.2 → 1.1.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 +4 -4
- data/.github/release.yml +4 -0
- data/.github/workflows/push_gem.yml +5 -5
- data/.github/workflows/test.yml +2 -9
- data/lib/set.rb +2 -7
- metadata +5 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 272a22e2e2993a09f4123b8e320388a38bed2643fe3bb9eda1cde19a3d37246e
|
|
4
|
+
data.tar.gz: 8854eee80772b4662835036349f84225f513231376da7c2c011cd155a7e6efed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d3dc014d0954b2d973d8cea5cdf790201a47854cff39b2b3b4d9f3d92a3955bf63ee1a9c5805a4b3a700fef0899dc73cecd9c69ffdb724a201da4f653dc6fe4
|
|
7
|
+
data.tar.gz: 3ea872a571e499cd98825ce650415e7db2d5b57905173dad4e4b965f599d28e3b122ae92b9d0f55b1d4761647dc96eedcb660fe6a7e17a2e85d92203efcd4f1e
|
data/.github/release.yml
ADDED
|
@@ -23,24 +23,24 @@ jobs:
|
|
|
23
23
|
|
|
24
24
|
steps:
|
|
25
25
|
- name: Harden Runner
|
|
26
|
-
uses: step-security/harden-runner@
|
|
26
|
+
uses: step-security/harden-runner@f808768d1510423e83855289c910610ca9b43176 # v2.17.0
|
|
27
27
|
with:
|
|
28
28
|
egress-policy: audit
|
|
29
29
|
|
|
30
|
-
- uses: actions/checkout@
|
|
30
|
+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
31
31
|
|
|
32
32
|
- name: Set up Ruby
|
|
33
|
-
uses: ruby/setup-ruby@
|
|
33
|
+
uses: ruby/setup-ruby@e34163cd15f4bb403dcd72d98e295997e6a55798 # v1.238.0
|
|
34
34
|
with:
|
|
35
35
|
bundler-cache: true
|
|
36
36
|
ruby-version: ruby
|
|
37
37
|
|
|
38
38
|
- name: Publish to RubyGems
|
|
39
|
-
uses: rubygems/release-gem@
|
|
39
|
+
uses: rubygems/release-gem@6317d8d1f7e28c24d28f6eff169ea854948bd9f7 # v1.2.0
|
|
40
40
|
|
|
41
41
|
- name: Create GitHub release
|
|
42
42
|
run: |
|
|
43
43
|
tag_name="$(git describe --tags --abbrev=0)"
|
|
44
44
|
gh release create "${tag_name}" --verify-tag --generate-notes
|
|
45
45
|
env:
|
|
46
|
-
GITHUB_TOKEN: ${{ secrets.
|
|
46
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/test.yml
CHANGED
|
@@ -3,22 +3,15 @@ name: test
|
|
|
3
3
|
on: [push, pull_request]
|
|
4
4
|
|
|
5
5
|
jobs:
|
|
6
|
-
ruby-versions:
|
|
7
|
-
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
|
|
8
|
-
with:
|
|
9
|
-
engine: cruby
|
|
10
|
-
min_version: 3.0
|
|
11
|
-
|
|
12
6
|
build:
|
|
13
|
-
needs: ruby-versions
|
|
14
7
|
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
|
|
15
8
|
strategy:
|
|
16
9
|
matrix:
|
|
17
|
-
ruby:
|
|
10
|
+
ruby: ["3.0", 3.1, 3.2, 3.3, 3.4]
|
|
18
11
|
os: [ ubuntu-latest, macos-latest ]
|
|
19
12
|
runs-on: ${{ matrix.os }}
|
|
20
13
|
steps:
|
|
21
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v6
|
|
22
15
|
- name: Set up Ruby
|
|
23
16
|
uses: ruby/setup-ruby@v1
|
|
24
17
|
with:
|
data/lib/set.rb
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
if RUBY_VERSION >= '
|
|
4
|
-
if defined?(Set) && defined?(Set.[]) && Set.method(:[]).source_location.nil?
|
|
5
|
-
# Remove defined? ... conditional after Ruby 3.5.0-preview2
|
|
6
|
-
return
|
|
7
|
-
end
|
|
8
|
-
end
|
|
3
|
+
return if RUBY_VERSION >= '4'
|
|
9
4
|
|
|
10
5
|
# :markup: markdown
|
|
11
6
|
#
|
|
@@ -224,7 +219,7 @@ end
|
|
|
224
219
|
# has been modified while an element in the set.
|
|
225
220
|
#
|
|
226
221
|
class Set
|
|
227
|
-
VERSION = "1.1.
|
|
222
|
+
VERSION = "1.1.3"
|
|
228
223
|
|
|
229
224
|
include Enumerable
|
|
230
225
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: set
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Akinori MUSHA
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies: []
|
|
13
12
|
description: Provides a class to deal with collections of unordered, unique values
|
|
14
13
|
email:
|
|
@@ -19,6 +18,7 @@ extra_rdoc_files: []
|
|
|
19
18
|
files:
|
|
20
19
|
- ".github/CODEOWNERS"
|
|
21
20
|
- ".github/dependabot.yml"
|
|
21
|
+
- ".github/release.yml"
|
|
22
22
|
- ".github/workflows/push_gem.yml"
|
|
23
23
|
- ".github/workflows/test.yml"
|
|
24
24
|
- ".gitignore"
|
|
@@ -39,8 +39,7 @@ licenses:
|
|
|
39
39
|
metadata:
|
|
40
40
|
homepage_uri: https://github.com/ruby/set
|
|
41
41
|
source_code_uri: https://github.com/ruby/set
|
|
42
|
-
changelog_uri: https://github.com/ruby/set/blob/v1.1.
|
|
43
|
-
post_install_message:
|
|
42
|
+
changelog_uri: https://github.com/ruby/set/blob/v1.1.3/CHANGELOG.md
|
|
44
43
|
rdoc_options: []
|
|
45
44
|
require_paths:
|
|
46
45
|
- lib
|
|
@@ -55,8 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
55
54
|
- !ruby/object:Gem::Version
|
|
56
55
|
version: '0'
|
|
57
56
|
requirements: []
|
|
58
|
-
rubygems_version: 3.
|
|
59
|
-
signing_key:
|
|
57
|
+
rubygems_version: 3.6.7
|
|
60
58
|
specification_version: 4
|
|
61
59
|
summary: Provides a class to deal with collections of unordered, unique values
|
|
62
60
|
test_files: []
|