rspec-collection_matchers 1.1.3 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/FUNDING.yml +5 -0
- data/.github/workflows/ci.yml +69 -0
- data/.rspec +0 -1
- data/Changelog.md +12 -1
- data/Gemfile +16 -13
- data/README.md +5 -2
- data/lib/rspec/collection_matchers/have.rb +4 -0
- data/lib/rspec/collection_matchers/matchers.rb +1 -0
- data/lib/rspec/collection_matchers/version.rb +1 -1
- data/rspec-collection_matchers.gemspec +9 -1
- data/script/legacy_setup.sh +19 -0
- data/script/{test_all → run_build} +0 -1
- data/script/update_rubygems_and_install_bundler +33 -0
- data/spec/rspec/collection_matchers/have_spec.rb +24 -49
- data/spec/rspec/collection_matchers/rails_extensions_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -50
- data/spec/support/shared_examples.rb +1 -1
- metadata +20 -13
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6f855370067f7ba87dab3a0ceccc86eb3037530ac096faf23cc34e95dc711018
|
4
|
+
data.tar.gz: 4dd38d0be031f4c7a865297398918cb28e49afcea17bd54ecca7d749136688f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f4ca52d387d060ec33a219aa373512c9a1d59359adb71aa9b08d3caf7657d9dfd01102f93e55190d9f5042e95e7f9bf8f5ac8c8f5aa97d7fa62d7e9475b56f2
|
7
|
+
data.tar.gz: 57b7a7046d617bf39369b993b69e455a91eb09f29dae8d0287f066489a8869e5cad920861330f96b4ccd99a447a14640c003f0629eb3ff329dd0a40b279196df
|
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
name: RSpec CI
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- 'main'
|
6
|
+
- '*-maintenance'
|
7
|
+
- '*-dev'
|
8
|
+
- 'pr-*'
|
9
|
+
pull_request:
|
10
|
+
branches:
|
11
|
+
- '*'
|
12
|
+
permissions:
|
13
|
+
contents: read
|
14
|
+
concurrency:
|
15
|
+
group: ${{ github.workflow }}-${{ github.github.head_ref || github.run_id }}
|
16
|
+
cancel-in-progress: true
|
17
|
+
|
18
|
+
jobs:
|
19
|
+
test:
|
20
|
+
name: 'Ruby: ${{ matrix.ruby }}, Rails: ${{ matrix.env.RAILS_VERSION }}'
|
21
|
+
runs-on: ubuntu-20.04
|
22
|
+
strategy:
|
23
|
+
fail-fast: false
|
24
|
+
matrix:
|
25
|
+
include:
|
26
|
+
- ruby: '3.2'
|
27
|
+
- ruby: '3.1'
|
28
|
+
- ruby: '3.0'
|
29
|
+
- ruby: 2.7
|
30
|
+
- ruby: 2.6
|
31
|
+
- ruby: 2.5
|
32
|
+
- ruby: 2.3
|
33
|
+
- ruby: 2.2
|
34
|
+
steps:
|
35
|
+
- uses: actions/checkout@v4
|
36
|
+
- uses: ruby/setup-ruby@v1
|
37
|
+
with:
|
38
|
+
ruby-version: ${{ matrix.ruby }}
|
39
|
+
- run: script/update_rubygems_and_install_bundler
|
40
|
+
- run: bundle install --binstubs
|
41
|
+
- run: script/run_build
|
42
|
+
|
43
|
+
legacy:
|
44
|
+
name: Legacy Ruby Builds (${{ matrix.container.version }})
|
45
|
+
runs-on: ubuntu-20.04
|
46
|
+
container:
|
47
|
+
image: ${{ matrix.container.tag }}
|
48
|
+
options: ${{ matrix.container.options || '--add-host github-complains-if-this-is-empty.com:127.0.0.1' }}
|
49
|
+
strategy:
|
50
|
+
fail-fast: false
|
51
|
+
matrix:
|
52
|
+
include:
|
53
|
+
- container:
|
54
|
+
version: "2.1.9"
|
55
|
+
tag: ghcr.io/rspec/docker-ci:2.1.9
|
56
|
+
post: git config --global --add safe.directory `pwd`
|
57
|
+
- container:
|
58
|
+
version: "2.0"
|
59
|
+
tag: ghcr.io/rspec/docker-ci:2.0.0
|
60
|
+
- container:
|
61
|
+
version: "1.9.3"
|
62
|
+
tag: ghcr.io/rspec/docker-ci:1.9.3
|
63
|
+
env:
|
64
|
+
LEGACY_CI: true
|
65
|
+
steps:
|
66
|
+
- uses: actions/checkout@v3
|
67
|
+
- run: script/legacy_setup.sh
|
68
|
+
- run: ${{ matrix.container.post }}
|
69
|
+
- run: script/run_build
|
data/.rspec
CHANGED
data/Changelog.md
CHANGED
@@ -1,4 +1,15 @@
|
|
1
|
-
###
|
1
|
+
### 1.2.1 / 2023-09-28
|
2
|
+
|
3
|
+
Bug Fixes:
|
4
|
+
|
5
|
+
* Support modern RSpec by defining #supports_value_expectations? on matcher.
|
6
|
+
(Jon Rowe, #52)
|
7
|
+
|
8
|
+
### 1.2.0 / 2019-09-18
|
9
|
+
|
10
|
+
Enhancements:
|
11
|
+
|
12
|
+
* Add a `have` matcher alias for `a_collection_having` (Hugo Baraúna, #25)
|
2
13
|
|
3
14
|
Bug Fixes:
|
4
15
|
|
data/Gemfile
CHANGED
@@ -2,25 +2,30 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
%w[rspec rspec-core rspec-expectations rspec-mocks].each do |lib|
|
5
|
+
%w[rspec rspec-support rspec-core rspec-expectations rspec-mocks].each do |lib|
|
6
6
|
library_path = File.expand_path("../../#{lib}", __FILE__)
|
7
7
|
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
|
8
8
|
gem lib, :path => library_path
|
9
9
|
else
|
10
|
-
gem lib, :git
|
11
|
-
:branch => ENV.fetch('BRANCH',"master")
|
10
|
+
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => ENV.fetch('BRANCH', 'main')
|
12
11
|
end
|
13
12
|
end
|
14
13
|
|
15
|
-
# only the master branch is supported on rspec-support
|
16
|
-
gem "rspec-support", :git => "git://github.com/rspec/rspec-support.git"
|
17
|
-
|
18
14
|
gem "aruba"
|
19
|
-
|
15
|
+
|
16
|
+
if RUBY_VERSION < '1.9.3'
|
17
|
+
gem "rake", "~> 10.0.0" # rake 11 requires Ruby 1.9.3 or later
|
18
|
+
elsif RUBY_VERSION < '2.0.0'
|
19
|
+
gem "rake", "~> 11.0.0" # rake 12 requires Ruby 2.0.0 or later
|
20
|
+
elsif RUBY_VERSION < '2.2.0'
|
21
|
+
gem "rake", "~> 12.3.2" # rake 13 requires Ruby 2.2.0 or later
|
22
|
+
else
|
23
|
+
gem "rake", "~> 13.0.0"
|
24
|
+
end
|
20
25
|
|
21
26
|
version_file = File.expand_path("../.rails-version", __FILE__)
|
22
27
|
rails_gem_args = case version = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(version_file).chomp)
|
23
|
-
when /
|
28
|
+
when /main/
|
24
29
|
{ :git => "git://github.com/rails/rails.git" }
|
25
30
|
when /stable$/
|
26
31
|
{ :git => "git://github.com/rails/rails.git", :branch => version }
|
@@ -39,20 +44,18 @@ gem "activesupport", *rails_gem_args
|
|
39
44
|
gem "activemodel", *rails_gem_args
|
40
45
|
|
41
46
|
if RUBY_VERSION.to_f < 2
|
42
|
-
gem "cucumber", "
|
47
|
+
gem "cucumber", "~> 1.3.20"
|
48
|
+
gem "contracts", "0.15.0" # doesn't work on Ruby 1.9.3
|
43
49
|
gem 'json', '< 2'
|
44
50
|
gem 'term-ansicolor', '< 1.4.0' # used by cucumber
|
45
51
|
gem 'tins', '~> 1.6.0' # used by term-ansicolor
|
46
52
|
else
|
47
53
|
gem "cucumber"
|
54
|
+
gem "json", "> 2.3.0"
|
48
55
|
end
|
49
56
|
|
50
57
|
if RUBY_VERSION < '1.9.3'
|
51
58
|
gem 'i18n', '< 0.7.0'
|
52
59
|
end
|
53
60
|
|
54
|
-
platform :rbx do
|
55
|
-
gem 'rubysl'
|
56
|
-
end
|
57
|
-
|
58
61
|
eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')
|
data/README.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
# RSpec::CollectionMatchers [![Build Status](https://secure.travis-ci.org/rspec/rspec-collection_matchers.svg?branch=
|
1
|
+
# RSpec::CollectionMatchers [![Build Status](https://secure.travis-ci.org/rspec/rspec-collection_matchers.svg?branch=main)](http://travis-ci.org/rspec/rspec-collection_matchers)
|
2
2
|
|
3
3
|
RSpec::CollectionMatchers lets you express expected outcomes on collections
|
4
4
|
of an object in an example.
|
5
5
|
|
6
|
-
|
6
|
+
```ruby
|
7
|
+
expect(account.shopping_cart).to have_exactly(3).items
|
8
|
+
```
|
7
9
|
|
8
10
|
## Install
|
9
11
|
|
@@ -64,6 +66,7 @@ expect(collection).to have(n).items
|
|
64
66
|
expect(collection).to have_exactly(n).items
|
65
67
|
expect(collection).to have_at_most(n).items
|
66
68
|
expect(collection).to have_at_least(n).items
|
69
|
+
expect(collection).to have(:no).items
|
67
70
|
```
|
68
71
|
|
69
72
|
## See also
|
@@ -13,6 +13,14 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/rspec/rspec-collection_matchers"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
+
spec.metadata = {
|
17
|
+
'bug_tracker_uri' => 'https://github.com/rspec/rspec-collection_matchers/issues',
|
18
|
+
'changelog_uri' => "https://github.com/rspec/rspec-collection_matchers/blob/v#{spec.version}/Changelog.md",
|
19
|
+
'documentation_uri' => 'https://rspec.info/documentation/',
|
20
|
+
'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/rspec',
|
21
|
+
'source_code_uri' => 'https://github.com/rspec/rspec-collection_matchers',
|
22
|
+
}
|
23
|
+
|
16
24
|
spec.files = `git ls-files`.split($/)
|
17
25
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
26
|
spec.test_files = spec.files.grep(%r{^(spec|features)/})
|
@@ -20,6 +28,6 @@ Gem::Specification.new do |spec|
|
|
20
28
|
|
21
29
|
spec.add_runtime_dependency "rspec-expectations", ">= 2.99.0.beta1"
|
22
30
|
|
23
|
-
spec.add_development_dependency "bundler", "
|
31
|
+
spec.add_development_dependency "bundler", ">= 1.3"
|
24
32
|
spec.add_development_dependency "activemodel", ">= 3.0"
|
25
33
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
# This file was generated on 2023-06-26T13:27:27+01:00 from the rspec-dev repo.
|
3
|
+
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
|
4
|
+
|
5
|
+
set -e
|
6
|
+
|
7
|
+
bundle install --standalone --binstubs --without coverage documentation
|
8
|
+
|
9
|
+
if [ -x ./bin/rspec ]; then
|
10
|
+
echo "RSpec bin detected"
|
11
|
+
else
|
12
|
+
if [ -x ./exe/rspec ]; then
|
13
|
+
cp ./exe/rspec ./bin/rspec
|
14
|
+
echo "RSpec restored from exe"
|
15
|
+
else
|
16
|
+
echo "No RSpec bin available"
|
17
|
+
exit 1
|
18
|
+
fi
|
19
|
+
fi
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
set -e
|
4
|
+
|
5
|
+
function is_ruby_31_plus {
|
6
|
+
if ruby -e "exit(RUBY_VERSION.to_f >= 3.1)"; then
|
7
|
+
return 0
|
8
|
+
else
|
9
|
+
return 1
|
10
|
+
fi
|
11
|
+
}
|
12
|
+
|
13
|
+
function is_ruby_23_plus {
|
14
|
+
if ruby -e "exit(RUBY_VERSION.to_f >= 2.3)"; then
|
15
|
+
return 0
|
16
|
+
else
|
17
|
+
return 1
|
18
|
+
fi
|
19
|
+
}
|
20
|
+
|
21
|
+
if is_ruby_31_plus; then
|
22
|
+
echo "Installing rubygems 3.3.6 / bundler 2.3.6"
|
23
|
+
yes | gem update --system '3.3.6'
|
24
|
+
yes | gem install bundler -v '2.3.6'
|
25
|
+
elif is_ruby_23_plus; then
|
26
|
+
echo "Installing rubygems 3.2.22 / bundler 2.2.22"
|
27
|
+
yes | gem update --system '3.2.22'
|
28
|
+
yes | gem install bundler -v '2.2.22'
|
29
|
+
else
|
30
|
+
echo "Warning installing older versions of Rubygems / Bundler"
|
31
|
+
gem update --system '2.7.8'
|
32
|
+
gem install bundler -v '1.17.3'
|
33
|
+
fi
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'stringio'
|
3
3
|
|
4
|
-
describe "have matcher" do
|
4
|
+
RSpec.describe "have matcher" do
|
5
5
|
let(:inflector) do
|
6
6
|
Class.new do
|
7
7
|
def self.pluralize(string)
|
@@ -428,6 +428,21 @@ EOF
|
|
428
428
|
expect([1, 2, 3]).to be_truthy.or have(3).items
|
429
429
|
end
|
430
430
|
end
|
431
|
+
|
432
|
+
context "using the have matcher as an argument of another matcher" do
|
433
|
+
it "has an alias for the have matcher" do
|
434
|
+
word = "hi"
|
435
|
+
|
436
|
+
expect {
|
437
|
+
word = "hey"
|
438
|
+
}.to change { word }.
|
439
|
+
from( a_collection_having(2).letters ).
|
440
|
+
to( a_collection_having(3).letters )
|
441
|
+
end
|
442
|
+
|
443
|
+
it "has an alias for the have_at_most matcher"
|
444
|
+
it "has an alias for the have_at_least matcher"
|
445
|
+
end
|
431
446
|
end
|
432
447
|
|
433
448
|
describe RSpec::CollectionMatchers::Have, "for a collection owner that implements #send" do
|
@@ -523,21 +538,21 @@ EOF
|
|
523
538
|
describe "the have matcher" do
|
524
539
|
it "generates its own description" do
|
525
540
|
expect(team).to have(3).players
|
526
|
-
expect(RSpec::Matchers.generated_description).to
|
541
|
+
expect(RSpec::Matchers.generated_description).to match /have 3 players$/
|
527
542
|
end
|
528
543
|
end
|
529
544
|
|
530
545
|
describe "the have_at_least matcher"do
|
531
546
|
it "generates its own description" do
|
532
547
|
expect(team).to have_at_least(2).players
|
533
|
-
expect(RSpec::Matchers.generated_description).to
|
548
|
+
expect(RSpec::Matchers.generated_description).to match /have at least 2 players$/
|
534
549
|
end
|
535
550
|
end
|
536
551
|
|
537
552
|
describe "the have_at_most matcher" do
|
538
553
|
it "generates its own description" do
|
539
554
|
expect(team).to have_at_most(4).players
|
540
|
-
expect(RSpec::Matchers.generated_description).to
|
555
|
+
expect(RSpec::Matchers.generated_description).to match /have at most 4 players$/
|
541
556
|
end
|
542
557
|
end
|
543
558
|
end
|
@@ -545,14 +560,12 @@ end
|
|
545
560
|
|
546
561
|
module RSpec
|
547
562
|
module CollectionMatchers
|
548
|
-
describe Syntax do
|
563
|
+
RSpec.describe Syntax do
|
549
564
|
describe "expression generation" do
|
550
565
|
let(:target) { "foo" }
|
551
566
|
let(:expectation) { "eq('bar')" }
|
552
567
|
let(:positive_expect_example) { "expect(foo).to eq('bar')" }
|
553
|
-
let(:positive_should_example) { "foo.should eq('bar')" }
|
554
568
|
let(:negative_expect_example) { "expect(foo).not_to eq('bar')" }
|
555
|
-
let(:negative_should_example) { "foo.should_not eq('bar')" }
|
556
569
|
|
557
570
|
def positive_expression
|
558
571
|
Syntax.positive_expression(target, expectation)
|
@@ -562,52 +575,14 @@ module RSpec
|
|
562
575
|
Syntax.negative_expression(target, expectation)
|
563
576
|
end
|
564
577
|
|
565
|
-
|
566
|
-
|
567
|
-
expect(Expectations::Syntax.should_enabled?).to be_falsey
|
568
|
-
expect(Expectations::Syntax.expect_enabled?).to be_truthy
|
569
|
-
end
|
570
|
-
|
571
|
-
it 'generates a positive expression using the expect syntax' do
|
572
|
-
expect(positive_expression).to eq(positive_expect_example)
|
573
|
-
end
|
574
|
-
|
575
|
-
it 'generates a negative expression using the expect syntax' do
|
576
|
-
expect(negative_expression).to eq(negative_expect_example)
|
577
|
-
end
|
578
|
+
it 'generates a positive expression using the expect syntax' do
|
579
|
+
expect(positive_expression).to eq(positive_expect_example)
|
578
580
|
end
|
579
581
|
|
580
|
-
|
581
|
-
|
582
|
-
expect(Expectations::Syntax.should_enabled?).to be_truthy
|
583
|
-
expect(Expectations::Syntax.expect_enabled?).to be_truthy
|
584
|
-
end
|
585
|
-
|
586
|
-
it 'generates a positive expression using the expect syntax' do
|
587
|
-
expect(positive_expression).to eq(positive_expect_example)
|
588
|
-
end
|
589
|
-
|
590
|
-
it 'generates a negative expression using the expect syntax' do
|
591
|
-
expect(negative_expression).to eq(negative_expect_example)
|
592
|
-
end
|
593
|
-
end
|
594
|
-
|
595
|
-
context "when only :should is enabled", :uses_only_should do
|
596
|
-
before do
|
597
|
-
Expectations::Syntax.should_enabled?.should be_truthy
|
598
|
-
Expectations::Syntax.expect_enabled?.should be_falsey
|
599
|
-
end
|
600
|
-
|
601
|
-
it 'generates a positive expression using the expect syntax' do
|
602
|
-
positive_expression.should eq(positive_should_example)
|
603
|
-
end
|
604
|
-
|
605
|
-
it 'generates a negative expression using the expect syntax' do
|
606
|
-
negative_expression.should eq(negative_should_example)
|
607
|
-
end
|
582
|
+
it 'generates a negative expression using the expect syntax' do
|
583
|
+
expect(negative_expression).to eq(negative_expect_example)
|
608
584
|
end
|
609
585
|
end
|
610
|
-
|
611
586
|
end
|
612
587
|
end
|
613
588
|
end
|
@@ -2,7 +2,7 @@ require "spec_helper"
|
|
2
2
|
require 'active_model'
|
3
3
|
|
4
4
|
module RSpec::CollectionMatchers
|
5
|
-
describe "Have extensions for rails" do
|
5
|
+
RSpec.describe "Have extensions for rails" do
|
6
6
|
describe "error_on" do
|
7
7
|
it "provides a description including the name of what the error is on" do
|
8
8
|
expect(have(1).error_on(:whatever).description).to eq "have 1 error on :whatever"
|
data/spec/spec_helper.rb
CHANGED
@@ -9,56 +9,8 @@ require 'rspec/collection_matchers'
|
|
9
9
|
Dir['./spec/support/**/*'].each {|f| require f}
|
10
10
|
|
11
11
|
RSpec.configure do |config|
|
12
|
-
config.treat_symbols_as_metadata_keys_with_true_values = true if RSpec::Expectations::Version::STRING < "3.0"
|
13
|
-
config.run_all_when_everything_filtered = true
|
14
|
-
config.filter_run :focus
|
15
|
-
|
16
12
|
config.order = 'random'
|
17
13
|
|
18
|
-
config.expect_with :rspec
|
19
|
-
|
20
|
-
end
|
21
|
-
|
22
|
-
config.mock_with :rspec do |rspec|
|
23
|
-
rspec.syntax = :expect
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
shared_context "with #should enabled", :uses_should do
|
28
|
-
orig_syntax = nil
|
29
|
-
|
30
|
-
before(:all) do
|
31
|
-
orig_syntax = RSpec::Matchers.configuration.syntax
|
32
|
-
RSpec::Matchers.configuration.syntax = [:expect, :should]
|
33
|
-
end
|
34
|
-
|
35
|
-
after(:all) do
|
36
|
-
RSpec::Matchers.configuration.syntax = orig_syntax
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
shared_context "with #should exclusively enabled", :uses_only_should do
|
41
|
-
orig_syntax = nil
|
42
|
-
|
43
|
-
before(:all) do
|
44
|
-
orig_syntax = RSpec::Matchers.configuration.syntax
|
45
|
-
RSpec::Matchers.configuration.syntax = :should
|
46
|
-
end
|
47
|
-
|
48
|
-
after(:all) do
|
49
|
-
RSpec::Matchers.configuration.syntax = orig_syntax
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
shared_context "with #expect exclusively enabled", :uses_only_expect do
|
54
|
-
orig_syntax = nil
|
55
|
-
|
56
|
-
before(:all) do
|
57
|
-
orig_syntax = RSpec::Matchers.configuration.syntax
|
58
|
-
RSpec::Matchers.configuration.syntax = :expect
|
59
|
-
end
|
60
|
-
|
61
|
-
after(:all) do
|
62
|
-
RSpec::Matchers.configuration.syntax = orig_syntax
|
63
|
-
end
|
14
|
+
config.expect_with :rspec
|
15
|
+
config.mock_with :rspec
|
64
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-collection_matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugo Baraúna
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-expectations
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.3'
|
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
40
|
version: '1.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -59,9 +59,10 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".github/FUNDING.yml"
|
63
|
+
- ".github/workflows/ci.yml"
|
62
64
|
- ".gitignore"
|
63
65
|
- ".rspec"
|
64
|
-
- ".travis.yml"
|
65
66
|
- Changelog.md
|
66
67
|
- Gemfile
|
67
68
|
- LICENSE.txt
|
@@ -75,7 +76,9 @@ files:
|
|
75
76
|
- lib/rspec/collection_matchers/rails_extensions.rb
|
76
77
|
- lib/rspec/collection_matchers/version.rb
|
77
78
|
- rspec-collection_matchers.gemspec
|
78
|
-
- script/
|
79
|
+
- script/legacy_setup.sh
|
80
|
+
- script/run_build
|
81
|
+
- script/update_rubygems_and_install_bundler
|
79
82
|
- spec/rspec/collection_matchers/have_spec.rb
|
80
83
|
- spec/rspec/collection_matchers/rails_extensions_spec.rb
|
81
84
|
- spec/spec_helper.rb
|
@@ -85,8 +88,13 @@ files:
|
|
85
88
|
homepage: https://github.com/rspec/rspec-collection_matchers
|
86
89
|
licenses:
|
87
90
|
- MIT
|
88
|
-
metadata:
|
89
|
-
|
91
|
+
metadata:
|
92
|
+
bug_tracker_uri: https://github.com/rspec/rspec-collection_matchers/issues
|
93
|
+
changelog_uri: https://github.com/rspec/rspec-collection_matchers/blob/v1.2.1/Changelog.md
|
94
|
+
documentation_uri: https://rspec.info/documentation/
|
95
|
+
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
96
|
+
source_code_uri: https://github.com/rspec/rspec-collection_matchers
|
97
|
+
post_install_message:
|
90
98
|
rdoc_options: []
|
91
99
|
require_paths:
|
92
100
|
- lib
|
@@ -101,11 +109,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
109
|
- !ruby/object:Gem::Version
|
102
110
|
version: '0'
|
103
111
|
requirements: []
|
104
|
-
|
105
|
-
|
106
|
-
signing_key:
|
112
|
+
rubygems_version: 3.3.3
|
113
|
+
signing_key:
|
107
114
|
specification_version: 4
|
108
|
-
summary: rspec-collection_matchers-1.1
|
115
|
+
summary: rspec-collection_matchers-1.2.1
|
109
116
|
test_files:
|
110
117
|
- features/have.feature
|
111
118
|
- features/support/env.rb
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
script: "script/test_all"
|
3
|
-
bundler_args: "--standalone --binstubs --without documentation"
|
4
|
-
before_install:
|
5
|
-
- gem update --system
|
6
|
-
- gem install bundler
|
7
|
-
rvm:
|
8
|
-
- 2.3.3
|
9
|
-
- 2.2.5
|
10
|
-
- 2.1
|
11
|
-
- 2.0.0
|
12
|
-
- 1.9.3
|
13
|
-
- 1.9.2
|
14
|
-
- 1.8.7
|
15
|
-
- ree
|
16
|
-
- jruby-19mode
|
17
|
-
- jruby-18mode
|
18
|
-
env:
|
19
|
-
- BRANCH=master
|
20
|
-
- BRANCH=2-99-maintenance
|