Commit graph

1943 commits

Author SHA1 Message Date
Dominik Richter
d41d6ef4e0 add metadata from profile to summary 2016-03-18 02:42:53 +01:00
Dominik Richter
040b2eac8e add --format fulljson formatter 2016-03-18 02:42:53 +01:00
Christoph Hartmann
4c7c79cbf0 Merge pull request #551 from chef/dr/tags
feature: add tags and refs
2016-03-18 01:50:25 +01:00
Dominik Richter
76fe4483d4 feature: add tags and refs 2016-03-18 01:42:26 +01:00
Christoph Hartmann
0a5b05fc04 Merge pull request #549 from chef/dr/exec-tests
add inspec exec tests with json formatter
2016-03-18 00:46:04 +01:00
Dominik Richter
9e6e2bd4f7 add inspec exec tests with json formatter 2016-03-18 00:29:10 +01:00
Christoph Hartmann
461e53d5e2 Merge pull request #550 from chef/dr/mock-fetcher
mock fetcher
2016-03-18 00:27:27 +01:00
Dominik Richter
b7e438eabc add a mock fetcher 2016-03-17 23:37:09 +01:00
Dominik Richter
c1d2da5bf3 ensure fetchers test against strings 2016-03-17 23:37:09 +01:00
Dominik Richter
ed02356e8b Merge pull request #540 from chef/adamleff/named_registry_classes
adding named resource registry classes
2016-03-17 16:05:59 +01:00
Dominik Richter
ca5f7b822b add tests for resource plugin 2016-03-17 15:58:20 +01:00
Adam Leff
0acd926dbd adding named resource registry classes 2016-03-17 15:58:20 +01:00
Christoph Hartmann
5c3478ba69 Merge pull request #548 from chef/dr/no-pretty
dont generate pretty json by default
2016-03-17 15:56:31 +01:00
Dominik Richter
4676b5eedd dont generate pretty json by default
we have jq for that!
2016-03-17 15:41:57 +01:00
Dominik Richter
424d97c0b6 Merge pull request #543 from chef/vj/add-title-desc-code-source-loc-to-metadata
Add title, description, code, and source_location to example metadata
2016-03-17 15:32:36 +01:00
Victoria Jeffrey
08616f50d0 Add title, description, code, and source_location to example metadata 2016-03-17 15:22:57 +01:00
Christoph Hartmann
53a8f9a7b9 Merge pull request #547 from chef/dr/de-dupe-lib-loading
bugfix: prevent duplicate loading of library files
2016-03-17 15:11:12 +01:00
Dominik Richter
16c3c00482 bugfix: prevent duplicate loading of library files 2016-03-17 14:43:52 +01:00
Christoph Hartmann
24e32c34f1 Merge pull request #546 from chef/dr/inspec-cmd-tests
fix detect + add output option to archive command
2016-03-17 13:32:43 +01:00
Dominik Richter
f7c2fa4392 functional tests for inspec detect + version + exec 2016-03-17 10:21:38 +01:00
Dominik Richter
6853284e31 validate inspec json generation 2016-03-17 10:21:38 +01:00
Dominik Richter
bfd88df27a verify that archive creates valid zip and tar files 2016-03-17 10:21:38 +01:00
Dominik Richter
0218f1f3ca feature: --output on archive 2016-03-17 10:21:38 +01:00
Christoph Hartmann
a5e289b591 Merge pull request #545 from chef/dr/check-check
bugfix: archive command with inheritance-based profiles
2016-03-17 00:54:39 +01:00
Dominik Richter
e3991a2025 bugfix: inspec archive with profile path for inheritance 2016-03-16 20:32:02 +01:00
Dominik Richter
26c34c3487 WIP profile check on inheritance profiles 2016-03-16 20:32:02 +01:00
Christoph Hartmann
4b7188418b Merge pull request #542 from chef/dr/functional
add functional tests for cli
2016-03-16 19:14:45 +01:00
Dominik Richter
0e1be01c5f set 5 parallel workers for travis functional tests 2016-03-16 15:38:12 +01:00
Dominik Richter
89d7f0b593 give them hell!
parallelize minitest runs for functional tests
2016-03-16 08:28:09 +01:00
Dominik Richter
0a4567d49f add simple command tests for inspec check 2016-03-16 08:23:47 +01:00
Dominik Richter
e53d33bc98 add functional test types 2016-03-16 08:23:13 +01:00
Dominik Richter
641572ec7f move CLI components to lib/inspec/cli
This makes it easier for other applications to include this component. require from bin/inspec just doesnt behave (or needs workarounds)
2016-03-16 08:17:04 +01:00
Dominik Richter
3d19eb7394 Merge pull request #530 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2016-03-10 09:19:26 +01:00
The Gitter Badger
f9991bea02 Add Gitter badge 2016-03-10 00:39:24 +00:00
Dominik Richter
665dbf924d Merge pull request #529 from chef/set-output-stream
add output stream to rspec configuration
2016-03-09 15:18:10 +01:00
Victoria Jeffrey
7f27c33e1f add output stream to rspec configuration 2016-03-09 15:12:22 +01:00
Christoph Hartmann
33433ff60b Merge pull request #528 from chef/0.15.0
0.15.0
2016-03-09 11:10:33 +01:00
Dominik Richter
f94330154e 0.15.0 2016-03-09 10:58:21 +01:00
Christoph Hartmann
6819a46f6b Merge pull request #527 from chef/dr/file-and-os
rename File and OS resources
2016-03-09 10:54:45 +01:00
Dominik Richter
24ffdf0478 descope calls to global File
This is just for simplicity. I expect other users to make the same mistake when using it, so I would rather our tests crash if we have this type of conflict again and prevent it in the first place. Renaming File to FileResource should take care of all important places
2016-03-09 10:48:54 +01:00
Dominik Richter
844580074d rename internal OS -> OSResource 2016-03-09 10:48:54 +01:00
Dominik Richter
387415859e rename internal File -> FileResource 2016-03-09 10:48:48 +01:00
Dominik Richter
9cb2bc5dec Merge pull request #526 from chef/adamleff/resource-namespace
Placing all resources in the Inspec::Resources namespace
2016-03-09 10:29:11 +01:00
Christoph Hartmann
5c9821dfb5 Merge pull request #525 from chef/0.14.9
0.14.9
2016-03-09 10:22:16 +01:00
Adam Leff
577688a3a0 Placing all resources in the Inspec::Resources namespace
Many of the resources are named as a top-level class with a fairly generic class name, such as "OS". This causes an issue specifically with kitchen-google which depends on a gem which depends on the "os" gem which itself defines an OS class with a different superclass. This prevents users from using TK, Google Compute, and Inspec without this fix.

Some mocked commands had their digest changed as well due to the new indentation, specifically in the User and RegistryKey classes.

I strongly recommend viewing this diff with `git diff --ignore-space-change`
to see the *real* changes. :)
2016-03-08 13:40:16 -05:00
Dominik Richter
e89738c5f7 0.14.9 2016-03-08 17:52:55 +01:00
Christoph Hartmann
139fa1473c Merge pull request #524 from chef/dr/fix-inheritance
bugfix: inheritance of local profiles
2016-03-08 15:20:18 +01:00
Dominik Richter
ccf2694940 bugfix: inheritance of local profiles 2016-03-08 14:59:14 +01:00
Dominik Richter
81c7a6f22e add exmaple inheritance profile 2016-03-08 14:36:09 +01:00
Christoph Hartmann
f6c5d4de12 Merge pull request #523 from chef/dr/color
add color output + make it the default
2016-03-07 22:31:06 +01:00