matchi 1.0.4 → 1.0.5

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: 9c0219643fc708b177bdb677dbc7a272ba7f70907f84486c0ca80479bff46d79
4
- data.tar.gz: 36ce6103c15ede08fab96f7c799aaaf67aeffc14b9b7cf30de89489bbd6f482d
3
+ metadata.gz: bcf4ea2585e0f28100e46fc43359e72a2144914c34b7054b8eefbbbf50554aeb
4
+ data.tar.gz: d4bd35c7e7d76bea0351970a5d298832f78df357b5609cbc14226691858e3933
5
5
  SHA512:
6
- metadata.gz: 3a8ef6a513e7cb6210302c83a22f5e85dcab5409309e60c714b21b69818f50f258369e61a2f19f3b73891ce877a763cf5aa5b450353e2d13ebc4ab1c4e27a10a
7
- data.tar.gz: 97328101eb57ace71300c068c0a47deb70ee4f1d870399560482756558f3e6f60034a33f867accb47dc580b63468537ac1122e88f2253d2df310a62f61b06c50
6
+ metadata.gz: 98a4faa1e51f9c7e19628251f64eac732b793a0a85a7ee40f46294d92ed80c1b8b0590ad11282698a48a26edd048a53ef31305843bf1caac0921ccb2af47852e
7
+ data.tar.gz: 7d0cc22350a289c524c77ee67e972b05872c5d97d0e6e573278e3ba858d5b0583e7916d1a8f2e62e8358f192d8f7f5792846914fc5f3ca9788d8c6686c5ce005
@@ -1,13 +1,7 @@
1
1
  # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2019-04-12 13:03:01 +0200 using RuboCop version 0.67.2.
2
+ # `rubocop --auto-gen-config --no-auto-gen-timestamp`
3
+ # using RuboCop version 0.76.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 1
10
- # Configuration parameters: PreferredName.
11
- Naming/RescuedExceptionsVariableName:
12
- Exclude:
13
- - 'lib/matchi/matchers/raise_exception.rb'
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Matchi
2
2
 
