rspec-matchers-power_assert_matchers 0.1.0 → 0.2.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: 7833fbb97466f53714d4e451a63a5d94ea4b9132dff0ee626719cbbf94884375
4
- data.tar.gz: 5161ac914f017233aa23c0209846f3d5b1ddcee44cd96cf4cc3b477360cc9cd2
3
+ metadata.gz: ac62e974b1a75d00e5f532cfd70614a07837068201ffce2b0cb09c7a2b45b716
4
+ data.tar.gz: 6c89e1585ba0494f28b1438509670d7298dbb21b0dc49b6f32abb33c7294ed26
5
5
  SHA512:
6
- metadata.gz: cd128e80f7c116ad2e17387840b1b8ebfe9498e71cd89b577c67c7df7048c0399d54a38c5553fbfbf746ffde5a6b45f543962f325d1c261e38e752c8d06d3cd5
7
- data.tar.gz: 771a1264d31a6b745b5a561c06985fc8860b99201f4a0ed32081fd417862e7391a22b7a8561642ceec8c97652b3372082d531efe0eb1d7818c2f86f941bbb58e
6
+ metadata.gz: 6849099f95c3045ed454ab6598245590934f4de935ea36d53505a77c659164bf5fb0f4dfd499909da0ca7289c6038f07c41d124526d735ec7bb8593f8a99cbbb
7
+ data.tar.gz: ba821196585775eb1bcf4f73599bb7c28229394107f64461539efbb3e564f6345429b5f77a9222b1e045bbdc07db811e4e7d887d80a81612a6919f5e37e44229
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # rspec-matchers-power_assert_matchers
2
2
 
3
3
  [![Build Status](https://github.com/kachick/rspec-matchers-power_assert_matchers/actions/workflows/spec.yml/badge.svg?branch=main)](https://github.com/kachick/rspec-matchers-power_assert_matchers/actions/workflows/spec.yml?query=branch%3Amain+)
4
- [![Gem Version](https://badge.fury.io/rb/rspec-matchers-power_assert_matchers.png)](http://badge.fury.io/rb/rspec-matchers-power_assert_matchers)
4
+ [![Gem Version](https://badge.fury.io/rb/rspec-matchers-power_assert_matchers.svg)](https://badge.fury.io/rb/rspec-matchers-power_assert_matchers)
5
5
 
6
6
  ## Overview
7
7
 
@@ -29,7 +29,7 @@ Add below code into your `library`'s gemspec
29
29
 
30
30
  ```ruby
31
31
  Gem::Specification.new do |gem|
32
- gem.add_development_dependency 'rspec-matchers-power_assert_matchers', '~> 0.1.0'
32
+ gem.add_development_dependency 'rspec-matchers-power_assert_matchers', '~> 0.2.0'
33
33
  end
34
34
  ```
35
35
 
@@ -37,7 +37,7 @@ Or add below into your `application`'s `Gemfile`
37
37
 
38
38
  ```ruby
39
39
  group :test do
40
- gem 'rspec-matchers-power_assert_matchers', '~> 0.1.0'
40
+ gem 'rspec-matchers-power_assert_matchers', '~> 0.2.0'
41
41
  end
42
42
  ```
43
43
 
@@ -4,7 +4,7 @@
4
4
  module RSpec
5
5
  module Matchers
6
6
  module PowerAssertMatchers
7
- VERSION = '0.1.0'
7
+ VERSION = '0.2.0'
8
8
  end
9
9
  end
10
10
  end
@@ -26,7 +26,7 @@ RSpec::Matchers.define(:be_assert) do
26
26
  match(notify_expectation_failures: true) do |actual|
27
27
  case actual
28
28
  when Proc
29
- result = ::PowerAssert.start(actual, assertion_method: __callee__) do |pa|
29
+ result = PowerAssert.start(actual, assertion_method: __callee__) do |pa|
30
30
  # https://github.com/rspec/rspec-expectations/blob/040d1b0bba83031c9ae432fd3a4462fdd1cc74e7/lib/rspec/matchers/dsl.rb#L200-L217
31
31
  # @TODO: Should simulate be_truthy message? https://github.com/rspec/rspec-expectations/blob/43bf64b01f8356979ffbc373b2e81d2ab1389b29/lib/rspec/matchers/built_in/be.rb#L7-L18
32
32
  dsl_context.failure_message do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-matchers-power_assert_matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichi Kamiya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2022-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 2.0.0
39
+ version: 2.0.3
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '3.0'
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 2.0.0
49
+ version: 2.0.3
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '3.0'
@@ -70,7 +70,7 @@ dependencies:
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: '2.0'
73
- description: "`power_assert in rspec` as a pure custom matcher"
73
+ description: '"ruby/power_assert" integration for RSpec. No monkey patching exists.'
74
74
  email:
75
75
  - kachick1+ruby@gmail.com
76
76
  executables: []
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.3.7
107
+ rubygems_version: 3.4.1
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: "`power_assert in rspec` as a pure custom matcher"