enveloperb 0.1.1-x86_64-linux → 0.1.5.4.g10f5d39-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4f932ea12ebccb95c6b8601b0d2b591f93d96d130875ff0dd591c0b57bb7625
4
- data.tar.gz: fbb0f33c208e4d7833bb56bdb588ff1cda2ab31fb0cbfa353a425cf65ea67b75
3
+ metadata.gz: 59985fa8af6a24c48727e53f946fa8bab0ea659b3476b97ea3d12bfd8c5bf0ae
4
+ data.tar.gz: 8a36dfa781472dba473b796fa44629170a5a4cd225fbe484f27334ab169213a2
5
5
  SHA512:
6
- metadata.gz: 658d5e29362a9851ea19e18e4bd85a8db575f179773ca049c47019a553ea282c18286ea82c8a5d9ea5a770dc55de5009accdca4f2323e6b1fd06ddaec0b3783d
7
- data.tar.gz: bd513bb5dff014a515de8884673d72b0dc5a7196490c4ce20b68e0452925bece40d983f0d4dcf46d9e6934c510606031247c038e570904073431c7d1b495ac6c
6
+ metadata.gz: 56690aee9027615b1f6092153ec11915c7f285fb043b21e2dc27c10b7f943103ee6fdbb02fbb16f5fc77fbf89b04750690284976760dd361448b0d8bf8687719
7
+ data.tar.gz: 789c300ec3d135fbd5d58abc7c738b4343b0da601f5b11cf3e75610505b9e52a4a94bc3acbf23109817927f93f22338772461ecb60fb25005ca24e457577fe18
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,19 +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"]
24
- s.require_paths = ["lib", "target"]
23
+ s.extensions = ["ext/enveloperb/extconf.rb"]
25
24
 
26
25
  s.required_ruby_version = ">= 2.7.0"
27
26
 
28
- s.add_runtime_dependency "rutie", "~> 0.0.4"
29
-
30
27
  s.add_development_dependency 'bundler'
31
- s.add_development_dependency 'gem-compiler'
32
28
  s.add_development_dependency 'github-release'
33
29
  s.add_development_dependency 'guard-rspec'
34
- 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'
35
33
  s.add_development_dependency 'rb-inotify', '~> 0.9'
34
+ s.add_development_dependency 'rb_sys', '~> 0.1'
36
35
  s.add_development_dependency 'redcarpet'
37
36
  s.add_development_dependency 'rspec'
38
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.