3
- [![Build Status](https://travis-ci.org/fixrb/matchi.svg?branch=master)][travis]
3
+ [![Build Status](https://api.travis-ci.org/fixrb/matchi.svg?branch=master)][travis]
4
4
  [![Code Climate](https://codeclimate.com/github/fixrb/matchi/badges/gpa.svg)][codeclimate]
5
5
  [![Gem Version](https://badge.fury.io/rb/matchi.svg)][gem]
6
- [![Inline docs](http://inch-ci.org/github/fixrb/matchi.svg?branch=master)][inchpages]
7
- [![Documentation](http://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
6
+ [![Inline docs](https://inch-ci.org/github/fixrb/matchi.svg?branch=master)][inchpages]
7
+ [![Documentation](https://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
8
8
 
9
9
  > Collection of expectation matchers for Ruby.
10
10
 
@@ -12,13 +12,12 @@
12
12
 
13
13
  * Home page: https://github.com/fixrb/matchi
14
14
  * Bugs/issues: https://github.com/fixrb/matchi/issues
15
- * Support: https://stackoverflow.com/questions/tagged/matchi
16
15
 
17
16
  ## Rubies
18
17
 
19
18
  * [MRI](https://www.ruby-lang.org/)
20
- * [Rubinius](http://rubini.us/)
21
- * [JRuby](http://jruby.org/)
19
+ * [Rubinius](https://rubinius.com/)
20
+ * [JRuby](https://www.jruby.org/)
22
21
 
23
22
  ## Installation
24
23
 
@@ -195,7 +194,7 @@ example:
195
194
 
196
195
  ## Versioning
197
196
 
198
- __Matchi__ follows [Semantic Versioning 2.0](http://semver.org/).
197
+ __Matchi__ follows [Semantic Versioning 2.0](https://semver.org/).
199
198
 
200
199
  ## Contributing
201
200
 
@@ -212,12 +211,11 @@ See `LICENSE.md` file.
212
211
  [gem]: https://rubygems.org/gems/matchi
213
212
  [travis]: https://travis-ci.org/fixrb/matchi
214
213
  [codeclimate]: https://codeclimate.com/github/fixrb/matchi
215
- [gemnasium]: https://gemnasium.com/fixrb/matchi
216
- [inchpages]: http://inch-ci.org/github/fixrb/matchi
217
- [rubydoc]: http://rubydoc.info/gems/matchi/frames
214
+ [inchpages]: https://inch-ci.org/github/fixrb/matchi
215
+ [rubydoc]: https://rubydoc.info/gems/matchi/frames
218
216
 
219
217
  ***
220
218
 
221
219
  This project is sponsored by:
222
220
 
223
- [![Sashite](https://sashite.com/img/sashite.png)](https://sashite.com/)
221
+ [![Sashite](https://pbs.twimg.com/profile_images/618485028322975744/PZ9qPuI__400x400.png)](https://sashite.com/)
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -0,0 +1 @@
1
+ fcd3a51ded233ec0edb84e2c71ea1363bb56f46828ccedf4ad3d26c88a65654561733905d64c235ca259eb2de0b39c9470ba1c9807eed3dbc8a3f3e4c59d183e
@@ -4,4 +4,4 @@
4
4
  module Matchi
5
5
  end
6
6
 
7
- require_relative File.join('matchi', 'matchers')
7
+ require_relative ::File.join('matchi', 'matchers')
@@ -6,6 +6,6 @@ module Matchi
6
6
  end
7
7
  end
8
8
 
9
- Dir[File.join File.dirname(__FILE__), 'matchers', '*.rb'].each do |fname|
9
+ ::Dir[::File.join ::File.dirname(__FILE__), 'matchers', '*.rb'].each do |fname|
10
10
  require_relative fname
11
11
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative File.join('..', 'matchers_base') unless
3
+ require_relative ::File.join('..', 'matchers_base') unless
4
4
  defined?(::Matchi::MatchersBase)
5
5
 
6
6
  module Matchi
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative File.join('..', 'matchers_base') unless
3
+ require_relative ::File.join('..', 'matchers_base') unless
4
4
  defined?(::Matchi::MatchersBase)
5
5
 
6
6
  module Matchi
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative File.join('..', 'matchers_base') unless
3
+ require_relative ::File.join('..', 'matchers_base') unless
4
4
  defined?(::Matchi::MatchersBase)
5
5
 
6
6
  module Matchi
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative File.join('..', 'matchers_base') unless
3
+ require_relative ::File.join('..', 'matchers_base') unless
4
4
  defined?(::Matchi::MatchersBase)
5
5
 
6
6
  module Matchi
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative File.join('..', 'matchers_base') unless
3
+ require_relative ::File.join('..', 'matchers_base') unless
4
4
  defined?(::Matchi::MatchersBase)
5
5
 
6
6
  module Matchi
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative File.join('..', 'matchers_base') unless
3
+ require_relative ::File.join('..', 'matchers_base') unless
4
4
  defined?(::Matchi::MatchersBase)
5
5
 
6
6
  module Matchi
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative File.join('..', 'matchers_base') unless
3
+ require_relative ::File.join('..', 'matchers_base') unless
4
4
  defined?(::Matchi::MatchersBase)
5
5
 
6
6
  module Matchi
@@ -7,7 +7,7 @@ module Matchi
7
7
  #
8
8
  # @raise [NotImplementedError] Override me inside a Matcher subclass please.
9
9
  def matches?
10
- raise NotImplementedError, 'The matcher MUST respond to matches? method.'
10
+ raise ::NotImplementedError, 'matcher MUST respond to `matches?` method.'
11
11
  end
12
12
 
13
13
  # Returns a string representing the matcher.
@@ -5,7 +5,6 @@ Gem::Specification.new do |spec|
5
5
  spec.version = File.read('VERSION.semver').chomp
6
6
  spec.authors = ['Cyril Kato']
7
7
  spec.email = ['contact@cyril.email']
8
-
9
8
  spec.summary = 'Collection of matchers.'
10
9
  spec.description = 'Collection of expectation matchers for Ruby.'
11
10
  spec.homepage = 'https://github.com/fixrb/matchi'
@@ -17,8 +16,9 @@ Gem::Specification.new do |spec|
17
16
  spec.require_paths = ['lib']
18
17
 
19
18
  spec.add_development_dependency 'bundler', '~> 2.0'
20
- spec.add_development_dependency 'rake', '~> 12.3'
21
- spec.add_development_dependency 'rubocop', '~> 0.67'
22
- spec.add_development_dependency 'simplecov', '~> 0.16'
19
+ spec.add_development_dependency 'rake', '~> 13.0'
20
+ spec.add_development_dependency 'rubocop'
21
+ spec.add_development_dependency 'rubocop-performance'
22
+ spec.add_development_dependency 'simplecov', '~> 0.17'
23
23
  spec.add_development_dependency 'yard', '~> 0.9'
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matchi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-12 00:00:00.000000000 Z
11
+ date: 2019-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,42 +30,56 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '12.3'
33
+ version: '13.0'
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
- version: '12.3'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.67'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-performance
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
53
67
  - !ruby/object:Gem::Version
54
- version: '0.67'
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: simplecov
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '0.16'
75
+ version: '0.17'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '0.16'
82
+ version: '0.17'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: yard
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -116,6 +130,7 @@ files:
116
130
  - checksum/matchi-1.0.1.gem.sha512
117
131
  - checksum/matchi-1.0.2.gem.sha512
118
132
  - checksum/matchi-1.0.3.gem.sha512
133
+ - checksum/matchi-1.0.4.gem.sha512
119
134
  - lib/matchi.rb
120
135
  - lib/matchi/matchers.rb
121
136
  - lib/matchi/matchers/be_false.rb
@@ -147,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
162
  - !ruby/object:Gem::Version
148
163
  version: '0'
149
164
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.7.6
165
+ rubygems_version: 3.0.6
152
166
  signing_key:
153
167
  specification_version: 4
154
168
  summary: Collection of matchers.