tebako-runtime 0.4.0 → 0.4.2
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/cert/cacert.pem.mozilla +3581 -0
- data/lib/tebako-runtime/version.rb +1 -1
- data/tebako-runtime.gemspec +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb768706b6e2fda16611bed89a6f4cd6e52296c969cfda886f51dbb9edd516e8
|
4
|
+
data.tar.gz: 1311d0ad02355fe08c374b51acca120db90f398f7942aa37c2909829a77a45b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3626130726d12b47ff32fb397d8650887305608854813b838b9744dcf18a91945cc97ba7c741b9c158126e5e85fe5a8f8a8741d8b783e0cf83a3c1709051cb77
|
7
|
+
data.tar.gz: 6f9500c6b5639d506091831cbe60d0a2dcefa71b6820a5a92caaf51bc03d2be46e31c1869f6841f0c0dbfe5536a8a810a14a6b1af6a1276c8d17c44573bf3767
|
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
|