matchi-fix 1.0.2 → 1.1.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: 19eb9daa6e57aa2ca06b0b5654c8e4d049f5496d3536f6cb92dad5db1222dedc
4
- data.tar.gz: cf0dc6569f025cfa780a84c42d2df291dbbd669d567d30f7546c9fd486f1d9ad
3
+ metadata.gz: afff23e5efffcaad1a7ffa2ca418dd515b3e471af252b5e81cd0e598a1a316b8
4
+ data.tar.gz: 2f19eb9106a4ada078cb276bd01d6efd5cef69b330c69b56765798e72c643055
5
5
  SHA512:
6
- metadata.gz: 357072807783a304644c5b91dcf7b6a995b4be6ce868acf5307461f21bf6a22413454651eba8985496e38bb3e34f198b77d7117c236fedfa8048a38eb250d5d3
7
- data.tar.gz: 6a315fc24d133fff70ad9d3d5d3fc7b65be20f61741aa6a5ead1afd305b44ed5f52e54e033b627c4b00955551555f79b18abf9dd5d9c48457c14aafc02402f30
6
+ metadata.gz: b05bbb94e4f9d03b43640b0c4af0bfef16dea618d739d729037b17984dd08b925567ffd3fbfe92d74dcd1685fc8d828f17419a90f34312e8ac554e8e4c8dcdf5
7
+ data.tar.gz: 97795b76e5137c2c8239919c552ed4ff92f5d3e123fd593f7afcda1bb8b780c72a5987e57940dcc54bafe185df3fbbb0aac52b41a0dbcefc0a894381f18e3dbf
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-2021 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
@@ -1,83 +1,61 @@
1
1
  # Matchi::Fix
2
2
 
