enveloperb 0.1.2-x86_64-linux → 0.1.5.5.g57e2576-x86_64-linux

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e91c3431752cf11579e997eab0cf22f781270083365185c3650261c2692844fb
4
- data.tar.gz: aa6bc449d349dd533ef4d3ae1e1f66a4ea37e7f9400cdac5405f75b80efbef91
3
+ metadata.gz: d40bc97fd5e1fd24fd93b69187ddb6f44e4916e38850812b8f5d309a09d1b67c
4
+ data.tar.gz: '08a5c83c84982b95c36da9c4d54c18898ac8a98d89211ddc237b448cb1cbf296'
5
5
  SHA512:
6
- metadata.gz: 8e49f7e046080b0c766d13ab0f5616af5305ac008a092ef6112146a925b0cd888aa0b5915dbe199d9aa0d25d6342432ac4e4a5d44cfd5396778d12218bb4c095
7
- data.tar.gz: ea9826c9e2b125c4f599ce2c21b50a1ad47ca2d2506d9606a796440d9036c6dde141be9341e1772b09ac9d03ad35e3ee455bf6d79fe047e53cb3433ffd93b7b4
6
+ metadata.gz: 59251ca3bdece77c864d5eae2dd2b29db0d39657029de904f3c65d41f8102ba66ded6d9fe2427d97977fde19916ab8937ccdb7731af7adcef4ea97ca9afb68db
7
+ data.tar.gz: cce76b3fe8e8bd12e1606299c55f16ce89682c725e2a17e06120cc9eace4b1e609c8ba0779cec5db3e1c21e7c58fd88021884d7958c37710c0aeab4f52a82ab6
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
- In order to build the `enveloperb` gem, you must have Rust 1.31.0 or later installed.
23
- On an ARM-based platform, you must use Rust nightly, for SIMD intrinsics support.
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
- With that available, you should be able to install it like any other gem:
25
+ * Linux `x86_64` and `aarch64`
26
+ * macOS `x86_64` and `arm64`
26
27
 
27
- gem install enveloperb
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
- There's also the wonders of [the Gemfile](http://bundler.io):
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
- gem 'enveloperb'
34
+ ## Installing from Git
32
35
 
33
- If you're the sturdy type that likes to run from git:
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/Rakefile"]
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', '~> 10.4', '>= 10.4.2'
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'
@@ -0,0 +1,4 @@
1
+ /target
2
+ # Cargo.lock is deliberately *not* ignored; despite *technically* being a
3
+ # library package, it is not a Rust library that is built into other projects,
4
+ # but rather a standalone binary object that should be built reproducibly.