rspec-its 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +5 -0
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/ci.yml +131 -0
- data/Changelog.md +8 -0
- data/Gemfile +15 -11
- data/features/its.feature +35 -2
- data/features/support/env.rb +4 -12
- data/lib/rspec/its/version.rb +1 -1
- data/lib/rspec/its.rb +3 -1
- data/rspec-its.gemspec +17 -4
- data/script/legacy_setup.sh +16 -0
- data/script/test_all +15 -2
- data/script/update_rubygems_and_install_bundler +16 -3
- data/spec/rspec/its_spec.rb +15 -1
- metadata +26 -23
- data/.travis.yml +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ede48c8c66058550c26cb470fbbc8a0e8cdc42693b2bd67a9996a5ef010c94a4
|
4
|
+
data.tar.gz: b0bfe107c8683af7f7797ec123a9d4677da93b53364af49808bc7d8dc0c51d0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d0e4aa570b53ed61476c17a616d4b60dca827e78d74fff470b775b034502fbf5e22eb3bbecafae894833614d1f90b61f1aaf97ae32e83acf5a37d445118797e
|
7
|
+
data.tar.gz: 7f032617d48bc1fe4e499f002583463b4c474fd1145fc7398c96696870a1d0b8694afc4bfd672219d411b70a35f6f5c9ee0d8552ef0508639161deee17d8a472
|
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
name: RSpec CI
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- 'main'
|
6
|
+
- '*-maintenance'
|
7
|
+
- '*-dev'
|
8
|
+
pull_request:
|
9
|
+
branches:
|
10
|
+
- '*'
|
11
|
+
env:
|
12
|
+
BRANCH: '3-12-maintenance'
|
13
|
+
RSPEC_CI: true
|
14
|
+
jobs:
|
15
|
+
test:
|
16
|
+
name: Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
|
17
|
+
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
|
18
|
+
strategy:
|
19
|
+
matrix:
|
20
|
+
ruby:
|
21
|
+
- '3.2'
|
22
|
+
- '3.1'
|
23
|
+
- '3.0'
|
24
|
+
- 2.7
|
25
|
+
- 2.6
|
26
|
+
- 2.5
|
27
|
+
- 2.4
|
28
|
+
- 2.3
|
29
|
+
- 2.2
|
30
|
+
- 2.1.9
|
31
|
+
env:
|
32
|
+
-
|
33
|
+
BRANCH: "main"
|
34
|
+
include:
|
35
|
+
- ruby: jruby-9.2.13.0
|
36
|
+
env:
|
37
|
+
JRUBY_OPTS: "--dev"
|
38
|
+
# Compatibility builds
|
39
|
+
- ruby: '3.2'
|
40
|
+
name_extra: "against RSpec 3.12"
|
41
|
+
env:
|
42
|
+
BRANCH: "3-12-maintenance"
|
43
|
+
- ruby: '3.1'
|
44
|
+
name_extra: "against RSpec 3.11"
|
45
|
+
env:
|
46
|
+
BRANCH: "3-11-maintenance"
|
47
|
+
- ruby: '3.1'
|
48
|
+
name_extra: "against RSpec 3.10"
|
49
|
+
env:
|
50
|
+
BRANCH: "3-10-maintenance"
|
51
|
+
- ruby: '3.0'
|
52
|
+
name_extra: "against RSpec 3.9"
|
53
|
+
env:
|
54
|
+
BRANCH: "3-9-maintenance"
|
55
|
+
- ruby: '3.0'
|
56
|
+
name_extra: "against RSpec 3.8"
|
57
|
+
env:
|
58
|
+
BRANCH: "3-8-maintenance"
|
59
|
+
- ruby: '3.0'
|
60
|
+
name_extra: "against RSpec 3.7"
|
61
|
+
env:
|
62
|
+
BRANCH: "3-7-maintenance"
|
63
|
+
- ruby: '3.0'
|
64
|
+
name_extra: "against RSpec 3.6"
|
65
|
+
env:
|
66
|
+
BRANCH: "3-6-maintenance"
|
67
|
+
- ruby: '3.0'
|
68
|
+
name_extra: "against RSpec 3.5"
|
69
|
+
env:
|
70
|
+
BRANCH: "3-5-maintenance"
|
71
|
+
- ruby: '3.0'
|
72
|
+
name_extra: "against RSpec 3.4"
|
73
|
+
env:
|
74
|
+
BRANCH: "3-4-maintenance"
|
75
|
+
- ruby: '3.0'
|
76
|
+
name_extra: "against RSpec 3.3"
|
77
|
+
env:
|
78
|
+
BRANCH: "3-3-maintenance"
|
79
|
+
- ruby: '3.0'
|
80
|
+
name_extra: "against RSpec 3.2"
|
81
|
+
env:
|
82
|
+
BRANCH: "3-2-maintenance"
|
83
|
+
- ruby: '3.0'
|
84
|
+
name_extra: "against RSpec 3.1"
|
85
|
+
env:
|
86
|
+
BRANCH: "3-1-maintenance"
|
87
|
+
- ruby: '3.0'
|
88
|
+
name_extra: "against RSpec 3.0"
|
89
|
+
env:
|
90
|
+
BRANCH: "3-0-maintenance"
|
91
|
+
|
92
|
+
fail-fast: false
|
93
|
+
continue-on-error: ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
|
94
|
+
env: ${{ matrix.env }}
|
95
|
+
steps:
|
96
|
+
- uses: actions/checkout@v3
|
97
|
+
- uses: ruby/setup-ruby@v1
|
98
|
+
with:
|
99
|
+
bundler: ${{ matrix.bundler || 2 }}
|
100
|
+
ruby-version: ${{ matrix.ruby }}
|
101
|
+
- run: script/update_rubygems_and_install_bundler
|
102
|
+
- run: bundle install --binstubs --standalone
|
103
|
+
- run: script/test_all
|
104
|
+
|
105
|
+
legacy:
|
106
|
+
name: Legacy Ruby Builds (${{ matrix.container.version }})
|
107
|
+
runs-on: ubuntu-20.04
|
108
|
+
container:
|
109
|
+
image: ${{ matrix.container.tag }}
|
110
|
+
options: ${{ matrix.container.options || '--add-host github-complains-if-this-is-empty.com:127.0.0.1' }}
|
111
|
+
strategy:
|
112
|
+
fail-fast: false
|
113
|
+
matrix:
|
114
|
+
container:
|
115
|
+
- version: "2.0"
|
116
|
+
tag: ghcr.io/rspec/docker-ci:2.0.0
|
117
|
+
- version: "1.9.3"
|
118
|
+
tag: ghcr.io/rspec/docker-ci:1.9.3
|
119
|
+
- version: "JRuby 1.7"
|
120
|
+
tag: ghcr.io/rspec/docker-ci:jruby-1.7
|
121
|
+
- version: "JRuby 9.1.17.0"
|
122
|
+
tag: ghcr.io/rspec/docker-ci:jruby-9.1.17.0
|
123
|
+
options: "--add-host rubygems.org:151.101.129.227 --add-host api.rubygems.org:151.101.129.227"
|
124
|
+
env:
|
125
|
+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
126
|
+
LEGACY_CI: true
|
127
|
+
JRUBY_OPTS: ${{ matrix.container.jruby_opts || '--dev' }}
|
128
|
+
steps:
|
129
|
+
- uses: actions/checkout@v3
|
130
|
+
- run: script/legacy_setup.sh
|
131
|
+
- run: script/test_all
|
data/Changelog.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
### 1.3.1 / 2024-10-23
|
2
|
+
[full changelog](http://github.com/rspec/rspec-its/compare/v1.3.0...v1.3.1)
|
3
|
+
|
4
|
+
Bug fixes:
|
5
|
+
|
6
|
+
* Prevent overridden `example` methods causing issues by creating our own
|
7
|
+
Example Group creation alias `__its_example`. (Jon Rowe, #95)
|
8
|
+
|
1
9
|
### 1.3.0 / 2019-04-09
|
2
10
|
[full changelog](http://github.com/rspec/rspec-its/compare/v1.2.0...v1.3.0)
|
3
11
|
|
data/Gemfile
CHANGED
@@ -4,31 +4,35 @@ source 'https://rubygems.org'
|
|
4
4
|
gemspec
|
5
5
|
|
6
6
|
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
|
7
|
-
branch = ENV.fetch('BRANCH','
|
7
|
+
branch = ENV.fetch('BRANCH','main')
|
8
8
|
library_path = File.expand_path("../../#{lib}", __FILE__)
|
9
|
+
|
9
10
|
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
|
10
11
|
gem lib, :path => library_path
|
12
|
+
elsif lib == 'rspec'
|
13
|
+
gem 'rspec', :git => "https://github.com/rspec/rspec-metagem.git", :branch => branch
|
11
14
|
else
|
12
|
-
gem lib, :git => "
|
13
|
-
:branch => branch
|
15
|
+
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => branch
|
14
16
|
end
|
15
17
|
end
|
16
18
|
|
17
|
-
if RUBY_VERSION < '2.
|
18
|
-
gem 'ffi', '< 1.
|
19
|
-
elsif RUBY_VERSION < '
|
19
|
+
if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
|
20
|
+
gem 'ffi', '< 1.10'
|
21
|
+
elsif RUBY_VERSION < '2.4.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
|
22
|
+
gem 'ffi', '< 1.15'
|
23
|
+
elsif RUBY_VERSION < '2.0'
|
20
24
|
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
|
25
|
+
elsif RUBY_VERSION < '2.3.0'
|
26
|
+
gem 'ffi', '~> 1.12.0'
|
21
27
|
else
|
22
|
-
gem 'ffi', '~> 1.
|
28
|
+
gem 'ffi', '~> 1.15.0'
|
23
29
|
end
|
24
30
|
|
25
31
|
# test coverage
|
26
32
|
# gem 'simplecov', :require => false
|
27
33
|
|
34
|
+
gem 'contracts', '< 0.16' if RUBY_VERSION < '1.9.0'
|
35
|
+
|
28
36
|
gem 'coveralls', :require => false, :platform => :mri_20
|
29
37
|
|
30
38
|
eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')
|
31
|
-
|
32
|
-
platform :rbx do
|
33
|
-
gem 'rubysl'
|
34
|
-
end
|
data/features/its.feature
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
Feature: attribute of subject
|
2
2
|
|
3
|
+
@pre-3-9
|
3
4
|
Scenario: specify value of a nested attribute
|
4
5
|
Given a file named "example_spec.rb" with:
|
5
6
|
"""ruby
|
@@ -31,6 +32,38 @@ Feature: attribute of subject
|
|
31
32
|
should eq "555-1212"
|
32
33
|
"""
|
33
34
|
|
35
|
+
@post-3-9
|
36
|
+
Scenario: specify value of a nested attribute
|
37
|
+
Given a file named "example_spec.rb" with:
|
38
|
+
"""ruby
|
39
|
+
class Person
|
40
|
+
attr_reader :phone_numbers
|
41
|
+
def initialize
|
42
|
+
@phone_numbers = []
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe Person do
|
47
|
+
context "with one phone number (555-1212)"do
|
48
|
+
subject do
|
49
|
+
person = Person.new
|
50
|
+
person.phone_numbers << "555-1212"
|
51
|
+
person
|
52
|
+
end
|
53
|
+
|
54
|
+
its("phone_numbers.first") { should eq("555-1212") }
|
55
|
+
end
|
56
|
+
end
|
57
|
+
"""
|
58
|
+
When I run rspec with the documentation option
|
59
|
+
Then the output should contain:
|
60
|
+
"""
|
61
|
+
Person
|
62
|
+
with one phone number (555-1212)
|
63
|
+
phone_numbers.first
|
64
|
+
is expected to eq "555-1212"
|
65
|
+
"""
|
66
|
+
|
34
67
|
Scenario: specify value of an attribute of a hash
|
35
68
|
Given a file named "example_spec.rb" with:
|
36
69
|
"""ruby
|
@@ -124,7 +157,7 @@ Feature: attribute of subject
|
|
124
157
|
When I run rspec specifying line number 2
|
125
158
|
Then the examples should all pass
|
126
159
|
|
127
|
-
Scenario: specify a method throws an
|
160
|
+
Scenario: specify a method throws an exception
|
128
161
|
Given a file named "example_spec.rb" with:
|
129
162
|
"""ruby
|
130
163
|
class Klass
|
@@ -142,7 +175,7 @@ Feature: attribute of subject
|
|
142
175
|
When I run rspec
|
143
176
|
Then the examples should all pass
|
144
177
|
|
145
|
-
Scenario: specify a method does not throw an
|
178
|
+
Scenario: specify a method does not throw an exception
|
146
179
|
Given a file named "example_spec.rb" with:
|
147
180
|
"""ruby
|
148
181
|
class Klass; end
|
data/features/support/env.rb
CHANGED
@@ -2,22 +2,14 @@ require 'aruba/cucumber'
|
|
2
2
|
require 'rspec/core'
|
3
3
|
require 'rspec/its'
|
4
4
|
|
5
|
-
Before do
|
6
|
-
if RUBY_PLATFORM =~ /java/ || defined?(Rubinius)
|
7
|
-
@aruba_timeout_seconds = 60
|
8
|
-
else
|
9
|
-
@aruba_timeout_seconds = 10
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
5
|
Aruba.configure do |config|
|
14
|
-
config.
|
15
|
-
|
6
|
+
config.before(:command) do |cmd|
|
7
|
+
cmd.environment['JRUBY_OPTS'] = "-X-C #{ENV['JRUBY_OPTS']}" # disable JIT since these processes are so short lived
|
16
8
|
end
|
17
9
|
end if RUBY_PLATFORM == 'java'
|
18
10
|
|
19
11
|
Aruba.configure do |config|
|
20
|
-
config.
|
21
|
-
|
12
|
+
config.before(:command) do |cmd|
|
13
|
+
cmd.environment['RBXOPT'] = "-Xint=true #{ENV['RBXOPT']}" # disable JIT since these processes are so short lived
|
22
14
|
end
|
23
15
|
end if defined?(Rubinius)
|
data/lib/rspec/its/version.rb
CHANGED
data/lib/rspec/its.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
require 'rspec/its/version'
|
2
2
|
require 'rspec/core'
|
3
3
|
|
4
|
+
RSpec::Core::ExampleGroup.define_example_method :__its_example
|
5
|
+
|
4
6
|
module RSpec
|
5
7
|
module Its
|
6
8
|
|
@@ -166,7 +168,7 @@ module RSpec
|
|
166
168
|
options << {} unless options.last.kind_of?(Hash)
|
167
169
|
options.last.merge!(:caller => its_caller)
|
168
170
|
|
169
|
-
|
171
|
+
__its_example(nil, *options, &block)
|
170
172
|
|
171
173
|
end
|
172
174
|
end
|
data/rspec-its.gemspec
CHANGED
@@ -28,9 +28,22 @@ Gem::Specification.new do |spec|
|
|
28
28
|
|
29
29
|
spec.add_runtime_dependency 'rspec-core', '>= 3.0.0'
|
30
30
|
spec.add_runtime_dependency 'rspec-expectations', '>= 3.0.0'
|
31
|
-
spec.add_development_dependency 'bundler', '> 1.3.0'
|
32
|
-
spec.add_development_dependency 'rake', '~> 10.1.0'
|
33
|
-
spec.add_development_dependency 'cucumber', '~> 1.3.8'
|
34
|
-
spec.add_development_dependency "aruba", "~> 0.6.2" # 0.7 is broken on ruby 1.8.7
|
35
31
|
|
32
|
+
if RUBY_VERSION.to_f < 1.9 || RUBY_VERSION == '1.9.2'
|
33
|
+
spec.add_development_dependency "rake", "~> 10.0.0"
|
34
|
+
elsif RUBY_VERSION.to_f < 2
|
35
|
+
spec.add_development_dependency "rake", "~> 11.0.0"
|
36
|
+
elsif RUBY_VERSION.to_f < 2.3
|
37
|
+
spec.add_development_dependency "rake", "~> 12.3.2"
|
38
|
+
else
|
39
|
+
spec.add_development_dependency "rake", "~> 13.0.0"
|
40
|
+
end
|
41
|
+
|
42
|
+
spec.add_development_dependency 'bundler', '> 1.3.0'
|
43
|
+
if RUBY_VERSION.to_f < 2
|
44
|
+
spec.add_development_dependency 'cucumber', '< 3.0.0'
|
45
|
+
else
|
46
|
+
spec.add_development_dependency 'cucumber', '>= 1.3.8'
|
47
|
+
end
|
48
|
+
spec.add_development_dependency "aruba", "~> 0.14.12"
|
36
49
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
set -e
|
3
|
+
|
4
|
+
bundle install --standalone --binstubs
|
5
|
+
|
6
|
+
if [ -x ./bin/rspec ]; then
|
7
|
+
echo "RSpec bin detected"
|
8
|
+
else
|
9
|
+
if [ -x ./exe/rspec ]; then
|
10
|
+
cp ./exe/rspec ./bin/rspec
|
11
|
+
echo "RSpec restored from exe"
|
12
|
+
else
|
13
|
+
echo "No RSpec bin available"
|
14
|
+
exit 1
|
15
|
+
fi
|
16
|
+
fi
|
data/script/test_all
CHANGED
@@ -14,10 +14,23 @@ bin/rspec spec --format progress --profile
|
|
14
14
|
|
15
15
|
echo "Running cucumber specs"
|
16
16
|
|
17
|
+
if [ -z ${BRANCH+" is set"} ]; then
|
18
|
+
echo "BRANCH must be set for this script."
|
19
|
+
exit 1
|
20
|
+
else
|
21
|
+
echo "Using $BRANCH"
|
22
|
+
fi
|
23
|
+
|
24
|
+
if ruby -e 'exit(ENV.fetch("BRANCH") =~ /3-[0-8]-maintenance/ ? 0 : 1)'; then
|
25
|
+
TAGS="--tags @pre-3-9"
|
26
|
+
else
|
27
|
+
TAGS="--tags @post-3-9"
|
28
|
+
fi;
|
29
|
+
|
17
30
|
if ruby -e "exit(defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java')"; then
|
18
31
|
# This is JRUBY which requires this one weird path trick...
|
19
32
|
PATH="${PWD}/bin:$PATH" \
|
20
|
-
bundle exec cucumber --strict
|
33
|
+
bundle exec cucumber --strict $TAGS
|
21
34
|
else
|
22
|
-
bundle exec cucumber --strict
|
35
|
+
bundle exec cucumber --strict $TAGS
|
23
36
|
fi;
|
@@ -4,6 +4,14 @@
|
|
4
4
|
|
5
5
|
set -e
|
6
6
|
|
7
|
+
function is_ruby_31_plus {
|
8
|
+
if ruby -e "exit(RUBY_VERSION.to_f >= 3.1)"; then
|
9
|
+
return 0
|
10
|
+
else
|
11
|
+
return 1
|
12
|
+
fi
|
13
|
+
}
|
14
|
+
|
7
15
|
function is_ruby_23_plus {
|
8
16
|
if ruby -e "exit(RUBY_VERSION.to_f >= 2.3)"; then
|
9
17
|
return 0
|
@@ -12,9 +20,14 @@ function is_ruby_23_plus {
|
|
12
20
|
fi
|
13
21
|
}
|
14
22
|
|
15
|
-
if
|
16
|
-
|
17
|
-
gem
|
23
|
+
if is_ruby_31_plus; then
|
24
|
+
echo "Installing rubygems 3.3.6 / bundler 2.3.6"
|
25
|
+
yes | gem update --system '3.3.6'
|
26
|
+
yes | gem install bundler -v '2.3.6'
|
27
|
+
elif is_ruby_23_plus; then
|
28
|
+
echo "Installing rubygems 3.2.22 / bundler 2.2.22"
|
29
|
+
yes | gem update --system '3.2.22'
|
30
|
+
yes | gem install bundler -v '2.2.22'
|
18
31
|
else
|
19
32
|
echo "Warning installing older versions of Rubygems / Bundler"
|
20
33
|
gem update --system '2.7.8'
|
data/spec/rspec/its_spec.rb
CHANGED
@@ -9,6 +9,7 @@ module RSpec
|
|
9
9
|
its([]) { expect(described_class).to be Its }
|
10
10
|
end
|
11
11
|
end
|
12
|
+
|
12
13
|
context "with explicit subject" do
|
13
14
|
subject do
|
14
15
|
Class.new do
|
@@ -269,7 +270,6 @@ module RSpec
|
|
269
270
|
end
|
270
271
|
|
271
272
|
its(:good) { will_not raise_error }
|
272
|
-
its(:bad) { will raise_error }
|
273
273
|
its(:bad) { will raise_error(ArgumentError) }
|
274
274
|
its(:bad) { will raise_error("message") }
|
275
275
|
its(:bad) { will raise_error(ArgumentError, "message") }
|
@@ -375,6 +375,20 @@ module RSpec
|
|
375
375
|
raise_error(ArgumentError, '`will_not` only supports block expectations')
|
376
376
|
end
|
377
377
|
end
|
378
|
+
|
379
|
+
context "when example is redefined" do
|
380
|
+
subject do
|
381
|
+
Class.new do
|
382
|
+
def will_still_work; true; end
|
383
|
+
end.new
|
384
|
+
end
|
385
|
+
|
386
|
+
def self.example(*_args)
|
387
|
+
raise
|
388
|
+
end
|
389
|
+
|
390
|
+
its(:will_still_work) { is_expected.to be true }
|
391
|
+
end
|
378
392
|
end
|
379
393
|
end
|
380
394
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-its
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Alfvin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -39,45 +39,45 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 3.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 13.0.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: 13.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.3.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: 1.3.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: cucumber
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 1.3.8
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.3.8
|
83
83
|
- !ruby/object:Gem::Dependency
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.14.12
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.14.12
|
97
97
|
description: RSpec extension gem for attribute matching
|
98
98
|
email:
|
99
99
|
- palfvin@gmail.com
|
@@ -101,9 +101,11 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
+
- ".github/FUNDING.yml"
|
105
|
+
- ".github/dependabot.yml"
|
106
|
+
- ".github/workflows/ci.yml"
|
104
107
|
- ".gitignore"
|
105
108
|
- ".rspec"
|
106
|
-
- ".travis.yml"
|
107
109
|
- Changelog.md
|
108
110
|
- Gemfile
|
109
111
|
- LICENSE.txt
|
@@ -115,6 +117,7 @@ files:
|
|
115
117
|
- lib/rspec/its.rb
|
116
118
|
- lib/rspec/its/version.rb
|
117
119
|
- rspec-its.gemspec
|
120
|
+
- script/legacy_setup.sh
|
118
121
|
- script/test_all
|
119
122
|
- script/update_rubygems_and_install_bundler
|
120
123
|
- spec/rspec/its_spec.rb
|
@@ -124,11 +127,11 @@ licenses:
|
|
124
127
|
- MIT
|
125
128
|
metadata:
|
126
129
|
bug_tracker_uri: https://github.com/rspec/rspec-its/issues
|
127
|
-
changelog_uri: https://github.com/rspec/rspec-its/blob/v1.3.
|
128
|
-
documentation_uri: https://www.rubydoc.info/gems/rspec-its/1.3.
|
130
|
+
changelog_uri: https://github.com/rspec/rspec-its/blob/v1.3.1/Changelog.md
|
131
|
+
documentation_uri: https://www.rubydoc.info/gems/rspec-its/1.3.1
|
129
132
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
130
133
|
source_code_uri: https://github.com/rspec/rspec-its
|
131
|
-
post_install_message:
|
134
|
+
post_install_message:
|
132
135
|
rdoc_options: []
|
133
136
|
require_paths:
|
134
137
|
- lib
|
@@ -143,8 +146,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
146
|
- !ruby/object:Gem::Version
|
144
147
|
version: '0'
|
145
148
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
147
|
-
signing_key:
|
149
|
+
rubygems_version: 3.5.16
|
150
|
+
signing_key:
|
148
151
|
specification_version: 4
|
149
152
|
summary: Provides "its" method formerly part of rspec-core
|
150
153
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
script: "script/test_all"
|
3
|
-
email: false
|
4
|
-
before_install:
|
5
|
-
- script/update_rubygems_and_install_bundler
|
6
|
-
bundler_args: "--standalone --binstubs --without documentation"
|
7
|
-
rvm:
|
8
|
-
- 1.8.7
|
9
|
-
- 1.9.2
|
10
|
-
- 1.9.3
|
11
|
-
- 2.0.0
|
12
|
-
- 2.1
|
13
|
-
- 2.2.10
|
14
|
-
- 2.3.8
|
15
|
-
- 2.4.5
|
16
|
-
- 2.5.3
|
17
|
-
- 2.6.0
|
18
|
-
- ruby-head
|
19
|
-
- ree
|
20
|
-
- jruby-9.2.5.0
|
21
|
-
- jruby-head
|
22
|
-
- jruby-1.7.27
|
23
|
-
- rbx-3
|
24
|
-
env:
|
25
|
-
- JRUBY_OPTS='--dev'
|
26
|
-
matrix:
|
27
|
-
allow_failures:
|
28
|
-
- rvm: jruby-head
|
29
|
-
- rvm: ruby-head
|
30
|
-
- rvm: rbx-3
|
31
|
-
fast_finish: true
|