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.
@@ -6,12 +6,12 @@ edition = "2021"
6
6
  [dependencies]
7
7
  enveloper = { git = "https://github.com/cipherstash/enveloper", branch = "main" }
8
8
  lazy_static = "^0.2.2"
9
- rutie = "0.8.4"
9
+ rb-sys = "0.8.0"
10
+ rutie = { git = "https://github.com/mpalmer/rutie", branch = "rb_sys" }
10
11
  tokio = { version = "^1.17.0", features = [ "rt-multi-thread" ] }
11
12
  aws-config = "0.10.1"
12
13
  aws-sdk-kms = "0.10.1"
13
14
  aws-types = { version = "0.10.1", features = [ "hardcoded-credentials" ] }
14
15
 
15
16
  [lib]
16
- name = "enveloperb"
17
17
  crate-type = ["cdylib"]
@@ -0,0 +1,4 @@
1
+ require "mkmf"
2
+ require "rb_sys/mkmf"
3
+
4
+ create_rust_makefile("enveloperb/enveloperb")
File without changes
Binary file
Binary file
Binary file
data/lib/enveloperb.rb CHANGED
@@ -1,7 +1,15 @@
1
- require "rutie"
2
-
3
1
  module Enveloperb
4
- Rutie.new(:enveloperb).init 'Init_enveloperb', __dir__
2
+ end
3
+
4
+ begin
5
+ RUBY_VERSION =~ /(\d+\.\d+)/
6
+ require_relative "./#{RUBY_VERSION}/enveloperb"
7
+ rescue LoadError
8
+ begin
9
+ require_relative "./enveloperb.#{RbConfig::CONFIG["DLEXT"]}"
10
+ rescue LoadError
11
+ raise LoadError, "Failed to load enveloperb.#{RbConfig::CONFIG["DLEXT"]}; either it hasn't been built, or was built incorrectly for your system"
12
+ end
5
13
  end
6
14
 
7
15
  require_relative "./enveloperb/encrypted_record"
metadata CHANGED
@@ -1,31 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enveloperb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.5.4.g10f5d39
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Matt Palmer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-29 00:00:00.000000000 Z
11
+ date: 2022-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rutie
14
+ name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.4
20
- type: :runtime
19
+ version: '0'
20
+ type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.0.4
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: github-release
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: gem-compiler
42
+ name: guard-rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,53 +53,47 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: github-release
56
+ name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '13.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '13.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: guard-rspec
70
+ name: rake-compiler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '1.2'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '1.2'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rake
84
+ name: rake-compiler-dock
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '10.4'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 10.4.2
89
+ version: '1.2'
93
90
  type: :development
94
91
  prerelease: false
95
92
  version_requirements: !ruby/object:Gem::Requirement
96
93
  requirements:
97
94
  - - "~>"
98
95
  - !ruby/object:Gem::Version
99
- version: '10.4'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 10.4.2
96
+ version: '1.2'
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: rb-inotify
105
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,6 +108,20 @@ dependencies:
114
108
  - - "~>"
115
109
  - !ruby/object:Gem::Version
116
110
  version: '0.9'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rb_sys
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.1'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.1'
117
125
  - !ruby/object:Gem::Dependency
118
126
  name: redcarpet
119
127
  requirement: !ruby/object:Gem::Requirement
@@ -170,7 +178,7 @@ dependencies:
170
178
  - - ">="
171
179
  - !ruby/object:Gem::Version
172
180
  version: '0'
173
- description:
181
+ description:
174
182
  email:
175
183
  - matt@cipherstash.com
176
184
  executables: []
@@ -179,45 +187,44 @@ extra_rdoc_files: []
179
187
  files:
180
188
  - CODE_OF_CONDUCT.md
181
189
  - CONTRIBUTING.md
182
- - Cargo.toml
183
190
  - LICENCE
184
191
  - README.md
185
192
  - enveloperb.gemspec
186
- - ext/Rakefile
193
+ - ext/enveloperb/.gitignore
194
+ - ext/enveloperb/Cargo.lock
195
+ - ext/enveloperb/Cargo.toml
196
+ - ext/enveloperb/extconf.rb
197
+ - ext/enveloperb/src/lib.rs
198
+ - lib/2.7/enveloperb.so
199
+ - lib/3.0/enveloperb.so
200
+ - lib/3.1/enveloperb.so
187
201
  - lib/enveloperb.rb
188
202
  - lib/enveloperb/awskms.rb
189
203
  - lib/enveloperb/encrypted_record.rb
190
204
  - lib/enveloperb/simple.rb
191
- - src/lib.rs
192
- - target/release/deps/libasync_trait-d616c5275efb3885.so
193
- - target/release/deps/libenveloperb.so
194
- - target/release/deps/libfutures_macro-0f8ad5ae6e34b161.so
195
- - target/release/deps/libpin_project_internal-ef8d149cf28b24bc.so
196
- - target/release/deps/libserde_derive-3653e4229ae528ef.so
197
- - target/release/deps/libthiserror_impl-c49e7233e0f6f247.so
198
- - target/release/deps/libtracing_attributes-ae844bddcb3f978b.so
199
- - target/release/libenveloperb.so
200
205
  homepage: https://github.com/cipherstash/enveloperb
201
206
  licenses: []
202
207
  metadata: {}
203
- post_install_message:
208
+ post_install_message:
204
209
  rdoc_options: []
205
210
  require_paths:
206
211
  - lib
207
- - target
208
212
  required_ruby_version: !ruby/object:Gem::Requirement
209
213
  requirements:
210
- - - "~>"
214
+ - - ">="
211
215
  - !ruby/object:Gem::Version
212
- version: 2.7.0
216
+ version: '2.7'
217
+ - - "<"
218
+ - !ruby/object:Gem::Version
219
+ version: 3.2.dev
213
220
  required_rubygems_version: !ruby/object:Gem::Requirement
214
221
  requirements:
215
- - - ">="
222
+ - - ">"
216
223
  - !ruby/object:Gem::Version
217
- version: '0'
224
+ version: 1.3.1
218
225
  requirements: []
219
- rubygems_version: 3.1.6
220
- signing_key:
226
+ rubygems_version: 3.4.0.dev
227
+ signing_key:
221
228
  specification_version: 4
222
229
  summary: Ruby bindings for the envelopers envelope encryption library
223
230
  test_files: []
data/ext/Rakefile DELETED
@@ -1,5 +0,0 @@
1
- task :build do
2
- sh "cargo build --release"
3
- end
4
-
5
- task default: :build
Binary file
Binary file