arkana 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arkana/swift_code_generator.rb +1 -0
- data/lib/arkana/templates/arkana.swift.erb +1 -1
- data/lib/arkana/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c806c3bea86dc03a9a4ab1180bb4904ab452db972683343bef5f049044feda45
|
4
|
+
data.tar.gz: 28fb5b390cc3e231be4fea6c19f7eced9140ab0b9622e8f1e2efd506e8351b8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0cacc87a69e46464706d05b402a28d0a1fe6d7bcc2daa8e4c27fc6ef871cd18e0cbd062d8584eb84924a720d3a21db4b68a16a7c41307003cb8233954b37a10
|
7
|
+
data.tar.gz: 914f4a31212fecede128a68f602b777e16128dcd4305de2319fd80a0b6c1c782b20902cbf7b43d534df47782a3a43a29ce4915c5e6961a4a45c0c510db0da3d1
|
@@ -11,7 +11,7 @@ public enum <%= @namespace %> {
|
|
11
11
|
]
|
12
12
|
|
13
13
|
static func decode(encoded: [UInt8], cipher: [UInt8]) -> String {
|
14
|
-
return String(decoding: encoded.enumerated().map {
|
14
|
+
return String(decoding: encoded.enumerated().map { offset, element in
|
15
15
|
element ^ cipher[offset % cipher.count]
|
16
16
|
}, as: UTF8.self)
|
17
17
|
}
|
data/lib/arkana/version.rb
CHANGED