infopark_reactor 1.29.0 → 1.29.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 404e65df07e84fa356158b43332bae9654c4f3192a97c4ff6152068739230195
4
- data.tar.gz: 7656cb5ee54147adc2c1bee839a25a7e8265c2345d1b1bf7043f2ef838bfb233
3
+ metadata.gz: 93ceaad1723cdc82bd07223ffe86ad78dafdec8b74719fdeb31c96eb6e936759
4
+ data.tar.gz: 68e23ee67c7a151718bf85ad8ce803d7b7db9985ab8149095c9d2991ddbd9964
5
5
  SHA512:
6
- metadata.gz: eff473d8c3817e9e01c52518a7de3003a3b7cfd025d07a80438c62770afae7589427e9fca73337dc0e160b4ed45be7e19e6fd4f951baf799a8b7da2ffbabb2d6
7
- data.tar.gz: ac0aebbc001755f1530e62cc2688e2cbbd4029dac3d8cbd7f581520bd402d2413e076002a20260c01bd786c1625d91d3b802aa1405a2b5911602d842aebf0e12
6
+ metadata.gz: 83dbb54e7721ad6eacb138b3dcce500f440899beba1e6a0f42c5ea0eb494bbe858c3eaf93aa25f0eaf8abb57d638fbc564ff0034466c042e5cf0c25770ef7430
7
+ data.tar.gz: f00524caa088cc257756daaf29b58921cf4867d108d9eff84ee8172f2b33d01e6fc59b91041ba2e33f801a634647506a3d81be843b7574c9f3352d5491f5d86d
data/.rubocop_todo.yml CHANGED
@@ -1,13 +1,21 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2022-08-24 14:28:25 UTC using RuboCop version 1.35.1.
3
+ # on 2023-05-04 13:02:58 UTC using RuboCop version 1.45.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
+ # Offense count: 2
10
+ # Configuration parameters: EnforcedStyle, AllowedGems, Include.
11
+ # SupportedStyles: Gemfile, gems.rb, gemspec
12
+ # Include: **/*.gemspec, **/Gemfile, **/gems.rb
13
+ Gemspec/DevelopmentDependencies:
14
+ Exclude:
15
+ - 'infopark_reactor.gemspec'
16
+
9
17
  # Offense count: 1
10
- # Configuration parameters: Include.
18
+ # Configuration parameters: Severity, Include.
11
19
  # Include: **/*.gemspec
12
20
  Gemspec/RequiredRubyVersion:
13
21
  Exclude:
@@ -136,19 +144,13 @@ Lint/UselessAssignment:
136
144
  - 'lib/reactor/plans/update_attribute.rb'
137
145
  - 'lib/reactor/plans/update_obj_class.rb'
138
146
 
139
- # Offense count: 1
140
- # This cop supports unsafe autocorrection (--autocorrect-all).
141
- Lint/UselessMethodDefinition:
142
- Exclude:
143
- - 'lib/reactor/attributes.rb'
144
-
145
147
  # Offense count: 43
146
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
148
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
147
149
  Metrics/AbcSize:
148
150
  Max: 58
149
151
 
150
152
  # Offense count: 5
151
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
153
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
152
154
  # AllowedMethods: refine
153
155
  Metrics/BlockLength:
154
156
  Max: 44
@@ -159,12 +161,12 @@ Metrics/ClassLength:
159
161
  Max: 397
160
162
 
161
163
  # Offense count: 11
162
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
164
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
163
165
  Metrics/CyclomaticComplexity:
164
166
  Max: 17
165
167
 
166
168
  # Offense count: 55
167
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
169
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
168
170
  Metrics/MethodLength:
169
171
  Max: 79
170
172
 
@@ -174,7 +176,7 @@ Metrics/ModuleLength:
174
176
  Max: 264
175
177
 
176
178
  # Offense count: 10
177
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
179
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
178
180
  Metrics/PerceivedComplexity:
179
181
  Max: 17
180
182
 
@@ -204,7 +206,7 @@ Naming/ConstantName:
204
206
 
205
207
  # Offense count: 9
206
208
  # Configuration parameters: ForbiddenDelimiters.
