Commit graph

117 commits

Author SHA1 Message Date
Tim Smith
acad3d473d Allow Thor 1.x versions to be used
Thor 1.0 drops support for Ruby 1.8 and 1.9. We should loosen this dep
to allow the 1.x series since bug fixes are occuring there now.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-12-17 13:04:23 -08:00
Ryan Davis
5d8a0af8ce
Merge pull request #4768 from inspec/zenspider/bug628
Wire up backend to rspec metadata, allowing for example groups to use resources
2019-12-09 12:09:41 -08:00
Ryan Davis
a14e7548ec Clean up super stale dependency commentary.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-06 17:07:22 -08:00
Ryan Davis
7593274ffa Bump faraday_middleware to get their fix for a missing constant.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-06 16:52:42 -08:00
Ryan Davis
f67171fa6b Bump rspec to 3.9 and fix broken tests.
Tests are STILL brittle, but this at least lets us drop old rspec.

Fixes #4575

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-06 16:52:35 -08:00
Ryan Davis
cfa40e3cc4 Added chef-telemetry 1.0 to dependencies.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-03 18:44:30 -08:00
Ryan Davis
a17dc0a2bc Dropping chef-core from dependencies.
We'll be moving some code from chef-core to chef-telemetry and adding
that dependency in the next sprint.

