gemwork 0.7.22 → 0.7.23
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/CHANGELOG.md +4 -0
- data/lib/gemwork/version.rb +1 -1
- data/lib/rubocop/style.yml +16 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 763b3f4039543fc404b743c7ba4ebde1f9cefaddf1ef61329bd7b2c7c15cda70
|
|
4
|
+
data.tar.gz: 2f47a6713ca400204ae08cd7a22323878055148958fb11cc41aba376233c6aca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2815065e6f763023648b87de2d9aeb9dd5dfd08efac39d5496e91e8938a51d3d3a204b8ca99edba867ae239dd4c0bc8c496fbb2858b701a9e9d89b1890077be8
|
|
7
|
+
data.tar.gz: 398dfb10f465cc82e6be6988dbc76fe6e16a05a4ce23fb10a14f141bd16755e2486a1ac89836af0309b0dd8870eb84c68e347df4f55e52a77d2f750b204bb976
|
data/CHANGELOG.md
CHANGED
data/lib/gemwork/version.rb
CHANGED
data/lib/rubocop/style.yml
CHANGED
|
@@ -58,6 +58,10 @@ Style/ClassAndModuleChildren:
|
|
|
58
58
|
# Combine constant definitions as much as possible. e.g. `class Foo::Bar`.
|
|
59
59
|
EnforcedStyle: compact
|
|
60
60
|
|
|
61
|
+
Style/ClassMethodsDefinitions:
|
|
62
|
+
# Prefer to define class methods like: `def self.<class_method_name>`.
|
|
63
|
+
Enabled: true
|
|
64
|
+
|
|
61
65
|
Style/CollectionMethods:
|
|
62
66
|
# Enforce the use of consistent method names from the Enumerable module.
|
|
63
67
|
Enabled: true
|
|
@@ -72,10 +76,6 @@ Style/ConstantVisibility:
|
|
|
72
76
|
# Protect the public API by requiring constants visibility.
|
|
73
77
|
Enabled: true
|
|
74
78
|
|
|
75
|
-
Style/ClassMethodsDefinitions:
|
|
76
|
-
# Prefer to define class methods like: `def self.<class_method_name>`.
|
|
77
|
-
Enabled: true
|
|
78
|
-
|
|
79
79
|
Style/Copyright:
|
|
80
80
|
# Don't require a copyright notice in every source file.
|
|
81
81
|
Enabled: false
|
|
@@ -90,6 +90,18 @@ Style/Documentation:
|
|
|
90
90
|
Exclude:
|
|
91
91
|
- test/**/*
|
|
92
92
|
|
|
93
|
+
Style/EmptyClassDefinition:
|
|
94
|
+
# Prefer using single-line constant definition for StandardError classes
|
|
95
|
+
# (only). e.g.
|
|
96
|
+
# class MyModel < ApplicationRecord; end # Good
|
|
97
|
+
# MyModel = Class.new(ApplicationRecord) # Bad
|
|
98
|
+
#
|
|
99
|
+
# Error = Class.new(StandardError) # Good
|
|
100
|
+
# class Error < StandardError; end # Bad
|
|
101
|
+
EnforcedStyle: class_keyword
|
|
102
|
+
AllowedParentClasses:
|
|
103
|
+
- StandardError
|
|
104
|
+
|
|
93
105
|
Style/EmptyElse:
|
|
94
106
|
# Require an explanatory comment if we're otherwise wanting to utilize an
|
|
95
107
|
# empty `else` block.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gemwork
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.23
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul DobbinSchmaltz
|
|
@@ -257,7 +257,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
257
257
|
requirements:
|
|
258
258
|
- - ">="
|
|
259
259
|
- !ruby/object:Gem::Version
|
|
260
|
-
version: '3.
|
|
260
|
+
version: '3.1'
|
|
261
261
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
262
|
requirements:
|
|
263
263
|
- - ">="
|