sync_enum 0.1.0 → 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 +41 -1
- data/Gemfile +0 -4
- data/Gemfile.lock +67 -44
- data/lib/sync_enum/version.rb +1 -1
- data/sync_enum.gemspec +11 -4
- metadata +53 -11
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,44 @@
|
|
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.
|
36
|
+
|
37
|
+
## [0.1.1] - 2021-05-17
|
38
|
+
|
39
|
+
### Changed
|
40
|
+
- Moved remaining development dependencies from Gemfile to
|
41
|
+
sync_enum.gemspec.
|
2
42
|
|
3
43
|
## [0.1.0] - 2021-05-15
|
4
44
|
|
data/Gemfile
CHANGED
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
|
65
|
-
rubocop-rspec
|
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,9 +27,9 @@ 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
|
-
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
32
|
+
# spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
33
33
|
|
34
34
|
spec.metadata['homepage_uri'] = spec.homepage
|
35
35
|
spec.metadata['source_code_uri'] =
|
@@ -50,7 +50,14 @@ Gem::Specification.new do |spec|
|
|
50
50
|
|
51
51
|
# Register the development-specific dependencies
|
52
52
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
53
|
+
spec.add_development_dependency 'launchy', '~> 2.5'
|
53
54
|
spec.add_development_dependency 'rake', '~> 13.0'
|
54
55
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
55
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
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'
|
56
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
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: launchy
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.5'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.5'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +72,42 @@ dependencies:
|
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
75
|
+
version: '1.81'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.81'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop-rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.7'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.7'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.31'
|
62
104
|
type: :development
|
63
105
|
prerelease: false
|
64
106
|
version_requirements: !ruby/object:Gem::Requirement
|
65
107
|
requirements:
|
66
108
|
- - "~>"
|
67
109
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
110
|
+
version: '2.31'
|
69
111
|
description: |
|
70
112
|
Iterate over multiple enumerators in parallel, using the external
|
71
113
|
interface based on the #next method. Each call to #next returns an
|
@@ -75,7 +117,7 @@ description: |
|
|
75
117
|
|
76
118
|
SyncEnum differs from the standard library's REXML::SyncEnumerator in
|
77
119
|
its use of the #next external iterator interface, while
|
78
|
-
REXML::SyncEnumerator uses an #each internal
|
120
|
+
REXML::SyncEnumerator uses an #each internal iterator interface. The
|
79
121
|
external interface is more convenient when you expect to end
|
80
122
|
iteration before reaching the end of any of the enumerations,
|
81
123
|
including cases where an enumerator generates an unending sequence.
|
@@ -106,11 +148,11 @@ homepage: https://github.com/brucetesar/sync_enum
|
|
106
148
|
licenses:
|
107
149
|
- MIT
|
108
150
|
metadata:
|
109
|
-
allowed_push_host: https://rubygems.org
|
110
151
|
homepage_uri: https://github.com/brucetesar/sync_enum
|
111
152
|
source_code_uri: https://github.com/brucetesar/sync_enum
|
112
153
|
changelog_uri: https://github.com/brucetesar/sync_enum/blob/master/CHANGELOG.md
|
113
|
-
|
154
|
+
rubygems_mfa_required: 'true'
|
155
|
+
post_install_message:
|
114
156
|
rdoc_options: []
|
115
157
|
require_paths:
|
116
158
|
- lib
|
@@ -118,15 +160,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
160
|
requirements:
|
119
161
|
- - ">="
|
120
162
|
- !ruby/object:Gem::Version
|
121
|
-
version: 2.
|
163
|
+
version: 2.7.0
|
122
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
165
|
requirements:
|
124
166
|
- - ">="
|
125
167
|
- !ruby/object:Gem::Version
|
126
168
|
version: '0'
|
127
169
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
129
|
-
signing_key:
|
170
|
+
rubygems_version: 3.4.7
|
171
|
+
signing_key:
|
130
172
|
specification_version: 4
|
131
173
|
summary: Iterates over multiple enumerators.
|
132
174
|
test_files: []
|