Chef Expeditor
3d5c0f8b8c
Update CHANGELOG.md with details from pull request #3941
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-12 13:49:59 +00:00
Clinton Wolfe
70adab14cd
Merge pull request #3941 from inspec/cw/add-inspec-habitat-to-docs
...
Add inspec-habitat resources to website docs
2019-04-12 09:49:45 -04:00
Jerry Aldrich
40031a9b83
Use deprecation facility throughout code
...
This converts all current deprecation warnings/TODOs to use the
`Inspec.deprecate()` deprecation facility.
This also modifies `Inspec.deprecate()` to only require 1 argument.
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-04-11 19:15:01 -04:00
Chef Expeditor
414268eccc
Bump version to 4.0.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-11 22:56:25 +00:00
Clinton Wolfe
4348e8fa07
Merge pull request #3935 from inspec/cw/add-license-gating
...
Add license acceptance to InSpec v4
2019-04-11 18:56:11 -04:00
Tim Smith
93b7f68448
Remove the omnibus override to use train 1.X
...
We don't want this anymore
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-11 14:28:46 -07:00
Tim Smith
501a39018e
Attempt to switch to new webmock that supports Ruby 2.6+
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-11 14:27:24 -07:00
Chef Expeditor
afe936ead1
Bump version to 4.0.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-11 20:23:32 +00:00
Clinton Wolfe
03385b98ba
Merge pull request #3928 from inspec/mj/tmr
...
Telemetry Object Model
2019-04-11 16:23:17 -04:00
Clinton Wolfe
780efbea74
Modify resources index to shorten OS Resources button
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 16:17:04 -04:00
Clinton Wolfe
735e7b060b
Oh parens
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 16:14:45 -04:00
Clinton Wolfe
c6940be8d4
Make license touching for functional and int testing portable to windows
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 15:30:30 -04:00
Miah Johnson
5adf33469a
improve testing for DataSeries#to_h and DataSeries#to_json
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 12:22:29 -07:00
Miah Johnson
55ea2d984c
Not sure how to make this not dependant on list_data_series to prove its
...
functionality.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 12:17:59 -07:00
Clinton Wolfe
5d4bb83093
Add inspec-habitat to list of resource packs
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 15:11:25 -04:00
Clinton Wolfe
8915ad049f
Correct pre-integration task name
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 15:06:09 -04:00
Clinton Wolfe
34d16553bb
Use touched license file to make re-homed config test pass
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 15:03:27 -04:00
Miah Johnson
3c6db15124
improve tests for Collector#list_data_series
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 11:47:42 -07:00
Clinton Wolfe
8d3e704532
Update CLI option for accepting license; licensing tests pass
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 14:20:41 -04:00
Clinton Wolfe
d94addf54a
Update functional test to remove interactive testing; impossible now with tty detection
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 13:11:11 -04:00
Clinton Wolfe
0ce122ff21
Linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:37:43 -04:00
Clinton Wolfe
638d4440a5
Add license-acceptance library to gemspec
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:33:04 -04:00
Clinton Wolfe
3478ac3897
Add user messaging when writing a license file
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
1c13bcc35e
Change exit code to 172 when license is not accepted
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
f7c4f56670
Ensure that an empty invocation does not trigger the license check
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
e0fe3f1876
Add version to list of exempt commands
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
30e5c39e74
tmpdir and mktmpdir are two verry different things
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
023bfefc67
Add ungated invocations
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
7d81f93496
Add test for interactively answering no
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
fb73b39976
Add tests for interactively answering yes
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
2f3adf6176
Add tests for when persistence file already exists
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
1c9533087d
Test when --accept-license is used
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
e3857a8783
Sketch of functional test
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
d41dc48afa
If the license was accepted only for testing, delete it at exit
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
71c13f38a4
Make functional and integration tests assume the license has been accepted
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
07a1679086
Customize behavior when the license challenge fails
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:29:27 -04:00
tyler-ball
96edf5394f
Fully leveraging latest set of license acceptance library features
...
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-11 10:29:27 -04:00
Clinton Wolfe
47da04f4e0
Alter require to use snakecase library name
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:27:48 -04:00
Clinton Wolfe
e3c9c019e3
Add basic integration for the acceptance lib
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:27:48 -04:00
Clinton Wolfe
e87b71d2f1
Merge branch 'master' of github.com:inspec/inspec
2019-04-11 10:19:15 -04:00
Miah Johnson
acead4dd40
Remove doc line.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:42:26 -07:00
Miah Johnson
61e639e2fe
Move @data creation to initialize.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:41:51 -07:00
Miah Johnson
ac78feb090
Remove list_data_series_by_name
.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:41:09 -07:00
Clinton Wolfe
46f6513884
Also test 3-stable on Travis
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-10 13:23:51 -04:00
Miah Johnson
56a5c80bf5
Rebuild the core telemetry interface.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-09 16:58:40 -07:00
Chef Expeditor
36de42401e
Update CHANGELOG.md with details from pull request #3927
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-09 20:51:11 +00:00
Clinton Wolfe
b513bfa76f
Merge pull request #3927 from inspec/cw/fix-winrm-kerberos
...
Fix winrm no-such-transport test
2019-04-09 16:50:56 -04:00
Clinton Wolfe
d181098249
Merge pull request #3925 from inspec/cw/fix-version-freeze
...
Freeze version to appease rubocop
2019-04-09 15:50:40 -04:00
Clinton Wolfe
6ca37e6b79
Merge pull request #3926 from inspec/cw/disable-func-test-warnings
...
Disable warnings for functional tests
2019-04-09 15:50:12 -04:00
Clinton Wolfe
066ed01259
Update winrm no-such-transport test to not use kerberos, which we do now support
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-09 15:43:37 -04:00