970493ab93
add magic commands
2020-03-11 06:22:54 -07:00
64d78956eb
update acknowledgment
2020-03-10 22:18:26 -07:00
40c05346f4
re-adding optimizations from https://github.com/philippeitis
2020-03-10 22:16:40 -07:00
e9b0bc1409
doc update
2020-03-10 22:03:54 -07:00
798e6bb7d9
tests passing for airport -s. issue #46
2020-03-10 22:03:44 -07:00
12a370deed
add airport -s parser for issue #46
2020-03-10 21:51:02 -07:00
553bfbe1a0
tests passing for airport -I. Issue #46
2020-03-10 21:02:17 -07:00
52494321fc
fixes and docs for airport parser issue #46
2020-03-10 20:55:07 -07:00
c6c9e06496
added airport command parser
2020-03-10 20:35:52 -07:00
e3a6c05a58
timedatectl fixes, tests, and fixtures for issue #42
2020-03-10 20:26:53 -07:00
391d06f68d
change selection_state to state
2020-03-10 20:16:41 -07:00
99804ea06e
added timedatectl status parser
2020-03-10 18:37:55 -07:00
51935deb2a
timedatectl test fixtures
2020-03-10 18:00:47 -07:00
b24d0c3a47
ntpq docs
2020-03-10 18:00:26 -07:00
762a886d6f
add ntpq tests
2020-03-10 15:17:25 -07:00
2c3e9ddfe4
add ntpq parser for issue #31
2020-03-10 14:18:55 -07:00
c7cd2b63c8
delete unused test file
2020-03-09 11:46:17 -07:00
f0528ea831
Merge pull request #45 from kellyjonbrazil/dev
...
Dev v1.8.1
v1.8.1
2020-03-08 14:54:13 -07:00
5bc5596f60
version bump to 1.8.1
2020-03-08 14:49:23 -07:00
2c27ac46be
add ls test fixtures
2020-03-08 14:43:51 -07:00
caad840153
Merge pull request #44 from philippeitis/patch-5
...
Move core magic() logic into seperate function for testability, minor tweaks
2020-03-08 14:19:37 -07:00
65bd7e2904
Merge pull request #1 from kellyjonbrazil/pr/44
...
Merge changes
2020-03-08 14:10:35 -07:00
c3d7d7db12
removed whitespace
2020-03-08 14:03:08 -07:00
5605310362
added tests, removed os import, changed to 'assertEqual'
2020-03-08 14:02:54 -07:00
17b6efe82e
Create basic tests for generate_magic_commands()
2020-03-08 13:35:01 -07:00
a032ae56ae
Pass args to generate_magic_command() to allow testing.
2020-03-08 13:26:15 -07:00
eab2f4b056
Move core magic() logic into seperate function for testability, minor tweaks.
...
We only care about the command when testing magic() - by moving that out, we can easily test the command. I modified the code to return a boolean signalling that the command is valid, and the command itself to maintain the original functionality.
I also made some small tweaks (removed a list() call, fixed a possible bug with no arguments., moved magic_dict instantiation past the fast path checks to avoid making a dict if not needed.)
2020-03-08 13:20:38 -07:00
aff86ae6c7
reimpliment magic() based on the dictionary approach suggested by philippeitis
2020-03-08 12:58:26 -07:00
7ece9ddc1a
version bump ls
2020-03-07 17:26:42 -08:00
7cd048e839
changelog update
2020-03-07 17:25:10 -08:00
1e22f610a3
fix for osx - doesn't print 'total xx' line if empty directory (issue #40 )
2020-03-07 17:22:08 -08:00
5249c972ae
add to changelog
2020-03-06 12:09:20 -08:00
fd45f856a0
import jc.utils instead of jc
2020-03-06 12:09:09 -08:00
c8ab40cd33
ignore .github folder
2020-03-05 09:19:58 -08:00
b2c872925b
add utf-8 encoding for testing on Windows
2020-03-04 19:47:03 -08:00
f48e229202
utf-8 open for windows tests
2020-03-04 19:40:32 -08:00
799fec92c3
utf-8 for windows support
2020-03-04 19:33:45 -08:00
87a41c2fca
add utf-8 to open function
2020-03-04 19:30:30 -08:00
7f85de0c46
add windows-latest
2020-03-04 19:28:21 -08:00
13661b1993
Merge pull request #37 from philippeitis/continuous_integration
...
Enable Continuous Integration with GitHub Actions.
2020-03-04 16:54:26 -08:00
51d5c3892d
Remove Windows tests, due to lack of support.
2020-03-04 16:21:06 -08:00
e4eab4641a
Change line in blkid.py to trigger CI
2020-03-04 16:17:58 -08:00
9b148e0ba3
Add requirements.txt
2020-03-04 16:16:19 -08:00
de28932650
Consolidate dictionary into creation, trigger CI
2020-03-04 16:14:03 -08:00
5f798d603e
version bump and ack to philippeitis
2020-03-04 16:11:14 -08:00
a0757b2dd3
optimize line parsing
2020-03-04 16:07:53 -08:00
498d51b4e8
Enable Continuous Integration with GitHub Actions.
...
This automatically runs unit tests on various operating systems and Python versions when Python files are modified to ensure that functionality remains correct.
2020-03-04 16:07:32 -08:00
b06b6bae3f
Merge pull request #36 from philippeitis/patch-3
...
Simplify process() in history.py, avoid list allocation in parse()
2020-03-04 16:04:05 -08:00
b5eaff2137
Merge pull request #35 from kellyjonbrazil/revert-34-patch-3
...
Revert "Simplify process() in history.py, avoid list allocation in parse()"
2020-03-04 15:33:13 -08:00
c01bcd3734
Revert "Simplify process() in history.py, avoid list allocation in parse()"
2020-03-04 15:32:23 -08:00