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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17be699093098399339947f5a8d0df3d5ff20fdb8186cfc9bd92fa1c3aa330d2
4
- data.tar.gz: e7b919f59bf5a491bfa9d4f166753f374a94a33a5023275e5d6d35549a0d1e58
3
+ metadata.gz: c806c3bea86dc03a9a4ab1180bb4904ab452db972683343bef5f049044feda45
4
+ data.tar.gz: 28fb5b390cc3e231be4fea6c19f7eced9140ab0b9622e8f1e2efd506e8351b8c
5
5
  SHA512:
6
- metadata.gz: fde3754bfdb500ef9607827f14927ab0e0d678f70ee30398b238d56ba07729d27c967ab890c0b933432898cf8577e6ed3e642ed1ec442a85020c11d54f6d0b0f
7
- data.tar.gz: 83880b13c6eeea494d7b85d5a73fe01cba9834156eb5d5d3a51d5cc9f7030a069e312eb98d3ab017861c67b818fcc9d1abe83de3bfb0850e3ddb520df4e80e07
6
+ metadata.gz: b0cacc87a69e46464706d05b402a28d0a1fe6d7bcc2daa8e4c27fc6ef871cd18e0cbd062d8584eb84924a720d3a21db4b68a16a7c41307003cb8233954b37a10
7
+ data.tar.gz: 914f4a31212fecede128a68f602b777e16128dcd4305de2319fd80a0b6c1c782b20902cbf7b43d534df47782a3a43a29ce4915c5e6961a4a45c0c510db0da3d1
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "erb"
4
+ require "fileutils"
4
5
  require_relative "helpers/string"
5
6
 
6
7
  # Responsible for generating Swift source and test files.
@@ -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 { (offset, element) in
14
+ return String(decoding: encoded.enumerated().map { offset, element in
15
15
  element ^ cipher[offset % cipher.count]
16
16
  }, as: UTF8.self)
17
17
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Arkana
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arkana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Oba