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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29058cd0e8c7631c47f92729165ce7d17a3f7ce12f89dd3038edafd7860b2abd
4
- data.tar.gz: ab716ac8d40e25f5d7f024f870b70ab8ec7f79f3c88c477a3f141963ae9d115b
3
+ metadata.gz: 5cd6d8eaf5ae68860105b9ed6726e718131383efb193c3879379e6bff00a59de
4
+ data.tar.gz: bb89288f396be628df7f0e0fe6a01dcdc5332c39e9d8db1df083b7a4160234e4
5
5
  SHA512:
6
- metadata.gz: bc48c2672decd18cc58a77835606887e66399d3a80d8195a31821228e9f1df0bfc4e358f14740cc4a6c6e198eab473d1dd0665c3e81bc5ad67764d0cb34f24ed
7
- data.tar.gz: a1fa3a8735a4681c8ee3c56a72dcd23efe75a08c627c54ea317e0b058cf8f551f92c9e86d0a1217c1d3ed2b25f0948d8944e16064d2e715c246ff863eca28358
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.6
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
- ## [Unreleased]
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
@@ -4,7 +4,3 @@ source 'https://rubygems.org'
4
4
 
5
5
  # Specify your gem's dependencies in sync_enum.gemspec
6
6
  gemspec
7
-
8
- gem 'launchy', '~> 2.5'
9
- gem 'rubocop-rake', require: false
10
- gem 'rubocop-rspec'
data/Gemfile.lock CHANGED
@@ -1,69 +1,92 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sync_enum (0.1.0)
4
+ sync_enum (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- addressable (2.7.0)
10
- public_suffix (>= 2.0.2, < 5.0)
11
- ast (2.4.2)
12
- diff-lcs (1.4.4)
13
- launchy (2.5.0)
14
- addressable (~> 2.7)
15
- parallel (1.20.1)
16
- parser (3.0.1.1)
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
- public_suffix (4.0.6)
19
- rainbow (3.0.0)
20
- rake (13.0.3)
21
- regexp_parser (2.1.1)
22
- rexml (3.2.5)
23
- rspec (3.10.0)
24
- rspec-core (~> 3.10.0)
25
- rspec-expectations (~> 3.10.0)
26
- rspec-mocks (~> 3.10.0)
27
- rspec-core (3.10.1)
28
- rspec-support (~> 3.10.0)
29
- rspec-expectations (3.10.1)
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.10.0)
32
- rspec-mocks (3.10.2)
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.10.0)
35
- rspec-support (3.10.2)
36
- rubocop (1.14.0)
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.0.0.0)
46
+ parser (>= 3.3.0.2)
39
47
  rainbow (>= 2.2.2, < 4.0)
40
- regexp_parser (>= 1.8, < 3.0)
41
- rexml
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 (>= 1.4.0, < 3.0)
45
- rubocop-ast (1.5.0)
46
- parser (>= 3.0.1.1)
47
- rubocop-rake (0.5.1)
48
- rubocop
49
- rubocop-rspec (2.3.0)
50
- rubocop (~> 1.0)
51
- rubocop-ast (>= 1.1.0)
52
- ruby-progressbar (1.11.0)
53
- unicode-display_width (2.0.0)
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.7)
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.2.17
92
+ 2.5.16
@@ -2,5 +2,5 @@
2
2
 
3
3
  class SyncEnum
4
4
  # The version number for sync_enum.
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.7'
6
6
  end
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 interator interface. The
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 = Gem::Requirement.new('>= 2.6.0')
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.7'
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.0
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: 2021-05-17 00:00:00.000000000 Z
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.7'
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: '1.7'
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 interator interface. The
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
- post_install_message:
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.6.0
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.0.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: []