Commit graph

132 commits

Author SHA1 Message Date
dependabot[bot]
d055a65ce8
Update faraday_middleware requirement from >= 0.12.2, < 1.1 to >= 0.12.2, < 1.3 (#6702)
Updates the requirements on [faraday_middleware](https://github.com/lostisland/faraday_middleware) to permit the latest version.
- [Release notes](https://github.com/lostisland/faraday_middleware/releases)
- [Commits](https://github.com/lostisland/faraday_middleware/compare/v1.0.0...v1.2.0)

---
updated-dependencies:
- dependency-name: faraday_middleware
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 17:13:24 -04:00
dependabot[bot]
31f6e2669d
Update mongo requirement from = 2.13.2 to = 2.19.1 (#6688)
Updates the requirements on [mongo](https://github.com/mongodb/mongo-ruby-driver) to permit the latest version.
- [Release notes](https://github.com/mongodb/mongo-ruby-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-ruby-driver/blob/master/docs/release-notes.txt)
- [Commits](https://github.com/mongodb/mongo-ruby-driver/compare/v2.13.2...v2.19.1)

---
updated-dependencies:
- dependency-name: mongo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 13:43:25 -07:00
Tim Smith
48ff852289 Remove support for EOL Ruby 2.5
With the release of Ruby 3.1, Ruby 2.5 is now EOL. We should not be supporting an EOL release of Ruby.

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-12-31 22:54:53 -05:00
Clinton Wolfe
62c5f2c1cf Move rake and cookstyle deps out of inspec core gemspec
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-11-17 22:47:49 -05:00
Clinton Wolfe
d8a2000fdb Move cookstyle dep from inspec gemspec to inspec-core, add rake
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-11-13 00:28:33 -05:00
Nikita Mathur
ced270725d Change after code review on cookstyle check
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Vasu1105
e7b413df21 Fix cannot load such file -- aws-sdk-batch (LoadError)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-08-31 12:17:10 +05:30
Clinton Wolfe
4cf34764bc Pin mongo gem to 2.13.2 to avoid broken symlink
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-08-11 13:12:44 -04:00
Vasu1105
89610eb569 Fixed review comments
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-06-29 12:00:35 +05:30
Clinton Wolfe
cdfb325ca3 Apply chefstyle -a, and manually remove duplicate requires
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-21 13:25:04 -05:00
Tim Smith
981dbf75ff Require ruby 2.5+ / allow ruby 3
The currently ruby requirement is going to break things when we pull
Ruby 3 into Chef Infra Client next year.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-18 07:08:02 -08:00
Nick Schwaderer
36022c603d Bump faraday dependencies
There are several outstanding issues about bumping faraday and
faraday_middleware. This gives us access to additional HTTP methods and
the versions we are pinned to are quite old.

Fixes #4234

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-27 12:38:43 +01:00
Ryan Davis
77acd330e5 Fix our inspec.gemspec for appbundler.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-10 18:34:00 -08:00
Ryan Davis
217d79d4d6 Revamp dependencies and file content across inspec and inspec-core.
+ inspec-core has all the real dependencies for inspec (the project).
+ inspec keeps all aws/azure/gcp code and their dependencies.
+ inspec depends on inspec-core and inspec-bin.
+ Removed test_files entirely.
+ Removed FNM_DOTMATCH on our globs... don't cargo cult.
+ Added some code to print out the gemspec and files to make it easier
  to debug by executing the gemspec directly.
+ Sorted all deps... so hard to find things.
+ Added version specifiers where needed.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-01-29 15:48:26 -08:00
Ryan Davis
56988f9f8a Rework and unify gemspecs.
First step is to get them agreeing on dependencies.

There's still some oddities between train vs train-core and
dependencies for AWS and the like, but this brings them in line so
diffing between them is MUCH better.

Next is to gut inspec and push everything over to inspec-core.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-01-29 15:47:20 -08:00
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