easytest 0.10.1 → 0.11.0

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: 8e036b68f05b438dfcb392f448b5aab8b0a9ac37ac2b8790d92efff25fa9b7c2
4
- data.tar.gz: eb28cb3da178c9391231f19303f075c1d6bd3e30922f5324b44603abf715e1e2
3
+ metadata.gz: a26a4c476cdf2c4908802c951c61bbeaeb898268e28a8c6e744287c513bb8ae9
4
+ data.tar.gz: 14d1f823c3a2edc1453fa7dbabee290bd5f815a8d79bbc87ad1415a4cc8d678a
5
5
  SHA512:
6
- metadata.gz: 8777f94dd6f3133c041e54c12fe716e06f039584b5ab8f12f050e02b3241598e610ec0106cf793875e2cefa9f0e2e8020dc34929fef000099e50b3da7dfe6fb8
7
- data.tar.gz: b192eb934a13acd0aa6302bd115582a7126e8b386927aaac501eb65c448cd1e2eed4451b536b0822f7334f57a4cf5e142b3e0ffcbc05165335ba4311d23e7a1c
6
+ metadata.gz: 030a29f7f9aa8439bd65e3f36e028c89fd1df6553ba7f523fc50f9b830663cf01a87b43548e95b8b19470b7333939fb25707f189904358253024bfcf0c409301
7
+ data.tar.gz: 57281afe652b63dd426dd3432cced11f94403f9b2df3d17b7a4d2a537f884ead3f1d20044c64e984abd72ce1dbb8cdf4a995fc2333bea7f1c80f30ed23bf7a94
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 0.11.0
6
+
7
+ - Drop Ruby 3.0 support due to EOL (April 2024).
8
+
5
9
  ## 0.10.1
6
10
 
7
11
  - No actual changes. Just switch to a new simplified release workflow.
data/lib/easytest/dsl.rb CHANGED
@@ -23,8 +23,8 @@ module Easytest
23
23
  Easytest.add_case Case.new(name: name, only: true, block: block)
24
24
  end
25
25
 
26
- def expect(actual = nil, &block)
27
- Expectation.new(actual, &block)
26
+ def expect(actual = nil, &)
27
+ Expectation.new(actual, &)
28
28
  end
29
29
  end
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module Easytest
2
- VERSION = "0.10.1"
2
+ VERSION = "0.11.0"
3
3
  end
data/sig/easytest.rbs CHANGED
@@ -71,7 +71,7 @@ module Easytest
71
71
  def to_have_attributes: (**untyped expected) -> void
72
72
 
73
73
  # Expect to satisfy a condition that the given block returns `true`.
74
- def to_satisfy: () { (untyped actual) -> bool } -> void
74
+ def to_satisfy: () { (untyped actual) -> boolish } -> void
75
75
 
76
76
  # Expect to raise the given exception or an exception with the given message.
77
77
  def to_raise: (Class expected, ?(String | Regexp)? with_message) -> void
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easytest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masafumi Koba
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-14 00:00:00.000000000 Z
11
+ date: 2024-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: listen
@@ -95,14 +95,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - ">="
97
97
  - !ruby/object:Gem::Version
98
- version: '3.0'
98
+ version: '3.1'
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubygems_version: 3.4.10
105
+ rubygems_version: 3.5.9
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Easy testing for Ruby.