3
- [![Build Status](https://travis-ci.org/fixrb/matchi-fix.svg?branch=master)][travis]
3
+ [![Build Status](https://api.travis-ci.org/fixrb/matchi-fix.svg?branch=main)][travis]
4
4
  [![Code Climate](https://codeclimate.com/github/fixrb/matchi-fix/badges/gpa.svg)][codeclimate]
5
5
  [![Gem Version](https://badge.fury.io/rb/matchi-fix.svg)][gem]
6
- [![Inline docs](http://inch-ci.org/github/fixrb/matchi-fix.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-fix.svg?branch=main)][inchpages]
7
+ [![Documentation](https://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
8
8
 
9
9
  > A [Fix](https://github.com/fixrb/fix) expectation matcher for [Matchi](https://github.com/fixrb/matchi).
10
10
 
11
- ## Contact
12
-
13
- * Home page: https://github.com/fixrb/matchi-fix
14
- * Bugs/issues: https://github.com/fixrb/matchi-fix/issues
15
- * Support: https://stackoverflow.com/questions/tagged/fixrb
16
-
17
- ## Rubies
11
+ ## Installation
18
12
 
19
- * [MRI](https://www.ruby-lang.org/)
20
- * [Rubinius](http://rubini.us/)
21
- * [JRuby](http://jruby.org/)
13
+ Add this line to your application's Gemfile:
22
14
 
23
- ## Installation
15
+ ```ruby
16
+ gem "matchi-fix"
17
+ ```
24
18
 
25
- __Matchi::Fix__ is cryptographically signed.
19
+ And then execute:
26
20
 
27
- To be sure the gem you install hasn't been tampered with, add my public key (if you haven't already) as a trusted certificate:
21
+ $ bundle
28
22
 
29
- $ gem cert --add <(curl -Ls https://raw.github.com/fixrb/matchi-fix/master/certs/gem-fixrb-public_cert.pem)
30
- $ gem install matchi-fix -P HighSecurity
23
+ Or install it yourself as:
31
24
 
32
- The `HighSecurity` trust profile will verify all gems. All of __Matchi::Fix__'s dependencies are signed.
25
+ $ gem install matchi-fix
33
26
 
34
27
  ## Usage
35
28
 
36
29
  ```ruby
37
- require 'matchi/fix'
30
+ require "matchi/fix"
38
31
 
39
- fix = Matchi::Matchers::Fix::Matcher.new(proc { it { MUST equal 42 } }) #<Matchi::Matchers::Fix::Matcher:0x007fd4022dd6c8 @expected=#<Proc:0x007fd4022dd6f0@(irb):1>>
32
+ fix = Matchi::Matcher::Fix.new(proc { it { MUST equal 42 } })
40
33
  fix.matches? { 6 * 7 } # => true
41
34
  ```
42
35
 
43
- ## Security
44
-
45
- As a basic form of security __Matchi::Fix__ provides a set of SHA512 checksums for
46
- every Gem release. These checksums can be found in the `checksum/` directory.
47
- Although these checksums do not prevent malicious users from tampering with a
48
- built Gem they can be used for basic integrity verification purposes.
49
-
50
- The checksum of a file can be checked using the `sha512sum` command. For
51
- example:
36
+ ## Contact
52
37
 
53
- $ sha512sum pkg/matchi-fix-0.1.0.gem
54
- 0decb77665ae868584aedab6ef126c7ce4efa69bf1fab75215ee9686b16525f8d7a45e03dc3145cb320371d8ddf2ffff90de34f5778fe55b11ce4cb4996a7f5a pkg/matchi-fix-0.1.0.gem
38
+ * Source code: https://github.com/fixrb/matchi-fix
55
39
 
56
40
  ## Versioning
57
41
 
58
- __Matchi::Fix__ follows [Semantic Versioning 2.0](http://semver.org/).
42
+ __Matchi::Fix__ follows [Semantic Versioning 2.0](https://semver.org/).
59
43
 
60
- ## Contributing
44
+ ## License
61
45
 
62
- 1. [Fork it](https://github.com/fixrb/matchi-fix/fork)
63
- 2. Create your feature branch (`git checkout -b my-new-feature`)
64
- 3. Commit your changes (`git commit -am 'Add some feature'`)
65
- 4. Push to the branch (`git push origin my-new-feature`)
66
- 5. Create a new Pull Request
46
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
67
47
 
68
- ## License
48
+ ***
69
49
 
70
- See `LICENSE.md` file.
50
+ <p>
51
+ This project is sponsored by:<br />
52
+ <a href="https://sashite.com/"><img
53
+ src="https://github.com/fixrb/matchi-fix/raw/main/img/sashite.png"
54
+ alt="Sashite" /></a>
55
+ </p>
71
56
 
72
57
  [gem]: https://rubygems.org/gems/matchi-fix
73
58
  [travis]: https://travis-ci.org/fixrb/matchi-fix
74
59
  [codeclimate]: https://codeclimate.com/github/fixrb/matchi-fix
75
- [gemnasium]: https://gemnasium.com/fixrb/matchi-fix
76
- [inchpages]: http://inch-ci.org/github/fixrb/matchi-fix
77
- [rubydoc]: http://rubydoc.info/gems/matchi-fix/frames
78
-
79
- ***
80
-
81
- This project is sponsored by:
82
-
83
- [![Sashite](http://sashite.com/img/sashite.png)](http://sashite.com/)
60
+ [inchpages]: https://inch-ci.org/github/fixrb/matchi-fix
61
+ [rubydoc]: https://rubydoc.info/gems/matchi-fix/frames
data/lib/matchi/fix.rb CHANGED
@@ -1,41 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'matchi/matchers_base'
4
- require 'fix'
5
-
6
- # Namespace for the Matchi library.
7
- module Matchi
8
- # Collection of matchers.
9
- module Matchers
10
- # **Fix** matcher.
11
- module Fix
12
- # The matcher.
13
- class Matcher
14
- include MatchersBase
15
-
16
- # Initialize the matcher with a spec.
17
- #
18
- # @example It MUST be equal to 42 matcher.
19
- # new(proc { it { MUST equal 42 } })
20
- #
21
- # @param expected [Proc] A spec.
22
- def initialize(expected)
23
- @expected = expected
24
- end
25
-
26
- # @example Is 42 matching 6 * 7?
27
- # fix = new(proc { it { MUST equal 42 } })
28
- # fix.matches? { 6 * 7 } # => true
29
- #
30
- # @yieldreturn [#object_id] A front object to compare against the spec.
31
- #
32
- # @return [Boolean] The result of the test: _pass_ or _fail_.
33
- def matches?
34
- ::Fix.describe(yield, verbose: false, &@expected)
35
- rescue SystemExit => e
36
- e.success?
37
- end
38
- end
39
- end
40
- end
3
+ Dir[File.join File.dirname(__FILE__), "matcher", "*.rb"].each do |fname|
4
+ require_relative fname
41
5
  end
6
+
7
+ require "matchi/helper"
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "matchi/matcher/base"
4
+
5
+ # Namespace for the Matchi library.
6
+ module Matchi
7
+ # Collection of matcher classes.
8
+ module Matcher
9
+ # **Fix** matcher.
10
+ class Fix < ::Matchi::Matcher::Base
11
+ # Initialize the matcher with a spec.
12
+ #
13
+ # @example It MUST be equal to 42 matcher.
14
+ # new(proc { it { MUST equal 42 } })
15
+ #
16
+ # @param expected [Proc] A spec.
17
+ def initialize(expected)
18
+ super()
19
+ @expected = expected
20
+ end
21
+
22
+ # @example Is 42 matching 6 * 7?
23
+ # fix = new(proc { it { MUST equal 42 } })
24
+ # fix.matches? { 6 * 7 } # => true
25
+ #
26
+ # @yieldreturn [#object_id] A front object to compare against the spec.
27
+ #
28
+ # @return [Boolean] The result of the test: _pass_ or _fail_.
29
+ def matches?
30
+ ::Fix.describe(yield, &expected)
31
+ true
32
+ rescue ::SystemExit => e
33
+ e.success?
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ require "fix"
metadata CHANGED
@@ -1,143 +1,165 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matchi-fix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.2
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: 2021-05-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: fix
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - "~>"
17
+ - - '='
19
18
  - !ruby/object:Gem::Version
20
- version: 0.17.1
19
+ version: 1.0.0.beta4
21
20
  type: :runtime
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: 0.17.1
26
+ version: 1.0.0.beta4
28
27
  - !ruby/object:Gem::Dependency
29
28
  name: matchi
30
29
  requirement: !ruby/object:Gem::Requirement
31
30
  requirements:
32
31
  - - "~>"
33
32
  - !ruby/object:Gem::Version
34
- version: 1.0.2
33
+ version: 2.0.1
35
34
  type: :runtime
36
35
  prerelease: false
37
36
  version_requirements: !ruby/object:Gem::Requirement
38
37
  requirements:
39
38
  - - "~>"
40
39
  - !ruby/object:Gem::Version
41
- version: 1.0.2
40
+ version: 2.0.1
42
41
  - !ruby/object:Gem::Dependency
43
42
  name: bundler
44
43
  requirement: !ruby/object:Gem::Requirement
45
44
  requirements:
46
- - - "~>"
45
+ - - ">="
47
46
  - !ruby/object:Gem::Version
48
- version: '1.16'
47
+ version: '0'
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: '1.16'
54
+ version: '0'
56
55
  - !ruby/object:Gem::Dependency
57
56
  name: rake
58
57
  requirement: !ruby/object:Gem::Requirement
59
58
  requirements:
60
- - - "~>"
59
+ - - ">="
61
60
  - !ruby/object:Gem::Version
62
- version: '12.3'
61
+ version: '0'
63
62
  type: :development
64
63
  prerelease: false
65
64
  version_requirements: !ruby/object:Gem::Requirement
66
65
  requirements:
67
- - - "~>"
66
+ - - ">="
68
67
  - !ruby/object:Gem::Version
69
- version: '12.3'
68
+ version: '0'
70
69
  - !ruby/object:Gem::Dependency
71
- name: rubocop
70
+ name: rubocop-md
72
71
  requirement: !ruby/object:Gem::Requirement
73
72
  requirements:
74
- - - "~>"
73
+ - - ">="
75
74
  - !ruby/object:Gem::Version
76
- version: '0.58'
75
+ version: '0'
77
76
  type: :development
78
77
  prerelease: false
79
78
  version_requirements: !ruby/object:Gem::Requirement
80
79
  requirements:
81
- - - "~>"
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-performance
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-thread_safety
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
82
116
  - !ruby/object:Gem::Version
83
- version: '0.58'
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
84
125
  - !ruby/object:Gem::Dependency
85
126
  name: simplecov
86
127
  requirement: !ruby/object:Gem::Requirement
87
128
  requirements:
88
- - - "~>"
129
+ - - ">="
89
130
  - !ruby/object:Gem::Version
90
- version: '0.16'
131
+ version: '0'
91
132
  type: :development
92
133
  prerelease: false
93
134
  version_requirements: !ruby/object:Gem::Requirement
94
135
  requirements:
95
- - - "~>"
136
+ - - ">="
96
137
  - !ruby/object:Gem::Version
97
- version: '0.16'
138
+ version: '0'
98
139
  - !ruby/object:Gem::Dependency
99
140
  name: yard
100
141
  requirement: !ruby/object:Gem::Requirement
101
142
  requirements:
102
- - - "~>"
143
+ - - ">="
103
144
  - !ruby/object:Gem::Version
104
- version: '0.9'
145
+ version: '0'
105
146
  type: :development
106
147
  prerelease: false
107
148
  version_requirements: !ruby/object:Gem::Requirement
108
149
  requirements:
109
- - - "~>"
150
+ - - ">="
110
151
  - !ruby/object:Gem::Version
111
- version: '0.9'
152
+ version: '0'
112
153
  description: A Fix expectation matcher for Matchi.
113
- email:
114
- - contact@cyril.email
154
+ email: contact@cyril.email
115
155
  executables: []
116
156
  extensions: []
117
157
  extra_rdoc_files: []
118
158
  files:
119
- - ".gitignore"
120
- - ".travis.yml"
121
- - ".yardopts"
122
- - CODE_OF_CONDUCT.md
123
- - Gemfile
124
159
  - LICENSE.md
125
160
  - README.md
126
- - Rakefile
127
- - VERSION.semver
128
- - bin/console
129
- - bin/setup
130
- - certs/gem-fixrb-public_cert.pem
131
- - checksum/matchi-fix-0.1.0.gem.sha512
132
- - checksum/matchi-fix-0.1.1.gem.sha512
133
- - checksum/matchi-fix-0.1.2.gem.sha512
134
- - checksum/matchi-fix-0.1.3.gem.sha512
135
- - checksum/matchi-fix-0.1.4.gem.sha512
136
- - checksum/matchi-fix-0.2.0.gem.sha512
137
- - checksum/matchi-fix-1.0.1.gem.sha512
138
161
  - lib/matchi/fix.rb
139
- - matchi-fix.gemspec
140
- - pkg_checksum
162
+ - lib/matchi/matcher/fix.rb
141
163
  homepage: https://github.com/fixrb/matchi-fix
142
164
  licenses:
143
165
  - MIT
@@ -150,15 +172,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
172
  requirements:
151
173
  - - ">="
152
174
  - !ruby/object:Gem::Version
153
- version: '0'
175
+ version: 2.7.0
154
176
  required_rubygems_version: !ruby/object:Gem::Requirement
155
177
  requirements:
156
178
  - - ">="
157
179
  - !ruby/object:Gem::Version
158
180
  version: '0'
159
181
  requirements: []
160
- rubyforge_project:
161
- rubygems_version: 2.7.6
182
+ rubygems_version: 3.1.4
162
183
  signing_key:
163
184
  specification_version: 4
164
185
  summary: Fix expectation matcher.
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- /.bundle/
2
- /.ruby-version
3
- /.yardoc
4
- /Gemfile.lock
5
- /_yardoc/
6
- /coverage/
7
- /doc/
8
- /pkg/
9
- /spec/reports/
10
- /tmp/
11
- *.gem
data/.travis.yml DELETED
@@ -1,30 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- cache: bundler
4
- before_install:
5
- - gem install bundler
6
- script:
7
- - bundle exec rubocop
8
- - bundle exec rake test
9
- rvm:
10
- - 2.0
11
- - 2.1
12
- - 2.2
13
- - 2.3.3
14
- - 2.4.0
15
- - 2.5.0
16
- - ruby-head
17
- - jruby-head
18
- - rbx-3
19
- matrix:
20
- allow_failures:
21
- - rvm: ruby-head
22
- - rvm: jruby-head
23
- - rvm: rbx-3
24
- notifications:
25
- webhooks:
26
- urls:
27
- - https://webhooks.gitter.im/e/a44b19cc5cf6db25fa87
28
- on_success: change
29
- on_failure: always
30
- on_start: never
data/.yardopts DELETED
@@ -1 +0,0 @@
1
- - README.md
data/CODE_OF_CONDUCT.md DELETED
@@ -1,13 +0,0 @@
1
- # Contributor Code of Conduct
2
-
3
- As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
-
5
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
-
7
- Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
-
9
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
-
11
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
-
13
- This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gemspec
data/Rakefile DELETED
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rake/testtask'
5
- require 'rubocop/rake_task'
6
-
7
- RuboCop::RakeTask.new
8
-
9
- Rake::TestTask.new do |t|
10
- t.verbose = true
11
- t.warning = true
12
- end
13
-
14
- namespace :test do
15
- task :coverage do
16
- ENV['COVERAGE'] = 'true'
17
- Rake::Task['test'].invoke
18
- end
19
- end
20
-
21
- task(:doc_stats) { ruby '-S yard stats' }
22
- task default: %i[test doc_stats rubocop]
data/VERSION.semver DELETED
@@ -1 +0,0 @@
1
- 1.0.2
data/bin/console DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'matchi/fix'
6
-
7
- require 'irb'
8
- IRB.start
data/bin/setup DELETED
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
-
3
- set -euo pipefail
4
- IFS=$'\n\t'
5
-
6
- bundle install
@@ -1,21 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRAwDgYDVQQDDAdjb250
3
- YWN0MRUwEwYKCZImiZPyLGQBGRYFY3lyaWwxFTATBgoJkiaJk/IsZAEZFgVlbWFp
4
- bDAeFw0xNTA3MzExMjExMDZaFw0xNjA3MzAxMjExMDZaMEAxEDAOBgNVBAMMB2Nv
5
- bnRhY3QxFTATBgoJkiaJk/IsZAEZFgVjeXJpbDEVMBMGCgmSJomT8ixkARkWBWVt
6
- YWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6hUEYoxnn1mtoaiK
7
- NiwjzVPqPgQCR9ZeYdWjLJ3UUG2h5Q6awJCnbaGr8LGGcKtveCDbOJRjtdKNuOTH
8
- O2FLTkf46nrMGiF+6/j//qh8o0EQHBRKIVMYkxZxZe4Fcqtdf1bWNMZuXeyoDjdt
9
- 4yiGfizbbTOu0gBf7Yrsv5DsL0a5CU/We7zxMfgGXCVb9PYkD+OWUMcTARYDKfYa
10
- nN9ECI7CFm/yXcsof/eIQA5EmJNmQnhx8B+8L6jDqQeSUAUrBZnC9CdloKOoqmEL
11
- weqM2g6LM932Ba74rEl4QlFRYDcs8kjr71UcvseHRCUkFr36j26OU8+gKelsTNdO
12
- 7OZNKQIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
13
- LSJTN9h29D6bqOhp+vyvhyM0AF4wHgYDVR0RBBcwFYETY29udGFjdEBjeXJpbC5l
14
- bWFpbDAeBgNVHRIEFzAVgRNjb250YWN0QGN5cmlsLmVtYWlsMA0GCSqGSIb3DQEB
15
- BQUAA4IBAQArqCC1rUyGJlF0DF9ZhUOgggyROvO0/WroSI5zWgzdB8EU7RJpsDIV
16
- caGnpji7h0rQIGWQuJ6TL2fTFLfeGRFdIzRZwWC7TeXhcXngJHZxSjDBt2OpfM8A
17
- P5eElSQS9iJCetBGGMyt354PfgZkg3URaC+JA6mdEisdtEdo64ElnMsLg9shCqye
18
- JSR3BbejbyPVva0/MHKD+dR6RswlcM9KMiYOXQml7a/kH6huOHvVq9gj5xC2ih8W
19
- dzJvWzQ1+dJU6WQv75E9ddSkaQrK3nhdgQVu+/wgvGSrsMvOGNz+LXaSDxQqZuwX
20
- 0KNQFuIukfrdk8URwRnHoAnvx4U93iUw
21
- -----END CERTIFICATE-----
@@ -1 +0,0 @@
1
- 0decb77665ae868584aedab6ef126c7ce4efa69bf1fab75215ee9686b16525f8d7a45e03dc3145cb320371d8ddf2ffff90de34f5778fe55b11ce4cb4996a7f5a
@@ -1 +0,0 @@
1
- 2a66b5dda194af828096e9b86e2adf2b52cea4113720a0050c867aa37f32200be7ce8ca83c8fbfc9d39a7d6e2a2622f8873bbaafd7529bbc03015bb3e5b05421
@@ -1 +0,0 @@
1
- 5827ead29509f74ce55d8746b2e40155976c4594dc1260ec3497f1770c07e671a1ebaf6c20e4cfba3249b5cddf982c48b2ce10eb16fe10dd35afd39d1acfc576
@@ -1 +0,0 @@
1
- 8299f2b2322094fec83069d3206bd2b7e73c8fac4657d5eee7a1112dc7c4cefb7404ec1a75a2d8faf66d04e5ecc7b4d3da011a9c4ed7426bec4e62826c60d924
@@ -1 +0,0 @@
1
- bfb467db5d2e47fd7af3969e12e9662632463e68051fd7ba9af0b4c407ffb9e4e206fbc31d9509d2ab35488592c1dc691e36e4ed32db3e262ff6c7d2cd066ed0
@@ -1 +0,0 @@
1
- f2e4576acc8456a4b6f253bb70a1328498f04661b8656f17fe98a5209e9bac4bc5b21adac1ed87f0fd549cbf06e33485d9da9397a4fee222234f431ac8cd593a
@@ -1 +0,0 @@
1
- b52f5ea16dd8250f9c0e371bcc0cdae0407142702112ce474d60d52d5b7b122c3468be5a785addea2890fab8c8ad0d2f47278326af5ad44e4e183f71603bc9b0
data/matchi-fix.gemspec DELETED
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Gem::Specification.new do |spec|
4
- spec.name = 'matchi-fix'
5
- spec.version = File.read('VERSION.semver').chomp
6
- spec.authors = ['Cyril Kato']
7
- spec.email = ['contact@cyril.email']
8
-
9
- spec.summary = 'Fix expectation matcher.'
10
- spec.description = 'A Fix expectation matcher for Matchi.'
11
- spec.homepage = 'https://github.com/fixrb/matchi-fix'
12
- spec.license = 'MIT'
13
-
14
- spec.files =
15
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
16
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
- spec.require_paths = ['lib']
18
-
19
- spec.add_dependency 'fix', '~> 0.17.1'
20
- spec.add_dependency 'matchi', '~> 1.0.2'
21
-
22
- spec.add_development_dependency 'bundler', '~> 1.16'
23
- spec.add_development_dependency 'rake', '~> 12.3'
24
- spec.add_development_dependency 'rubocop', '~> 0.58'
25
- spec.add_development_dependency 'simplecov', '~> 0.16'
26
- spec.add_development_dependency 'yard', '~> 0.9'
27
-
28
- spec.cert_chain = ['certs/gem-fixrb-public_cert.pem']
29
- private_key = File.expand_path('~/.ssh/gem-fixrb-private_key.pem')
30
- spec.signing_key = private_key if File.exist?(private_key)
31
- end
data/pkg_checksum DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'digest/sha2'
5
-
6
- gemname = 'matchi-fix'.to_sym
7
- ARGV[0] = File.read('VERSION.semver').chomp if ARGV[0].nil?
8
- built_gem_path = "pkg/#{gemname}-#{ARGV[0]}.gem"
9
- checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
10
- checksum_path = "checksum/#{gemname}-#{ARGV[0]}.gem.sha512"
11
-
12
- File.open(checksum_path, 'w') { |f| f.write("#{checksum}\n") }