Jerry Aldrich
3fe7091254
Wrap deprecated ServerSpec matchers in procs
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:09:17 -08:00
Jerry Aldrich
5ea640a2cd
Remove nil check in chocolatey_package test
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:09:17 -08:00
Jerry Aldrich
c1547ee898
Remove deprecated methods from shadow test
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:09:17 -08:00
Jerry Aldrich
a0b76defb0
Evaluate runner.run
in a proc
...
This removes the following line from the test output:
```
Test Summary: 0 successful, 0 failures, 0 skipped
```
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:09:17 -08:00
Jerry Aldrich
2f20370426
Change .must_equal nil
to .must_be_nil
...
`.must_equal nil` is deprecated
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:09:17 -08:00
Jerry Aldrich
bc56b2275a
Use mocked file instead of an empty file call
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:09:17 -08:00
Jerry Aldrich
b440e3f132
Change DLS
to DSL
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:09:17 -08:00
Jerry Aldrich
c348a2032a
Remove test that uses deprecated ppa
resource
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:09:17 -08:00
Chef Expeditor
471396832e
Bump version to 3.3.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-22 20:54:19 +00:00
Clinton Wolfe
45d7a579f0
habitat package: Prevent world-writable files in gems
...
Signed-off-by: Jay Mundrawala <jay@thechamberofunderstanding.com>
2019-01-22 15:54:04 -05:00
Chef Expeditor
64ce9dc841
Bump version to 3.3.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-22 20:50:56 +00:00
Clinton Wolfe
2f42803a90
inspec check: Allow 'Proprietary' as a valid license term.
...
Signed-off-by: James Stocks <jstocks@chef.io>
2019-01-22 15:50:38 -05:00
Chef Expeditor
10ef5df028
Bump version to 3.3.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-22 20:01:07 +00:00
Clinton Wolfe
ed460c7869
Fix SSL tests by allowing multiple cipher counts
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 15:00:49 -05:00
Chef Expeditor
ef0ca0e915
Bump version to 3.3.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-22 18:29:43 +00:00
Clinton Wolfe
d74a82128f
De-duplicate certain aws test names
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-22 13:29:25 -05:00
Clinton Wolfe
64c72353b1
Promote Hab package alongside Omnibus package
...
Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-01-22 13:23:50 -05:00
Jerry Aldrich
5c4be8de87
Fix SSL tests by allowing multiple cipher counts
...
The value of `ciphers` is 681 on my localhost, but 993 on Travis.
This modifies the test to allow both values.
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-21 15:02:58 -08:00
Jerry Aldrich
10f0393683
Fix AWS tests found during ChefStyle spike
...
This fixes some style issues and fixes a duplicated test method name.
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-21 13:05:46 -08:00
Jay Mundrawala
257c8d7e39
Make gems not world writable
...
Signed-off-by: Jay Mundrawala <jay@thechamberofunderstanding.com>
2019-01-18 10:53:32 -06:00
Chef Expeditor
e6abd1b23e
Bump version to 3.3.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-17 20:08:31 +00:00
Clinton Wolfe
0a131e4945
Centralized Deprecation Facility #3690
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-17 15:08:16 -05:00
Clinton Wolfe
b1140ecd10
Place backticks around cli exit codes for exec
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-17 14:22:20 -05:00
James Stocks
ad4df90912
Allow 'Proprietary' as a valid license term.
...
Currently our supported profiles output a warning for every instance of `inspec check` because our license metadata `Proprietary, All rights reserved` is not considered valid.
This commit allows for a string beginning with `Proprietary` to be considered valid, as well as any valid SPDX value.
Signed-off-by: James Stocks <jstocks@chef.io>
2019-01-16 11:19:55 +00:00
Clinton Wolfe
4601740140
Linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-16 00:42:01 -05:00
Clinton Wolfe
45c1a11ad6
Create a real GroupEntry when the group is unrecognized, simplifying logic
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-16 00:41:21 -05:00
Clinton Wolfe
b89681350e
Correct comment reference exit code
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-16 00:26:29 -05:00
Clinton Wolfe
48e2188047
Remove class var for testing, replace with tramp data
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-16 00:24:19 -05:00
Clinton Wolfe
212fe36b76
Add debug output to ignore actions
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-15 23:49:20 -05:00
Clinton Wolfe
c6e22ddb16
Refine stack heuristics to reject RSpec and the deprecation system itself
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-15 23:36:03 -05:00
Clinton Wolfe
c63f6e28a3
Clarify error message when unknown_group_action is invalid
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-15 23:22:16 -05:00
Clinton Wolfe
6fc5bd8b83
Add comment field to group entries
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-15 23:17:52 -05:00
Seth Chisamore
026c7963d3
Promote Hab package alongside Omnibus package
...
This change ensures we are promoting our Hab packages to `current` and
`stable` at the same time we execute said promotions for the Omnibus
packages.
Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-01-15 16:16:41 -05:00
Clinton Wolfe
fe0236cb64
Remove spurious 'ocurrences' field from GroupEntry
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-15 15:40:14 -05:00
Clinton Wolfe
267786bf81
Doc updates per PR feedback
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-15 15:37:08 -05:00
Clinton Wolfe
9b55e2fef0
Adjust style elements in test files on deprecation facility PR
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-15 14:57:33 -05:00
Jerry Aldrich
f5ec7c9c65
Fix style/RuboCop on cw/deprecation-facility
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-14 13:57:59 -08:00
Chef Expeditor
feefdcf9af
Bump version to 3.3.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-14 18:50:05 +00:00
Clinton Wolfe
b5e91e7dbf
Support cran packages for non-utf8 locales ( #3613 )
...
Signed-off-by: Adam Ward <adamw@subdesigns.net>
2019-01-14 10:49:50 -08:00
Clinton Wolfe
cfacd13944
Move attribute unit tests to a more expected location
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-11 17:27:38 -08:00
Clinton Wolfe
3c5a26ecfa
Move attribute unit tests to a more expectced location
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-11 17:23:57 -08:00
Clinton Wolfe
b7a40a2e31
Allow empty opts to functional test helper run_inspec_process
...
Signed-off-by: Clinton Wolfe clintoncwolfe@gmail.com
2019-01-11 16:46:17 -08:00
Clinton Wolfe
066fde854d
Allow empty opts to functional test helper run_inspec_process
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-11 16:42:46 -08:00
Clinton Wolfe
c169119895
linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00
Clinton Wolfe
4111d21e0e
Added devdocs
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00
Clinton Wolfe
c43e401dda
Fix default exit code logic to properly use value in Inspec::UI
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00
Clinton Wolfe
b2bb8c062b
Last polish on the unit tests, all pass
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00
Clinton Wolfe
642d8d61b6
Funcitonal tests pass; some unit tests fail
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00
Clinton Wolfe
f5ab0d9125
Config file validation in place
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00
Clinton Wolfe
2121667e31
Starting implementation, global method is wired up
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00