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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a86bb2d33960d2a3a23ed5301e9b1982a7117dffc8b728b5ca9c6651cfb6a7ae
4
- data.tar.gz: '0149568136184fbc9fe0924ede5eabc8b1af503884a3289375ca722d309c684d'
3
+ metadata.gz: febdaeae9f99310dd29657d4294941a738cf8b07015f3800c0186f240a242c65
4
+ data.tar.gz: 276c5fd41952b7d159a770e50062cf467941cf3049214ff27445f17240003cb9
5
5
  SHA512:
6
- metadata.gz: fcf64e3ca2ad3ed6bdb86857b134a99d3957b196ce722207b500e5ffbf07a5a0c30459ca6891b123759eaadb27fba96cb03540a026e3f45d36bedb4df243af2a
7
- data.tar.gz: 2d4982e4189becf0aa8dca9532312b43925534851c490fb5423ca7c89450056838bb72348e43ab10bcdbe0db7be99f464f2a6e04a6e4b17164944bca98f5ecf4
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.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,43 @@
1
- ## [Unreleased]
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.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.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.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
- 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 (~> 0.5)
65
- rubocop-rspec (~> 2.3)
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.1'
5
+ VERSION = '0.1.8'
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,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 = Gem::Requirement.new('>= 2.6.0')
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.7'
57
- spec.add_development_dependency 'rubocop-rake', '~> 0.5'
58
- spec.add_development_dependency 'rubocop-rspec', '~> 2.3'
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.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: 2021-05-17 00:00:00.000000000 Z
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.7'
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.7'
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.5'
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.5'
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.3'
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.3'
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 interator interface. The
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
- post_install_message:
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.6.0
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.0.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: []