mruby_utils 1.2.0 → 1.3.0
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 +4 -4
- data/lib/mruby_utils/build_helpers.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cad5a2807ae3d8d92c4332e79527773490306d9a9281e869287c6ed2d9a1788
|
4
|
+
data.tar.gz: 4716a02a8edc836a4cf21b5e2e8cebbc2288f7a7298a52a3e5d183ebc6e7e1ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fce298c4ac03a3252e75f2bf18a15138efa7b33a1e827ccdc13fcbdf247a923f585139dd5f3693fe3d45a7c1f5b4341e8925f7e333a7ef537c47ee7f0f7c0b1
|
7
|
+
data.tar.gz: 5668b1d024b7a3ba81a8a90550012d6aed5f7524a6ef271e17bf5a82da23ea6fe009bafbc566107293c1fc636554f0b3796f6f11b31b4737b9bac4963428b64c
|
@@ -67,7 +67,9 @@ module MRuby
|
|
67
67
|
# Defaults to: true
|
68
68
|
# @param [ Boolean ] tiny Build with tiny ssh support for sftp
|
69
69
|
# Defaults to: false
|
70
|
-
|
70
|
+
# @param [ Boolean ] debug Build with debug flag and enable tracing
|
71
|
+
# Defaults to: false
|
72
|
+
def configure_libssh2(openssl: false, threading: false, zlib: true, tiny: false, debug: false)
|
71
73
|
linker.libraries << 'crypto' if openssl
|
72
74
|
|
73
75
|
[cc, cxx].each do |cc|
|
@@ -75,6 +77,7 @@ module MRuby
|
|
75
77
|
cc.defines += %w[LIBSSH2_HAVE_ZLIB ZLIB_STATIC HAVE_UNISTD_H] if zlib
|
76
78
|
cc.defines += %w[MRB_SSH_LINK_CRYPTO LIBSSH2_OPENSSL] if openssl
|
77
79
|
cc.defines += %w[MBEDTLS_THREADING_PTHREAD MBEDTLS_THREADING_C] if threading
|
80
|
+
cc.defines += %w[LIBSSH2DEBUG MRB_SSH_DEBUG] if debug
|
78
81
|
end
|
79
82
|
end
|
80
83
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mruby_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastián Katzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
|
-
rubygems_version: 3.0.
|
90
|
+
rubygems_version: 3.0.4
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Utilities for developing mruby projects
|