Bill Niblock
54f23625a8
sapling.rb: Fix argument passing
...
Accidentially moved the debug argument to the Gardner invokation,
instead of leaving with the Dialogue invokation.
2017-10-19 00:21:03 -04:00
Bill Niblock
8700f307a7
sapling.rb: Rubocop and refactor updates
...
- Fix several rubocop violations
- Update functionality to account for gardner refactor
2017-10-18 23:46:00 -04:00
Bill Niblock
7a7f06485f
sapling.rb: Update for gemspec
...
- Modify required gems in accordance with re-org
- Fix minor logic bug for 'read' command
- Remove start command; placed into executable in bin/
2017-10-14 22:34:21 -04:00
Bill Niblock
4e2432ac66
Re-org...again... for gemspec
2017-10-14 22:33:21 -04:00
Bill Nibz
ca5ddf7baf
Re-organization
2017-10-14 15:14:41 -04:00
Bill Niblock
4c726b079d
sapling.rb: Modify start options
...
- Reduce some LOC by moving some assignments into the initialize functions of
both Dialogue and Planter
2017-05-13 19:42:42 -04:00
Bill Niblock
252ad93d5e
sapling/utility.rb: Minor style refactoring
2017-05-07 23:43:35 -04:00
Bill Niblock
4570ee37e6
sapling.rb: Multiple fixes
...
- Add logic for Planter, the editor module
- Add logic for catching a bad switch, and reporting accordingly
- Add logic for when no tree is included when required, and reporting
accordingly
- Move YAML file loading from Dialogue/Gardner to here
2017-05-07 16:51:00 -04:00
Bill Niblock
36c9f0d3ca
Abstract sapling modules into individual modules
...
- module gardner -> lib/sapling/gardner.rb
- module dialogue -> lib/sapling/dialogue.rb
- module planter -> lib/sapling/planter.rb
- remove duplicate code from lib/sapling.rb
2017-05-07 12:59:36 -04:00
Bill Niblock
c729916f9d
Start using Yard
...
- Add yard to Gemfile
- Configure .yardopts to pull in proper files
- Update custom docs to include yard metadata
2017-05-06 17:34:19 -04:00
Bill Niblock
593b45ce14
lib/sapling.rb: Improve branch handling
...
- Show viable options in prompt.
- If a user does not select a viable option, inform them, and prompt again.
- Allow for terimnal branches. A terminal branch has no options. More details in
the Configuration File documentation.
2017-05-06 14:38:53 -04:00
Bill Niblock
7a9a401fad
sapling.rb: A dialogue tree utility
2017-05-06 03:57:28 -04:00