rspec-side_effects 0.2.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 +15 -2
- data/.ruby-version +1 -0
- data/CHANGELOG.md +7 -2
- data/Gemfile +2 -0
- data/README.md +16 -3
- data/Rakefile +24 -1
- data/bin/console +1 -0
- data/doc/dependency_decisions.yml +3 -3
- data/lib/rspec/side_effects/version.rb +3 -1
- data/lib/rspec/side_effects.rb +7 -4
- data/rspec-side_effects.gemspec +12 -6
- metadata +82 -24
- data/.travis.yml +0 -24
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,4 +1,13 @@
|
|
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
|
@@ -6,6 +15,10 @@ Metrics/MethodLength:
|
|
6
15
|
RSpec/EmptyExampleGroup:
|
7
16
|
Enabled: false
|
8
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.
|
9
21
|
Metrics/BlockLength:
|
10
22
|
Exclude:
|
11
|
-
-
|
23
|
+
- '*.gemspec'
|
24
|
+
- 'spec/**/*'
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.1.2
|
data/CHANGELOG.md
CHANGED
@@ -6,13 +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.
|
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
|
10
15
|
### Changed
|
11
16
|
- Rescue Exceptions from the subject in the its_side_effects_are helper, so
|
12
17
|
that it is possible to check the side effects of a method which is expected
|
13
18
|
to raise an error
|
14
19
|
|
15
|
-
## 0.1.0 - 2018-05-02
|
20
|
+
## [0.1.0] - 2018-05-02
|
16
21
|
### Added
|
17
22
|
- Add the its_side_effects_are helper, as well as its aliases it_has_side_effects
|
18
23
|
and specify_side_effects.
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
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
|
-
[![Build Status](https://
|
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)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sugarcrm/rspec-side_effects/badges/gpa.svg)](https://codeclimate.com/github/sugarcrm/rspec-side_effects)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/sugarcrm/rspec-side_effects/badges/coverage.svg)](https://codeclimate.com/github/sugarcrm/rspec-side_effects/coverage)
|
7
|
-
[![Inline docs](http://inch-ci.org/github/sugarcrm/rspec-side_effects.svg)](http://inch-ci.org/github/sugarcrm/rspec-side_effects)
|
8
7
|
[![License](http://img.shields.io/badge/license-Apache2-green.svg?style=flat)](LICENSE)
|
9
8
|
|
9
|
+
[![RubyDoc](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://rubydoc.org/gems/rspec-side_effects)
|
10
|
+
|
10
11
|
RSpec extension for checking the side effects of your specifications.
|
11
12
|
|
12
13
|
## Installation
|
@@ -92,10 +93,22 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
92
93
|
|
93
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).
|
94
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
|
+
|
95
108
|
## Contributing
|
96
109
|
|
97
110
|
See [CONTRIBUTING](CONTRIBUTING.md) for how you can contribute changes back into this project.
|
98
111
|
|
99
112
|
## Acknowledgments
|
100
113
|
|
101
|
-
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,11 @@
|
|
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'
|
4
6
|
require 'bundler/audit/task'
|
7
|
+
require 'yard'
|
8
|
+
require 'yardstick/rake/measurement'
|
5
9
|
require 'pathname'
|
6
10
|
require 'license_finder'
|
7
11
|
require 'English'
|
@@ -28,6 +32,16 @@ end
|
|
28
32
|
|
29
33
|
Bundler::Audit::Task.new
|
30
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
|
+
|
31
45
|
desc 'Check dependency licenses'
|
32
46
|
task :license_finder do
|
33
47
|
puts `license_finder --quiet --format text`
|
@@ -35,4 +49,13 @@ task :license_finder do
|
|
35
49
|
abort('LicenseFinder failed') unless $CHILD_STATUS.success?
|
36
50
|
end
|
37
51
|
|
38
|
-
|
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
@@ -5,19 +5,19 @@
|
|
5
5
|
:why:
|
6
6
|
:versions: []
|
7
7
|
:when: 2018-06-13 15:20:17.351348000 Z
|
8
|
-
- - :
|
8
|
+
- - :permit
|
9
9
|
- Apache 2.0
|
10
10
|
- :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
|
11
11
|
:why: SugarCRM's primary approved open source license
|
12
12
|
:versions: []
|
13
13
|
:when: 2018-06-18 19:28:33.314061000 Z
|
14
|
-
- - :
|
14
|
+
- - :permit
|
15
15
|
- MIT
|
16
16
|
- :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
|
17
17
|
:why: SugarCRM's secondary approved open source license
|
18
18
|
:versions: []
|
19
19
|
:when: 2018-06-13 15:18:36.240771000 Z
|
20
|
-
- - :
|
20
|
+
- - :permit
|
21
21
|
- BSD
|
22
22
|
- :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
|
23
23
|
:why: SugarCRM's secondary approved open source license
|
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,11 +18,12 @@ module Rspec
|
|
16
18
|
|
17
19
|
describe('side effects', *options) do
|
18
20
|
if block
|
21
|
+
# rubocop:disable Lint/RescueException, Lint/SuppressedException
|
19
22
|
before do
|
20
|
-
|
21
|
-
|
22
|
-
# rubocop:enable Lint/HandleExceptions, Lint/RescueException
|
23
|
+
subject
|
24
|
+
rescue Exception
|
23
25
|
end
|
26
|
+
# rubocop:enable Lint/RescueException, Lint/SuppressedException
|
24
27
|
example(nil, :aggregate_failures, *options, &block)
|
25
28
|
else
|
26
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,24 +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
36
|
spec.add_development_dependency 'bundler-audit'
|
36
37
|
spec.add_development_dependency 'license_finder'
|
37
38
|
spec.add_development_dependency 'rubocop'
|
39
|
+
spec.add_development_dependency 'rubocop-performance'
|
40
|
+
spec.add_development_dependency 'rubocop-rake'
|
38
41
|
spec.add_development_dependency 'rubocop-rspec'
|
39
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'
|
40
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
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rubocop
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,21 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop
|
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
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - ">="
|
@@ -136,6 +150,48 @@ dependencies:
|
|
136
150
|
- - ">="
|
137
151
|
- !ruby/object:Gem::Version
|
138
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'
|
139
195
|
description: DSL to make testing side effects clear and explicit.
|
140
196
|
email:
|
141
197
|
- mail@andrewsullivancant.ca
|
@@ -143,10 +199,12 @@ executables: []
|
|
143
199
|
extensions: []
|
144
200
|
extra_rdoc_files: []
|
145
201
|
files:
|
202
|
+
- ".bundler-audit.yml"
|
203
|
+
- ".github/workflows/ci.yml"
|
146
204
|
- ".gitignore"
|
147
205
|
- ".rspec"
|
148
206
|
- ".rubocop.yml"
|
149
|
-
- ".
|
207
|
+
- ".ruby-version"
|
150
208
|
- CHANGELOG.md
|
151
209
|
- CONTRIBUTING.md
|
152
210
|
- CONTRIBUTOR_TERMS.md
|
@@ -163,8 +221,9 @@ files:
|
|
163
221
|
homepage: http://github.com/sugarcrm/rspec-side_effects
|
164
222
|
licenses:
|
165
223
|
- Apache-2.0
|
166
|
-
metadata:
|
167
|
-
|
224
|
+
metadata:
|
225
|
+
rubygems_mfa_required: 'true'
|
226
|
+
post_install_message:
|
168
227
|
rdoc_options: []
|
169
228
|
require_paths:
|
170
229
|
- lib
|
@@ -172,16 +231,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
231
|
requirements:
|
173
232
|
- - ">="
|
174
233
|
- !ruby/object:Gem::Version
|
175
|
-
version:
|
234
|
+
version: 3.1.2
|
176
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
236
|
requirements:
|
178
237
|
- - ">="
|
179
238
|
- !ruby/object:Gem::Version
|
180
239
|
version: '0'
|
181
240
|
requirements: []
|
182
|
-
|
183
|
-
|
184
|
-
signing_key:
|
241
|
+
rubygems_version: 3.3.7
|
242
|
+
signing_key:
|
185
243
|
specification_version: 4
|
186
244
|
summary: RSpec extension for examples with side effects.
|
187
245
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,24 +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
|
-
before_script:
|
19
|
-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 > ./cc-test-reporter ; fi
|
20
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter ; fi
|
21
|
-
- chmod +x ./cc-test-reporter
|
22
|
-
- ./cc-test-reporter before-build
|
23
|
-
after_script:
|
24
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|