rspec-block_is_expected 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/.rubocop.yml +19 -2
- data/.rubocop_todo.yml +32 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +25 -0
- data/Gemfile +5 -4
- data/Gemfile.lock +107 -0
- data/LICENSE +1 -1
- data/README.md +65 -4
- data/Rakefile +1 -0
- data/lib/rspec/block_is_expected/matchers/not.rb +4 -0
- data/lib/rspec/block_is_expected/version.rb +1 -1
- data/lib/rspec/block_is_expected.rb +1 -0
- data/rspec-block_is_expected.gemspec +13 -3
- data/rubocop.yml +4 -0
- metadata +28 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a811433ebee4f90c89a910b8943d64eebf7382707a7cc816ac98457111d4c1de
|
4
|
+
data.tar.gz: 46988de21adb0276656dbdc4a08dcccda9130898b6a6f312da05e6764b680661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9670493137ff9827d1b72de9c29e2c317923d34040e6ad681183ea1bec578481b9f31c21a5173f7c8fa35929b6e9373ba8296cf4a043c78d5511e3f9672129ee
|
7
|
+
data.tar.gz: 63af4754c61daf83d23eae24f853f7ed91ba05c741c8f4f0ca772e96040f56d22bd0ef76ebee9188bdfca0ee37a62caa7ac1412080a696842183d46424630031
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,11 +1,25 @@
|
|
1
|
+
inherit_from:
|
2
|
+
- .rubocop_todo.yml
|
3
|
+
|
4
|
+
require:
|
5
|
+
- rubocop-lts
|
6
|
+
- rubocop-md
|
7
|
+
- rubocop-rake
|
8
|
+
- rubocop-rspec
|
9
|
+
|
10
|
+
inherit_gem:
|
11
|
+
rubocop-lts: rubocop-lts.yml
|
12
|
+
rspec-block_is_expected: rubocop.yml
|
13
|
+
|
1
14
|
AllCops:
|
2
15
|
DisplayCopNames: true # Display the name of the failing cops
|
3
16
|
Exclude:
|
4
17
|
- 'gemfiles/vendor/**/*'
|
5
18
|
- 'vendor/**/*'
|
19
|
+
TargetRubyVersion: 2.0
|
6
20
|
|
7
21
|
Metrics/BlockLength:
|
8
|
-
|
22
|
+
AllowedMethods:
|
9
23
|
- context
|
10
24
|
- describe
|
11
25
|
- it
|
@@ -15,7 +29,7 @@ Metrics/BlockLength:
|
|
15
29
|
- namespace
|
16
30
|
- draw
|
17
31
|
|
18
|
-
|
32
|
+
Layout/LineLength:
|
19
33
|
Enabled: false
|
20
34
|
|
21
35
|
Style/HashSyntax:
|
@@ -33,3 +47,6 @@ Style/SymbolArray:
|
|
33
47
|
# Enable when drop support for Ruby < 2
|
34
48
|
Style/ExpandPathArguments:
|
35
49
|
Enabled: false
|
50
|
+
|
51
|
+
RSpec/FactoryBot/CreateList:
|
52
|
+
Enabled: false
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2023-03-23 18:29:56 UTC using RuboCop version 1.48.1.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 4
|
10
|
+
# Configuration parameters: EnforcedStyle, AllowedGems, Include.
|
11
|
+
# SupportedStyles: Gemfile, gems.rb, gemspec
|
12
|
+
# Include: **/*.gemspec, **/Gemfile, **/gems.rb
|
13
|
+
Gemspec/DevelopmentDependencies:
|
14
|
+
Exclude:
|
15
|
+
- 'rspec-block_is_expected.gemspec'
|
16
|
+
|
17
|
+
# Offense count: 1
|
18
|
+
# Configuration parameters: Severity, Include.
|
19
|
+
# Include: **/*.gemspec
|
20
|
+
Gemspec/RequiredRubyVersion:
|
21
|
+
Exclude:
|
22
|
+
- 'rspec-block_is_expected.gemspec'
|
23
|
+
|
24
|
+
# Offense count: 11
|
25
|
+
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
26
|
+
Lint/EmptyBlock:
|
27
|
+
Exclude:
|
28
|
+
- 'Appraisals'
|
29
|
+
|
30
|
+
# Offense count: 1
|
31
|
+
RSpec/MultipleExpectations:
|
32
|
+
Max: 2
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.2.1
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog v1](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
### Added
|
9
|
+
### Changed
|
10
|
+
### Fixed
|
11
|
+
### Removed
|
12
|
+
|
13
|
+
## [1.0.4] - 2023-03-23
|
14
|
+
### Added
|
15
|
+
- Required ruby version in gemspec >= 1.8.7
|
16
|
+
### Changed
|
17
|
+
- Moved rubocop config to root
|
18
|
+
### Fixed
|
19
|
+
- documentation of rubocop config
|
20
|
+
- Copyright years
|
21
|
+
|
22
|
+
## [1.0.3] - 2023-03-23
|
23
|
+
### Added
|
24
|
+
- negated matchers
|
25
|
+
- rubocop config
|
data/Gemfile
CHANGED
@@ -4,16 +4,17 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
4
4
|
|
5
5
|
group :test do
|
6
6
|
ruby_version = Gem::Version.new(RUBY_VERSION)
|
7
|
-
if ruby_version >= Gem::Version.new('2.
|
8
|
-
gem 'rubocop', '~>
|
9
|
-
gem 'rubocop-
|
7
|
+
if ruby_version >= Gem::Version.new('2.7')
|
8
|
+
gem 'rubocop-lts', '~> 18.0'
|
9
|
+
gem 'rubocop-md'
|
10
|
+
gem 'rubocop-rake'
|
11
|
+
gem 'rubocop-rspec', '~> 1.42'
|
10
12
|
end
|
11
13
|
if ruby_version >= Gem::Version.new('2.0')
|
12
14
|
gem 'byebug', '~> 10', :platform => :mri, :require => false
|
13
15
|
gem 'pry', '~> 0', :platform => :mri, :require => false
|
14
16
|
gem 'pry-byebug', '~> 3', :platform => :mri, :require => false
|
15
17
|
end
|
16
|
-
gem 'rspec-pending_for', '~> 0.1', :require => false
|
17
18
|
gem 'simplecov', '~> 0', :require => false
|
18
19
|
end
|
19
20
|
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,107 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rspec-block_is_expected (1.0.4)
|
5
|
+
rspec-core
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.4.1)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
ast (2.4.2)
|
15
|
+
byebug (10.0.2)
|
16
|
+
coderay (1.1.3)
|
17
|
+
diff-lcs (1.5.0)
|
18
|
+
docile (1.4.0)
|
19
|
+
json (2.6.3)
|
20
|
+
method_source (1.0.0)
|
21
|
+
parallel (1.22.1)
|
22
|
+
parser (3.2.1.1)
|
23
|
+
ast (~> 2.4.1)
|
24
|
+
pry (0.14.2)
|
25
|
+
coderay (~> 1.1)
|
26
|
+
method_source (~> 1.0)
|
27
|
+
pry-byebug (3.6.0)
|
28
|
+
byebug (~> 10.0)
|
29
|
+
pry (~> 0.10)
|
30
|
+
rainbow (3.1.1)
|
31
|
+
rake (13.0.6)
|
32
|
+
regexp_parser (2.7.0)
|
33
|
+
rexml (3.2.5)
|
34
|
+
rspec (3.12.0)
|
35
|
+
rspec-core (~> 3.12.0)
|
36
|
+
rspec-expectations (~> 3.12.0)
|
37
|
+
rspec-mocks (~> 3.12.0)
|
38
|
+
rspec-core (3.12.1)
|
39
|
+
rspec-support (~> 3.12.0)
|
40
|
+
rspec-expectations (3.12.2)
|
41
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
+
rspec-support (~> 3.12.0)
|
43
|
+
rspec-mocks (3.12.4)
|
44
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
+
rspec-support (~> 3.12.0)
|
46
|
+
rspec-pending_for (0.1.16)
|
47
|
+
rspec-core
|
48
|
+
ruby_engine (>= 1, < 3)
|
49
|
+
ruby_version (~> 1.0)
|
50
|
+
rspec-support (3.12.0)
|
51
|
+
rubocop (1.48.1)
|
52
|
+
json (~> 2.3)
|
53
|
+
parallel (~> 1.10)
|
54
|
+
parser (>= 3.2.0.0)
|
55
|
+
rainbow (>= 2.2.2, < 4.0)
|
56
|
+
regexp_parser (>= 1.8, < 3.0)
|
57
|
+
rexml (>= 3.2.5, < 4.0)
|
58
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
59
|
+
ruby-progressbar (~> 1.7)
|
60
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
61
|
+
rubocop-ast (1.27.0)
|
62
|
+
parser (>= 3.2.1.0)
|
63
|
+
rubocop-lts (18.1.0)
|
64
|
+
rubocop-ruby2_7 (~> 1.1.3)
|
65
|
+
rubocop-md (1.2.0)
|
66
|
+
rubocop (>= 1.0)
|
67
|
+
rubocop-rake (0.6.0)
|
68
|
+
rubocop (~> 1.0)
|
69
|
+
rubocop-rspec (1.42.0)
|
70
|
+
rubocop (>= 0.87.0)
|
71
|
+
rubocop-ruby2_7 (1.1.3)
|
72
|
+
rubocop (~> 1.48.1)
|
73
|
+
ruby-progressbar (1.13.0)
|
74
|
+
ruby_engine (2.0.0)
|
75
|
+
ruby_version (1.0.2)
|
76
|
+
simplecov (0.22.0)
|
77
|
+
docile (~> 1.1)
|
78
|
+
simplecov-html (~> 0.11)
|
79
|
+
simplecov_json_formatter (~> 0.1)
|
80
|
+
simplecov-html (0.12.3)
|
81
|
+
simplecov_json_formatter (0.1.4)
|
82
|
+
thor (1.2.1)
|
83
|
+
unicode-display_width (2.4.2)
|
84
|
+
wwtd (1.4.1)
|
85
|
+
|
86
|
+
PLATFORMS
|
87
|
+
arm64-darwin-22
|
88
|
+
|
89
|
+
DEPENDENCIES
|
90
|
+
appraisal
|
91
|
+
bundler
|
92
|
+
byebug (~> 10)
|
93
|
+
pry (~> 0)
|
94
|
+
pry-byebug (~> 3)
|
95
|
+
rake
|
96
|
+
rspec (~> 3.8)
|
97
|
+
rspec-block_is_expected!
|
98
|
+
rspec-pending_for (~> 0.1)
|
99
|
+
rubocop-lts (~> 18.0)
|
100
|
+
rubocop-md
|
101
|
+
rubocop-rake
|
102
|
+
rubocop-rspec (~> 1.42)
|
103
|
+
simplecov (~> 0)
|
104
|
+
wwtd
|
105
|
+
|
106
|
+
BUNDLED WITH
|
107
|
+
2.4.9
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -20,7 +20,7 @@ it('raises') { block_is_expected.to raise_error(TypeError) }
|
|
20
20
|
| code triage | [![Open Source Helpers](https://www.codetriage.com/pboling/rspec-block_is_expected/badges/users.svg)](https://www.codetriage.com/pboling/rspec-block_is_expected) |
|
21
21
|
| homepage | [on Github.com][homepage], [on Railsbling.com][blogpage] |
|
22
22
|
| documentation | [on RDoc.info][documentation] |
|
23
|
-
| Spread ~♡ⓛⓞⓥⓔ♡~ | [
|
23
|
+
| Spread ~♡ⓛⓞⓥⓔ♡~ | [🌏](https://about.me/peter.boling), [👼](https://angel.co/peter-boling), [:shipit:](http://coderwall.com/pboling), [![Tweet Peter](https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow)](http://twitter.com/galtzo)|
|
24
24
|
|
25
25
|
If you only ever want to test subjects wrapped in blocks, and are comfortable with **losing** the standard `is_expected` behavior, see an alternative to this gem [here](https://github.com/christopheraue/ruby-rspec-is_expected_block/).
|
26
26
|
|
@@ -29,7 +29,7 @@ If you only ever want to test subjects wrapped in blocks, and are comfortable wi
|
|
29
29
|
Add this line to your application's Gemfile:
|
30
30
|
|
31
31
|
```ruby
|
32
|
-
gem 'rspec-block_is_expected', group
|
32
|
+
gem 'rspec-block_is_expected', :group => :test
|
33
33
|
```
|
34
34
|
|
35
35
|
And then execute:
|
@@ -49,6 +49,67 @@ Otherwise, you may load it manually near the top of your `spec_helper.rb`, and i
|
|
49
49
|
require 'rspec/block_is_expected'
|
50
50
|
```
|
51
51
|
|
52
|
+
### RSpec Matchers
|
53
|
+
|
54
|
+
`block_is_expected` can be used to chain expectations related to the block,
|
55
|
+
but `to_not` doesn't work with multiple expectations.
|
56
|
+
So negated matchers are required. A basic set of them are included with this gem, and can be loaded with:
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
require 'rspec/block_is_expected/matchers/not'
|
60
|
+
```
|
61
|
+
|
62
|
+
This gives you the following matchers:
|
63
|
+
```ruby
|
64
|
+
RSpec::Matchers.define_negated_matcher :not_change, :change
|
65
|
+
RSpec::Matchers.define_negated_matcher :not_include, :include
|
66
|
+
RSpec::Matchers.define_negated_matcher :not_eq, :eq
|
67
|
+
RSpec::Matchers.define_negated_matcher :not_raise_error, :raise_error
|
68
|
+
```
|
69
|
+
|
70
|
+
#### Example
|
71
|
+
|
72
|
+
You have a module like this:
|
73
|
+
|
74
|
+
```ruby
|
75
|
+
module MyTasks
|
76
|
+
def my_rakelib
|
77
|
+
Rake.add_rakelib('bananas')
|
78
|
+
end
|
79
|
+
module_function :my_rakelib
|
80
|
+
end
|
81
|
+
```
|
82
|
+
|
83
|
+
You have a spec like this:
|
84
|
+
|
85
|
+
```ruby
|
86
|
+
require 'rake'
|
87
|
+
|
88
|
+
RSpec.describe(MyTasks) do
|
89
|
+
describe 'my_rakelib' do
|
90
|
+
subject(:my_rakelib) { described_class.my_rakelib }
|
91
|
+
it 'updates rakelib' do
|
92
|
+
block_is_expected.to not_raise_error &
|
93
|
+
change { Rake.application.options.rakelib }.from(['rakelib']).to(%w[rakelib bananas])
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
```
|
98
|
+
|
99
|
+
### Integration with RuboCop
|
100
|
+
|
101
|
+
You'll likely get the following linting error from `rubocop-rspec` if you use `block_is_expected.to ...`:
|
102
|
+
```
|
103
|
+
RSpec/NoExpectationExample: No expectation found in this example.
|
104
|
+
```
|
105
|
+
|
106
|
+
To fix it properly you need to register `block_is_expected` as an "expectation". In your `.rubocop.yml`
|
107
|
+
|
108
|
+
```yml
|
109
|
+
inherit_gem:
|
110
|
+
rspec-block_is_expected: rubocop.yml
|
111
|
+
```
|
112
|
+
|
52
113
|
## Usage
|
53
114
|
|
54
115
|
The spec suite for this gem has some examples of usage, lightly edited here.
|
@@ -137,9 +198,9 @@ or in a `gemspec`
|
|
137
198
|
|
138
199
|
## Legal
|
139
200
|
|
140
|
-
* MIT License - See [LICENSE][license] file in this project [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
|
201
|
+
* MIT License - See [LICENSE][license] file in this project [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
|
141
202
|
|
142
|
-
* Copyright (c) 2018 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
203
|
+
* Copyright (c) 2018, 2020, 2023 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
143
204
|
|
144
205
|
[semver]: http://semver.org/
|
145
206
|
[pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
data/Rakefile
CHANGED
@@ -13,18 +13,28 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.description = %[subject { Integer(nil) }; it('raises') { block_is_expected.to raise_error(TypeError) }]
|
14
14
|
spec.homepage = 'https://github.com/pboling/rspec-block_is_expected'
|
15
15
|
spec.license = 'MIT'
|
16
|
+
spec.required_ruby_version = '>= 1.8.7'
|
17
|
+
|
18
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
19
|
+
spec.metadata['source_code_uri'] = "#{spec.homepage}/tree/v#{spec.version}"
|
20
|
+
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
|
21
|
+
spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues"
|
22
|
+
spec.metadata['documentation_uri'] = "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}"
|
23
|
+
spec.metadata['funding_uri'] = 'https://liberapay.com/pboling'
|
24
|
+
spec.metadata['wiki_uri'] = "#{spec.homepage}/wiki"
|
25
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
16
26
|
|
17
27
|
# Specify which files should be added to the gem when it is released.
|
18
28
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
19
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
29
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|\.lock)/}) }
|
20
30
|
spec.bindir = 'exe'
|
21
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
32
|
spec.require_paths = ['lib']
|
23
33
|
spec.add_dependency 'rspec-core'
|
24
34
|
|
25
35
|
spec.add_development_dependency 'appraisal'
|
26
|
-
spec.add_development_dependency 'bundler'
|
27
|
-
spec.add_development_dependency 'rake'
|
36
|
+
spec.add_development_dependency 'bundler'
|
37
|
+
spec.add_development_dependency 'rake'
|
28
38
|
spec.add_development_dependency 'rspec', '~> 3.8'
|
29
39
|
spec.add_development_dependency 'rspec-pending_for', '~> 0.1'
|
30
40
|
spec.add_development_dependency 'wwtd'
|
data/rubocop.yml
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-block_is_expected
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -42,36 +42,30 @@ dependencies:
|
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
62
|
-
- - "<="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: '13'
|
61
|
+
version: '0'
|
65
62
|
type: :development
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
66
|
- - ">="
|
70
67
|
- !ruby/object:Gem::Version
|
71
|
-
version: '
|
72
|
-
- - "<="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '13'
|
68
|
+
version: '0'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: rspec
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,10 +119,14 @@ files:
|
|
125
119
|
- ".gitignore"
|
126
120
|
- ".rspec"
|
127
121
|
- ".rubocop.yml"
|
122
|
+
- ".rubocop_todo.yml"
|
123
|
+
- ".tool-versions"
|
128
124
|
- ".travis.yml"
|
129
125
|
- Appraisals
|
126
|
+
- CHANGELOG.md
|
130
127
|
- CODE_OF_CONDUCT.md
|
131
128
|
- Gemfile
|
129
|
+
- Gemfile.lock
|
132
130
|
- LICENSE
|
133
131
|
- README.md
|
134
132
|
- Rakefile
|
@@ -148,14 +146,24 @@ files:
|
|
148
146
|
- gemfiles/ruby_2.5.1.gemfile
|
149
147
|
- gemfiles/ruby_head.gemfile
|
150
148
|
- lib/rspec/block_is_expected.rb
|
149
|
+
- lib/rspec/block_is_expected/matchers/not.rb
|
151
150
|
- lib/rspec/block_is_expected/rspec.rb
|
152
151
|
- lib/rspec/block_is_expected/version.rb
|
153
152
|
- rspec-block_is_expected.gemspec
|
153
|
+
- rubocop.yml
|
154
154
|
homepage: https://github.com/pboling/rspec-block_is_expected
|
155
155
|
licenses:
|
156
156
|
- MIT
|
157
|
-
metadata:
|
158
|
-
|
157
|
+
metadata:
|
158
|
+
homepage_uri: https://github.com/pboling/rspec-block_is_expected
|
159
|
+
source_code_uri: https://github.com/pboling/rspec-block_is_expected/tree/v1.0.4
|
160
|
+
changelog_uri: https://github.com/pboling/rspec-block_is_expected/blob/v1.0.4/CHANGELOG.md
|
161
|
+
bug_tracker_uri: https://github.com/pboling/rspec-block_is_expected/issues
|
162
|
+
documentation_uri: https://www.rubydoc.info/gems/rspec-block_is_expected/1.0.4
|
163
|
+
funding_uri: https://liberapay.com/pboling
|
164
|
+
wiki_uri: https://github.com/pboling/rspec-block_is_expected/wiki
|
165
|
+
rubygems_mfa_required: 'true'
|
166
|
+
post_install_message:
|
159
167
|
rdoc_options: []
|
160
168
|
require_paths:
|
161
169
|
- lib
|
@@ -163,16 +171,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
163
171
|
requirements:
|
164
172
|
- - ">="
|
165
173
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
174
|
+
version: 1.8.7
|
167
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
176
|
requirements:
|
169
177
|
- - ">="
|
170
178
|
- !ruby/object:Gem::Version
|
171
179
|
version: '0'
|
172
180
|
requirements: []
|
173
|
-
|
174
|
-
|
175
|
-
signing_key:
|
181
|
+
rubygems_version: 3.4.9
|
182
|
+
signing_key:
|
176
183
|
specification_version: 4
|
177
184
|
summary: Simplify testing of blocks in RSpec via block_is_expected
|
178
185
|
test_files: []
|