Skip to content

Commit

Permalink
feat(php_version): specify PHP version for Moodle 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreyvanwyk committed Aug 19, 2024
1 parent b7d085e commit df3a81c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace: geoffreyvanwyk
name: moodle

# The version of the collection. Must be compatible with semantic versioning
version: 1.1.0
version: 1.2.0

# The path to the Markdown (.md) readme file. This path is relative to the root
# of the collection
Expand Down
3 changes: 2 additions & 1 deletion plugins/lookup/php_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
- The Moodle version for which to retrieve the PHP version.
type: str
required: true
choices: ['3.9', '3.10', '3.11', '4.0', '4.1', '4.2', '4.3']
choices: ['3.9', '3.10', '3.11', '4.0', '4.1', '4.2', '4.3', '4.4']
"""

EXAMPLES = """
Expand Down Expand Up @@ -67,6 +67,7 @@ def run(self, terms, variables=None, **kwargs):
"4.1": ["8.1"],
"4.2": ["8.2"],
"4.3": ["8.2"],
"4.4": ["8.3"],
}

self.set_options(var_options=variables, direct=kwargs)
Expand Down

0 comments on commit df3a81c

Please sign in to comment.