sync_enum 0.1.1 → 0.1.8
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/.rubocop.yml +19 -1
- data/CHANGELOG.md +40 -1
- data/Gemfile.lock +67 -44
- data/lib/sync_enum/version.rb +1 -1
- data/sync_enum.gemspec +9 -5
- metadata +12 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: febdaeae9f99310dd29657d4294941a738cf8b07015f3800c0186f240a242c65
|
|
4
|
+
data.tar.gz: 276c5fd41952b7d159a770e50062cf467941cf3049214ff27445f17240003cb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7dd4f2667166167e0f85a4159601e76c5f5b8bed7dc4862cb4a1363c8c5a3f56506f4e83679b38a27b823ddd658c4c010b11f9934c6587f56fb09e920520f9b0
|
|
7
|
+
data.tar.gz: 9d0c1357cd82832b29b8256f7881fc62e46fccecfcfccbf3367faf9488b151f738d234168779351a415c33432596311928e588409c9f052b90156a87d5a10606
|
data/.rubocop.yml
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
require:
|
|
2
2
|
- rubocop-rspec
|
|
3
|
+
|
|
4
|
+
plugins:
|
|
3
5
|
- rubocop-rake
|
|
4
6
|
|
|
5
7
|
AllCops:
|
|
6
|
-
TargetRubyVersion: 2.
|
|
8
|
+
TargetRubyVersion: 2.7
|
|
7
9
|
NewCops: enable
|
|
8
10
|
|
|
9
11
|
Style/StringLiterals:
|
|
@@ -16,3 +18,19 @@ Style/StringLiteralsInInterpolation:
|
|
|
16
18
|
|
|
17
19
|
Layout/LineLength:
|
|
18
20
|
Max: 80
|
|
21
|
+
|
|
22
|
+
# RSpec Cop Configuration
|
|
23
|
+
|
|
24
|
+
Metrics/BlockLength:
|
|
25
|
+
AllowedMethods:
|
|
26
|
+
- RSpec.describe
|
|
27
|
+
- before
|
|
28
|
+
- context
|
|
29
|
+
|
|
30
|
+
RSpec/IndexedLet:
|
|
31
|
+
Enabled: false # stop telling me not to use examples like [1,2,3].
|
|
32
|
+
|
|
33
|
+
# Gemspec Cop Configuration
|
|
34
|
+
|
|
35
|
+
Gemspec/DevelopmentDependencies:
|
|
36
|
+
EnforcedStyle: gemspec
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,43 @@
|
|
|
1
|
-
## [
|
|
1
|
+
## [0.1.8] - 2026-04-01
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
- Updated the used version of json to v. 2.19.3, due to security issues.
|
|
5
|
+
|
|
6
|
+
## [0.1.7] - 2025-10-14
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- Updated the required version of rubocop to v. 1.81 or higher. This
|
|
10
|
+
eliminates the dependency on REXML, which is frequently updated due to
|
|
11
|
+
security concerns.
|
|
12
|
+
|
|
13
|
+
## [0.1.6] - 2025-09-25
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Updated the version of REXML to v. 3.4.2, due to security issues.
|
|
17
|
+
|
|
18
|
+
## [0.1.5] - 2024-10-29
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Updated the version of REXML to v. 3.3.9, due to security issues.
|
|
22
|
+
|
|
23
|
+
## [0.1.4] - 2024-10-02
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- Updated the version of REXML to v. 3.3.8, due to security issues.
|
|
27
|
+
|
|
28
|
+
## [0.1.3] - 2024-08-05
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
- Updated the version of REXML "again", to v. 3.3.3, due to
|
|
32
|
+
security issues (REXML is used by RuboCop, a development tool).
|
|
33
|
+
- Updated the versions of a few other gem dependencies.
|
|
34
|
+
|
|
35
|
+
## [0.1.2] - 2024-07-30
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
- Updated the version of REXML due to security issues (REXML is
|
|
39
|
+
used by RuboCop, a development tool).
|
|
40
|
+
- Updated the versions of a number of other gem dependencies.
|
|
2
41
|
|
|
3
42
|
## [0.1.1] - 2021-05-17
|
|
4
43
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,69 +1,92 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
sync_enum (0.1.
|
|
4
|
+
sync_enum (0.1.8)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
addressable (2.7
|
|
10
|
-
public_suffix (>= 2.0.2, <
|
|
11
|
-
ast (2.4.
|
|
12
|
-
diff-lcs (1.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
addressable (2.8.7)
|
|
10
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
11
|
+
ast (2.4.3)
|
|
12
|
+
diff-lcs (1.6.2)
|
|
13
|
+
json (2.19.3)
|
|
14
|
+
language_server-protocol (3.17.0.5)
|
|
15
|
+
launchy (2.5.2)
|
|
16
|
+
addressable (~> 2.8)
|
|
17
|
+
lint_roller (1.1.0)
|
|
18
|
+
parallel (1.27.0)
|
|
19
|
+
parser (3.3.9.0)
|
|
17
20
|
ast (~> 2.4.1)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
rspec-
|
|
27
|
-
|
|
28
|
-
rspec-
|
|
29
|
-
rspec-
|
|
21
|
+
racc
|
|
22
|
+
prism (1.5.2)
|
|
23
|
+
public_suffix (6.0.2)
|
|
24
|
+
racc (1.8.1)
|
|
25
|
+
rainbow (3.1.1)
|
|
26
|
+
rake (13.3.0)
|
|
27
|
+
regexp_parser (2.11.3)
|
|
28
|
+
rspec (3.13.1)
|
|
29
|
+
rspec-core (~> 3.13.0)
|
|
30
|
+
rspec-expectations (~> 3.13.0)
|
|
31
|
+
rspec-mocks (~> 3.13.0)
|
|
32
|
+
rspec-core (3.13.5)
|
|
33
|
+
rspec-support (~> 3.13.0)
|
|
34
|
+
rspec-expectations (3.13.5)
|
|
30
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
31
|
-
rspec-support (~> 3.
|
|
32
|
-
rspec-mocks (3.
|
|
36
|
+
rspec-support (~> 3.13.0)
|
|
37
|
+
rspec-mocks (3.13.6)
|
|
33
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
34
|
-
rspec-support (~> 3.
|
|
35
|
-
rspec-support (3.
|
|
36
|
-
rubocop (1.
|
|
39
|
+
rspec-support (~> 3.13.0)
|
|
40
|
+
rspec-support (3.13.6)
|
|
41
|
+
rubocop (1.81.1)
|
|
42
|
+
json (~> 2.3)
|
|
43
|
+
language_server-protocol (~> 3.17.0.2)
|
|
44
|
+
lint_roller (~> 1.1.0)
|
|
37
45
|
parallel (~> 1.10)
|
|
38
|
-
parser (>= 3.
|
|
46
|
+
parser (>= 3.3.0.2)
|
|
39
47
|
rainbow (>= 2.2.2, < 4.0)
|
|
40
|
-
regexp_parser (>=
|
|
41
|
-
|
|
42
|
-
rubocop-ast (>= 1.5.0, < 2.0)
|
|
48
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
49
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
43
50
|
ruby-progressbar (~> 1.7)
|
|
44
|
-
unicode-display_width (>=
|
|
45
|
-
rubocop-ast (1.
|
|
46
|
-
parser (>= 3.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
rubocop (~> 1.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
52
|
+
rubocop-ast (1.47.1)
|
|
53
|
+
parser (>= 3.3.7.2)
|
|
54
|
+
prism (~> 1.4)
|
|
55
|
+
rubocop-capybara (2.22.1)
|
|
56
|
+
lint_roller (~> 1.1)
|
|
57
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
58
|
+
rubocop-factory_bot (2.27.1)
|
|
59
|
+
lint_roller (~> 1.1)
|
|
60
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
61
|
+
rubocop-rake (0.7.1)
|
|
62
|
+
lint_roller (~> 1.1)
|
|
63
|
+
rubocop (>= 1.72.1)
|
|
64
|
+
rubocop-rspec (2.31.0)
|
|
65
|
+
rubocop (~> 1.40)
|
|
66
|
+
rubocop-capybara (~> 2.17)
|
|
67
|
+
rubocop-factory_bot (~> 2.22)
|
|
68
|
+
rubocop-rspec_rails (~> 2.28)
|
|
69
|
+
rubocop-rspec_rails (2.29.1)
|
|
70
|
+
rubocop (~> 1.61)
|
|
71
|
+
ruby-progressbar (1.13.0)
|
|
72
|
+
unicode-display_width (3.2.0)
|
|
73
|
+
unicode-emoji (~> 4.1)
|
|
74
|
+
unicode-emoji (4.1.0)
|
|
54
75
|
|
|
55
76
|
PLATFORMS
|
|
77
|
+
x64-mingw-ucrt
|
|
56
78
|
x64-mingw32
|
|
79
|
+
x86_64-linux
|
|
57
80
|
|
|
58
81
|
DEPENDENCIES
|
|
59
82
|
bundler (~> 2.0)
|
|
60
83
|
launchy (~> 2.5)
|
|
61
84
|
rake (~> 13.0)
|
|
62
85
|
rspec (~> 3.0)
|
|
63
|
-
rubocop (~> 1.
|
|
64
|
-
rubocop-rake (~> 0.
|
|
65
|
-
rubocop-rspec (~> 2.
|
|
86
|
+
rubocop (~> 1.81)
|
|
87
|
+
rubocop-rake (~> 0.7)
|
|
88
|
+
rubocop-rspec (~> 2.31)
|
|
66
89
|
sync_enum!
|
|
67
90
|
|
|
68
91
|
BUNDLED WITH
|
|
69
|
-
2.
|
|
92
|
+
2.5.16
|
data/lib/sync_enum/version.rb
CHANGED
data/sync_enum.gemspec
CHANGED
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
|
|
20
20
|
SyncEnum differs from the standard library's REXML::SyncEnumerator in
|
|
21
21
|
its use of the #next external iterator interface, while
|
|
22
|
-
REXML::SyncEnumerator uses an #each internal
|
|
22
|
+
REXML::SyncEnumerator uses an #each internal iterator interface. The
|
|
23
23
|
external interface is more convenient when you expect to end
|
|
24
24
|
iteration before reaching the end of any of the enumerations,
|
|
25
25
|
including cases where an enumerator generates an unending sequence.
|
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
|
|
28
28
|
spec.homepage = 'https://github.com/brucetesar/sync_enum'
|
|
29
29
|
spec.license = 'MIT'
|
|
30
|
-
spec.required_ruby_version =
|
|
30
|
+
spec.required_ruby_version = '>= 2.7.0'
|
|
31
31
|
|
|
32
32
|
# spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
33
33
|
|
|
@@ -53,7 +53,11 @@ Gem::Specification.new do |spec|
|
|
|
53
53
|
spec.add_development_dependency 'launchy', '~> 2.5'
|
|
54
54
|
spec.add_development_dependency 'rake', '~> 13.0'
|
|
55
55
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
56
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
|
57
|
-
spec.add_development_dependency 'rubocop-rake', '~> 0.
|
|
58
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.
|
|
56
|
+
spec.add_development_dependency 'rubocop', '~> 1.81'
|
|
57
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.7'
|
|
58
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.31'
|
|
59
|
+
|
|
60
|
+
# Requires that future versions of this gem must be pushed using a
|
|
61
|
+
# rubygems account with multifactor authentication (MFA) turned on.
|
|
62
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
59
63
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sync_enum
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bruce Tesar
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2026-04-01 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -72,42 +71,42 @@ dependencies:
|
|
|
72
71
|
requirements:
|
|
73
72
|
- - "~>"
|
|
74
73
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '1.
|
|
74
|
+
version: '1.81'
|
|
76
75
|
type: :development
|
|
77
76
|
prerelease: false
|
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
78
|
requirements:
|
|
80
79
|
- - "~>"
|
|
81
80
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '1.
|
|
81
|
+
version: '1.81'
|
|
83
82
|
- !ruby/object:Gem::Dependency
|
|
84
83
|
name: rubocop-rake
|
|
85
84
|
requirement: !ruby/object:Gem::Requirement
|
|
86
85
|
requirements:
|
|
87
86
|
- - "~>"
|
|
88
87
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '0.
|
|
88
|
+
version: '0.7'
|
|
90
89
|
type: :development
|
|
91
90
|
prerelease: false
|
|
92
91
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
92
|
requirements:
|
|
94
93
|
- - "~>"
|
|
95
94
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '0.
|
|
95
|
+
version: '0.7'
|
|
97
96
|
- !ruby/object:Gem::Dependency
|
|
98
97
|
name: rubocop-rspec
|
|
99
98
|
requirement: !ruby/object:Gem::Requirement
|
|
100
99
|
requirements:
|
|
101
100
|
- - "~>"
|
|
102
101
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '2.
|
|
102
|
+
version: '2.31'
|
|
104
103
|
type: :development
|
|
105
104
|
prerelease: false
|
|
106
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
106
|
requirements:
|
|
108
107
|
- - "~>"
|
|
109
108
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '2.
|
|
109
|
+
version: '2.31'
|
|
111
110
|
description: |
|
|
112
111
|
Iterate over multiple enumerators in parallel, using the external
|
|
113
112
|
interface based on the #next method. Each call to #next returns an
|
|
@@ -117,7 +116,7 @@ description: |
|
|
|
117
116
|
|
|
118
117
|
SyncEnum differs from the standard library's REXML::SyncEnumerator in
|
|
119
118
|
its use of the #next external iterator interface, while
|
|
120
|
-
REXML::SyncEnumerator uses an #each internal
|
|
119
|
+
REXML::SyncEnumerator uses an #each internal iterator interface. The
|
|
121
120
|
external interface is more convenient when you expect to end
|
|
122
121
|
iteration before reaching the end of any of the enumerations,
|
|
123
122
|
including cases where an enumerator generates an unending sequence.
|
|
@@ -151,7 +150,7 @@ metadata:
|
|
|
151
150
|
homepage_uri: https://github.com/brucetesar/sync_enum
|
|
152
151
|
source_code_uri: https://github.com/brucetesar/sync_enum
|
|
153
152
|
changelog_uri: https://github.com/brucetesar/sync_enum/blob/master/CHANGELOG.md
|
|
154
|
-
|
|
153
|
+
rubygems_mfa_required: 'true'
|
|
155
154
|
rdoc_options: []
|
|
156
155
|
require_paths:
|
|
157
156
|
- lib
|
|
@@ -159,15 +158,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
159
158
|
requirements:
|
|
160
159
|
- - ">="
|
|
161
160
|
- !ruby/object:Gem::Version
|
|
162
|
-
version: 2.
|
|
161
|
+
version: 2.7.0
|
|
163
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
163
|
requirements:
|
|
165
164
|
- - ">="
|
|
166
165
|
- !ruby/object:Gem::Version
|
|
167
166
|
version: '0'
|
|
168
167
|
requirements: []
|
|
169
|
-
rubygems_version: 3.
|
|
170
|
-
signing_key:
|
|
168
|
+
rubygems_version: 3.6.3
|
|
171
169
|
specification_version: 4
|
|
172
170
|
summary: Iterates over multiple enumerators.
|
|
173
171
|
test_files: []
|