biscotti 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/biscotti +3 -1
- data/lib/biscotti/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: f44624c0777a545bcf95e799fa405980b97ac0f4236a55f2404fed9a07c789f0
|
4
|
+
data.tar.gz: 4f6d08701391bfc253ec09970bf1a440406b56bb5832d8c58390be9d451cb0b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5cbf929b9af4be670e560b6a4bec6526988a20581cfd473d98dc64efa1fb091b122775b3d857e14af535c8bd06b1f957ab0a5d6131fcddc2398d6b4fe68882e
|
7
|
+
data.tar.gz: 9f775e74c66d368d946dff3f747c91287c70b67941f225d7f25989366105913eba31eee3961cf72a4786ff0ca5591665a16648472619181a97a0458434d85236
|
data/exe/biscotti
CHANGED
@@ -37,8 +37,10 @@ end.parse!
|
|
37
37
|
|
38
38
|
# raise 'File not processable' unless Biscotti::CLI.processable?
|
39
39
|
|
40
|
+
BISCOTTI_HOME = File.realpath(File.join(File.dirname(__FILE__), '..'))
|
41
|
+
|
40
42
|
begin
|
41
|
-
dictionary = Biscotti.load_dictionary(File.join(
|
43
|
+
dictionary = Biscotti.load_dictionary(File.join(BISCOTTI_HOME, 'data', 'biscotti', 'words.lst').freeze)
|
42
44
|
letters = ARGV.flat_map { |word| word.downcase.split('') }.sort.join
|
43
45
|
min_word_length = 2
|
44
46
|
|
data/lib/biscotti/version.rb
CHANGED