1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00
Commit Graph

852 Commits

Author SHA1 Message Date
6b4ba66231 Merge pull request #52 from kellyjonbrazil/dev
Dev v1.9.3
v1.9.3
2020-03-26 17:15:13 -07:00
5b697dc381 add more dig tests 2020-03-26 17:09:29 -07:00
9ba73c95d1 add tests 2020-03-26 16:45:29 -07:00
93aa390447 version bump to v1.9.3 2020-03-26 16:30:17 -07:00
3cfb8945dd use startswith() instead of find 2020-03-26 16:29:59 -07:00
cd8d38f2a1 add axfr support 2020-03-26 16:22:53 -07:00
8ec8cd6294 Merge pull request #50 from kellyjonbrazil/dev
Dev v1.9.2
v1.9.2
2020-03-12 17:09:04 -07:00
c028113561 version bump to v1.9.2 2020-03-12 17:06:55 -07:00
5f22e1c803 fix and test for osx arp entries without ifscope 2020-03-12 17:02:26 -07:00
d3351787e5 change osx detection 2020-03-12 16:52:33 -07:00
e5bea9ae3b version bump v1.9.1 2020-03-12 08:52:01 -07:00
93c710abe9 Merge pull request #49 from kellyjonbrazil/dev
Dev v1.9.1
2020-03-12 08:23:10 -07:00
c29e7cfe5c version bump to 1.9.1 2020-03-12 08:17:28 -07:00
cb5c1ba00d add tests for fix to make the file parser splitting more robust 2020-03-11 17:04:48 -07:00
9a012b94e1 make splitting more robust 2020-03-11 15:40:34 -07:00
400f5a44ec Merge pull request #48 from kellyjonbrazil/dev
Dev v1.9.0
v1.9.0
2020-03-11 13:37:22 -07:00
a2ab5bab91 version bump to v1.9.0 2020-03-11 13:32:58 -07:00
fc8ab27361 bugfix for misaligned columns and additional test for ntpq #31 2020-03-11 13:24:55 -07:00
59f19d33a5 add file command tests for #41 2020-03-11 12:39:59 -07:00
dfc9618115 add file parser for issue #41 2020-03-11 12:20:58 -07:00
8e02e5c75a fix issue with getting options with some commands #47 2020-03-11 09:21:14 -07:00
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