tebako-runtime 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/lib/tebako-runtime/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cff811e50b8a71b13111d5e862285b5525c90a4c4a0fd24fdcc7ba62a5968ec8
|
4
|
+
data.tar.gz: f2de32c06413278486936dbb1485569c2fe3159e81f6ed96c6145f4dd96e53c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6aed772a3a60101d3df913a279f345bfb4c76e1c49b6acbfc003aaccc245cfbe55a99433d164adeaa64e7ea203d7ff4128820c7dc78844b4dc1f4b2610b2661
|
7
|
+
data.tar.gz: 4bd0aecebd1194727a9110bfd09fd9100b00440d150f57e95fd1c10fa8768727aa5d28dabd3f5300244d55c5db135b6c76ffe4a4401ba357752de04be81d8fd4
|
data/Rakefile
CHANGED
@@ -36,11 +36,11 @@ namespace :build do
|
|
36
36
|
desc "Download cacert.pem"
|
37
37
|
task :download_cacert do
|
38
38
|
url = URI("https://curl.se/ca/cacert.pem")
|
39
|
-
FileUtils.mkdir_p("cert")
|
39
|
+
FileUtils.mkdir_p("lib/cert")
|
40
40
|
Net::HTTP.start(url.host, url.port, use_ssl: url.scheme == "https") do |http|
|
41
41
|
request = Net::HTTP::Get.new url
|
42
42
|
http.request request do |response|
|
43
|
-
open "cert/cacert.pem.mozilla", "w" do |io|
|
43
|
+
open "lib/cert/cacert.pem.mozilla", "w" do |io|
|
44
44
|
response.read_body do |chunk|
|
45
45
|
io.write chunk
|
46
46
|
end
|