matchi 1.0.3 → 1.0.4

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: 2f5f05c0b6c87988f14b9673f1d4ca137758ec4f873e475b3be6767447cc70e4
4
- data.tar.gz: 5079df95921655a2afcfa11e2a10ca5d7bbe99f6e0b84271fbaf86b131bbabb4
3
+ metadata.gz: 9c0219643fc708b177bdb677dbc7a272ba7f70907f84486c0ca80479bff46d79
4
+ data.tar.gz: 36ce6103c15ede08fab96f7c799aaaf67aeffc14b9b7cf30de89489bbd6f482d
5
5
  SHA512:
6
- metadata.gz: 544767fa79a42e6e2d62ebccfdb3aaa9807b1e48342267babdecb419c0b67652c327ce51695a74e6b0340aa5f19c47ff055566b3bc5135f9c027a287c873d5c6
7
- data.tar.gz: b7c20f20f8bd60b5cddeefaff0bf352f39c70cc851da3c3e70db603d596629992f0f1422f3aacc0addf8cad0ee15ba18018c9cddfb2f769667ddbc2528289cc9
6
+ metadata.gz: 3a8ef6a513e7cb6210302c83a22f5e85dcab5409309e60c714b21b69818f50f258369e61a2f19f3b73891ce877a763cf5aa5b450353e2d13ebc4ab1c4e27a10a
7
+ data.tar.gz: 97328101eb57ace71300c068c0a47deb70ee4f1d870399560482756558f3e6f60034a33f867accb47dc580b63468537ac1122e88f2253d2df310a62f61b06c50
@@ -0,0 +1 @@
1
+ inherit_from: .rubocop_todo.yml
@@ -0,0 +1,13 @@
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.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
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'
@@ -7,10 +7,10 @@ script:
7
7
  - bundle exec rubocop
8
8
  - bundle exec rake test
9
9
  rvm:
10
- - 2.2
11
10
  - 2.3.3
12
11
  - 2.4.0
13
12
  - 2.5.0
13
+ - 2.6.1
14
14
  - ruby-head
15
15
  - jruby-head
16
16
  - rbx-3
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 Cyril Kato
3
+ Copyright (c) 2015-2019 Cyril Kato
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -22,18 +22,7 @@
22
22
 
23
23
  ## Installation
24
24
 