Fixes #4716.
Fixes #4719.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-13 13:32:21 -08:00
Clinton Wolfe
c9dac74318 Add chef-core dependency to gemspec
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-10-09 14:11:00 -07:00
Clinton Wolfe
35a2582ca8 Pin RSpec to 3.8.6 to avoid test failures for now
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-10-08 19:16:29 -07:00
Clinton Wolfe
9bd5ba8752 Add deps on train 3 and train-winrm 0.2
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-08-15 14:01:11 -04:00
Miah Johnson
a4f4fe5231 chefstyle -a; https://github.com/chef/chefstyle/pull/74
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-08 17:22:50 -07:00
Ryan Davis
a5309ea392 blindly applied chefstyle -a
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00
Miah Johnson
0255fe0e18 Fix unbounded dependencies
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-03 18:35:47 -07:00
Miah Johnson
23245df6d1 Replace jsonschema with json-schema.
Also just use json, its packaged with ruby already.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-01 22:04:36 -07:00
Miah Johnson
be53391565 Update author/email tags in gemspec
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-24 12:55:11 -07:00
Miah Johnson
f7575cca00 Remove more magic comments
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-09 13:24:25 -07:00
Clinton Wolfe
1c3604cb1e Remove empty executables list from gemspecs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
Clinton Wolfe
44fcc6d874 Remove binary file from gemspecs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
tyler-ball
63225931ec Updating license-acceptance version constraint to support 1.0 when it is released
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-25 13:54:09 -06:00
Tim Smith
590dcc6d60 Bump the main inspec gem as well
I missed this one

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-16 21:21:46 -07: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
ccdd1cfffb Drop aws-sdk 2, move to train 2, add train-aws 0.1
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:24:46 -04:00
Clinton Wolfe
e4d17b6cc8
Merge pull request #3912 from inspec/cw/add-train-habitat
Include train-habitat gem with InSpec
2019-04-01 15:59:11 -04:00
Clinton Wolfe
1c5cb230e8 Include habitat gem with InSpec
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-01 15:10:16 -04:00
Tim Smith
bad372e47d Don't include plugin test files in the gem file
One of the test files is causing chef omnibus failures on Solaris for some reason, but really there's no reason to ship all these test files in the install artifact. This slims down the gem and install size a good amount. I'm open to a better regex if someone has opinions.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-03-31 14:32:20 -07:00
Clinton Wolfe
cbd0dacd39 Remove temporary reliance on Train branch
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-01 14:27:49 -05:00
Clinton Wolfe
304a1b9873 Temporarily pin train to 1.7.1
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-31 22:24:18 -05:00
Clinton Wolfe
e4a0f3bff0 Update train pin so inspec builds may succeed
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-25 15:36:36 -05:00
Noel Georgi
f1fbd518e5 Expose additional WinRM options for transport, basic auth, and SSPI (#3669)
Signed-off-by: Noel Georgi <git@frezbo.com>
2018-12-20 11:57:53 -05:00
Clinton Wolfe
c0a46cf841
UI Object for for CLI work (#3618)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-12-12 11:44:16 -05:00
Tim Smith
e4ce25b8a1 Adjust files included in gems to improve appbundler support (#3663)
Signed-off-by: Tim Smith <tsmith@chef.io>
2018-12-12 11:23:19 -05:00
Jared
79bf71d9e8 Pin train to 1.5.11 (#3657)
Signed-off-by: Jared Ledvina <jared@techsmix.net>
2018-12-11 09:00:24 -05:00
Tim Smith
6bc5c537a3 Further slim the files we ship in the gem artifact (#3647)
The artifact doesn't need the gemspec, gemfile or rakefile since we're not shipping tests already. Also there's no need for the changelog or maintainer file. For those a user should reference the github repo since these files are buried deep on the filesystem and not designed to be read through.

Signed-off-by: Tim Smith <tsmith@chef.io>
2018-12-04 10:54:17 -05:00
Jared Quick
f990b78b48
Pin to train 1.5.6 (#3568)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-11-01 16:23:37 -04:00
Jared Quick
8432cd73c4
Pin inspec to the new train. (#3531)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-10-18 16:37:56 -04:00
Jared Quick
f7551b3de3
Fix plugin issues on omni builds (#3499)
* Fix plugin issues on omni builds
* Fix gemspec to include etc dir.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-10-11 23:25:01 -04:00
Tim Smith
c674bdf250 Exclude docs and examples from the gem (#3471)
This greatly slims down the installed size of inspec in both Chef and
Chef-DK. This translates into faster installs which are of importance to
workstation users, but also smaller download sizes / CDN bills.

This slims the installed on disk from 2.9 MB to 2.0 MB (31%) and the gem
drops from 567k to 396k (30%).

Signed-off-by: Tim Smith <tsmith@chef.io>
2018-10-08 09:34:04 -04:00
Clinton Wolfe
857b9bb11c Plugins: Support for Train Plugins in InSpec (#3444)
* Unit tests passing for loading Train plugins
* detect works with a train test fixture
* Update fixture install of train-fixture-plugin
* Add functional tests for detect and shell when talking to a train plugin backend
* Update docs to reflect availability of Train plugins
* Functional test for install train plugin from path
* Working install train plugin from path, more tests for installing from odd locations
* PR Feedback

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-09-27 18:46:35 -04:00
Clinton Wolfe
0ced18841f
CLI Plugin Manager SubCommand (#3414)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-09-25 10:29:18 -04:00
Jared Quick
927720998c
Add platforms schema command (#3346)
* Add platforms schema command.
* Add functional test.
* Update tests with sorted export.
* Bump train version.
* Fix syntax in tests.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-13 15:36:17 -04:00
Miah Johnson
6e887ff4b7 Update rubyzip to resolve a directory traversal security vulnerability. (#3388)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-09-12 16:41:17 -04:00
Christoph Hartmann
df9036f6e4 inspec compliance: use multipart upload to support upload on windows (#3369)
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-09-07 14:25:31 -04:00
Tom Qiang Wu
aa44c24b07 bump inspec/train version (#3331)
Obvious fix.
2018-08-28 15:53:13 -04:00
Jared Quick
d44eb67672
Bump train version for inspec. (#3147)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-06-14 15:26:00 -04:00
Jared Quick
f7181f3b23
Update inspec for the train azure msi fix. (#3068)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-17 14:40:54 -04:00
Jared Quick
8a45257a63
Bump train pin. (#3065)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-17 09:31:19 -04:00
David McCown
c195af11c3 Adds middleware dependecy for Azure (#3061)
We are adding this depdency until we can integrate our connection into
Train.

Signed-off-by: David McCown <dmccown@chef.io>
2018-05-16 15:20:25 -04:00
Jared Quick
40e7c1b23f
Add train GCP transport. (#3046)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-16 15:04:23 -04:00
Jerry Aldrich
e33619264f Add Cisco IOS enable_password support (#2905)
* Add IOS transport and `enable_password` support
* Remove Cisco IOS connection swap (moving to Train)
* Pin to Train 1.4.0

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-04-12 16:18:34 -04:00
Jared Quick
2726f8e2b8
Pin to Train 1.3.0. (#2898)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-03-29 12:51:10 -04:00