Fetching contributors…
Cannot retrieve contributors at this time
65 lines (38 sloc) 2.56 KB

Version 0.7.0

  • hanke: Added “Go back” as an alias for “Thanks, James”. (Better recognition)
  • hanke: James now starts in the away state. So an “Are you there, James?” or “James?” is needed to get him to the attentive state where he answers questions etc.

Version 0.6.0

  • hanke: Added preference .james file. Currently, it supports one option, voice, e.g. the file could contain voice: "com.acapelagroup.AGix.voice.Peter22k_HQ". The preferences are handled in this order:
  • Options in file .james
  • Options in file ~/.james
  • Default options

Version 0.5.0

  • hanke: Removed Gemspec platform specification.

Version 0.4.0

  • hanke: In-state transitions defined using hear 'Some Phrase' => ->(){ "I will be spoken on hearing 'Some Phrase'" } will speak the returned text out loud.
  • hanke: Audio output waits for a sentence to be finished until the next is spoken.

Version 0.3.0

  • hanke: Renamed James.use_dialogJames.dialog, since it is clear what it does.

Version 0.2.0

  • hanke: Rewrite of internals. Complex dialogs or injecting your own core (starting) dialog now possible.
  • hanke: States now accessible from dialog through instance method. E.g. state.welcome exists if a state :welcome do ... has been defined.

Version 0.1.1

  • hanke: james command line includes options -s (silent input/output), -si (silent input) and -so (silent output). -s is equal to -si -so.

Version 0.1.0

  • hanke: API breakage, James.dialogJames.dialog.
  • hanke: Command line james now takes file names (or patterns, like james time_dialog.rb or james {time,twitter}*.rb)
  • hanke: James.listen can only be called once. So if you use ruby to run a dialog, it needs to be called once at the end of the script.
  • hanke: Added James.use. It takes any number of James::Dialog instances to use when listening.

Version 0.0.12

  • hanke: hear 'Stay in same state' => ->(){ "This block will now be instance eval'd in the context of the Dialog" }

Version 0.0.11

  • hanke: Bugfix on missing state handling.

Version 0.0.8 – 0.0.10

  • hanke: Reordered dialog options such that the most important ones, currently, are on top.

Version 0.0.7

  • hanke: hear method of state now also takes as target a ->(){} lambda to execute without going to another state like 'phrase' => :another_state. It stays in the same state.

Version 0.0.6

  • hanke: Dialogs implemented.
  • hanke: Dialogs are hooked up to a central control dialog.

Version 0.0.1-0.0.5

  • hanke: James steps out of the cave. Utters an “Ugh”. Then, pees on a berry bush.