Commit graph

248 commits

Author SHA1 Message Date
Aaron Lippold
4eccdc1b5a removed excessive use of instance variables
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 13:01:14 -04:00
Aaron Lippold
ffd4706608 refactored to remove repeated code.
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 12:54:31 -04:00
Aaron Lippold
1150ef2d30 updates to reporting detail on progress bar
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 12:02:29 -04:00
Nikita Mathur
a8716f8dda More build fixes and pr review changes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-22 15:52:45 +05:30
Nikita Mathur
7442ef1941 Description fetch logic added for user plugin listing and test cases
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-21 15:04:33 +05:30
Nikita Mathur
e2d8ee1167 Text case fixes for plugin list/search
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-21 14:01:43 +05:30
Nikita Mathur
bcc71df9dd Test cases for plugin listing and search added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:27:45 +05:30
Nikita Mathur
9ecfad0122 Added gemspec file to core plugins to be used in plugin listing for description
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:27:11 +05:30
Nikita Mathur
9ae93eef34 Logic to add description in plugin listing and search
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:25:49 +05:30
Sonu Saha
e070d0cbf3 Rename methods for cli_resource due to ambiguity with cli_plugin leading to test failure for plugin
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-11 13:08:58 +05:30
Sonu Saha
dc46fe9a73 Remove file.exists? deprecation in favor of file.exist?
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-11 13:07:55 +05:30
Sonu Saha
2c4ea72a36 CFINSPEC-128 : Modify warning message for existing directory case
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
d78acc03ba Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
bbdbc5c6b7 Remove old TODO message
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
c39329b82f Add a plural resource template
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
ed4fffe8d3 Add template option to control which template set to use
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
22f7e7c222 Add a layout option to control core vs resource pack layout
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
1160716a12 Cleanup - remove DS_Store files, unused functional test template
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
638522f0e0 Working unit tests, holey moley
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
6a39ed74a1 Enable overwrite mode
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
d54c52a932 Noninteractive mode works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
3061d48fc2 Add path option
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
c4a98e6a6d Update doc template with property and matcher
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
f013e29eb0 Add properties and matchers to resource template; add wishlist
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Sonu Saha
81a04aacd5 CFINSPEC-128 Initial draft of resource generator
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
32c9f567f4
Merge pull request #5863 from inspec/nm/progress-bar
CFINSPEC-10 Added Progress Bar streaming reporter plugin
2022-03-07 10:28:39 -05:00
Nikita Mathur
0fbc556cd6 Buildkite fixes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 13:56:33 +05:30
Nikita Mathur
d11e5dd1af Automate version command fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-02 17:04:23 +05:30
Nikita Mathur
bf116e9517 Test cases added for streaming progress bar reporter
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-21 17:58:21 +05:30
Nikita Mathur
a9ff421ea0 Documentation added for progress-bar reporter option
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-18 19:23:40 +05:30
Nikita Mathur
479f21d4da Exception handling in progress bar streaming reporter
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-18 18:47:48 +05:30
Nikita Mathur
2a51cb3604 Streaming reporter with progress bar functionality added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-18 18:11:16 +05:30
Vasu1105
87f5da5912 CFINSPEC-38: Fix test failing after release branch update.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-18 11:54:59 +05:30
Clinton Wolfe
adccec55ad
Merge pull request #5845 from inspec/ss/resolve-sonar-cloud-bugs
Resolve bugs detected on SonarCloud
2022-02-16 09:45:56 -05:00
Sonu Saha
44c1cada99 CFINSPEC-44 : Add missing description to result info table in result.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:51:49 +05:30
Sonu Saha
13dfe5b29a CFINSPEC-44 : Add missing description to profile info table in profile.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:47:41 +05:30
Sonu Saha
e8c6bbdbfb CFINSPEC-44 : Add missing description to Tag table in control.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:32:52 +05:30
Sonu Saha
06f5ccc4e9 CFINSPEC-44 : Add missing header to table displaying tags in control.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:29:56 +05:30
Sonu Saha
6e9fa3dbd0 CFINSPEC-44 : Add missing description to Control table in control.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:20:12 +05:30
Sonu Saha
a71986d86e CFINSPEC-44 : Add missing description to Control Statistics table in body.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:14:23 +05:30
Sonu Saha
93fb41b3c2 CFINSPEC-44 : Add missing description to Platform Information table in body.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:12:33 +05:30
Nikita Mathur
c17a4eca92 Streaming reporter plugin functional test added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-11 15:54:30 +05:30
Nikita Mathur
ef99fd6114 Init plugin functionality extended for new activator type streaming_reporter
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-10 18:52:21 +05:30
Clinton Wolfe
d564ab21c6
Merge pull request #5640 from inspec/spelling_fixes
Fix typos identified by cspell
2021-08-31 16:29:06 -04:00
Vasu1105
81b28c2c51 Change master to main branch for inspec-gcp and inspec-azure repo
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-08-31 14:04:38 +05:30
Tim Smith
403647c3e4 Fix typos identified by cspell
Just a pile of misc typos

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-08-30 16:49:46 -07:00
Clinton Wolfe
2db20dd576
Merge pull request #5625 from tecracer-theinen/fix/no-error-if-plugin-installed
Proposed implementation for installation warnings
2021-08-30 17:24:32 -04:00
Vasu1105
99a170d7e5 Updated inspec-aws git url to replace branch to master to main
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-08-30 18:08:06 +05:30
Thomas Heinen
096e5cd655
Fix tests
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2021-08-23 15:01:17 +02:00
Thomas Heinen
72204bd0fc
Proposed implementation for installation warnings 2021-08-23 14:12:33 +02:00