rspec-matchers-power_assert_matchers 0.0.3 → 0.1.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: e6cc783a2dc91e2df5de1dea821aefec6babe3e3b7957791f401366c07ffe991
4
- data.tar.gz: d485c0c8c00545644f725d2c8e46f30aa61fd588092660ef85859cdffee1329b
3
+ metadata.gz: 7833fbb97466f53714d4e451a63a5d94ea4b9132dff0ee626719cbbf94884375
4
+ data.tar.gz: 5161ac914f017233aa23c0209846f3d5b1ddcee44cd96cf4cc3b477360cc9cd2
5
5
  SHA512:
6
- metadata.gz: 0f5ba0874b1396b50409ef540990c3a459cf6d2737ec04598365928715758c0aa5e00e64e632c342b88cee221dfb0e6cd94c37082f3db34f3f28b67e66bfa38b
7
- data.tar.gz: 3054c927a8d895b48c9608f4922f92f977f44f6adc08b403a22d253cbc40abef9312038ff18ba71c424cf260871460f5ea6c4e0b5a3d4f2f86247c17a971f8fd
6
+ metadata.gz: cd128e80f7c116ad2e17387840b1b8ebfe9498e71cd89b577c67c7df7048c0399d54a38c5553fbfbf746ffde5a6b45f543962f325d1c261e38e752c8d06d3cd5
7
+ data.tar.gz: 771a1264d31a6b745b5a561c06985fc8860b99201f4a0ed32081fd417862e7391a22b7a8561642ceec8c97652b3372082d531efe0eb1d7818c2f86f941bbb58e
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # rspec-matchers-power_assert_matchers
2
2
 
3
- ![Build Status](https://github.com/kachick/rspec-matchers-power_assert_matchers/actions/workflows/spec.yml/badge.svg?branch=main)
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
4
  [![Gem Version](https://badge.fury.io/rb/rspec-matchers-power_assert_matchers.png)](http://badge.fury.io/rb/rspec-matchers-power_assert_matchers)
5
5
 
6
6
  ## Overview
@@ -10,21 +10,26 @@
10
10
 
11
11
  [ruby/power_assert](https://github.com/ruby/power_assert) integration for RSpec.
12
12
 
13
- Without no monkey patching for Ruby and RSpec.
13
+ No monkey patching exists.\
14
+ Just using [RSpec's Custom matchers way](https://relishapp.com/rspec/rspec-expectations/v/3-10/docs/custom-matchers).\
15
+ I hope this might be a choice to integrate `PowerAssert` in RSpec.
14
16
 
15
- Just using [RSpec's Custom matchers way](https://relishapp.com/rspec/rspec-expectations/v/3-10/docs/custom-matchers)
17
+ ## Usage
16
18
 
17
- I hope this might be a choice of using `PowerAssert` for RSpec lovers.
19
+ Require following dependencies
18
20
 
19
- ## Usage
21
+ - Ruby 2.7 or later
22
+ - [rspec](https://rubygems.org/gems/rspec/)
23
+ - [power_assert](https://rubygems.org/gems/power_assert)
24
+ - [irb](https://rubygems.org/gems/irb) # To colorize
20
25
 
21
- Require Ruby 2.6 or later
26
+ See [gemspec](rspec-matchers-power_assert_matchers.gemspec) for detail of the version restriction.
22
27
 
23
28
  Add below code into your `library`'s gemspec
24
29
 
25
30
  ```ruby
26
31
  Gem::Specification.new do |gem|
27
- gem.add_development_dependency 'rspec-matchers-power_assert_matchers', '0.0.3'
32
+ gem.add_development_dependency 'rspec-matchers-power_assert_matchers', '~> 0.1.0'
28
33
  end
29
34
  ```
30
35
 
@@ -32,7 +37,7 @@ Or add below into your `application`'s `Gemfile`
32
37
 
33
38
  ```ruby
34
39
  group :test do
35
- gem 'rspec-matchers-power_assert_matchers', '0.0.3'
40
+ gem 'rspec-matchers-power_assert_matchers', '~> 0.1.0'
36
41
  end
37
42
  ```
38
43
 
@@ -90,11 +95,11 @@ Some results will be shown!
90
95
 
91
96
  ## NOTE
92
97
 
93
- * Currently the matcher is named `be_assert`. I don't have confident it is good ot not.
94
- * Extending built-in `be_truthy` sounds good for considering the role, but I would not like to add monkey patching for built-in features...
98
+ - Currently the matcher is named `be_assert`. I don't have confident it is good ot not.
99
+ - Extending built-in `be_truthy` sounds good for considering the role, but I would not like to add monkey patching for built-in features...
95
100
 
96
101
  ## References
97
102
 
98
- * [power-assert-js/power-assert](https://github.com/power-assert-js/power-assert)
99
- * [Power Assert in Ruby](https://speakerdeck.com/k_tsj/power-assert-in-ruby)
100
- * [Another way of power_assert in rspec - joker1007/rspec-power_assert](https://github.com/joker1007/rspec-power_assert)
103
+ - [power-assert-js/power-assert](https://github.com/power-assert-js/power-assert)
104
+ - [Power Assert in Ruby](https://speakerdeck.com/k_tsj/power-assert-in-ruby)
105
+ - [Another way of power_assert in rspec - joker1007/rspec-power_assert](https://github.com/joker1007/rspec-power_assert)
@@ -4,7 +4,7 @@
4
4
  module RSpec
5
5
  module Matchers
6
6
  module PowerAssertMatchers
7
- VERSION = '0.0.3'
7
+ VERSION = '0.1.0'
8
8
  end
9
9
  end
10
10
  end
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.0.3
4
+ version: 0.1.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-05-09 00:00:00.000000000 Z
11
+ date: 2022-11-04 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.1
39
+ version: 2.0.0
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.1
49
+ version: 2.0.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '3.0'
@@ -56,7 +56,7 @@ dependencies:
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 1.4.1
59
+ version: 1.4.0
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '2.0'
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 1.4.1
69
+ version: 1.4.0
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: '2.0'
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - ">="
99
99
  - !ruby/object:Gem::Version
100
- version: 2.6.0
100
+ version: 2.7.2
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - ">="