Phil Pirozhkov
9cae58d02b
Update rspec to 3.12 ( #6523 )
...
Update RSpec dependency. There are some fixes and no breaking changes in 3.12
Signed-off-by: Phil Pirozhkov <hello@fili.pp.ru>
2023-06-05 17:47:26 -04:00
Soumyodeep Karmakar
965a5df1a2
RESOURCE-527 Add an inspec init template for alicloud ( #6304 )
...
* adding the alicloud in the spec.files
Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
* adding the test for generating inspec profile alicloud
Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
* adding the alicloud profile
Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
* fix lint error
Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
2022-11-23 13:08:29 +05:30
Vasundhara Jagdale
612e1c21b4
Update Faraday gem ( #6267 )
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-10-19 20:56:19 +05:30
Takuya N
5be10c0ea2
Replace faraday_middleware with faraday-follow_redirects ( #6238 )
...
faraday_middleware was already DEPRECATED in 2022-01.
Only FaradayMiddleware::FollowRedirects from faraday_middleware has been
used, and so we can replace it with faraday-follow_redirects.
faraday-follow_redirects 0.3.0 requires faraday ~> 1.0, which is as same
as "faraday_middleware 1.0.0 or higher.
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-10-19 09:57:15 -04:00
Clinton Wolfe
e6c66d0398
Add dependencies on train 3.10.0 for podman support
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-28 00:33:58 -04:00
Clinton Wolfe
0dc2a9da1d
Merge pull request #5837 from inspec/vasundhara/support-rsepc-3-11
...
CFINSPEC-45: Update rspec version to 3.11
2022-02-21 13:18:27 -05:00
Vasu1105
18ec1992a2
CFINSPEC-45 Update rspec version to 3.11
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-17 11:39:44 +05:30
Vasu1105
6137577066
Update ruby version in gemspec file
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 11:22:32 +05:30
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
Tim Smith
89848feedb
Make sure we use chef-telemetry 1.0.8+
...
This version drops the http dep which greatly reduces the overall size
of deps.
Signed-off-by: Tim Smith <tsmith@chef.io>
2021-04-30 12:17:41 -07:00
dependabot-preview[bot]
c1102dd2ab
Update faraday requirement from >= 0.9.0, < 1.4 to >= 0.9.0, < 1.5
...
Updates the requirements on [faraday](https://github.com/lostisland/faraday ) to permit the latest version.
- [Release notes](https://github.com/lostisland/faraday/releases )
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lostisland/faraday/compare/v0.9.0...v1.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-19 07:06:54 +00:00
Clinton Wolfe
a87c9452a2
Pin back parslet to avoid conflict with toml in chef infra
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-01-26 12:18:35 -05:00
Clinton Wolfe
2b5c67e065
Add faraday_middleware to gemspec
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-01-25 12:45:25 -05:00
Tim Smith
cfee7ce474
Allow for rspec 3.9 in the gemspec
...
rspec 3.10 is causing issues with chef/chef tests due to changes in
rspec-mock that we're working to resolve. Right now we'd like to get the
latest inspec releases into chef/chef w/o the need for rspec 3.10. At
runtime inspec doesn't need 3.10, but it does need it for tests, so
let's make sure we bring it in via the gemfile, but allow the older 3.9
release at runtime.
Signed-off-by: Tim Smith <tsmith@chef.io>
2021-01-12 13:51:17 -08:00
dependabot-preview[bot]
9a83544e3a
Update faraday requirement from >= 0.9.0, < 1.2 to >= 0.9.0, < 1.4
...
Updates the requirements on [faraday](https://github.com/lostisland/faraday ) to permit the latest version.
- [Release notes](https://github.com/lostisland/faraday/releases )
- [Changelog](https://github.com/lostisland/faraday/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lostisland/faraday/compare/v0.9.0...v1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 07:02:24 +00:00
dependabot-preview[bot]
66a1f56944
Update parslet requirement from ~> 1.5 to >= 1.5, < 3.0
...
Updates the requirements on [parslet](https://github.com/kschiess/parslet ) to permit the latest version.
- [Release notes](https://github.com/kschiess/parslet/releases )
- [Changelog](https://github.com/kschiess/parslet/blob/master/HISTORY.txt )
- [Commits](https://github.com/kschiess/parslet/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 19:17:40 +00:00
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
Clinton Wolfe
fcadb9792f
Update functional tests to work with rspec 3.10+
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-21 12:24:24 -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
dependabot-preview[bot]
a0b2507dc8
Update faraday requirement from >= 0.9.0, < 1.1 to >= 0.9.0, < 1.2
...
Updates the requirements on [faraday](https://github.com/lostisland/faraday ) to permit the latest version.
- [Release notes](https://github.com/lostisland/faraday/releases )
- [Changelog](https://github.com/lostisland/faraday/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lostisland/faraday/compare/v0.9.0...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-17 07:06:26 +00:00
Clinton Wolfe
1bde2619f1
Update rubyzip requirement from ~> 1.2, >= 1.2.2 to >= 1.2.2, < 3.0
2020-12-16 10:47:36 -05:00
Clinton Wolfe
e6d5acc547
Update tomlrb requirement from ~> 1.2.0 to >= 1.2, < 2.1
2020-12-16 10:44:50 -05:00
dependabot-preview[bot]
c66b38e280
Update tomlrb requirement from ~> 1.2.0 to >= 1.2, < 2.1
...
Updates the requirements on [tomlrb](https://github.com/fbernier/tomlrb ) to permit the latest version.
- [Release notes](https://github.com/fbernier/tomlrb/releases )
- [Changelog](https://github.com/fbernier/tomlrb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fbernier/tomlrb/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-16 07:35:50 +00:00
dependabot-preview[bot]
e4f73d9b5e
Update hashie requirement from ~> 3.4 to >= 3.4, < 5.0
...
Updates the requirements on [hashie](https://github.com/hashie/hashie ) to permit the latest version.
- [Release notes](https://github.com/hashie/hashie/releases )
- [Changelog](https://github.com/hashie/hashie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hashie/hashie/compare/v3.4.0...v4.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-16 07:31:57 +00:00
dependabot-preview[bot]
fe9a1c8dd5
Update rubyzip requirement from ~> 1.2, >= 1.2.2 to >= 1.2.2, < 3.0
...
Updates the requirements on [rubyzip](https://github.com/rubyzip/rubyzip ) to permit the latest version.
- [Release notes](https://github.com/rubyzip/rubyzip/releases )
- [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md )
- [Commits](https://github.com/rubyzip/rubyzip/compare/v1.2.2...v2.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-16 07:31:15 +00:00
Tim Smith
ae6a078c7d
Parallel restored Ruby 2.4 support so unpin it
...
There's no need to pin here
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-09 10:45:58 -08:00
Tim Smith
7a35751269
Remove the dependency on json_schemer
...
It looks like we're only using this in 3 test files and it conflicts
with new RuboCop releases, which is blocking us shipping that new
release in Chef Infra Client and Workstation
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-01 14:17:12 -08:00
Nick Schwaderer
a6a4e61371
Bumps parallel for ruby 2.4 issue
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-11-10 10:08:01 +00:00
James Stocks
cb6c311846
Pin rspec to 3.9
...
Fixes #5296
rspec 3.10.0 introduces text changes to test outputs. Let's keep it pinned - we don't need to keep rspec current.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-11-02 11:03:59 +00:00
Nick Schwaderer
a08bd0466f
Merge pull request #5181 from inspec/ns/bump_faraday
...
Bump faraday dependencies
2020-09-14 17:31:38 +01:00
Tim Smith
d2775e6b69
Allow license-acceptance 2.x gem dep
...
This release bumps the tty deps so we can bring in newer versions of
those libs in chef and workstation.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-27 11:18:33 -07: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
Nick Schwaderer
d1042bc7d4
Merge pull request #5202 from inspec/readme
...
Don't ship the readme in the gem
2020-08-17 11:47:01 +01:00
Tim Smith
cfcf21482b
Don't ship the readme in the gem
...
We're just deleting this from chef and workstation anyways. It's buried deep in the install directory and doesn't do anyone any good.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:49:20 -07:00
Tim Smith
9053ad621b
Remove htmlentities dependency
...
#4853 has been closed and I can find this being used anywhere in the codebase.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:26:17 -07:00
Tim Smith
5e56fb57bf
Remove unused term-ansicolor
...
I went to swap this for pastel, but in the end I couldn't find where it was actually used.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-12 19:15:54 -07:00
Nick Schwaderer
5dd999229b
Pin json_schemer to maintain Ruby 2.4 support
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-16 13:44:32 +01:00
James Stocks
9766cbd249
Fix tomlrb dependency
...
We need to avoid tomlrb 1.3.0 - fixes https://github.com/inspec/inspec/issues/5089
Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-12 09:44:24 +01:00
Clinton Wolfe
b2deb9a4c1
Pin pry to ~> 0.13 to get Pry::Prompt new API to avoid deprecation warning
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-04-22 14:57:22 -04:00
Clinton Wolfe
dc5f8f1f64
Loosen gemspec constraint on method_source per tas50
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-04-21 16:43:06 -04:00
Nick Schwaderer
4021bb3c62
Bumps method_source dependency version
...
The `method_source` dependency for inspec-core has not been bumped in
five years, and it is indirectly holding `pry` back elsewhere in the
ecosystem which is causing issues for ruby 2.7+ support.
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-04-21 15:39:28 +01:00
Jacob Henry
724f82237b
Revision of schema to JSON Schema draft 7
...
Signed-off-by: Jacob Henry <jchenry@mitre.org>
2020-02-05 17:05:47 -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
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