matchi-rspec 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +3 -0
- data/.gitignore +11 -0
- data/.travis.yml +15 -0
- data/.yardopts +1 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +3 -0
- data/LICENSE.md +21 -0
- data/README.md +96 -0
- data/Rakefile +20 -0
- data/VERSION.semver +1 -0
- data/bin/console +7 -0
- data/bin/setup +5 -0
- data/certs/gem-fixrb-public_cert.pem +21 -0
- data/checksum/matchi-fix-0.1.0.gem.sha512 +1 -0
- data/checksum/matchi-fix-0.1.1.gem.sha512 +1 -0
- data/checksum/matchi-fix-0.1.2.gem.sha512 +1 -0
- data/checksum/matchi-fix-0.1.3.gem.sha512 +1 -0
- data/checksum/matchi-fix-0.1.4.gem.sha512 +1 -0
- data/lib/matchi/rspec/be.rb +6 -0
- data/lib/matchi/rspec/be_instance_of.rb +27 -0
- data/lib/matchi/rspec/eq.rb +6 -0
- data/lib/matchi/rspec.rb +5 -0
- data/matchi-fix.gemspec +28 -0
- data/pkg_checksum +11 -0
- data.tar.gz.sig +0 -0
- metadata +174 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7e9132d816132190e1a6c57dd6f3ebcacabcb018
|
4
|
+
data.tar.gz: 89b0ad3e1a59909f48bc6355b066c56ab1620021
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8eed6b02bd3d677be92dc781611630065a82bfbd55408b6e5e8162525b87079f6b7ed76160760357b4755e6fbe77fa48ad0ade75c2725e6927ac5f8b492aecbf
|
7
|
+
data.tar.gz: e0a926ae23d78168a2a86e1747c91ca8b486bb8c1edf3a1e7660a7a506ac7229e10bb15570bd600a870ca5528d42f642a461632fefe4a6bb5a49d06aa70d5d69
|
checksums.yaml.gz.sig
ADDED
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
- README.md
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Cyril Wack
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
# Matchi::Rspec
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/fixrb/matchi-rspec.svg?branch=master)][travis]
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/matchi-rspec.svg)][gem]
|
5
|
+
[![Inline docs](http://inch-ci.org/github/fixrb/matchi-rspec.svg?branch=master)][inchpages]
|
6
|
+
[![Documentation](http://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
|
7
|
+
|
8
|
+
> Extend Matchi matchers with [RSpec](http://rspec.info/)'s ones.
|
9
|
+
|
10
|
+
## Contact
|
11
|
+
|
12
|
+
* Home page: https://github.com/fixrb/matchi-rspec
|
13
|
+
* Bugs/issues: https://github.com/fixrb/matchi-rspec/issues
|
14
|
+
* Support: https://stackoverflow.com/questions/tagged/fixrb
|
15
|
+
|
16
|
+
## Rubies
|
17
|
+
|
18
|
+
* [MRI](https://www.ruby-lang.org/)
|
19
|
+
* [Rubinius](http://rubini.us/)
|
20
|
+
* [JRuby](http://jruby.org/)
|
21
|
+
|
22
|
+
## Installation
|
23
|
+
|
24
|
+
__Matchi::Rspec__ is cryptographically signed.
|
25
|
+
|
26
|
+
To be sure the gem you install hasn't been tampered with, add my public key (if you haven't already) as a trusted certificate:
|
27
|
+
|
28
|
+
$ gem cert --add <(curl -Ls https://raw.github.com/fixrb/matchi-rspec/master/certs/gem-fixrb-public_cert.pem)
|
29
|
+
$ gem install matchi-rspec -P HighSecurity
|
30
|
+
|
31
|
+
The `HighSecurity` trust profile will verify all gems. All of __Matchi::Rspec__'s dependencies are signed.
|
32
|
+
|
33
|
+
## Usage
|
34
|
+
|
35
|
+
### List all matchers
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
Matchi.constants # => [:BeFalse, :BeNil, :BeTrue, :Eql, :Equal, :Match, :RaiseException, :Be, :BeInstanceOf, :Eq]
|
39
|
+
```
|
40
|
+
|
41
|
+
### Built-in RSpec matchers
|
42
|
+
|
43
|
+
**Identity** matcher:
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
be = Matchi.fetch(:Be, 42)
|
47
|
+
be.matches? { 42 } # => true
|
48
|
+
```
|
49
|
+
|
50
|
+
**Type/class** matcher:
|
51
|
+
|
52
|
+
```ruby
|
53
|
+
be_instance_of = Matchi.fetch(:BeInstanceOf, String)
|
54
|
+
be_instance_of.matches? { 'foo' } # => true
|
55
|
+
```
|
56
|
+
|
57
|
+
**Equivalence** matcher:
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
eq = Matchi.fetch(:Eq, 'foo')
|
61
|
+
eq.matches? { 'foo' } # => true
|
62
|
+
```
|
63
|
+
|
64
|
+
## Security
|
65
|
+
|
66
|
+
As a basic form of security __Matchi::Rspec__ provides a set of SHA512 checksums for
|
67
|
+
every Gem release. These checksums can be found in the `checksum/` directory.
|
68
|
+
Although these checksums do not prevent malicious users from tampering with a
|
69
|
+
built Gem they can be used for basic integrity verification purposes.
|
70
|
+
|
71
|
+
The checksum of a file can be checked using the `sha512sum` command. For
|
72
|
+
example:
|
73
|
+
|
74
|
+
$ sha512sum pkg/matchi-rspec-0.1.0.gem
|
75
|
+
0decb77665ae868584aedab6ef126c7ce4efa69bf1fab75215ee9686b16525f8d7a45e03dc3145cb320371d8ddf2ffff90de34f5778fe55b11ce4cb4996a7f5a pkg/matchi-rspec-0.1.0.gem
|
76
|
+
|
77
|
+
## Versioning
|
78
|
+
|
79
|
+
__Matchi::Rspec__ follows [Semantic Versioning 2.0](http://semver.org/).
|
80
|
+
|
81
|
+
## Contributing
|
82
|
+
|
83
|
+
1. [Fork it](https://github.com/fixrb/matchi-rspec/fork)
|
84
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
85
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
86
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
87
|
+
5. Create a new Pull Request
|
88
|
+
|
89
|
+
## License
|
90
|
+
|
91
|
+
See `LICENSE.md` file.
|
92
|
+
|
93
|
+
[gem]: https://rubygems.org/gems/matchi-rspec
|
94
|
+
[travis]: https://travis-ci.org/fixrb/matchi-rspec
|
95
|
+
[inchpages]: http://inch-ci.org/github/fixrb/matchi-rspec/
|
96
|
+
[rubydoc]: http://rubydoc.info/gems/matchi-rspec/frames
|
data/Rakefile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
require 'rake/testtask'
|
3
|
+
require 'rubocop/rake_task'
|
4
|
+
|
5
|
+
RuboCop::RakeTask.new
|
6
|
+
|
7
|
+
Rake::TestTask.new do |t|
|
8
|
+
t.verbose = true
|
9
|
+
t.warning = true
|
10
|
+
end
|
11
|
+
|
12
|
+
namespace :test do
|
13
|
+
task :coverage do
|
14
|
+
ENV['COVERAGE'] = 'true'
|
15
|
+
Rake::Task['test'].invoke
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
task(:doc_stats) { ruby '-S yard stats' }
|
20
|
+
task default: [:test, :doc_stats, :rubocop]
|
data/VERSION.semver
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
data/bin/console
ADDED
data/bin/setup
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFAD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ElSQS9iJCetBGGMyt354PfgZkg3URaC+JA6mdEisdtEdo64ElnMsLg9shCqye
|
18
|
+
JSR3BbejbyPVva0/MHKD+dR6RswlcM9KMiYOXQml7a/kH6huOHvVq9gj5xC2ih8W
|
19
|
+
dzJvWzQ1+dJU6WQv75E9ddSkaQrK3nhdgQVu+/wgvGSrsMvOGNz+LXaSDxQqZuwX
|
20
|
+
0KNQFuIukfrdk8URwRnHoAnvx4U93iUw
|
21
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1 @@
|
|
1
|
+
0decb77665ae868584aedab6ef126c7ce4efa69bf1fab75215ee9686b16525f8d7a45e03dc3145cb320371d8ddf2ffff90de34f5778fe55b11ce4cb4996a7f5a
|
@@ -0,0 +1 @@
|
|
1
|
+
2a66b5dda194af828096e9b86e2adf2b52cea4113720a0050c867aa37f32200be7ce8ca83c8fbfc9d39a7d6e2a2622f8873bbaafd7529bbc03015bb3e5b05421
|
@@ -0,0 +1 @@
|
|
1
|
+
5827ead29509f74ce55d8746b2e40155976c4594dc1260ec3497f1770c07e671a1ebaf6c20e4cfba3249b5cddf982c48b2ce10eb16fe10dd35afd39d1acfc576
|
@@ -0,0 +1 @@
|
|
1
|
+
8299f2b2322094fec83069d3206bd2b7e73c8fac4657d5eee7a1112dc7c4cefb7404ec1a75a2d8faf66d04e5ecc7b4d3da011a9c4ed7426bec4e62826c60d924
|
@@ -0,0 +1 @@
|
|
1
|
+
bfb467db5d2e47fd7af3969e12e9662632463e68051fd7ba9af0b4c407ffb9e4e206fbc31d9509d2ab35488592c1dc691e36e4ed32db3e262ff6c7d2cd066ed0
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Namespace for the Matchi library.
|
2
|
+
module Matchi
|
3
|
+
# **Type/class** matcher.
|
4
|
+
class BeInstanceOf < BasicObject
|
5
|
+
# Initialize the matcher with an object.
|
6
|
+
#
|
7
|
+
# @example A string matcher
|
8
|
+
# Matchi::BeInstanceOf.new(String)
|
9
|
+
#
|
10
|
+
# @param expected [#object_id] An expected class.
|
11
|
+
def initialize(expected)
|
12
|
+
@expected = expected
|
13
|
+
end
|
14
|
+
|
15
|
+
# @example Is it an instance of string?
|
16
|
+
# be_instance_of = Matchi::BeInstanceOf.new(String)
|
17
|
+
# be_instance_of.matches? { 'foo' } # => true
|
18
|
+
#
|
19
|
+
# @yieldreturn [#instance_of?] the actual value to compare to the expected
|
20
|
+
# one.
|
21
|
+
#
|
22
|
+
# @return [Boolean] Comparison between actual and expected values.
|
23
|
+
def matches?
|
24
|
+
yield.instance_of?(@expected)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/matchi/rspec.rb
ADDED
data/matchi-fix.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = 'matchi-rspec'
|
3
|
+
spec.version = File.read('VERSION.semver').chomp
|
4
|
+
spec.authors = ['Cyril Wack']
|
5
|
+
spec.email = ['contact@cyril.email']
|
6
|
+
|
7
|
+
spec.summary = "Extend Matchi matchers with RSpec's ones."
|
8
|
+
spec.description = 'Matchi extension gem to provide the RSpec matchers.'
|
9
|
+
spec.homepage = 'https://github.com/fixrb/matchi-rspec'
|
10
|
+
spec.license = 'MIT'
|
11
|
+
|
12
|
+
spec.files =
|
13
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
|
14
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
15
|
+
spec.require_paths = ['lib']
|
16
|
+
|
17
|
+
spec.add_dependency 'matchi', '~> 0.0'
|
18
|
+
|
19
|
+
spec.add_development_dependency 'bundler', '~> 1.10'
|
20
|
+
spec.add_development_dependency 'rake', '~> 10.4'
|
21
|
+
spec.add_development_dependency 'yard', '~> 0.8'
|
22
|
+
spec.add_development_dependency 'simplecov', '~> 0.10'
|
23
|
+
spec.add_development_dependency 'rubocop', '~> 0.34'
|
24
|
+
|
25
|
+
spec.cert_chain = ['certs/gem-fixrb-public_cert.pem']
|
26
|
+
private_key = File.expand_path('~/.ssh/gem-fixrb-private_key.pem')
|
27
|
+
spec.signing_key = private_key if File.exist?(private_key)
|
28
|
+
end
|
data/pkg_checksum
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'digest/sha2'
|
4
|
+
|
5
|
+
gemname = 'matchi-rspec'.to_sym
|
6
|
+
ARGV[0] = File.read('VERSION.semver').chomp if ARGV[0].nil?
|
7
|
+
built_gem_path = "pkg/#{gemname}-#{ARGV[0]}.gem"
|
8
|
+
checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
|
9
|
+
checksum_path = "checksum/#{gemname}-#{ARGV[0]}.gem.sha512"
|
10
|
+
|
11
|
+
File.open(checksum_path, 'w') { |f| f.write("#{checksum}\n") }
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,174 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: matchi-rspec
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Cyril Wack
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRAwDgYDVQQDDAdjb250
|
14
|
+
YWN0MRUwEwYKCZImiZPyLGQBGRYFY3lyaWwxFTATBgoJkiaJk/IsZAEZFgVlbWFp
|
15
|
+
bDAeFw0xNTA3MzExMjExMDZaFw0xNjA3MzAxMjExMDZaMEAxEDAOBgNVBAMMB2Nv
|
16
|
+
bnRhY3QxFTATBgoJkiaJk/IsZAEZFgVjeXJpbDEVMBMGCgmSJomT8ixkARkWBWVt
|
17
|
+
YWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6h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+
dependencies:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: matchi
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0.0'
|
42
|
+
type: :runtime
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0.0'
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: bundler
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.10'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.10'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rake
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '10.4'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '10.4'
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: yard
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.8'
|
84
|
+
type: :development
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0.8'
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: simplecov
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0.10'
|
98
|
+
type: :development
|
99
|
+
prerelease: false
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0.10'
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: rubocop
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0.34'
|
112
|
+
type: :development
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0.34'
|
119
|
+
description: Matchi extension gem to provide the RSpec matchers.
|
120
|
+
email:
|
121
|
+
- contact@cyril.email
|
122
|
+
executables: []
|
123
|
+
extensions: []
|
124
|
+
extra_rdoc_files: []
|
125
|
+
files:
|
126
|
+
- ".gitignore"
|
127
|
+
- ".travis.yml"
|
128
|
+
- ".yardopts"
|
129
|
+
- CODE_OF_CONDUCT.md
|
130
|
+
- Gemfile
|
131
|
+
- LICENSE.md
|
132
|
+
- README.md
|
133
|
+
- Rakefile
|
134
|
+
- VERSION.semver
|
135
|
+
- bin/console
|
136
|
+
- bin/setup
|
137
|
+
- certs/gem-fixrb-public_cert.pem
|
138
|
+
- checksum/matchi-fix-0.1.0.gem.sha512
|
139
|
+
- checksum/matchi-fix-0.1.1.gem.sha512
|
140
|
+
- checksum/matchi-fix-0.1.2.gem.sha512
|
141
|
+
- checksum/matchi-fix-0.1.3.gem.sha512
|
142
|
+
- checksum/matchi-fix-0.1.4.gem.sha512
|
143
|
+
- lib/matchi/rspec.rb
|
144
|
+
- lib/matchi/rspec/be.rb
|
145
|
+
- lib/matchi/rspec/be_instance_of.rb
|
146
|
+
- lib/matchi/rspec/eq.rb
|
147
|
+
- matchi-fix.gemspec
|
148
|
+
- pkg_checksum
|
149
|
+
homepage: https://github.com/fixrb/matchi-rspec
|
150
|
+
licenses:
|
151
|
+
- MIT
|
152
|
+
metadata: {}
|
153
|
+
post_install_message:
|
154
|
+
rdoc_options: []
|
155
|
+
require_paths:
|
156
|
+
- lib
|
157
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
requirements: []
|
168
|
+
rubyforge_project:
|
169
|
+
rubygems_version: 2.4.5.1
|
170
|
+
signing_key:
|
171
|
+
specification_version: 4
|
172
|
+
summary: Extend Matchi matchers with RSpec's ones.
|
173
|
+
test_files: []
|
174
|
+
has_rdoc:
|
metadata.gz.sig
ADDED
Binary file
|