fpm-fry 0.6.0 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fpm/fry/source/archive.rb +3 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4378e8616d6213898f76ec92b81ceed3cf591ac3f95dfb8d2cea75ea6ca0f2db
|
4
|
+
data.tar.gz: e148dd2f1c9326046fb184332527551d46240efd029d713ffedaa41b6ad690bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6e0568bdf77a28ca62b093c3159e5a2a0eb13a157ed462ef6b77d2729a886f04434ab4c83ffe69a23e09c813053aa68730060a52f1ec3e3cd0ea6387702fba9
|
7
|
+
data.tar.gz: ac6d77bef4612f2252b27dfcb2926da85c9f6b244cf8705a8d028de63da5f2de4f62febe4a2fc23d0e32aa88d656369a7815110575c0e8b91bf1f0f34b6a2286
|
@@ -21,6 +21,7 @@ module FPM; module Fry ; module Source
|
|
21
21
|
#
|
22
22
|
# - 40 characters = sha1
|
23
23
|
# - 64 characters = sha256
|
24
|
+
# - 128 characters = sha512
|
24
25
|
#
|
25
26
|
# Let's be honest: all other checksum algorithms aren't or shouldn't be in use anyway.
|
26
27
|
class Archive
|
@@ -315,6 +316,8 @@ module FPM; module Fry ; module Source
|
|
315
316
|
case(checksum)
|
316
317
|
when nil
|
317
318
|
return Digest::SHA256
|
319
|
+
when /\A(sha512:)?[0-9a-f]{128}\z/ then
|
320
|
+
return Digest::SHA512
|
318
321
|
when /\A(sha256:)?[0-9a-f]{64}\z/ then
|
319
322
|
return Digest::SHA256
|
320
323
|
when /\A(sha1:)?[0-9a-f]{40}\z/ then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm-fry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxime Lagresle
|
@@ -10,10 +10,10 @@ authors:
|
|
10
10
|
- Hannes Georg
|
11
11
|
- Julian Tabel
|
12
12
|
- Dennis Konert
|
13
|
-
autorequire:
|
13
|
+
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date:
|
16
|
+
date: 2023-04-18 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: excon
|
@@ -182,7 +182,7 @@ homepage: https://github.com/xing/fpm-fry
|
|
182
182
|
licenses:
|
183
183
|
- MIT
|
184
184
|
metadata: {}
|
185
|
-
post_install_message:
|
185
|
+
post_install_message:
|
186
186
|
rdoc_options: []
|
187
187
|
require_paths:
|
188
188
|
- lib
|
@@ -197,8 +197,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
|
-
rubygems_version: 3.
|
201
|
-
signing_key:
|
200
|
+
rubygems_version: 3.1.6
|
201
|
+
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: FPM Fry
|
204
204
|
test_files: []
|