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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47557445e423d20f345f326b200ddfe229df350f82f854af8fae69a37648e163
4
- data.tar.gz: 797a9f2f2bf6c1ad648ba0fd0a408e46be96fc8a72ee77ed63800dc903b36ff8
3
+ metadata.gz: 5d5dbc7b49786f46f90f3a48a4919ed94f314ef405d912acd4985ff3e80ef96b
4
+ data.tar.gz: e914915becf213163c6cd17840c93f40de4c5b78a835b656c6872f8bfe82de29
5
5
  SHA512:
6
- metadata.gz: ed8fa62c7b5f5226f48c4ede1e0b3d5bc2f658805d40989189809e73b6f69fb17f9705af18caee760943b8920824572368ad7987221a0eea407b5b195120ec70
7
- data.tar.gz: 14548612b26692fed0953852ed3d5a209ff4e06679929f9d37d4b947dbb7e56ab2fd11e42e0bc4ca010235c4a1d76195393b5e675529b280a8e41dbb354a9f4b
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
- def context(...)
4
- describe(...)
5
- end
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(...)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gemwork
4
- VERSION = "0.7.15"
4
+ VERSION = "0.7.17"
5
5
  end
@@ -1,10 +1,9 @@
1
1
  AllCops:
2
- DisplayCopNames: true
2
+ ActiveSupportExtensionsEnabled: true
3
3
  DisplayStyleGuide: true
4
4
  EnabledByDefault: true
5
5
  ExtraDetails: true
6
6
  NewCops: enable
7
- TargetRubyVersion: 3.4
8
7
  UseCache: true
9
8
  Exclude:
10
9
  # Rubocop Defaults
@@ -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.15
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-03-23 00:00:00.000000000 Z
10
+ date: 2025-04-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rake