typ-rspec-matcher 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96b1fd5d1f22d2ca229037e339510e767ea827fda55d7e4bde53ad296f159621
4
- data.tar.gz: d4b9e32f9184bfcb84e5acb496dfe99f49dae41618006581bea168b8bafc7c17
3
+ metadata.gz: f68ee7dc154113b06aeba5b669ca43056b1f7a9f946f8bff1cf92953f4c3fc21
4
+ data.tar.gz: b2e870ba7580583f57c087bd722500ae7dfc741e6bf5967c3dba8dcdb433ddbe
5
5
  SHA512:
6
- metadata.gz: af464e1167b194d9de1ef971bcd55812f63bf15d141d530052a5f955d859d35f5002cec4ad265931dc9960fb6a0612e27512fa3fab62ce3cb49353c20b8fc5c2
7
- data.tar.gz: 9252266a50f694db6f9406a9991ee14184921e0f6d8d52676c4cdd66229ec252381ad7f46b447a17f182fe7c3b93d98a001ae410f228dabfa5b4f4591e0dedd6
6
+ metadata.gz: cba39ea11437c9da287eb913ede553e615f927a9412291ad88031d37e925c915d3926bb20cf1f82862617115d315335ec39cd58270ab51918d5aa00fa2a7841d
7
+ data.tar.gz: 40a874c1ce5585196dea1ec9b5e88c6088d7af08f751a9f3598c3f0bac29ba31929eebd2489c6f6f68bf08b8cac7c31f5f1d8524233669e4521fab1bdfdc62c8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- typ-rspec-matcher (0.0.0)
4
+ typ-rspec-matcher (0.0.1)
5
5
  awesome_print
6
6
  typ
7
7
  typ-formatter
@@ -8,7 +8,7 @@ module Typ
8
8
  @typ_class = typ_class
9
9
  end
10
10
 
11
- def match? it
11
+ def matches? it
12
12
  @it = it
13
13
  @typ = @typ_class.new it
14
14
  @typ.ok?
data/spec/Matcher_spec.rb CHANGED
@@ -9,7 +9,7 @@ describe Typ::RSpec::Matcher do
9
9
  let(:matcher) { described_class.new Positive }
10
10
 
11
11
  it 'works' do
12
- bool = matcher.match? -1
12
+ bool = matcher.matches? -1
13
13
  expect(bool).to be false
14
14
 
15
15
  failure_message = <<~S.chomp
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |g|
2
2
  g.name = 'typ-rspec-matcher'
3
3
  g.files = `git ls-files`.split($/)
4
- g.version = '0.0.1'
4
+ g.version = '0.0.2'
5
5
  g.summary = 'A RSpec matcher to check objects with typs.'
6
6
  g.authors = ['Anatoly Chernow']
7
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typ-rspec-matcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Chernow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-28 00:00:00.000000000 Z
11
+ date: 2018-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print