rspec-matchers-power_assert_matchers 0.0.2 → 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: d564799c1a95c1c7ccd5702c5d788de447df3a29d4433880d7430263d75e7a10
4
- data.tar.gz: e1c483922b43ad1eba63eff3e07166972000b2cfe4894952c59cb18ab94c4bc6
3
+ metadata.gz: 7833fbb97466f53714d4e451a63a5d94ea4b9132dff0ee626719cbbf94884375
4
+ data.tar.gz: 5161ac914f017233aa23c0209846f3d5b1ddcee44cd96cf4cc3b477360cc9cd2
5
5
  SHA512:
6
- metadata.gz: 63f00e88d7f87e554dd4373d6e31153c9488e1240af240106df4bdf695d20dac337bd8972a126d6db0224009b29cb6c622e7793be3933483d8068586f8a64a88
7
- data.tar.gz: 33e1bdba40c829f1ef0d15d4ab107480b486389be6435d3894837117cc3f93609ba4957598deefbbef6bede26545df99abc19792794b459824e16c7d01fe24c0
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.5 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.2'
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.2'
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.2'
7
+ VERSION = '0.1.0'
8
8
  end
9
9
  end
10
10
  end
@@ -1,5 +1,6 @@
1
1
  # coding: us-ascii
2
2
  # frozen_string_literal: true
3
+
3
4
  # Copyright (C) 2021 Kenichi Kamiya
4
5
 
5
6
  require 'power_assert'
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.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichi Kamiya
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-23 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
@@ -56,7 +56,7 @@ dependencies:
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 1.3.5
59
+ version: 1.4.0
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '2.0'
@@ -66,146 +66,10 @@ dependencies:
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 1.3.5
69
+ version: 1.4.0
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: '2.0'
73
- - !ruby/object:Gem::Dependency
74
- name: rspec
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: 3.10.0
80
- - - "<"
81
- - !ruby/object:Gem::Version
82
- version: '4.0'
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: 3.10.0
90
- - - "<"
91
- - !ruby/object:Gem::Version
92
- version: '4.0'
93
- - !ruby/object:Gem::Dependency
94
- name: warning
95
- requirement: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- version: 1.2.0
100
- - - "<"
101
- - !ruby/object:Gem::Version
102
- version: '2.0'
103
- type: :development
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: 1.2.0
110
- - - "<"
111
- - !ruby/object:Gem::Version
112
- version: '2.0'
113
- - !ruby/object:Gem::Dependency
114
- name: rake
115
- requirement: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- version: 13.0.3
120
- - - "<"
121
- - !ruby/object:Gem::Version
122
- version: '20.0'
123
- type: :development
124
- prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- version: 13.0.3
130
- - - "<"
131
- - !ruby/object:Gem::Version
132
- version: '20.0'
133
- - !ruby/object:Gem::Dependency
134
- name: rubocop
135
- requirement: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- version: 1.15.0
140
- - - "<"
141
- - !ruby/object:Gem::Version
142
- version: 1.16.0
143
- type: :development
144
- prerelease: false
145
- version_requirements: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- version: 1.15.0
150
- - - "<"
151
- - !ruby/object:Gem::Version
152
- version: 1.16.0
153
- - !ruby/object:Gem::Dependency
154
- name: rubocop-rake
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: rubocop-performance
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
- - !ruby/object:Gem::Dependency
182
- name: rubocop-rubycw
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: '0'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
- - !ruby/object:Gem::Dependency
196
- name: rubocop-rspec
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - ">="
200
- - !ruby/object:Gem::Version
201
- version: '0'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - ">="
207
- - !ruby/object:Gem::Version
208
- version: '0'
209
73
  description: "`power_assert in rspec` as a pure custom matcher"
210
74
  email:
211
75
  - kachick1+ruby@gmail.com
@@ -223,7 +87,9 @@ licenses:
223
87
  metadata:
224
88
  homepage_uri: https://github.com/kachick/rspec-matchers-power_assert_matchers
225
89
  source_code_uri: https://github.com/kachick/rspec-matchers-power_assert_matchers
226
- post_install_message:
90
+ bug_tracker_uri: https://github.com/kachick/rspec-matchers-power_assert_matchers/issues
91
+ rubygems_mfa_required: 'true'
92
+ post_install_message:
227
93
  rdoc_options: []
228
94
  require_paths:
229
95
  - lib
@@ -231,15 +97,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
97
  requirements:
232
98
  - - ">="
233
99
  - !ruby/object:Gem::Version
234
- version: 2.5.0
100
+ version: 2.7.2
235
101
  required_rubygems_version: !ruby/object:Gem::Requirement
236
102
  requirements:
237
103
  - - ">="
238
104
  - !ruby/object:Gem::Version
239
105
  version: '0'
240
106
  requirements: []
241
- rubygems_version: 3.2.15
242
- signing_key:
107
+ rubygems_version: 3.3.7
108
+ signing_key:
243
109
  specification_version: 4
244
110
  summary: "`power_assert in rspec` as a pure custom matcher"
245
111
  test_files: []