sync_enum 0.1.1 → 0.1.7
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 +35 -1
- data/Gemfile.lock +67 -44
- data/lib/sync_enum/version.rb +1 -1
- data/sync_enum.gemspec +9 -5
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cd6d8eaf5ae68860105b9ed6726e718131383efb193c3879379e6bff00a59de
|
4
|
+
data.tar.gz: bb89288f396be628df7f0e0fe6a01dcdc5332c39e9d8db1df083b7a4160234e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ade3c5acba966a68934fdcb602dc3481b4000ac4ac2be60d23489038d03bbefb7d30ae14bd11c723ad28411943da4903e79c359b4ede72654016643e7cebd6c5
|
7
|
+
data.tar.gz: d098b8d30a9f61c501ed4ad5d3e9f747fd2395e979dc318176e8bf3fa3f68c87d70d57e150fb483672efff31e4089c4c2e398ea6faf41b06e3c6c2f7e6f5d1a0
|
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,38 @@
|
|
1
|
-
## [
|
1
|
+
## [0.1.7] - 2025-10-14
|
2
|
+
|
3
|
+
### Changed
|
4
|
+
- Updated the required version of rubocop to v. 1.81 or higher. This
|
5
|
+
eliminates the dependency on REXML, which is frequently updated due to
|
6
|
+
security concerns.
|
7
|
+
|
8
|
+
## [0.1.6] - 2025-09-25
|
9
|
+
|
10
|
+
### Changed
|
11
|
+
- Updated the version of REXML to v. 3.4.2, due to security issues.
|
12
|
+
|
13
|
+
## [0.1.5] - 2024-10-29
|
14
|
+
|
15
|
+
### Changed
|
16
|
+
- Updated the version of REXML to v. 3.3.9, due to security issues.
|
17
|
+
|
18
|
+
## [0.1.4] - 2024-10-02
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
- Updated the version of REXML to v. 3.3.8, due to security issues.
|
22
|
+
|
23
|
+
## [0.1.3] - 2024-08-05
|
24
|
+
|
25
|
+
### Changed
|
26
|
+
- Updated the version of REXML "again", to v. 3.3.3, due to
|
27
|
+
security issues (REXML is used by RuboCop, a development tool).
|
28
|
+
- Updated the versions of a few other gem dependencies.
|
29
|
+
|
30
|
+
## [0.1.2] - 2024-07-30
|
31
|
+
|
32
|
+
### Changed
|
33
|
+
- Updated the version of REXML due to security issues (REXML is
|
34
|
+
used by RuboCop, a development tool).
|
35
|
+
- Updated the versions of a number of other gem dependencies.
|
2
36
|
|
3
37
|
## [0.1.1] - 2021-05-17
|
4
38
|
|
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.7)
|
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.15.1)
|
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,14 @@
|
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruce Tesar
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,42 +72,42 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.81'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
82
|
+
version: '1.81'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
89
|
+
version: '0.7'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
96
|
+
version: '0.7'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '2.
|
103
|
+
version: '2.31'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '2.
|
110
|
+
version: '2.31'
|
111
111
|
description: |
|
112
112
|
Iterate over multiple enumerators in parallel, using the external
|
113
113
|
interface based on the #next method. Each call to #next returns an
|
@@ -117,7 +117,7 @@ description: |
|
|
117
117
|
|
118
118
|
SyncEnum differs from the standard library's REXML::SyncEnumerator in
|
119
119
|
its use of the #next external iterator interface, while
|
120
|
-
REXML::SyncEnumerator uses an #each internal
|
120
|
+
REXML::SyncEnumerator uses an #each internal iterator interface. The
|
121
121
|
external interface is more convenient when you expect to end
|
122
122
|
iteration before reaching the end of any of the enumerations,
|
123
123
|
including cases where an enumerator generates an unending sequence.
|
@@ -151,7 +151,8 @@ metadata:
|
|
151
151
|
homepage_uri: https://github.com/brucetesar/sync_enum
|
152
152
|
source_code_uri: https://github.com/brucetesar/sync_enum
|
153
153
|
changelog_uri: https://github.com/brucetesar/sync_enum/blob/master/CHANGELOG.md
|
154
|
-
|
154
|
+
rubygems_mfa_required: 'true'
|
155
|
+
post_install_message:
|
155
156
|
rdoc_options: []
|
156
157
|
require_paths:
|
157
158
|
- lib
|
@@ -159,15 +160,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
160
|
requirements:
|
160
161
|
- - ">="
|
161
162
|
- !ruby/object:Gem::Version
|
162
|
-
version: 2.
|
163
|
+
version: 2.7.0
|
163
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
165
|
requirements:
|
165
166
|
- - ">="
|
166
167
|
- !ruby/object:Gem::Version
|
167
168
|
version: '0'
|
168
169
|
requirements: []
|
169
|
-
rubygems_version: 3.
|
170
|
-
signing_key:
|
170
|
+
rubygems_version: 3.4.7
|
171
|
+
signing_key:
|
171
172
|
specification_version: 4
|
172
173
|
summary: Iterates over multiple enumerators.
|
173
174
|
test_files: []
|