rspec-block_is_expected 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +4 -0
- data/CHANGELOG.md +14 -0
- data/CODE_OF_CONDUCT.md +57 -47
- data/CONTRIBUTING.md +36 -0
- data/{LICENSE → LICENSE.txt} +1 -1
- data/README.md +89 -67
- data/lib/rspec/block_is_expected/matchers/not.rb +4 -4
- data/lib/rspec/block_is_expected/rspec.rb +2 -2
- data/lib/rspec/block_is_expected/version.rb +1 -1
- data/lib/rspec/block_is_expected.rb +2 -2
- data.tar.gz.sig +1 -0
- metadata +38 -133
- metadata.gz.sig +0 -0
- data/.gitignore +0 -15
- data/.rspec +0 -3
- data/.rubocop.yml +0 -52
- data/.rubocop_todo.yml +0 -32
- data/.tool-versions +0 -1
- data/.travis.yml +0 -61
- data/Appraisals +0 -32
- data/Gemfile +0 -22
- data/Gemfile.lock +0 -107
- data/Rakefile +0 -29
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/gemfiles/jruby_1.7.26.gemfile +0 -16
- data/gemfiles/jruby_9.1.9.0.gemfile +0 -15
- data/gemfiles/jruby_9.2.0.0.gemfile +0 -15
- data/gemfiles/jruby_head.gemfile +0 -15
- data/gemfiles/ruby_1.8.7_p374.gemfile +0 -16
- data/gemfiles/ruby_1.9.3_p551.gemfile +0 -16
- data/gemfiles/ruby_2.0.0_p648.gemfile +0 -16
- data/gemfiles/ruby_2.1.10.gemfile +0 -15
- data/gemfiles/ruby_2.2.10.gemfile +0 -16
- data/gemfiles/ruby_2.3.7.gemfile +0 -16
- data/gemfiles/ruby_2.4.4.gemfile +0 -16
- data/gemfiles/ruby_2.5.1.gemfile +0 -16
- data/gemfiles/ruby_head.gemfile +0 -16
- data/rspec-block_is_expected.gemspec +0 -41
metadata
CHANGED
@@ -1,113 +1,43 @@
|
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '3.8'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '3.8'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rspec-pending_for
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.1'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0.1'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: wwtd
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
14
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
15
|
+
A2NvbTAeFw0yMjA5MTgyMzEyMzBaFw0yMzA5MTgyMzEyMzBaMEMxFTATBgNVBAMM
|
16
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
17
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Dn1GM3W
|
18
|
+
8K2/rvN1zz+06bQMcxD16ZKTihVwi7Pb1v3T98rM4Omnxohm3s+CwpDWGeiB9pj6
|
19
|
+
0I/CTce0e4e3s8GKJSOrg93veImPSoH2PfsMsRsuB8wtqyiOCjLbF5o6S29x87r0
|
20
|
+
LA5EawH+Lh4xqrkkPjdffsmLk7TaCig/vlmNvnzxXKBdey/X/aEJZXzzBiWRfVdh
|
21
|
+
O1fmMbVKyieGv9HK7+pLotIoT08bjDv8NP6V7zZslwQRqW27bQc6cqC2LGIbTYO3
|
22
|
+
3jt1kQxfMWmhOictS6SzG9VtKSrXf0L4Neq0Gh7CLBZBvJFWJYZPfb92YNITDbd8
|
23
|
+
emPOAQlXXNMN4mMXsEqtEhCPZRMnmwO+fOk/cC4AyglKi9lnQugCQoFV1XDMZST/
|
24
|
+
CYbzdQyadOdPDInTntG6V+Uw51d2QGXZ6PDDfrx9+toc/3sl5h68rCUGgE6Q3jPz
|
25
|
+
srinqmBsxv2vTpmd4FjmiAtEnwH5/ooLpQYL8UdAjEoeysxS3AwIh+5dAgMBAAGj
|
26
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQWU6D156a2cle+
|
27
|
+
lb5RBfvVXlxTwjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
28
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
29
|
+
ggGBAJ4SqhPlgUiLYIrphGXIaxXScHyvx4kixuvdrwhI4VoQV2qXvO7R6ZjOXVwX
|
30
|
+
f/z84BWPiTZ8lzThPbt1UV/BGwkvLw9I4RjOdzvUz3J42j9Ly6q63isall07bo3F
|
31
|
+
QWe/OBvIMBF1IbjC3q5vKPg4rq8+TkNRJNoE86U2gfR+PkW3jYYs9uiy0GloHDCP
|
32
|
+
k5xgaj0vSL0Uy5mTOPdk3K6a/sUGZyYniWK05zdhIi956ynhfGaFO988FFdVw5Jq
|
33
|
+
LHtXfIpAU8F7ES04syZSslxOluw7VlcSKyRdVIr737J92ZTduppB4PRGSKRgBsWV
|
34
|
+
hXTahRE72Kyw53Q7FAuzF3v102WxAAQ7BuMjW+MyCUT75fwPm3W4ELPL8HYkNGE7
|
35
|
+
2oA5CPghFitRnvYS3GNrDG+9bNiRMEskeaBYwZ9UgReBQIwGYVj7LZk3UhiAsn44
|
36
|
+
gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
|
37
|
+
4/bR9A==
|
38
|
+
-----END CERTIFICATE-----
|
39
|
+
date: 2023-04-01 00:00:00.000000000 Z
|
40
|
+
dependencies: []
|
111
41
|
description: subject { Integer(nil) }; it('raises') { block_is_expected.to raise_error(TypeError)
|
112
42
|
}
|
113
43
|
email:
|
@@ -116,50 +46,25 @@ executables: []
|
|
116
46
|
extensions: []
|
117
47
|
extra_rdoc_files: []
|
118
48
|
files:
|
119
|
-
- ".gitignore"
|
120
|
-
- ".rspec"
|
121
|
-
- ".rubocop.yml"
|
122
|
-
- ".rubocop_todo.yml"
|
123
|
-
- ".tool-versions"
|
124
|
-
- ".travis.yml"
|
125
|
-
- Appraisals
|
126
49
|
- CHANGELOG.md
|
127
50
|
- CODE_OF_CONDUCT.md
|
128
|
-
-
|
129
|
-
-
|
130
|
-
- LICENSE
|
51
|
+
- CONTRIBUTING.md
|
52
|
+
- LICENSE.txt
|
131
53
|
- README.md
|
132
|
-
- Rakefile
|
133
|
-
- bin/console
|
134
|
-
- bin/setup
|
135
|
-
- gemfiles/jruby_1.7.26.gemfile
|
136
|
-
- gemfiles/jruby_9.1.9.0.gemfile
|
137
|
-
- gemfiles/jruby_9.2.0.0.gemfile
|
138
|
-
- gemfiles/jruby_head.gemfile
|
139
|
-
- gemfiles/ruby_1.8.7_p374.gemfile
|
140
|
-
- gemfiles/ruby_1.9.3_p551.gemfile
|
141
|
-
- gemfiles/ruby_2.0.0_p648.gemfile
|
142
|
-
- gemfiles/ruby_2.1.10.gemfile
|
143
|
-
- gemfiles/ruby_2.2.10.gemfile
|
144
|
-
- gemfiles/ruby_2.3.7.gemfile
|
145
|
-
- gemfiles/ruby_2.4.4.gemfile
|
146
|
-
- gemfiles/ruby_2.5.1.gemfile
|
147
|
-
- gemfiles/ruby_head.gemfile
|
148
54
|
- lib/rspec/block_is_expected.rb
|
149
55
|
- lib/rspec/block_is_expected/matchers/not.rb
|
150
56
|
- lib/rspec/block_is_expected/rspec.rb
|
151
57
|
- lib/rspec/block_is_expected/version.rb
|
152
|
-
- rspec-block_is_expected.gemspec
|
153
58
|
- rubocop.yml
|
154
59
|
homepage: https://github.com/pboling/rspec-block_is_expected
|
155
60
|
licenses:
|
156
61
|
- MIT
|
157
62
|
metadata:
|
158
63
|
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.
|
160
|
-
changelog_uri: https://github.com/pboling/rspec-block_is_expected/blob/v1.0.
|
64
|
+
source_code_uri: https://github.com/pboling/rspec-block_is_expected/tree/v1.0.5
|
65
|
+
changelog_uri: https://github.com/pboling/rspec-block_is_expected/blob/v1.0.5/CHANGELOG.md
|
161
66
|
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.
|
67
|
+
documentation_uri: https://www.rubydoc.info/gems/rspec-block_is_expected/1.0.5
|
163
68
|
funding_uri: https://liberapay.com/pboling
|
164
69
|
wiki_uri: https://github.com/pboling/rspec-block_is_expected/wiki
|
165
70
|
rubygems_mfa_required: 'true'
|
@@ -178,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
83
|
- !ruby/object:Gem::Version
|
179
84
|
version: '0'
|
180
85
|
requirements: []
|
181
|
-
rubygems_version: 3.4.
|
86
|
+
rubygems_version: 3.4.10
|
182
87
|
signing_key:
|
183
88
|
specification_version: 4
|
184
89
|
summary: Simplify testing of blocks in RSpec via block_is_expected
|
metadata.gz.sig
ADDED
Binary file
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,52 +0,0 @@
|
|
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
|
-
|
14
|
-
AllCops:
|
15
|
-
DisplayCopNames: true # Display the name of the failing cops
|
16
|
-
Exclude:
|
17
|
-
- 'gemfiles/vendor/**/*'
|
18
|
-
- 'vendor/**/*'
|
19
|
-
TargetRubyVersion: 2.0
|
20
|
-
|
21
|
-
Metrics/BlockLength:
|
22
|
-
AllowedMethods:
|
23
|
-
- context
|
24
|
-
- describe
|
25
|
-
- it
|
26
|
-
- shared_context
|
27
|
-
- shared_examples
|
28
|
-
- shared_examples_for
|
29
|
-
- namespace
|
30
|
-
- draw
|
31
|
-
|
32
|
-
Layout/LineLength:
|
33
|
-
Enabled: false
|
34
|
-
|
35
|
-
Style/HashSyntax:
|
36
|
-
EnforcedStyle: hash_rockets
|
37
|
-
|
38
|
-
Style/Lambda:
|
39
|
-
Enabled: false
|
40
|
-
|
41
|
-
Style/PercentLiteralDelimiters:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
Style/SymbolArray:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
# Enable when drop support for Ruby < 2
|
48
|
-
Style/ExpandPathArguments:
|
49
|
-
Enabled: false
|
50
|
-
|
51
|
-
RSpec/FactoryBot/CreateList:
|
52
|
-
Enabled: false
|
data/.rubocop_todo.yml
DELETED
@@ -1,32 +0,0 @@
|
|
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
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ruby 3.2.1
|
data/.travis.yml
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
env:
|
2
|
-
global:
|
3
|
-
- JRUBY_OPTS="-Xcli.debug=true --debug"
|
4
|
-
- CC_TEST_REPORTER_ID=13484ad644dba9dd92ac41ef387f76b3c24d73a668ed4d044c933ec14943257d
|
5
|
-
|
6
|
-
before_script:
|
7
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
8
|
-
- chmod +x ./cc-test-reporter
|
9
|
-
- ./cc-test-reporter before-build
|
10
|
-
|
11
|
-
script:
|
12
|
-
- bundle exec rspec
|
13
|
-
|
14
|
-
after_script:
|
15
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
16
|
-
|
17
|
-
before_install:
|
18
|
-
- gem update --system
|
19
|
-
- gem install bundler
|
20
|
-
|
21
|
-
install:
|
22
|
-
- bundle install
|
23
|
-
|
24
|
-
bundler_args: --no-deployment --jobs 3 --retry 3
|
25
|
-
|
26
|
-
cache: bundler
|
27
|
-
|
28
|
-
language: ruby
|
29
|
-
sudo: false
|
30
|
-
matrix:
|
31
|
-
allow_failures:
|
32
|
-
- rvm: jruby-head
|
33
|
-
- rvm: ruby-head
|
34
|
-
fast_finish: true
|
35
|
-
include:
|
36
|
-
- rvm: 1.8.7-p374
|
37
|
-
gemfile: gemfiles/ruby_1.8.7_p374.gemfile
|
38
|
-
- rvm: 1.9.3-p551
|
39
|
-
gemfile: gemfiles/ruby_1.9.3_p551.gemfile
|
40
|
-
- rvm: 2.0.0-p648
|
41
|
-
gemfile: gemfiles/ruby_2.0.0_p648.gemfile
|
42
|
-
- rvm: 2.1.10
|
43
|
-
gemfile: gemfiles/ruby_2.1.10.gemfile
|
44
|
-
- rvm: 2.2.10
|
45
|
-
gemfile: gemfiles/ruby_2.2.10.gemfile
|
46
|
-
- rvm: 2.3.7
|
47
|
-
gemfile: gemfiles/ruby_2.3.7.gemfile
|
48
|
-
- rvm: 2.4.4
|
49
|
-
gemfile: gemfiles/ruby_2.4.4.gemfile
|
50
|
-
- rvm: 2.5.1
|
51
|
-
gemfile: gemfiles/ruby_2.5.1.gemfile
|
52
|
-
- rvm: ruby-head
|
53
|
-
gemfile: gemfiles/ruby_head.gemfile
|
54
|
-
- rvm: jruby-1.7.26
|
55
|
-
gemfile: gemfiles/jruby_1.7.26.gemfile
|
56
|
-
- rvm: jruby-9.1.9.0
|
57
|
-
gemfile: gemfiles/jruby_9.1.9.0.gemfile
|
58
|
-
- rvm: jruby-9.2.0.0
|
59
|
-
gemfile: gemfiles/jruby_9.2.0.0.gemfile
|
60
|
-
- rvm: jruby-head
|
61
|
-
gemfile: gemfiles/jruby_head.gemfile
|
data/Appraisals
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
appraise 'jruby-1.7.26' do
|
2
|
-
end
|
3
|
-
|
4
|
-
appraise 'ruby-1.8.7-p371' do
|
5
|
-
end
|
6
|
-
|
7
|
-
appraise 'ruby-1.9.3-p551' do
|
8
|
-
end
|
9
|
-
|
10
|
-
appraise 'ruby-2.0.0-p648' do
|
11
|
-
end
|
12
|
-
|
13
|
-
appraise 'ruby-2.1.10' do
|
14
|
-
end
|
15
|
-
|
16
|
-
appraise 'ruby-2.2.10' do
|
17
|
-
end
|
18
|
-
|
19
|
-
appraise 'jruby-9.1.9.0' do
|
20
|
-
end
|
21
|
-
|
22
|
-
appraise 'ruby-2.3.7' do
|
23
|
-
end
|
24
|
-
|
25
|
-
appraise 'ruby-2.4.4' do
|
26
|
-
end
|
27
|
-
|
28
|
-
appraise 'ruby-2.5.1' do
|
29
|
-
end
|
30
|
-
|
31
|
-
appraise 'jruby-9.2.0.0' do
|
32
|
-
end
|
data/Gemfile
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
4
|
-
|
5
|
-
group :test do
|
6
|
-
ruby_version = Gem::Version.new(RUBY_VERSION)
|
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'
|
12
|
-
end
|
13
|
-
if ruby_version >= Gem::Version.new('2.0')
|
14
|
-
gem 'byebug', '~> 10', :platform => :mri, :require => false
|
15
|
-
gem 'pry', '~> 0', :platform => :mri, :require => false
|
16
|
-
gem 'pry-byebug', '~> 3', :platform => :mri, :require => false
|
17
|
-
end
|
18
|
-
gem 'simplecov', '~> 0', :require => false
|
19
|
-
end
|
20
|
-
|
21
|
-
# Specify your gem's dependencies in rspec-block_is_expected.gemspec
|
22
|
-
gemspec
|
data/Gemfile.lock
DELETED
@@ -1,107 +0,0 @@
|
|
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/Rakefile
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
require 'bundler/gem_tasks'
|
2
|
-
begin
|
3
|
-
require 'wwtd/tasks'
|
4
|
-
rescue LoadError
|
5
|
-
puts 'failed to load wwtd'
|
6
|
-
end
|
7
|
-
|
8
|
-
begin
|
9
|
-
require 'rspec/core/rake_task'
|
10
|
-
RSpec::Core::RakeTask.new(:spec)
|
11
|
-
rescue LoadError
|
12
|
-
# puts "failed to load wwtd or rspec, probably because bundled --without-development"
|
13
|
-
task :spec do
|
14
|
-
warn 'rspec is disabled'
|
15
|
-
end
|
16
|
-
end
|
17
|
-
desc 'Alias test to spec'
|
18
|
-
task :test => :spec
|
19
|
-
|
20
|
-
begin
|
21
|
-
require 'rubocop/rake_task'
|
22
|
-
RuboCop::RakeTask.new
|
23
|
-
rescue LoadError
|
24
|
-
task :rubocop do
|
25
|
-
warn 'RuboCop is disabled'
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
task :default => [:test, :rubocop]
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'bundler/setup'
|
4
|
-
require 'rspec/block_is_expected'
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require 'irb'
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
group :development do
|
6
|
-
gem 'pry'
|
7
|
-
end
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
# Some changes to defaults make older version config incompatible with newer version config
|
11
|
-
# gem "rubocop", "~> 0.41.2"
|
12
|
-
gem 'rake'
|
13
|
-
gem 'rspec'
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/jruby_head.gemfile
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
group :development do
|
6
|
-
gem 'pry'
|
7
|
-
end
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
# Some changes to defaults make older version config incompatible with newer version config
|
11
|
-
# gem "rubocop", "~> 0.41.2"
|
12
|
-
gem 'rake'
|
13
|
-
gem 'rspec'
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec :path => '../'
|