tanker-core 2.12.1 → 2.13.0.beta.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '047139a6b78b78125c38f98e06b6cd4444d3859e8612c6ab63d7da77619f9675'
|
4
|
+
data.tar.gz: c6adb30fe94011e16a0f2430c3fb8c8bd7cb41f60fea8a869b1fd70b5b7f0b24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '085a7d0c415bad892c23313b1c3ab6f613e2923db4ec981d68dd77d0e217e212a8d6fff19b33b8540dc0758071a7bc322b751b8fedf86127dc578d317f8298e1'
|
7
|
+
data.tar.gz: 8218f8bca18f10a7503ce2e3c47172d748a16e069e2149c390ea6f719ef1181b083adb9f69052c0cf9a9991c415a1eb558cac813419e4d764abe9dfb185233e8
|
data/lib/tanker/core/version.rb
CHANGED
data/lib/tanker/error.rb
CHANGED
@@ -29,6 +29,7 @@ module Tanker
|
|
29
29
|
DEVICE_REVOKED = 12
|
30
30
|
CONFLICT = 13
|
31
31
|
UPGRADE_REQUIRED = 14
|
32
|
+
IDENTITY_ALREADY_ATTACHED = 15
|
32
33
|
|
33
34
|
# Error subclasses
|
34
35
|
class InvalidArgument < self; end
|
@@ -45,6 +46,7 @@ module Tanker
|
|
45
46
|
class DeviceRevoked < self; end
|
46
47
|
class Conflict < self; end
|
47
48
|
class UpgradeRequired < self; end
|
49
|
+
class IdentityAlreadyAttached < self; end
|
48
50
|
|
49
51
|
class << self
|
50
52
|
ERROR_CODE_TO_CLASS = {
|
@@ -61,7 +63,8 @@ module Tanker
|
|
61
63
|
IO_ERROR => IOError,
|
62
64
|
DEVICE_REVOKED => DeviceRevoked,
|
63
65
|
CONFLICT => Conflict,
|
64
|
-
UPGRADE_REQUIRED => UpgradeRequired
|
66
|
+
UPGRADE_REQUIRED => UpgradeRequired,
|
67
|
+
IDENTITY_ALREADY_ATTACHED => IdentityAlreadyAttached
|
65
68
|
}.freeze
|
66
69
|
|
67
70
|
private_constant :ERROR_CODE_TO_CLASS
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tanker-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.13.0.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanker team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -186,9 +186,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: 2.6.0
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
188
|
requirements:
|
189
|
-
- - "
|
189
|
+
- - ">"
|
190
190
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
191
|
+
version: 1.3.1
|
192
192
|
requirements: []
|
193
193
|
rubygems_version: 3.0.3
|
194
194
|
signing_key:
|