evervault 1.3.0 → 1.3.1

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: d119a5f6ffe3fc73260463bcd365a93ae7b0c43543d1e5aadb29ee6cd3efe33d
4
- data.tar.gz: 11ff4779974a332d1d5827d75c2abfad9bcbb0eaded80d0a96e3398717a8c4e5
3
+ metadata.gz: 291427781e97ac0ab65b8613c8e0f5255244c72ec826fb7cb0dc787c0931624f
4
+ data.tar.gz: bc8bae94e62c9ffb65bb81bd14e1d3bc576c6f083e37c4f23bb6a0bf20ef1d4b
5
5
  SHA512:
6
- metadata.gz: 4bccf2dc5282f8a13bbf6a23a5b3d5c526d5d484d3ccd5304d9d58abb06803d7064902e098b6ca09c8967fceb085ea335c8b355ca6e8a5344e21f0524f1be76d
7
- data.tar.gz: a9651858faf3ab62acdc268b0dfd6e3b8220fb52373890c2def502758619e50003f3aa1a6847601508d98296299166ad80f025243140c0eaad63e4262281b9a0
6
+ metadata.gz: 913ed8d651d680952deff0d635f4b3fc304b1154100093b7f8c40a8314fbcbfae4a1a5b1ae575cbc4e01f144917adf989601b45d81544835c9d28344ea66cac6
7
+ data.tar.gz: 658289523da203f6b7cac915bc410efe6e107b736badf548367bc05183c89dd3a2c0d7f168f14842bc298b833bfd831efe0ae3bfebbc43821c52607f37d8deff
@@ -1,4 +1,4 @@
1
1
  module Evervault
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  EV_VERSION = {"prime256v1" => "NOC", "secp256k1" => "DUB"}
4
4
  end
data/lib/evervault.rb CHANGED
@@ -6,8 +6,20 @@ module Evervault
6
6
  class << self
7
7
  attr_accessor :api_key
8
8
 
9
- def method_missing(method, *args, &block)
10
- client.send(method, *args, &block)
9
+ def encrypt(data)
10
+ client.encrypt(data)
11
+ end
12
+
13
+ def run(function_name, encrypted_data, options = {})
14
+ client.run(function_name, encrypted_data, options)
15
+ end
16
+
17
+ def enable_outbound_relay(decryption_domains = nil)
18
+ client.enable_outbound_relay(decryption_domains)
19
+ end
20
+
21
+ def create_run_token(function_name, data = {})
22
+ client.create_run_token(function_name, data)
11
23
  end
12
24
 
13
25
  private def client
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evervault
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonny O'Mahony
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-21 00:00:00.000000000 Z
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: