biscotti 0.1.0 → 0.1.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: fe1270f42b37f00130315eb3b7aea35608bcc862e9f328e77ed07a5cbbccbaa8
4
- data.tar.gz: 3e1202692acf991c6698d3db421c2e76bf68f5f21552a5adc5561d2ff26c26f9
3
+ metadata.gz: 132ea424b74fe3954d451c9413b48c7ba5599b4189ebd462d277d03c7ddb5725
4
+ data.tar.gz: 35e44fd8460ece425cf83fb88fa68039289e07ae2341f5318eaf6436d3101a3f
5
5
  SHA512:
6
- metadata.gz: b44244b2991765dd12880068ba5d86635a9d5ac28909731ffc9e8f55ba9e3caa933a94193b19439a24243af76483f5996cc666ca52bd9254ef7cc428937866b0
7
- data.tar.gz: 3628d262b6fc7080dd202c3558831d0e02b11ac8cbda3becece537931871aa4778434a39cff5ee82cc78f9233a8987c35d174108fd84f032bdffd4aaccaa1529
6
+ metadata.gz: a1b637d6d45cda9c731924684bcb2edf079cbf3f27fc3fc63892576af001df755510cc6421212cd527cb2733c122fab676e7bb1d21098a73201b787a57150374
7
+ data.tar.gz: c7917d344b253f9f5031d922f2e05ba3cdd0a3682c929341974c567e7af6e1699be7bc1d9b0f09359d3f6d0179f9affbddcf90f609a9f5bfa91c6412f8764d6e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- biscotti (0.1.0)
4
+ biscotti (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/exe/biscotti CHANGED
@@ -7,6 +7,8 @@ Signal.trap('TERM') { exit(143) }
7
7
 
8
8
  require 'bundler/setup'
9
9
 
10
+ $LOAD_PATH.unshift("#{__dir__}/../lib")
11
+
10
12
  require 'biscotti'
11
13
  require 'biscotti/cli'
12
14
 
@@ -24,6 +26,8 @@ OptionParser.new do |opts|
24
26
  # TODO: Minimum character count
25
27
  # TODO: Provide a custom dictionary
26
28
  # TODO: Output as a grouped list by word length
29
+ # TODO: Verbose mode to emit more than just the list
30
+ # TODO: Alternative formats mode: JSON, Yaml, Text (default)
27
31
 
28
32
  opts.on_tail('-h', '--help', 'Show this message') do
29
33
  warn(opts)
data/lib/biscotti.rb CHANGED
@@ -24,7 +24,7 @@ module Biscotti
24
24
  end
25
25
 
26
26
  def find_words(input, min_word_length: 2, dictionary: [])
27
- puts "#{dictionary.count} words in dictionary"
27
+ # puts "#{dictionary.count} words in dictionary"
28
28
 
29
29
  letters = input.split('').sort
30
30
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Biscotti
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biscotti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Hall