rspec-side_effects 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.bundler-audit.yml +8 -0
- data/.github/workflows/ci.yml +39 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +18 -1
- data/.ruby-version +1 -0
- data/CHANGELOG.md +13 -2
- data/Gemfile +2 -0
- data/README.md +32 -7
- data/Rakefile +36 -1
- data/bin/console +1 -0
- data/doc/dependency_decisions.yml +25 -0
- data/lib/rspec/side_effects/version.rb +3 -1
- data/lib/rspec/side_effects.rb +9 -2
- data/rspec-side_effects.gemspec +14 -7
- metadata +95 -22
- data/.travis.yml +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3b6eaea6e9259ab552063672996d2b8f6696ddb674ab85fa736350748757473d
|
4
|
+
data.tar.gz: 126c485c45f8f06625970a7dd6a752502adad56b5d990ae095b2038e7074f6ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5ebb6d35a7af46857594feb7244ad184697bc1eade98a618a99ed99eaf346195f11786a0e15e39166ccd7c0f0af8bad7c41bb721e852c59d0cfd9ccf3585fa8
|
7
|
+
data.tar.gz: e36946c838159a80aa325346957b0852d2ccf980088ddb401e28d9aeb6f6ae1b78ab0f7056a541e5077584c5cc57bc82eb431e5864ad8d66d22db2a03b847ad0
|
data/.bundler-audit.yml
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
name: CI
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
schedule:
|
5
|
+
- cron: '0 1 * * 0' # every Sunday at 1am
|
6
|
+
jobs:
|
7
|
+
test:
|
8
|
+
strategy:
|
9
|
+
fail-fast: false
|
10
|
+
matrix:
|
11
|
+
os: [ubuntu-latest, macos-latest]
|
12
|
+
ruby: [3.1, 3.2, 3.3, 3.4, head, jruby, jruby-head]
|
13
|
+
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || endsWith(matrix.ruby, 'jruby') }}
|
14
|
+
runs-on: ${{ matrix.os }}
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v4
|
17
|
+
- uses: ruby/setup-ruby@v1
|
18
|
+
with:
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
20
|
+
bundler-cache: true
|
21
|
+
- run: bundle exec rake spec
|
22
|
+
coverage:
|
23
|
+
needs: [ test ]
|
24
|
+
name: coverage
|
25
|
+
runs-on: ubuntu-latest
|
26
|
+
steps:
|
27
|
+
- uses: actions/checkout@v4
|
28
|
+
- uses: ruby/setup-ruby@v1
|
29
|
+
with:
|
30
|
+
bundler-cache: true
|
31
|
+
- run: bundle exec rake
|
32
|
+
env:
|
33
|
+
CUCUMBER_PUBLISH_TOKEN: ${{ secrets.CUCUMBER_PUBLISH_TOKEN }}
|
34
|
+
- uses: paambaati/codeclimate-action@v9.0.0
|
35
|
+
env:
|
36
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
37
|
+
with:
|
38
|
+
coverageLocations: |
|
39
|
+
${{ github.workspace }}/coverage/lcov/*.lcov:lcov
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,7 +1,24 @@
|
|
1
|
-
require:
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
- rubocop-rake
|
4
|
+
- rubocop-rspec
|
5
|
+
|
6
|
+
AllCops:
|
7
|
+
NewCops: enable
|
8
|
+
|
9
|
+
Gemspec/DevelopmentDependencies:
|
10
|
+
EnforcedStyle: gemspec
|
2
11
|
|
3
12
|
Metrics/MethodLength:
|
4
13
|
Max: 20
|
5
14
|
|
6
15
|
RSpec/EmptyExampleGroup:
|
7
16
|
Enabled: false
|
17
|
+
|
18
|
+
# Because of the way that blocks are used in RSpecs can end up being long when
|
19
|
+
# example groups are nested or many examples are checked.
|
20
|
+
# A similar pattern exists in the DSL for gemspec files.
|
21
|
+
Metrics/BlockLength:
|
22
|
+
Exclude:
|
23
|
+
- '*.gemspec'
|
24
|
+
- 'spec/**/*'
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.1.2
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
-
## 0.0
|
9
|
+
## [0.3.0] - 2025-01-09
|
10
|
+
### Changed
|
11
|
+
- upgrade Rake to v13 to resolve [CVE-2020-8130](https://github.com/advisories/GHSA-jppv-gw3r-w3q8)
|
12
|
+
- minimum required Ruby version to 3.1.2, dropping support for 2.x and 3.0
|
13
|
+
|
14
|
+
## [0.2.0] - 2018-07-12
|
15
|
+
### Changed
|
16
|
+
- Rescue Exceptions from the subject in the its_side_effects_are helper, so
|
17
|
+
that it is possible to check the side effects of a method which is expected
|
18
|
+
to raise an error
|
19
|
+
|
20
|
+
## [0.1.0] - 2018-05-02
|
10
21
|
### Added
|
11
22
|
- Add the its_side_effects_are helper, as well as its aliases it_has_side_effects
|
12
|
-
and specify_side_effects
|
23
|
+
and specify_side_effects.
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# Rspec::SideEffects
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/rspec-side_effects.svg)](http://badge.fury.io/rb/rspec-side_effects)
|
4
|
-
[![
|
5
|
-
[![Build Status](https://travis-ci.org/sugarcrm/rspec-side_effects.svg?branch=master)](https://travis-ci.org/sugarcrm/rspec-side_effects)
|
4
|
+
[![Build Status](https://github.com/sugarcrm/rspec-side_effects/actions/workflows/ci.yml/badge.svg)](https://github.com/sugarcrm/rspec-side_effects/actions/workflows/ci.yml)
|
6
5
|
[![Code Climate](https://codeclimate.com/github/sugarcrm/rspec-side_effects/badges/gpa.svg)](https://codeclimate.com/github/sugarcrm/rspec-side_effects)
|
7
6
|
[![Test Coverage](https://codeclimate.com/github/sugarcrm/rspec-side_effects/badges/coverage.svg)](https://codeclimate.com/github/sugarcrm/rspec-side_effects/coverage)
|
8
|
-
[![Inline docs](http://inch-ci.org/github/sugarcrm/rspec-side_effects.svg)](http://inch-ci.org/github/sugarcrm/rspec-side_effects)
|
9
7
|
[![License](http://img.shields.io/badge/license-Apache2-green.svg?style=flat)](LICENSE)
|
10
8
|
|
11
|
-
|
9
|
+
[![RubyDoc](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://rubydoc.org/gems/rspec-side_effects)
|
10
|
+
|
11
|
+
RSpec extension for checking the side effects of your specifications.
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
@@ -32,10 +32,10 @@ This gem is intended to replace explicitly calling the *subject* before checking
|
|
32
32
|
its side effects. It might be used when testing things like:
|
33
33
|
* method which works directly with a database
|
34
34
|
* method which works directly with a file system
|
35
|
-
* method which integrates mocked objects
|
35
|
+
* method which only integrates mocked objects
|
36
36
|
|
37
37
|
There are several aliases for *it_has_side_effects_are* which can be used to
|
38
|
-
communicate different things.
|
38
|
+
communicate different things to the reader.
|
39
39
|
|
40
40
|
```
|
41
41
|
subject { test_class.test }
|
@@ -74,16 +74,41 @@ its_side_effects_are do
|
|
74
74
|
end
|
75
75
|
```
|
76
76
|
|
77
|
+
Exceptions are also rescued by the helper, so you can still check side effects
|
78
|
+
which also expecting an exception to be raised.
|
79
|
+
|
80
|
+
```
|
81
|
+
subject { test_class.test }
|
82
|
+
|
83
|
+
it { expect { subject }.to raise_error(StandardError) }
|
84
|
+
its_side_effects_are do
|
85
|
+
# Check what might have happened before the exception.
|
86
|
+
# Or confirm things which should not have happend with an error.
|
87
|
+
end
|
88
|
+
```
|
89
|
+
|
77
90
|
## Development
|
78
91
|
|
79
92
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
80
93
|
|
81
94
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
82
95
|
|
96
|
+
## Elsewhere on the web
|
97
|
+
|
98
|
+
Links to other places on the web where this projects exists:
|
99
|
+
|
100
|
+
* [Code Climate](https://codeclimate.com/github/sugarcrm/rspec-side_effects)
|
101
|
+
* [Github](https://github.com/sugarcrm/rspec-side_effects)
|
102
|
+
* [OpenHub](https://www.openhub.net/p/rspec-side_effects)
|
103
|
+
* [RubyDoc](https://rubydoc.info/gems/rspec-side_effects)
|
104
|
+
* [RubyGems](https://rubygems.org/gems/rspec-side_effects)
|
105
|
+
* [Ruby LibHunt](https://ruby.libhunt.com/rspec-side_effects-alternatives)
|
106
|
+
* [Ruby Toolbox](https://www.ruby-toolbox.com/projects/rspec-side_effects)
|
107
|
+
|
83
108
|
## Contributing
|
84
109
|
|
85
110
|
See [CONTRIBUTING](CONTRIBUTING.md) for how you can contribute changes back into this project.
|
86
111
|
|
87
112
|
## Acknowledgments
|
88
113
|
|
89
|
-
Copyright
|
114
|
+
Copyright 2025 [SugarCRM Inc.](http://sugarcrm.com), released under the [Apache2 License](https://www.apache.org/licenses/LICENSE-2.0.html).
|
data/Rakefile
CHANGED
@@ -1,7 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'bundler/gem_tasks'
|
2
4
|
require 'rspec/core/rake_task'
|
3
5
|
require 'rubocop/rake_task'
|
6
|
+
require 'bundler/audit/task'
|
7
|
+
require 'yard'
|
8
|
+
require 'yardstick/rake/measurement'
|
4
9
|
require 'pathname'
|
10
|
+
require 'license_finder'
|
11
|
+
require 'English'
|
5
12
|
|
6
13
|
RSpec::Core::RakeTask.new(:spec) do |task|
|
7
14
|
task.rspec_opts = '--warnings'
|
@@ -23,4 +30,32 @@ RuboCop::RakeTask.new(:rubocop) do |task|
|
|
23
30
|
].push(rubocop_report_pathname.to_s)
|
24
31
|
end
|
25
32
|
|
26
|
-
|
33
|
+
Bundler::Audit::Task.new
|
34
|
+
|
35
|
+
desc 'Show which specified gems are outdated'
|
36
|
+
task 'bundle:outdated' do
|
37
|
+
bundle_outdated_report_pathname =
|
38
|
+
Pathname(Rake.application.original_dir).join('tmp', 'bundle_outdated.txt')
|
39
|
+
bundle_outdated_report_pathname.dirname.mkpath
|
40
|
+
|
41
|
+
# TODO: Should consider re-writing this without using `tee`.
|
42
|
+
sh("bundle outdated --only-explicit | tee #{bundle_outdated_report_pathname}")
|
43
|
+
end
|
44
|
+
|
45
|
+
desc 'Check dependency licenses'
|
46
|
+
task :license_finder do
|
47
|
+
puts `license_finder --quiet --format text`
|
48
|
+
|
49
|
+
abort('LicenseFinder failed') unless $CHILD_STATUS.success?
|
50
|
+
end
|
51
|
+
|
52
|
+
YARD::Rake::YardocTask.new do |t|
|
53
|
+
t.files = ['lib/**/*.rb']
|
54
|
+
t.stats_options = ['--list-undoc']
|
55
|
+
end
|
56
|
+
|
57
|
+
Yardstick::Rake::Measurement.new(:yardstick_measure) do |measurement|
|
58
|
+
measurement.output = 'tmp/yard_coverage.txt'
|
59
|
+
end
|
60
|
+
|
61
|
+
task default: %i[spec rubocop yardstick_measure bundle:audit license_finder]
|
data/bin/console
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
- - :ignore_group
|
3
|
+
- development
|
4
|
+
- :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
|
5
|
+
:why:
|
6
|
+
:versions: []
|
7
|
+
:when: 2018-06-13 15:20:17.351348000 Z
|
8
|
+
- - :permit
|
9
|
+
- Apache 2.0
|
10
|
+
- :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
|
11
|
+
:why: SugarCRM's primary approved open source license
|
12
|
+
:versions: []
|
13
|
+
:when: 2018-06-18 19:28:33.314061000 Z
|
14
|
+
- - :permit
|
15
|
+
- MIT
|
16
|
+
- :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
|
17
|
+
:why: SugarCRM's secondary approved open source license
|
18
|
+
:versions: []
|
19
|
+
:when: 2018-06-13 15:18:36.240771000 Z
|
20
|
+
- - :permit
|
21
|
+
- BSD
|
22
|
+
- :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
|
23
|
+
:why: SugarCRM's secondary approved open source license
|
24
|
+
:versions: []
|
25
|
+
:when: 2018-06-18 19:29:15.003697000 Z
|
data/lib/rspec/side_effects.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'rspec/side_effects/version'
|
2
4
|
|
3
5
|
module Rspec
|
@@ -7,7 +9,7 @@ module Rspec
|
|
7
9
|
# @example
|
8
10
|
module SideEffects
|
9
11
|
def its_side_effects_are(*options, &block)
|
10
|
-
its_caller = caller.
|
12
|
+
its_caller = caller.grep_v(/its_side_effects/)
|
11
13
|
if options.last.is_a?(Hash)
|
12
14
|
options.last.merge(called: its_caller)
|
13
15
|
else
|
@@ -16,7 +18,12 @@ module Rspec
|
|
16
18
|
|
17
19
|
describe('side effects', *options) do
|
18
20
|
if block
|
19
|
-
|
21
|
+
# rubocop:disable Lint/RescueException, Lint/SuppressedException
|
22
|
+
before do
|
23
|
+
subject
|
24
|
+
rescue Exception
|
25
|
+
end
|
26
|
+
# rubocop:enable Lint/RescueException, Lint/SuppressedException
|
20
27
|
example(nil, :aggregate_failures, *options, &block)
|
21
28
|
else
|
22
29
|
example(nil, {}) { subject }
|
data/rspec-side_effects.gemspec
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
|
2
3
|
lib = File.expand_path('lib', __dir__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
@@ -17,23 +18,29 @@ Gem::Specification.new do |spec|
|
|
17
18
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
19
|
f.match(%r{^(test|spec|features)/})
|
19
20
|
end
|
20
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
21
|
spec.bindir = 'exe'
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.required_ruby_version = '>=
|
25
|
+
spec.required_ruby_version = '>= 3.1.2'
|
26
26
|
|
27
|
-
spec.
|
27
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
28
28
|
|
29
|
-
spec.
|
30
|
-
|
31
|
-
spec.add_development_dependency '
|
29
|
+
spec.add_dependency 'rspec-core', '>= 2.99.0'
|
30
|
+
|
31
|
+
spec.add_development_dependency 'rake', '~> 13.2'
|
32
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
32
33
|
|
33
34
|
# Dependencies whose APIs we do not really depend upon, and can be upgraded
|
34
35
|
# without limiting.
|
35
|
-
spec.add_development_dependency '
|
36
|
+
spec.add_development_dependency 'bundler-audit'
|
37
|
+
spec.add_development_dependency 'license_finder'
|
36
38
|
spec.add_development_dependency 'rubocop'
|
39
|
+
spec.add_development_dependency 'rubocop-performance'
|
40
|
+
spec.add_development_dependency 'rubocop-rake'
|
37
41
|
spec.add_development_dependency 'rubocop-rspec'
|
38
42
|
spec.add_development_dependency 'simplecov'
|
43
|
+
spec.add_development_dependency 'simplecov-lcov'
|
44
|
+
spec.add_development_dependency 'yard'
|
45
|
+
spec.add_development_dependency 'yardstick'
|
39
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-side_effects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Sullivan Cant
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -25,49 +25,49 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.99.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.2'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '3.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: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: bundler-audit
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: license_finder
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -94,6 +94,34 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-performance
|
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'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
126
|
name: rubocop-rspec
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +150,48 @@ dependencies:
|
|
122
150
|
- - ">="
|
123
151
|
- !ruby/object:Gem::Version
|
124
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov-lcov
|
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: yard
|
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: yardstick
|
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'
|
125
195
|
description: DSL to make testing side effects clear and explicit.
|
126
196
|
email:
|
127
197
|
- mail@andrewsullivancant.ca
|
@@ -129,10 +199,12 @@ executables: []
|
|
129
199
|
extensions: []
|
130
200
|
extra_rdoc_files: []
|
131
201
|
files:
|
202
|
+
- ".bundler-audit.yml"
|
203
|
+
- ".github/workflows/ci.yml"
|
132
204
|
- ".gitignore"
|
133
205
|
- ".rspec"
|
134
206
|
- ".rubocop.yml"
|
135
|
-
- ".
|
207
|
+
- ".ruby-version"
|
136
208
|
- CHANGELOG.md
|
137
209
|
- CONTRIBUTING.md
|
138
210
|
- CONTRIBUTOR_TERMS.md
|
@@ -142,14 +214,16 @@ files:
|
|
142
214
|
- Rakefile
|
143
215
|
- bin/console
|
144
216
|
- bin/setup
|
217
|
+
- doc/dependency_decisions.yml
|
145
218
|
- lib/rspec/side_effects.rb
|
146
219
|
- lib/rspec/side_effects/version.rb
|
147
220
|
- rspec-side_effects.gemspec
|
148
221
|
homepage: http://github.com/sugarcrm/rspec-side_effects
|
149
222
|
licenses:
|
150
223
|
- Apache-2.0
|
151
|
-
metadata:
|
152
|
-
|
224
|
+
metadata:
|
225
|
+
rubygems_mfa_required: 'true'
|
226
|
+
post_install_message:
|
153
227
|
rdoc_options: []
|
154
228
|
require_paths:
|
155
229
|
- lib
|
@@ -157,16 +231,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
231
|
requirements:
|
158
232
|
- - ">="
|
159
233
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
234
|
+
version: 3.1.2
|
161
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
236
|
requirements:
|
163
237
|
- - ">="
|
164
238
|
- !ruby/object:Gem::Version
|
165
239
|
version: '0'
|
166
240
|
requirements: []
|
167
|
-
|
168
|
-
|
169
|
-
signing_key:
|
241
|
+
rubygems_version: 3.3.7
|
242
|
+
signing_key:
|
170
243
|
specification_version: 4
|
171
244
|
summary: RSpec extension for examples with side effects.
|
172
245
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.1
|
4
|
-
- 2.2
|
5
|
-
- 2.3
|
6
|
-
- 2.4
|
7
|
-
- 2.5
|
8
|
-
- ruby-head
|
9
|
-
matrix:
|
10
|
-
allow_failures:
|
11
|
-
- rvm: ruby-head
|
12
|
-
- rvm: 2.4
|
13
|
-
os: osx
|
14
|
-
os:
|
15
|
-
- linux
|
16
|
-
- osx
|
17
|
-
sudo: false
|
18
|
-
after_success:
|
19
|
-
- bundle exec codeclimate-test-reporter
|