tinify 1.5.0 → 1.5.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 +5 -5
- data/Gemfile.lock +1 -1
- data/LICENSE +1 -1
- data/lib/data/cacert.pem +842 -1638
- data/lib/tinify/version.rb +1 -1
- data/update-cacert.sh +6 -6
- metadata +3 -4
data/lib/tinify/version.rb
CHANGED
data/update-cacert.sh
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
#!/bin/
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
2
|
dir=lib/data
|
|
3
3
|
|
|
4
4
|
cert=0
|
|
5
|
-
curl https://curl.
|
|
5
|
+
curl --silent --fail https://curl.se/ca/cacert.pem | while read -r line; do
|
|
6
6
|
if [ "-----BEGIN CERTIFICATE-----" == "$line" ]; then
|
|
7
7
|
cert=1
|
|
8
|
-
echo $line
|
|
8
|
+
echo "$line"
|
|
9
9
|
elif [ "-----END CERTIFICATE-----" == "$line" ]; then
|
|
10
10
|
cert=0
|
|
11
|
-
echo $line
|
|
11
|
+
echo "$line"
|
|
12
12
|
else
|
|
13
13
|
if [ $cert == 1 ]; then
|
|
14
|
-
echo $line
|
|
14
|
+
echo "$line"
|
|
15
15
|
fi
|
|
16
16
|
fi
|
|
17
|
-
done > $dir/cacert.pem
|
|
17
|
+
done > "$dir/cacert.pem"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tinify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rolf Timmermans
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httpclient
|
|
@@ -133,8 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
134
|
version: '0'
|
|
135
135
|
requirements: []
|
|
136
|
-
|
|
137
|
-
rubygems_version: 2.4.5
|
|
136
|
+
rubygems_version: 3.0.8
|
|
138
137
|
signing_key:
|
|
139
138
|
specification_version: 4
|
|
140
139
|
summary: Ruby client for the Tinify API.
|