rules_ai 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rules_ai.rb +1 -1
- data/lib/rules_ai/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: 82b6efea2a8e4ddbe8bf904580c8bfc8c6fa7719fdcd0b195f3616ab5e5211a4
|
4
|
+
data.tar.gz: 057076d3cc3ee83a91c5ab4921128397148267580d294b0bc6cf85c063f575bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d33696a4d1585a8cf3d6a658110152129b216ce6a79dc55897643d84adc6a9abaabe9856f93f70418dc22bb49d6dfec20b160de6b9fa1ef04479a054852fba4e
|
7
|
+
data.tar.gz: 72f603f10991754d0b474e92a8ef0a49f4a246cf5c6e937bcb9fdeb1be6a04e791cb69c285c1a424f1731e90929860b93adedf1012a211472893020fa808b4c1
|
data/lib/rules_ai.rb
CHANGED
@@ -84,7 +84,7 @@ module RulesAi
|
|
84
84
|
alph = File.read("keyset/alph.txt").strip
|
85
85
|
beta = File.read("keyset/beta.txt").strip
|
86
86
|
|
87
|
-
input = File.read("documents/plaintext.txt").to_s.
|
87
|
+
input = File.read("documents/plaintext.txt").to_s.downcase
|
88
88
|
|
89
89
|
ciphertext = input.tr alph, beta
|
90
90
|
|
data/lib/rules_ai/version.rb
CHANGED