From c601b9d9679ad40aa4a28f807f528a77000cf422 Mon Sep 17 00:00:00 2001 From: Cody Cutrer Date: Mon, 17 Jul 2023 15:12:24 -0600 Subject: [PATCH] update USAGE.md to reflect looser default version requirements closes #84 Signed-off-by: Cody Cutrer --- USAGE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/USAGE.md b/USAGE.md index 75da671625..66d95af472 100644 --- a/USAGE.md +++ b/USAGE.md @@ -112,7 +112,7 @@ Additional [example rules are available](docs/examples.md), as well as examples Create a file called `jruby.cfg` in `/services/` with the following content: ```ini - org.openhab.automation.jrubyscripting:gems=openhab-scripting=~>5.0.0 + org.openhab.automation.jrubyscripting:gems=openhab-scripting=~>5.0 org.openhab.automation.jrubyscripting:require=openhab/dsl ``` @@ -129,7 +129,7 @@ Simply change the `gems` and `require` configuration settings. | Parameter | Description | | --------------------- | ---------------------------------------------------------------------------------------------------------- | | `gem_home` | The path to store Ruby Gems.

Default: `$OPENHAB_CONF/automation/ruby/.gem/{RUBY_ENGINE_VERSION}` | -| `gems` | A list of gems to install.

Default: `openhab-scripting=~>5.0.0` | +| `gems` | A list of gems to install.

Default: `openhab-scripting=~>5.0` | | `check_update` | Check for updated version of `gems` on start up or settings change.

Default: `true` | | `require` | List of scripts to be required automatically.

Default: `openhab/dsl` | | `rubylib` | Search path for user libraries.

Default: `$OPENHAB_CONF/automation/ruby/lib` |