hanami-rspec 2.2.0.beta1 → 2.2.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a22b12fe9b09343c8c717ce7a3bd984ee6b805c6a30f754b21256c034ee7be6
4
- data.tar.gz: c2261452497d26c52e604957e55c76bab7853c50874006164f364225b6a10a48
3
+ metadata.gz: 3e4c4fb2f0d8ef7e3ef953b612ebb2584fa44d0575dc8c91551f6975f9717531
4
+ data.tar.gz: 918f8b29098f4ba81a1f09d273006e24572206852ea6497a893cd17bde8fa8f4
5
5
  SHA512:
6
- metadata.gz: 25991490ed27898e535820108261dc044af43fdc9bd1417ff7a547dc6c8cbf869d11f74bc37b1eaac91673d1d87ac696774782ee8ece2ddc52473441be4a5f38
7
- data.tar.gz: 641d1c05ca91cb1ac77da54d5c58ed3134d2415cc845385b13e27e2378d4c7b5a497c3b6c7be24ee3690d6c1f15dc77491f2b45ccc3a2b0886bd82ca5fee9efd
6
+ metadata.gz: 66092dd5c16411bfc0c2fc7a9edfe2292bac951206599259d410ac7a8b841da894bd37d84db8e18292132803956691097d37acb8690520b3240c7e69ae1cfd75
7
+ data.tar.gz: 339b8c4af5fdd536fb8ec0219c8a7d5e373c8c7258261c364662e00435efcae541f484ee6a7f38e1ec5df024cc26043225e8b56ded625b41437e2825bce4dfc2
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ RSpec support for Hanami
4
4
 
5
5
  ## v2.2.0.beta1 - 2024-07-16
6
6
 
7
+ ### Changed
8
+
9
+ - [Sean Collins] In generated `spec_helper.rb`, require all files under `spec/support/` in a loop, rather than via manual requires (#24)
10
+
11
+ ## v2.2.0.beta1 - 2024-07-16
12
+
7
13
  ### Added
8
14
 
9
15
  - [Sean Collins] Include `Dry::Monads[:result]` in tests via `support/operations.rb`
data/Gemfile CHANGED
@@ -10,6 +10,7 @@ end
10
10
 
11
11
  gem "dry-files", github: "dry-rb/dry-files", branch: "main"
12
12
  gem "dry-logger", github: "dry-rb/dry-logger", branch: "main"
13
+ gem "dry-system", github: "dry-rb/dry-system", branch: "main"
13
14
 
14
15
  gem "hanami-utils", github: "hanami/utils", branch: "main"
15
16
  gem "hanami-cli", github: "hanami/cli", branch: "main"
data/README.md CHANGED
@@ -5,7 +5,7 @@ RSpec and testing support for [Hanami applications](https://github.com/hanami/ha
5
5
  ## Status
6
6
 
7
7
  [![Gem Version](https://badge.fury.io/rb/hanami-rspec.svg)](https://badge.fury.io/rb/hanami-rspec)
8
- [![CI](https://github.com/hanami/rspec/actions/workflows/ci.yml/badge.svgch=main)](https://github.com/hanami/rspec/actions?query=workflow%3Aci+branch%3Amain)
8
+ [![CI](https://github.com/hanami/rspec/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/hanami/rspec/actions?query=workflow%3Aci+branch%3Amain)
9
9
  [![Depfu](https://badges.depfu.com/badges/a8545fb67cf32a2c75b6227bc0821027/overview.svg)](https://depfu.com/github/hanami/rspec?project=Bundler)
10
10
 
11
11
  ## Contact
@@ -6,7 +6,4 @@ SPEC_ROOT = Pathname(__dir__).realpath.freeze
6
6
  ENV["HANAMI_ENV"] ||= "test"
7
7
  require "hanami/prepare"
8
8
 
9
- require_relative "support/rspec"
10
- require_relative "support/features"
11
- require_relative "support/operations"
12
- require_relative "support/requests"
9
+ SPEC_ROOT.glob("support/**/*.rb").each { |f| require f }
@@ -6,6 +6,6 @@ module Hanami
6
6
  #
7
7
  # @since 2.0.0
8
8
  # @api public
9
- VERSION = "2.2.0.beta1"
9
+ VERSION = "2.2.0.beta2"
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0.beta1
4
+ version: 2.2.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-16 00:00:00.000000000 Z
11
+ date: 2024-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hanami-cli
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  requirements: []
154
- rubygems_version: 3.5.9
154
+ rubygems_version: 3.5.16
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: Hanami RSpec