certificate-checker 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 566689bca2b7298b06a7dbafd7d9687dc7fcdb4ef333337a8c8747c6b96a6a6d
4
- data.tar.gz: 7fce38290f5f8c98454529fe672926c387097f61c6ccae6dbdb05d2f46362035
3
+ metadata.gz: 7aa16080082c6c62adc92757d4138dc81aff8d7698e9f451c87323d51eec0a3f
4
+ data.tar.gz: 1767f58737fd1048ba78b80988f360543ac29440b8a69625817046124c3f4688
5
5
  SHA512:
6
- metadata.gz: 1387cb34c6ce0630f0ff9070fba1b8266060aa1d9ebb38e6f17cbac8bcff25ce9cb112774e63611c806f427cb9c4260c1dacf0978c3704592336a614312850af
7
- data.tar.gz: 60caabbc4d514a2076c65f0ae79d6df8f13714912f9ef35ea5ed7cb2cb1b9d3e2f4760db7e2d898d1ddb489a8ec070310d907e24139d743ed041740f124924bc
6
+ metadata.gz: 3aeafffd6487f8841545f28f853c51897e9533f051f58cb9747145ca9c0adb6fa2f93233eed1f1f0254f30a39e82f095fef11b8c66459dd913d9afd037bf43f4
7
+ data.tar.gz: 42f794cd0923d135526326eca023c769f5626474767081c68eba3ec562133732233bc021aaa3948f8e3e52bc8c9fc80002bde35ae4e3f5aa855719028a51b34d
data/.travis.yml CHANGED
@@ -1,8 +1,13 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.3
3
4
  - 2.4
4
5
  - 2.5
5
6
  - 2.6
7
+ # Remove the whole before_install section when dropping Ruby 2.3 support.
8
+ before_install:
9
+ - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
10
+ - gem install bundler -v '< 2'
6
11
  before_script:
7
12
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
8
13
  - chmod +x ./cc-test-reporter
@@ -25,7 +25,7 @@ module CertificateChecker
25
25
  until @f.eof?
26
26
  line = @f.readline
27
27
  @lineno += 1
28
- next unless line.match?(/^-----BEGIN CERTIFICATE-----/)
28
+ next unless line.match(/^-----BEGIN CERTIFICATE-----/)
29
29
 
30
30
  @data_start_lineno = @lineno
31
31
  @data = line
@@ -38,7 +38,7 @@ module CertificateChecker
38
38
  line = @f.readline
39
39
  @lineno += 1
40
40
  @data += line
41
- if line.match?(/^-----END CERTIFICATE-----/)
41
+ if line.match(/^-----END CERTIFICATE-----/)
42
42
  add_certificate
43
43
  return
44
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CertificateChecker
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: certificate-checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain Tartière