tinify 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Tinify
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
data/update-cacert.sh CHANGED
@@ -1,17 +1,17 @@
1
- #!/bin/sh
1
+ #!/usr/bin/env bash
2
2
  dir=lib/data
3
3
 
4
4
  cert=0
5
- curl https://curl.haxx.se/ca/cacert.pem | while read line; do
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.0
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: 2017-02-16 00:00:00.000000000 Z
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
- rubyforge_project:
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.