Moritz Vetter
d10a83ce6b
perf(php): Lazy eval php ( #2190 )
...
* perf(php): evaluate version lazily
* fix(php): update format string; update tests
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22 18:03:18 +01:00
Hanif Ariffin
5722b17f9e
fix: Applied clippy warnings ( #2153 )
...
* Applied changes suggested by clippy
In general:
1. Prefer std::path::Path over std::path::PathBuf
2. Simplified code with string formating...
Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
* Fixed test
Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
* Fixed formatting
Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
2021-01-16 13:26:52 +01:00
Dario Vladović
faba2d104d
fix(test): do NOT quote argument values for mocked invocations ( #1527 )
...
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-08-24 19:05:43 +02:00
Tilmann Meyer
88b603be38
test: introduce env variable mocking ( #1490 )
2020-08-07 15:13:12 -04:00
Dario Vladović
6763a7b006
test: fix mocked commands ( #1491 )
...
Ensure that output of mocked commands faithfully replicates output
of actual commands including any trailing whitespace.
2020-07-19 17:01:53 -04:00
Zhenhui Xie
ec76fafff0
feat: refactor modules to use format strings ( #1374 )
2020-07-07 18:45:32 -04:00
Thomas O'Donnell
c182572796
Fix PHP version including error messages ( #1317 )
...
PHP will output error messages when displaying the version if, for
example, there is something wrong with the local `php.ini` file. Have
updated the command used to get the PHP version to only use the default
PHP config.
2020-06-13 01:04:53 +02:00
Karol Fuksiewicz
eba4d87612
feat(package): configurable displaying package version for packages marked as private ( #1109 )
...
* feat(package): config for enabling package version in private packages
* test(package): refactor package tests
2020-04-28 10:53:30 +02:00
Thomas O'Donnell
060689fa88
fix: Fix latest clippy suggestions ( #1136 )
...
Have removed some imports that Clippy says are not needed anymore.
2020-04-24 12:37:13 +02:00
Shu Kutsuzawa
bd016b6ce2
feat: Enable to display language version when .<lang>-version
file exists. ( #1028 )
...
* adjust https://github.com/sonnym/elmenv
* adjust https://github.com/syndbg/goenv
* adjust https://github.com/jenv/jenv
* adjust https://github.com/nodenv/nodenv
* adjust https://github.com/phpenv/phpenv
* adjust https://github.com/rbenv/rbenv
* add description
* golang.rs is executed rustfmt
* add testcases
2020-04-03 21:02:28 +02:00
David Knaack
56d475578e
fix: possible fix for Intermittent Test Failures in GH Actions ( #987 )
...
* fix: possible fix for Intermittent Test Failures in GH Actions
* undo some of the chnages to directory.rs
* typo
* add docs
2020-03-15 12:12:25 -05:00
Thomas O'Donnell
d44c037ba5
test: refactor ruby and php modules to use mocked commands ( #936 )
2020-02-21 11:52:39 -05:00
Thomas O'Donnell
60ce320912
refactor(php): Use exec_cmd
util( #825 )
2020-01-12 17:50:25 -05:00
Stephen Ball
46904e5045
feat: Add PHP version module ( #244 )
2019-12-05 13:04:27 -05:00