tebako-runtime 0.5.1 → 0.5.2.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cert/cacert.pem.mozilla +19 -32
- data/lib/tebako-runtime/adapters/sinatra.rb +46 -0
- data/lib/tebako-runtime/version.rb +1 -1
- data/lib/tebako-runtime.rb +2 -1
- data/tebako-runtime.gemspec +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eabcde8e5e440ae2582dbaf9dd27b6629f94e4cc40816bfa3e853d19be923ac3
|
4
|
+
data.tar.gz: d42627839cc22d1684608c66a185b285b5a4388544df7bd6055e6184a9afc197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1d5aa196da1f5a6699db80bc20f1992b03ef84526dd37cd7e5e1effc14ac86368bf617f79cf8670f49e02524c2fc8cbd403b8cf69b55039fc26075512640475
|
7
|
+
data.tar.gz: 4a695d832eec314191048b883ffbb67a24ddd82968da5c80df9a5f1f870a109b931d475efbe56378723d5bd8aa6a1a375f3ec3e232426525ac1b348fe50b519c
|
data/lib/cert/cacert.pem.mozilla
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##
|
2
2
|
## Bundle of CA Root Certificates
|
3
3
|
##
|
4
|
-
## Certificate data from Mozilla as of:
|
4
|
+
## Certificate data from Mozilla as of: Tue Jul 2 03:12:04 2024 GMT
|
5
5
|
##
|
6
6
|
## This is a bundle of X.509 certificates of public Certificate Authorities
|
7
7
|
## (CA). These were automatically extracted from Mozilla's root certificates
|
@@ -14,7 +14,7 @@
|
|
14
14
|
## Just configure this file as the SSLCACertificateFile.
|
15
15
|
##
|
16
16
|
## Conversion done with mk-ca-bundle.pl version 1.29.
|
17
|
-
## SHA256:
|
17
|
+
## SHA256: 456ff095dde6dd73354c5c28c73d9c06f53b61a803963414cb91a1d92945cdd3
|
18
18
|
##
|
19
19
|
|
20
20
|
|
@@ -2600,36 +2600,6 @@ vLtoURMMA/cVi4RguYv/Uo7njLwcAjA8+RHUjE7AwWHCFUyqqx0LMV87HOIAl0Qx5v5zli/altP+
|
|
2600
2600
|
CAezNIm8BZ/3Hobui3A=
|
2601
2601
|
-----END CERTIFICATE-----
|
2602
2602
|
|
2603
|
-
GLOBALTRUST 2020
|
2604
|
-
================
|
2605
|
-
-----BEGIN CERTIFICATE-----
|
2606
|
-
MIIFgjCCA2qgAwIBAgILWku9WvtPilv6ZeUwDQYJKoZIhvcNAQELBQAwTTELMAkGA1UEBhMCQVQx
|
2607
|
-
IzAhBgNVBAoTGmUtY29tbWVyY2UgbW9uaXRvcmluZyBHbWJIMRkwFwYDVQQDExBHTE9CQUxUUlVT
|
2608
|
-
VCAyMDIwMB4XDTIwMDIxMDAwMDAwMFoXDTQwMDYxMDAwMDAwMFowTTELMAkGA1UEBhMCQVQxIzAh
|
2609
|
-
BgNVBAoTGmUtY29tbWVyY2UgbW9uaXRvcmluZyBHbWJIMRkwFwYDVQQDExBHTE9CQUxUUlVTVCAy
|
2610
|
-
MDIwMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAri5WrRsc7/aVj6B3GyvTY4+ETUWi
|
2611
|
-
D59bRatZe1E0+eyLinjF3WuvvcTfk0Uev5E4C64OFudBc/jbu9G4UeDLgztzOG53ig9ZYybNpyrO
|
2612
|
-
VPu44sB8R85gfD+yc/LAGbaKkoc1DZAoouQVBGM+uq/ufF7MpotQsjj3QWPKzv9pj2gOlTblzLmM
|
2613
|
-
CcpL3TGQlsjMH/1WljTbjhzqLL6FLmPdqqmV0/0plRPwyJiT2S0WR5ARg6I6IqIoV6Lr/sCMKKCm
|
2614
|
-
fecqQjuCgGOlYx8ZzHyyZqjC0203b+J+BlHZRYQfEs4kUmSFC0iAToexIiIwquuuvuAC4EDosEKA
|
2615
|
-
A1GqtH6qRNd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A3+vA/MRYfg0UFodUJ25W5HCEuGwyEn6CMUO+1918
|
2628
|
-
oa2u1qsgEu8KwxCMSZY13At1XrFP1U80DhEgB3VDRemjEdqso5nCtnkn4rnvyOL2NSl6dPrFf4IF
|
2629
|
-
YqYK6miyeUcGbvJXqBUzxvd4Sj1Ce2t+/vdG6tHrju+IaFvowdlxfv1k7/9nR4hYJS8+hge9+6jl
|
2630
|
-
gqispdNpQ80xiEmEU5LAsTkbOYMBMMTyqfrQA71yN2BWHzZ8vTmR9W0Nv3vXkg==
|
2631
|
-
-----END CERTIFICATE-----
|
2632
|
-
|
2633
2603
|
ANF Secure Server Root CA
|
2634
2604
|
=========================
|
2635
2605
|
-----BEGIN CERTIFICATE-----
|
@@ -3579,3 +3549,20 @@ wPfc5+pbrrLMtTWGS9DiP7bY+A4A7l3j941Y/8+LN+ljX273CXE2whJdV/LItM3z7gLfEdxquVeE
|
|
3579
3549
|
HVlNjM7IDiPCtyaaEBRx/pOyiriA8A4QntOoUAw3gi/q4Iqd4Sw5/7W0cwDk90imc6y/st53BIe0
|
3580
3550
|
o82bNSQ3+pCTE4FCxpgmdTdmQRCsu/WU48IxK63nI1bMNSWSs1A=
|
3581
3551
|
-----END CERTIFICATE-----
|
3552
|
+
|
3553
|
+
FIRMAPROFESIONAL CA ROOT-A WEB
|
3554
|
+
==============================
|
3555
|
+
-----BEGIN CERTIFICATE-----
|
3556
|
+
MIICejCCAgCgAwIBAgIQMZch7a+JQn81QYehZ1ZMbTAKBggqhkjOPQQDAzBuMQswCQYDVQQGEwJF
|
3557
|
+
UzEcMBoGA1UECgwTRmlybWFwcm9mZXNpb25hbCBTQTEYMBYGA1UEYQwPVkFURVMtQTYyNjM0MDY4
|
3558
|
+
MScwJQYDVQQDDB5GSVJNQVBST0ZFU0lPTkFMIENBIFJPT1QtQSBXRUIwHhcNMjIwNDA2MDkwMTM2
|
3559
|
+
WhcNNDcwMzMxMDkwMTM2WjBuMQswCQYDVQQGEwJFUzEcMBoGA1UECgwTRmlybWFwcm9mZXNpb25h
|
3560
|
+
bCBTQTEYMBYGA1UEYQwPVkFURVMtQTYyNjM0MDY4MScwJQYDVQQDDB5GSVJNQVBST0ZFU0lPTkFM
|
3561
|
+
IENBIFJPT1QtQSBXRUIwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARHU+osEaR3xyrq89Zfe9MEkVz6
|
3562
|
+
iMYiuYMQYneEMy3pA4jU4DP37XcsSmDq5G+tbbT4TIqk5B/K6k84Si6CcyvHZpsKjECcfIr28jlg
|
3563
|
+
st7L7Ljkb+qbXbdTkBgyVcUgt5SjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUk+FD
|
3564
|
+
Y1w8ndYn81LsF7Kpryz3dvgwHQYDVR0OBBYEFJPhQ2NcPJ3WJ/NS7Beyqa8s93b4MA4GA1UdDwEB
|
3565
|
+
/wQEAwIBBjAKBggqhkjOPQQDAwNoADBlAjAdfKR7w4l1M+E7qUW/Runpod3JIha3RxEL2Jq68cgL
|
3566
|
+
cFBTApFwhVmpHqTm6iMxoAACMQD94vizrxa5HnPEluPBMBnYfubDl94cT7iJLzPrSA8Z94dGXSaQ
|
3567
|
+
pYXFuXqUPoeovQA=
|
3568
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2024 [Ribose Inc](https://www.ribose.com).
|
4
|
+
# All rights reserved.
|
5
|
+
# This file is a part of tebako
|
6
|
+
#
|
7
|
+
# Redistribution and use in source and binary forms, with or without
|
8
|
+
# modification, are permitted provided that the following conditions
|
9
|
+
# are met:
|
10
|
+
# 1. Redistributions of source code must retain the above copyright
|
11
|
+
# notice, this list of conditions and the following disclaimer.
|
12
|
+
# 2. Redistributions in binary form must reproduce the above copyright
|
13
|
+
# notice, this list of conditions and the following disclaimer in the
|
14
|
+
# documentation and/or other materials provided with the distribution.
|
15
|
+
#
|
16
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
17
|
+
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
18
|
+
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
19
|
+
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
|
20
|
+
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
21
|
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
22
|
+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
23
|
+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
24
|
+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
25
|
+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
26
|
+
# POSSIBILITY OF SUCH DAMAGE.
|
27
|
+
|
28
|
+
module Sinatra
|
29
|
+
class Application
|
30
|
+
# Alias the original caller_files method to keep a reference to it
|
31
|
+
class << self
|
32
|
+
alias original_caller_files caller_files
|
33
|
+
|
34
|
+
def caller_files
|
35
|
+
# Call the original caller_files method to get the original array
|
36
|
+
original_list = original_caller_files
|
37
|
+
# Filter out entries ending with 'tebako-runtime'
|
38
|
+
original_list.reject { |file| file.end_with?("tebako-runtime.rb") }
|
39
|
+
end
|
40
|
+
end
|
41
|
+
# Overwrite :app_file setting after caller_files has been redefined
|
42
|
+
# originally defined as 'set :app_file, caller_files.first || $0' in Sinatra::Base
|
43
|
+
# so it does not necessarily point to 'tebak-runtime.rb'
|
44
|
+
set :app_file, caller_files.first if app_file.end_with?("tebako-runtime.rb")
|
45
|
+
end
|
46
|
+
end
|
data/lib/tebako-runtime.rb
CHANGED
@@ -47,7 +47,8 @@ module TebakoRuntime
|
|
47
47
|
"mn2pdf" => "tebako-runtime/adapters/mn2pdf",
|
48
48
|
"mnconvert" => "tebako-runtime/adapters/mnconvert",
|
49
49
|
"net/http" => "tebako-runtime/adapters/net-http",
|
50
|
-
"sassc" => "tebako-runtime/adapters/sassc"
|
50
|
+
"sassc" => "tebako-runtime/adapters/sassc",
|
51
|
+
"sinatra" => "tebako-runtime/adapters/sinatra"
|
51
52
|
}.freeze
|
52
53
|
|
53
54
|
def self.full_gem_path(gem)
|
data/tebako-runtime.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tebako-runtime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '2.4'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: sinatra
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '4.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '4.0'
|
139
153
|
description: |
|
140
154
|
Tebako (https://github.com/tamatebako/tebako) is an executable packager.
|
141
155
|
tebako-runtime gem implements adapters for Ruby gems that shall be aware
|
@@ -159,6 +173,7 @@ files:
|
|
159
173
|
- lib/tebako-runtime/adapters/mnconvert.rb
|
160
174
|
- lib/tebako-runtime/adapters/net-http.rb
|
161
175
|
- lib/tebako-runtime/adapters/sassc.rb
|
176
|
+
- lib/tebako-runtime/adapters/sinatra.rb
|
162
177
|
- lib/tebako-runtime/memfs.rb
|
163
178
|
- lib/tebako-runtime/pass-through/ffi-platform-stub.rb
|
164
179
|
- lib/tebako-runtime/pre/excavate.rb
|