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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ebfbc1db52aaa40ce092cba54aa2e5766da75092
4
- data.tar.gz: 4af7b692f438d80a2e6a79841d2e643d77416db3
3
+ metadata.gz: b2d4b23520c510306a9820a3cce9b5823b29d075
4
+ data.tar.gz: eed1d029fbb90bb15057c62671b44e87958d684b
5
5
  SHA512:
6
- metadata.gz: f5118260f1e9f2eab112e928ac71ed28efa1aff839152fb62aa83db138a1a57109e50fa83eb3217afed7b3290e372dab257797f57e4c5a5d327d1e772e307082
7
- data.tar.gz: 495c08909ca82f2cd24389eb291b1cbab55a318add23d1b71e3b56a17808dde78912dcc512718135587e5d594b9c6a9f87954bd4df81b097c5e199fbcf20e009
6
+ metadata.gz: 54a43c77a528d2c159f0c51ab1b2101620f12b3286c3b370b97d343c8659708aca5bf5568124fa6637fcca2a753377154a6981960120f31160eea5a68b4036ca
7
+ data.tar.gz: 26ec2d20dc15540c5d918418e16d66a1357fb44d95c0d69de93850206de144aa1a6cfe0b19989f898ccfcb02b8fd6d8c010ffde37a71428acf9bb9d023c2fbbe
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- ��-�v�����*�G�LGp�U
2
- �-�hz�(�.;����}� ��eHS"���S&���ԥ��zqNK�ֽ�Nc�0O��a��8t���6-�"�&�n��rY",$�c9QV��
3
- ,�@Mf�QJ��tF��r��FAG;r6��W!2$��2�Gc�v ��Go1�ށ�P'���c��43<��E �A�g���ŷ َ2メ�� '�7آ%2���QK4,���sO�5��?�U
1
+ �^�a;
2
+ 2��29L>��^�mRwb4����$`���x�xh^����ym�~<[ U{��H�Π�W��gC��77q4ne?�t濄�"!���~3L��������������������>[��$��HBS;*��=�i�^�gQ�<���E^,������._�����
3
+ ���_D����ze!�
data.tar.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- wD;�
2
- "�ſ���oO������&�j����|Jp_Z��f�`X1��`�Rbm�ώ��!�u��1y%��%��KY�2�� '(V�Rl���Qoz��& ���v}#E�T���ϲ��܄(f�+������+a�屣<G�'+�#*�ģə�@��F>��s(x#f4ek5D�te��X"E7A�2�ýo�������~��~�fa���y��!*�t�
3
- �GpF�c~街Hq��ҟ�KI�a魍=�-
1
+ #� ��W�T����+ҬE�B�۠ʔ�Z�
2
+ cz|d���[ t=� �-[��HӀ��e8����!���!���23G7\T�'G~K����0lfS:��y?w䫕���ӛlIQHq����IhL��|�}�6HG�ۿM$�\ψ�#�ߴ�!Q!{vnl"���#</mQ����q�����0�*-\�Aksd��W:Mb��z�@������ca>��B�Ֆ�w�=˫��aIkd3"��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
+ [![Sashite](http://www.sashite.com/assets/img/sashite.png)](http://www.sashite.com/)
data/VERSION.semver CHANGED
@@ -1 +1 @@
1
- 0.0.2
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.2
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-10-31 00:00:00.000000000 Z
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