207
- # ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
209
+ # ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
208
210
  Naming/HeredocDelimiterNaming:
209
211
  Exclude:
210
212
  - 'lib/reactor/attributes_handlers.rb'
@@ -221,7 +223,7 @@ Naming/MemoizedInstanceVariableName:
221
223
 
222
224
  # Offense count: 5
223
225
  # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
224
- # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
226
+ # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
225
227
  Naming/MethodParameterName:
226
228
  Exclude:
227
229
  - 'lib/reactor/cm/bridge.rb'
@@ -372,6 +374,7 @@ Style/FrozenStringLiteralComment:
372
374
  Enabled: false
373
375
 
374
376
  # Offense count: 4
377
+ # This cop supports safe autocorrection (--autocorrect).
375
378
  # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
376
379
  Style/GuardClause:
377
380
  Exclude:
@@ -383,6 +386,7 @@ Style/GuardClause:
383
386
  # Offense count: 8
384
387
  # This cop supports unsafe autocorrection (--autocorrect-all).
385
388
  # Configuration parameters: AllowedReceivers.
389
+ # AllowedReceivers: Thread.current
386
390
  Style/HashEachMethods:
387
391
  Exclude:
388
392
  - 'lib/reactor/permission.rb'
@@ -437,6 +441,12 @@ Style/InverseMethods:
437
441
  Exclude:
438
442
  - 'lib/reactor/plans/prepared.rb'
439
443
 
444
+ # Offense count: 1
445
+ # This cop supports unsafe autocorrection (--autocorrect-all).
446
+ Style/MinMaxComparison:
447
+ Exclude:
448
+ - 'app/models/rails_connector/abstract_obj.rb'
449
+
440
450
  # Offense count: 1
441
451
  Style/MissingRespondToMissing:
442
452
  Exclude:
@@ -499,8 +509,8 @@ Style/StringConcatenation:
499
509
 
500
510
  # Offense count: 3
501
511
  # This cop supports unsafe autocorrection (--autocorrect-all).
502
- # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowComments.
503
- # AllowedMethods: respond_to, define_method
512
+ # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
513
+ # AllowedMethods: define_method
504
514
  Style/SymbolProc:
505
515
  Exclude:
506
516
  - 'lib/reactor/cm/obj.rb'
@@ -515,17 +525,18 @@ Style/TernaryParentheses:
515
525
  Exclude:
516
526
  - 'lib/reactor/cm/obj.rb'
517
527
 
518
- # Offense count: 1
528
+ # Offense count: 2
519
529
  # This cop supports unsafe autocorrection (--autocorrect-all).
520
530
  # Configuration parameters: EnforcedStyle.
521
531
  # SupportedStyles: forbid_for_all_comparison_operators, forbid_for_equality_operators_only, require_for_all_comparison_operators, require_for_equality_operators_only
522
532
  Style/YodaCondition:
523
533
  Exclude:
534
+ - 'app/models/rails_connector/abstract_obj.rb'
524
535
  - 'lib/reactor/validations.rb'
525
536
 
526
537
  # Offense count: 29
527
538
  # This cop supports safe autocorrection (--autocorrect).
528
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
539
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
529
540
  # URISchemes: http, https
530
541
  Layout/LineLength:
531
542
  Max: 248
@@ -82,8 +82,8 @@ module RailsConnector
82
82
  @keep_edited = true
83
83
  end
84
84
 
85
- def t(key, opts = {})
86
- I18n.t(key, opts)
85
+ def t(key, **opts)
86
+ I18n.t(key, **opts)
87
87
  end
88
88
  end
89
89
  end
@@ -1,3 +1,3 @@
1
1
  module Reactor
2
- VERSION = "1.29.0".freeze
2
+ VERSION = "1.29.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_reactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Przedmojski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-08-24 00:00:00.000000000 Z
13
+ date: 2023-05-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: infopark_fiona_connector
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  - !ruby/object:Gem::Version
268
268
  version: '0'
269
269
  requirements: []
270
- rubygems_version: 3.3.7
270
+ rubygems_version: 3.4.5
271
271
  signing_key:
272
272
  specification_version: 4
273
273
  summary: Write into CM in familiar, Rails-like way