enveloperb 0.1.2 → 0.1.5.4.g10f5d39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -13
- data/enveloperb.gemspec +6 -6
- data/ext/enveloperb/.gitignore +4 -0
- data/ext/enveloperb/Cargo.lock +1732 -0
- data/{Cargo.toml → ext/enveloperb/Cargo.toml} +2 -2
- data/ext/enveloperb/extconf.rb +4 -0
- data/{src → ext/enveloperb/src}/lib.rs +0 -0
- data/lib/enveloperb.rb +11 -3
- metadata +45 -35
- data/ext/Rakefile +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70e76ac1e9f28705d9fb9bd2f698274accdbc51c1a4999805fe7c64214e483ff
|
4
|
+
data.tar.gz: c1636ad706828521225ab23229cdd758f8111f64dcac26f534267f72686b6716
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efe180330d12690e7cb56147c5298b80025aaeca2c763e326b72ce90b07d74c0776bb7d2796c2550a7f6558027be2878aa1cc76b5649f2e78985e7ea1a44f36d
|
7
|
+
data.tar.gz: 5371fad16834f417902174e94bb1941e5486f00a3b1be7c89040e4f9411c415a4bbf6010ccb826f4b500cd334160fe70ea6e7f8b28bff7240d2ca84b5995f101
|
data/README.md
CHANGED
@@ -19,24 +19,22 @@ Except for testing purposes, it is not common to use envelope encryption in situ
|
|
19
19
|
|
20
20
|
# Installation
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
For the most common platforms, we provide "native" gems (which have the shared object that provides the cryptographic primitives pre-compiled).
|
23
|
+
At present, we provide native gems for:
|
24
24
|
|
25
|
-
|
25
|
+
* Linux `x86_64` and `aarch64`
|
26
|
+
* macOS `x86_64` and `arm64`
|
26
27
|
|
27
|
-
|
28
|
+
On these platforms, you can just install the `enveloperb` gem via your preferred method, and it should "just work".
|
29
|
+
If it doesn't, please [report that as a bug](https://github.com/cipherstash/enveloperb/issues).
|
28
30
|
|
29
|
-
|
31
|
+
For other platforms, you will need to install the source gem, which requires that you have Rust 1.57.0 or later installed.
|
32
|
+
On ARM-based platforms, you must use Rust nightly, for SIMD intrinsics support.
|
30
33
|
|
31
|
-
|
34
|
+
## Installing from Git
|
32
35
|
|
33
|
-
If you
|
34
|
-
|
35
|
-
bundle install
|
36
|
-
rake install
|
37
|
-
|
38
|
-
Or, if you've eschewed the convenience of Rubygems entirely, then you
|
39
|
-
presumably know what to do already.
|
36
|
+
If you have a burning need to install directly from a checkout of the git repository, you can do so by running `bundle install && rake install`.
|
37
|
+
As this is a source-based installation, you will need to have Rust installed, as described above.
|
40
38
|
|
41
39
|
|
42
40
|
# Usage
|
data/enveloperb.gemspec
CHANGED
@@ -7,7 +7,7 @@ end
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "enveloperb"
|
9
9
|
|
10
|
-
s.version = GVB.version rescue "0.0.0.1.NOGVB"
|
10
|
+
s.version = ENV.fetch("GVB_VERSION_OVERRIDE") { GVB.version rescue "0.0.0.1.NOGVB" }
|
11
11
|
s.date = GVB.date rescue Time.now.strftime("%Y-%m-%d")
|
12
12
|
|
13
13
|
s.platform = Gem::Platform::RUBY
|
@@ -20,18 +20,18 @@ Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
s.files = `git ls-files -z`.split("\0").reject { |f| f =~ /^(\.|G|spec|Rakefile)/ }
|
22
22
|
|
23
|
-
s.extensions = ["ext/
|
23
|
+
s.extensions = ["ext/enveloperb/extconf.rb"]
|
24
24
|
|
25
25
|
s.required_ruby_version = ">= 2.7.0"
|
26
26
|
|
27
|
-
s.add_runtime_dependency "rutie", "~> 0.0.4"
|
28
|
-
|
29
27
|
s.add_development_dependency 'bundler'
|
30
|
-
s.add_development_dependency 'gem-compiler'
|
31
28
|
s.add_development_dependency 'github-release'
|
32
29
|
s.add_development_dependency 'guard-rspec'
|
33
|
-
s.add_development_dependency 'rake', '~>
|
30
|
+
s.add_development_dependency 'rake', '~> 13.0'
|
31
|
+
s.add_development_dependency 'rake-compiler', '~> 1.2'
|
32
|
+
s.add_development_dependency 'rake-compiler-dock', '~> 1.2'
|
34
33
|
s.add_development_dependency 'rb-inotify', '~> 0.9'
|
34
|
+
s.add_development_dependency 'rb_sys', '~> 0.1'
|
35
35
|
s.add_development_dependency 'redcarpet'
|
36
36
|
s.add_development_dependency 'rspec'
|
37
37
|
s.add_development_dependency 'simplecov'
|