matchi-rspec 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -3
- data.tar.gz.sig +2 -3
- data/README.md +6 -0
- data/VERSION.semver +1 -1
- data/checksum/matchi-rspec-0.0.2.gem.sha512 +1 -0
- data/lib/matchi/rspec/be_an_instance_of.rb +22 -0
- metadata +4 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2d4b23520c510306a9820a3cce9b5823b29d075
|
|
4
|
+
data.tar.gz: eed1d029fbb90bb15057c62671b44e87958d684b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54a43c77a528d2c159f0c51ab1b2101620f12b3286c3b370b97d343c8659708aca5bf5568124fa6637fcca2a753377154a6981960120f31160eea5a68b4036ca
|
|
7
|
+
data.tar.gz: 26ec2d20dc15540c5d918418e16d66a1357fb44d95c0d69de93850206de144aa1a6cfe0b19989f898ccfcb02b8fd6d8c010ffde37a71428acf9bb9d023c2fbbe
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
�^�a;
|
|
2
|
+
2��29L>��^�mRw�b�4����$`���x�x�h^����ym�~<[ U{��H�Π�W��gC��77q4n�e?�t濄�"!���~3�L��������������������>[��$��HBS;*��=�i�^�g�Q�<���E^,������._�����
|
|
3
|
+
���_D����ze!�
|
data.tar.gz.sig
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
�
|
|
3
|
-
�GpF�c~街Hq��ҟ�KI�a魍=�-
|
|
1
|
+
#���W�T����+ҬE�B�۠ʔ�Z�
|
|
2
|
+
�cz|d���[�t=��-[��HӀ��e8����!���!���23�G7\T�'G~K����0lf�S:��y?w䫕���ӛlIQHq����IhL��|�}�6HG�ۿM$�\ψ�#�ߴ�!Q!{vnl"���#</mQ����q�����0�*-\�Aksd��W:M�b��z�@������ca>��B�Ֆ�w�=˫��aIkd�3"��1Ï����("=
|
data/README.md
CHANGED
|
@@ -86,3 +86,9 @@ See `LICENSE.md` file.
|
|
|
86
86
|
[travis]: https://travis-ci.org/fixrb/matchi-rspec
|
|
87
87
|
[inchpages]: http://inch-ci.org/github/fixrb/matchi-rspec/
|
|
88
88
|
[rubydoc]: http://rubydoc.info/gems/matchi-rspec/frames
|
|
89
|
+
|
|
90
|
+
***
|
|
91
|
+
|
|
92
|
+
This project is sponsored by:
|
|
93
|
+
|
|
94
|
+
[](http://www.sashite.com/)
|
data/VERSION.semver
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
67bfc478d5c5b6c2375eaa2e205ffa2f6c2b1b3307068433ec7cc38f9b392b43b0bea9c2a2852f1287699e62d47d4aa1b282174f2993bbd1218b4f5505c9f809
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require_relative 'be_instance_of'
|
|
2
|
+
|
|
3
|
+
# Namespace for the Matchi library.
|
|
4
|
+
module Matchi
|
|
5
|
+
# **Type/class** matcher.
|
|
6
|
+
class BeAnInstanceOf < BeInstanceOf
|
|
7
|
+
# Returns a string representing the matcher.
|
|
8
|
+
#
|
|
9
|
+
# @return [String] A string representing the matcher.
|
|
10
|
+
def to_s
|
|
11
|
+
"be_an_instance_of #{@expected.inspect}"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Returns a hash of one key-value pair with a key corresponding to the
|
|
15
|
+
# matcher and a value corresponding to its initialize parameters.
|
|
16
|
+
#
|
|
17
|
+
# @return [Hash] A hash of one key-value pair.
|
|
18
|
+
def to_h
|
|
19
|
+
{ BeAnInstanceOf: [@expected] }
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: matchi-rspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cyril Wack
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
dzJvWzQ1+dJU6WQv75E9ddSkaQrK3nhdgQVu+/wgvGSrsMvOGNz+LXaSDxQqZuwX
|
|
31
31
|
0KNQFuIukfrdk8URwRnHoAnvx4U93iUw
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2015-
|
|
33
|
+
date: 2015-11-03 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: matchi
|
|
@@ -140,8 +140,10 @@ files:
|
|
|
140
140
|
- checksum/matchi-fix-0.1.2.gem.sha512
|
|
141
141
|
- checksum/matchi-fix-0.1.3.gem.sha512
|
|
142
142
|
- checksum/matchi-fix-0.1.4.gem.sha512
|
|
143
|
+
- checksum/matchi-rspec-0.0.2.gem.sha512
|
|
143
144
|
- lib/matchi/rspec.rb
|
|
144
145
|
- lib/matchi/rspec/be.rb
|
|
146
|
+
- lib/matchi/rspec/be_an_instance_of.rb
|
|
145
147
|
- lib/matchi/rspec/be_instance_of.rb
|
|
146
148
|
- lib/matchi/rspec/eq.rb
|
|
147
149
|
- matchi-fix.gemspec
|
metadata.gz.sig
CHANGED
|
Binary file
|