gemwork 0.6.0 → 0.7.1
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 +9 -0
- data/README.md +1 -1
- data/lib/gemwork/test/support/much_stub.rb +13 -4
- data/lib/gemwork/version.rb +1 -1
- data/lib/rubocop/all_cops.yml +1 -1
- data/lib/rubocop/layout-rails.yml +6 -0
- data/lib/rubocop/lint.yml +4 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe8acf8b9b48dcfae2a50c4e735355c6a1da0b1845132b119692f6fdadc8455b
|
4
|
+
data.tar.gz: b28e8ee7ae469f81295322f228065f9f4e84c17f88748cb1abab3034a7e80f06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3a4c870b3d569d465bf0b1eca85a30b03a4208a07a090e659649422307c3a04edd817aabc2ea0947f24ea2a971bec5da93ad609ae0fdc7417b387ea5a04733
|
7
|
+
data.tar.gz: f983ce1ef7d49f57a6927cef0858103ebd92e27b62c98a594864cc4fee961c83104b99d51cb87b2f5caa23f840527779feb2b4455d310993e4b6cc61d4359862
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.7.1] - 2024-11-21
|
4
|
+
|
5
|
+
- Auto-detect ActiveSupport::TestCase vs Minitest::Spec (rails vs non-rails) in test/support/much_stub.rb.
|
6
|
+
|
7
|
+
## [0.7.0] - 2024-11-21
|
8
|
+
|
9
|
+
- Update minimum Ruby version from 2.7 -> 3.1
|
10
|
+
- Update RuboCop Styles
|
11
|
+
|
3
12
|
## [0.6.0] - 2024-10-9
|
4
13
|
|
5
14
|
- Update RuboCop Styles, especially for Rails projects
|
data/README.md
CHANGED
@@ -144,7 +144,7 @@ inherit_gem:
|
|
144
144
|
|
145
145
|
# Override values from gemwork's lib/rubocop/all_cops.yml config.
|
146
146
|
AllCops:
|
147
|
-
TargetRubyVersion:
|
147
|
+
TargetRubyVersion: 3.1
|
148
148
|
```
|
149
149
|
|
150
150
|
See also: [RuboCop's Configuration Guide on Inheritance](https://github.com/rubocop/rubocop/blob/master/docs/modules/ROOT/pages/configuration.adoc#inheriting-configuration-from-a-dependency-gem).
|
@@ -2,9 +2,18 @@
|
|
2
2
|
|
3
3
|
require "much-stub"
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
if defined?(ActiveSupport::TestCase)
|
6
|
+
# Augment the existing ActiveSupport::TestCase class.
|
7
|
+
class ActiveSupport::TestCase
|
8
|
+
after do
|
9
|
+
MuchStub.unstub!
|
10
|
+
end
|
11
|
+
end
|
12
|
+
else
|
13
|
+
# Augment the existing Minitest::Spec class.
|
14
|
+
class Minitest::Spec
|
15
|
+
after do
|
16
|
+
MuchStub.unstub!
|
17
|
+
end
|
9
18
|
end
|
10
19
|
end
|
data/lib/gemwork/version.rb
CHANGED
data/lib/rubocop/all_cops.yml
CHANGED
data/lib/rubocop/lint.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul DobbinSchmaltz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -253,14 +253,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
253
253
|
requirements:
|
254
254
|
- - ">="
|
255
255
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
256
|
+
version: '3.1'
|
257
257
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
258
|
requirements:
|
259
259
|
- - ">="
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
|
-
rubygems_version: 3.5.
|
263
|
+
rubygems_version: 3.5.23
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Common gem framework code used by pdobb's Ruby Gems.
|