25
- __Matchi__ is cryptographically signed.
26
-
27
- To be sure the gem you install hasn't been tampered with, add my public key
28
- (if you haven't already) as a trusted certificate:
29
-
30
- $ gem cert --add <(curl -Ls https://raw.github.com/fixrb/matchi/master/certs/gem-fixrb-public_cert.pem)
31
- $ gem install matchi -P HighSecurity
32
-
33
- The `HighSecurity` trust profile will verify all gems. All of __Matchi__'s
34
- dependencies are signed.
35
-
36
- Or add this line to your application's Gemfile:
25
+ Add this line to your application's Gemfile:
37
26
 
38
27
  ```ruby
39
28
  gem 'matchi'
@@ -43,6 +32,10 @@ And then execute:
43
32
 
44
33
  $ bundle
45
34
 
35
+ Or install it yourself as:
36
+
37
+ $ gem install matchi
38
+
46
39
  ## Usage
47
40
 
48
41
  ### Built-in matchers
@@ -227,4 +220,4 @@ See `LICENSE.md` file.
227
220
 
228
221
  This project is sponsored by:
229
222
 
230
- [![Sashite](http://sashite.com/img/sashite.png)](http://sashite.com/)
223
+ [![Sashite](https://sashite.com/img/sashite.png)](https://sashite.com/)
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -0,0 +1 @@
1
+ 3965452f3b41ed817a4263fdd9cd18fc35bf049f5d6624a8ef310c851fda25ff3e1dd8aaad9be3557ac0bfa424dd3be50370e882712d00cf3f307cda2b9d29d5
@@ -44,8 +44,8 @@ module Matchi
44
44
  self
45
45
  .class
46
46
  .name
47
- .gsub(/^Matchi::Matchers::/, '')
48
- .gsub(/::Matcher$/, '')
47
+ .gsub(/\AMatchi::Matchers::/, '')
48
+ .gsub(/::Matcher\z/, '')
49
49
  end
50
50
  end
51
51
  end
@@ -16,13 +16,9 @@ Gem::Specification.new do |spec|
16
16
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
17
  spec.require_paths = ['lib']
18
18
 
19
- spec.add_development_dependency 'bundler', '~> 1.16'
19
+ spec.add_development_dependency 'bundler', '~> 2.0'
20
20
  spec.add_development_dependency 'rake', '~> 12.3'
21
- spec.add_development_dependency 'rubocop', '~> 0.58'
21
+ spec.add_development_dependency 'rubocop', '~> 0.67'
22
22
  spec.add_development_dependency 'simplecov', '~> 0.16'
23
23
  spec.add_development_dependency 'yard', '~> 0.9'
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
24
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matchi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - certs/gem-fixrb-public_cert.pem
12
- date: 2018-08-26 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2019-04-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
@@ -17,14 +16,14 @@ dependencies:
17
16
  requirements:
18
17
  - - "~>"
19
18
  - !ruby/object:Gem::Version
20
- version: '1.16'
19
+ version: '2.0'
21
20
  type: :development
22
21
  prerelease: false
23
22
  version_requirements: !ruby/object:Gem::Requirement
24
23
  requirements:
25
24
  - - "~>"
26
25
  - !ruby/object:Gem::Version
27
- version: '1.16'
26
+ version: '2.0'
28
27
  - !ruby/object:Gem::Dependency
29
28
  name: rake
30
29
  requirement: !ruby/object:Gem::Requirement
@@ -45,14 +44,14 @@ dependencies:
45
44
  requirements:
46
45
  - - "~>"
47
46
  - !ruby/object:Gem::Version
48
- version: '0.58'
47
+ version: '0.67'
49
48
  type: :development
50
49
  prerelease: false
51
50
  version_requirements: !ruby/object:Gem::Requirement
52
51
  requirements:
53
52
  - - "~>"
54
53
  - !ruby/object:Gem::Version
55
- version: '0.58'
54
+ version: '0.67'
56
55
  - !ruby/object:Gem::Dependency
57
56
  name: simplecov
58
57
  requirement: !ruby/object:Gem::Requirement
@@ -89,6 +88,8 @@ extensions: []
89
88
  extra_rdoc_files: []
90
89
  files:
91
90
  - ".gitignore"
91
+ - ".rubocop.yml"
92
+ - ".rubocop_todo.yml"
92
93
  - ".travis.yml"
93
94
  - ".yardopts"
94
95
  - CODE_OF_CONDUCT.md
@@ -99,7 +100,6 @@ files:
99
100
  - VERSION.semver
100
101
  - bin/console
101
102
  - bin/setup
102
- - certs/gem-fixrb-public_cert.pem
103
103
  - checksum/matchi-0.0.1.gem.sha512
104
104
  - checksum/matchi-0.0.2.gem.sha512
105
105
  - checksum/matchi-0.0.3.gem.sha512
@@ -115,6 +115,7 @@ files:
115
115
  - checksum/matchi-1.0.0.gem.sha512
116
116
  - checksum/matchi-1.0.1.gem.sha512
117
117
  - checksum/matchi-1.0.2.gem.sha512
118
+ - checksum/matchi-1.0.3.gem.sha512
118
119
  - lib/matchi.rb
119
120
  - lib/matchi/matchers.rb
120
121
  - lib/matchi/matchers/be_false.rb
@@ -1,21 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRAwDgYDVQQDDAdjb250
3
- YWN0MRUwEwYKCZImiZPyLGQBGRYFY3lyaWwxFTATBgoJkiaJk/IsZAEZFgVlbWF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