ssh_cert_parser 0.1.1 → 0.1.2
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 +4 -4
- data/.gitlab-ci.yml +16 -0
- data/Gemfile.lock +1 -1
- data/lib/ssh_cert_parser/ssh_certificate.rb +2 -2
- data/lib/ssh_cert_parser/version.rb +1 -1
- metadata +2 -2
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 617aedb0cfc76b9c60ee5abdb1469542f45ccbb6
|
4
|
+
data.tar.gz: d4a7600a71291ae2f3fe894aa9fba5450311070a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05233b6032b9d1b64ac8129eaf79a8b487ef624207ed5e3af063373330ecce6927a738f03d0c6d0b720a08e173fe427913dc2e5d0ef3c0db14733ef17202d316
|
7
|
+
data.tar.gz: 3701815bceab7adb57723972efa28de13882a4504515b9bba23a803395f707f05b5267807b0a8f8fd0c591536d6a7fb25fe8dbacc4e681336b8d32bb6ba5e0a4
|
data/.gitlab-ci.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
image: "ruby:2.4"
|
2
|
+
|
3
|
+
# Cache gems in between builds
|
4
|
+
cache:
|
5
|
+
paths:
|
6
|
+
- vendor/ruby
|
7
|
+
|
8
|
+
before_script:
|
9
|
+
- ruby -v # Print out ruby version for debugging
|
10
|
+
- gem install bundler --no-ri --no-rdoc # Bundler is not installed with the image
|
11
|
+
- bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
|
12
|
+
|
13
|
+
rspec:
|
14
|
+
script:
|
15
|
+
- rspec spec
|
16
|
+
|
data/Gemfile.lock
CHANGED
@@ -54,12 +54,12 @@ module SSHCertParser
|
|
54
54
|
principals, blob = take_list(blob, method(:take_pascal_string))
|
55
55
|
valid_after, blob = take_u64(blob)
|
56
56
|
begin
|
57
|
-
valid_after =
|
57
|
+
valid_after = Time.at(valid_after).utc
|
58
58
|
rescue StandardError
|
59
59
|
end
|
60
60
|
valid_before, blob = take_u64(blob)
|
61
61
|
begin
|
62
|
-
valid_before =
|
62
|
+
valid_before = Time.at(valid_before).utc
|
63
63
|
rescue StandardError
|
64
64
|
valid_before = "forever"
|
65
65
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ssh_cert_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- haseeb
|
@@ -60,8 +60,8 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
|
+
- ".gitlab-ci.yml"
|
63
64
|
- ".rspec"
|
64
|
-
- ".travis.yml"
|
65
65
|
- CODE_OF_CONDUCT.md
|
66
66
|
- Gemfile
|
67
67
|
- Gemfile.lock
|