gemwork 0.7.1 → 0.7.2
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/README.md +2 -2
- data/lib/gemwork/test/support/much_stub-rails.rb +10 -0
- data/lib/gemwork/test/support/much_stub.rb +4 -13
- data/lib/gemwork/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f1b7a3d5a94aa04a34a32029c783470048b82193b55ec5602c394a838fbe340
|
4
|
+
data.tar.gz: de38e3ba487a57e97243988d33f5138dbc1745eb7ca562f107c0b727dc4833e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc86d2a0a434e2919cc91e266121ab2ee79b65accd00b46856b926dfdfe2f289f13bfbdd562b9d6d680ee1623d40d7799e73b0e215e5a40069122b6cc9dd2059
|
7
|
+
data.tar.gz: ebd1c6de8cd02f80696959588898e010d9564ba5defb60a77f7d703d7e8839f0213599bafd0993fd3fcefdd17bae40b5e7c0a43f338731d98a82d240ca4fd227
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.7.2] - 2024-11-22
|
4
|
+
|
5
|
+
- Remove auto-detect of ActiveSupport::TestCase vs Minitest::Spec in favor of manual selection of test/support/much_stub.rb vs test/support/much_stub-rails.rb. This fixes incorrect auto-detection of "Rails" env in gems that include a Rails test dummy.
|
6
|
+
|
3
7
|
## [0.7.1] - 2024-11-21
|
4
8
|
|
5
9
|
- Auto-detect ActiveSupport::TestCase vs Minitest::Spec (rails vs non-rails) in test/support/much_stub.rb.
|
data/README.md
CHANGED
@@ -327,7 +327,7 @@ REBUILD_GEMWORK=1 bin/setup
|
|
327
327
|
|
328
328
|
### Testing
|
329
329
|
|
330
|
-
To test this gem
|
330
|
+
To test this gem:
|
331
331
|
|
332
332
|
```bash
|
333
333
|
rake
|
@@ -346,7 +346,7 @@ npx prettier . --write
|
|
346
346
|
|
347
347
|
### Releases
|
348
348
|
|
349
|
-
To release a new version of
|
349
|
+
To release a new version of this gem to RubyGems:
|
350
350
|
|
351
351
|
1. Update the version number in `version.rb`
|
352
352
|
2. Update `CHANGELOG.md`
|
@@ -2,18 +2,9 @@
|
|
2
2
|
|
3
3
|
require "much-stub"
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
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
|
5
|
+
# Augment the existing Minitest::Spec class.
|
6
|
+
class Minitest::Spec
|
7
|
+
after do
|
8
|
+
MuchStub.unstub!
|
18
9
|
end
|
19
10
|
end
|
data/lib/gemwork/version.rb
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.7.
|
4
|
+
version: 0.7.2
|
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-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -205,6 +205,7 @@ files:
|
|
205
205
|
- lib/.DS_Store
|
206
206
|
- lib/gemwork.rb
|
207
207
|
- lib/gemwork/.DS_Store
|
208
|
+
- lib/gemwork/test/support/much_stub-rails.rb
|
208
209
|
- lib/gemwork/test/support/much_stub.rb
|
209
210
|
- lib/gemwork/test/support/reporters.rb
|
210
211
|
- lib/gemwork/test/support/simplecov.rb
|