gemwork 0.7.15 → 0.7.17
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/lib/gemwork/test/support/spec_dsl.rb +19 -3
- data/lib/gemwork/version.rb +1 -1
- data/lib/rubocop/all_cops-rails.yml +1 -2
- data/lib/rubocop/all_cops.yml +0 -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: 5d5dbc7b49786f46f90f3a48a4919ed94f314ef405d912acd4985ff3e80ef96b
|
4
|
+
data.tar.gz: e914915becf213163c6cd17840c93f40de4c5b78a835b656c6872f8bfe82de29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36570607728f1b813845be5916103f48666bb705714c3882a461c069843c92d8854bf39ccf76c138f01e3017b26b9a9f5cf5f61e8da3ddf43d660a0e4097fbe7
|
7
|
+
data.tar.gz: 545a1667c3a39ced3b8ce144cb1399e5704bedff798a3286b58590c8ff5b83e7ddebaa4a2ffd24ae0a2245d201416abef7144d752a1fe48b8241f4cb499763da
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.7.17] - 2025-4-2
|
4
|
+
|
5
|
+
- Revert Rubocop config to ignore all files in the .gitignore spec
|
6
|
+
|
7
|
+
## [0.7.16] - 2025-4-1
|
8
|
+
|
9
|
+
- Add `given` to test/support/spec_dsl.rb. Similar to `context` but includes "GIVEN " in the test description
|
10
|
+
- Update Rubocop config to ignore all files in the .gitignore spec
|
11
|
+
|
3
12
|
## [0.7.15] - 2025-3-23
|
4
13
|
|
5
14
|
- Improve output on error in `rake prettier` task
|
@@ -1,5 +1,21 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
# Use #given to setup the prerequisites/context of a set of test examples.
|
4
|
+
#
|
5
|
+
# @example
|
6
|
+
# describe "#<method_name>" do
|
7
|
+
# given "<condition>" do
|
8
|
+
# before { <setup condition here> }
|
9
|
+
#
|
10
|
+
# it "<result>" do
|
11
|
+
# _(subject.<method_name>).must_equal(<result>)
|
12
|
+
# end
|
13
|
+
#
|
14
|
+
# it ...
|
15
|
+
# end
|
16
|
+
# end
|
17
|
+
#
|
18
|
+
# # => <...Test>::#<method_name>::GIVEN <description>...
|
19
|
+
def given(description, ...) = describe("GIVEN #{description}", ...)
|
20
|
+
|
21
|
+
def context(...) = describe(...)
|
data/lib/gemwork/version.rb
CHANGED
data/lib/rubocop/all_cops.yml
CHANGED
@@ -1,16 +1,12 @@
|
|
1
1
|
AllCops:
|
2
|
-
DisplayCopNames: true
|
3
2
|
DisplayStyleGuide: true
|
4
3
|
EnabledByDefault: true
|
5
4
|
ExtraDetails: true
|
6
5
|
NewCops: enable
|
7
|
-
TargetRubyVersion: 3.2
|
8
6
|
UseCache: true
|
9
7
|
Exclude:
|
10
8
|
# Rubocop Defaults
|
11
|
-
- "node_modules/**/*"
|
12
9
|
- "tmp/**/*"
|
13
|
-
- "vendor/**/*"
|
14
10
|
- ".git/**/*"
|
15
11
|
# Custom additions
|
16
12
|
- "script/**/*"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul DobbinSchmaltz
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|