Clinton Wolfe
7b2558b1e8
Update json_schemer requirement from >= 0.2.1, < 0.2.12 to >= 0.2.1, < 0.2.18
2021-01-20 14:43:26 -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
Clinton Wolfe
05daaad9fc
Avoid ffi 1.14.2
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-01-06 11:18:21 -05:00
dependabot-preview[bot]
0e35a922ef
Update json_schemer requirement from >= 0.2.1, < 0.2.12 to >= 0.2.1, < 0.2.18
...
Updates the requirements on [json_schemer](https://github.com/davishmcclurg/json_schemer ) to permit the latest version.
- [Release notes](https://github.com/davishmcclurg/json_schemer/releases )
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.1...v0.2.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 19:18:16 +00:00
Clinton Wolfe
e4c46e9dae
Bump chefstyle to 1.5.7
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-21 13:24:12 -05:00
dependabot-preview[bot]
6785c76d8a
Update simplecov requirement from ~> 0.10, <= 0.18.2 to ~> 0.18
...
Updates the requirements on [simplecov](https://github.com/simplecov-ruby/simplecov ) to permit the latest version.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases )
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md )
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.10.0...v0.18.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-16 07:37:05 +00:00
Clinton Wolfe
d42dfa956c
Remove integration group from Gemfile
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-10 12:43:07 -05:00
Tim Smith
d603aed98a
Remove the pin on EOL Chef releases
...
Chef 14 is no longer supported and shouldn't be pinned here. These old deps bring in a bunch of old pins.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-09 11:04:00 -08:00
Clinton Wolfe
43465fb1a6
Remove outdated / unmaintained maintainers task / docs
2020-12-09 10:42:08 -05:00
Tim Smith
bc904883dd
Remove outdated / unmaintained maintainers task / docs
...
The task has been disabled for a while and the docs are totally out of date. Nuke this all and save ourselves some deps in the gemfile.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-08 17:12:38 -08:00
Tim Smith
f4b09b8b47
Remove kitchen-ec2 dep + add lower floor to other kitchen deps
...
Speed up depsolving by making the tree smaller.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-08 17:09:31 -08:00
Tim Smith
5f26f592d3
Merge pull request #5325 from inspec/remove_json_schemer
...
Remove the dependency on json_schemer
2020-12-02 11:18:51 -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
Tim Smith
2b68f01514
Remove Gemfile.local support to use Dependabot
...
If you remove this then Dependabot can manage deps, which helps keep us
up to data without manual work.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-01 14:06:12 -08:00
Clinton Wolfe
6493534843
Conditionally pin chef-utils on Ruby 2.5
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-11-30 16:03:32 -05:00
Clinton Wolfe
955ab36922
Update junit tests to use nokogiri
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
Tim Smith
303f530850
Update to Chefstyle 1.2.1
...
Update a few cop names
Remove redundant returns
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-12 13:12:26 -07:00
Clinton Wolfe
e4aa9f1793
Skip HTML validation testing on windows
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 14:23:54 -04:00
Clinton Wolfe
a131067a09
Add functional test, including html validation
...
This uses html-proofer, which adds in nokogiri as a testing dep.
I expect we'll be using nokogiri soon anyway for the JUnit reporter.
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 14:21:51 -04:00
James Stocks
8ee28c1211
Change ffi pinning
...
ffi 1.13.1 reverts the breaking change in 1.13.0
We can now use any version other than specifically 1.13.0.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-10 12:18:23 +01:00
James Stocks
04f36aa055
Pin ffi to 1.12.2 due to Windows crash
...
See https://github.com/ffi/ffi/issues/784
Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-02 16:25:34 +01:00
Clinton Wolfe
f326d8aa56
Avoid simplecov 0.18.3, as it has a NameError bug
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-02-24 13:48:49 -05:00
Clinton Wolfe
b007d1adc7
Pin chef-zero to <15 like chef to allow ruby 2.5 and 2.4 support
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-02-24 13:19:55 -05:00
Miah Johnson
9db7b70e30
remove coveralls; all we need is simplecov
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 22:12:48 -08:00
Ryan Davis
5dab3e0bbf
Switch to test:parallel K=4 on windows.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
8f1e607d55
Bump chefstyle and fix up flagged code.
...
Very minor.
I want to change a default config but I'll do that in a separate
commit since it is a bigger diff.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 12:57:43 -08:00
Miah Johnson
9d16d775b7
Pin Chefstyle.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-09 13:28:29 -07:00
Robb Kidd
30a4f8ea58
use stdlib SecureRandom to generate a password
...
Replaces the now-yanked passgen gem with something available in the Ruby
standard library. Why `.alphanumeric(72)`? This method will reliably
crank out 72-character strings that meet the upper, lower, and numeric
requirement of Azure.
From the docs on the Azure terraform provider:
> NOTE: admin_password must be between 6-72 characters long and must
> satisfy at least 3 of password complexity requirements from the
> following:
> 1. Contains an uppercase character
> 2. Contains a lowercase character
> 3. Contains a numeric digit
> 4. Contains a special character
So, this should suffice.
Signed-off-by: Robb Kidd <robb@thekidds.org>
2019-07-01 14:15:37 -04:00
Ryan Davis
a5309ea392
blindly applied chefstyle -a
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00
Ryan Davis
52423e8a0c
Switched dependency to chefstyle.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 15:07:34 -07:00
Miah Johnson
1a448f6264
We need berkshelf for test-kitchen, but we need chef 14 to support ruby
...
2.4
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
c28430a47b
test-kitchen currently requires berkshelf
...
I also discussed with Jerry if we can replace Berks with policyfile for
our testing and it seems unlikely at this point. Will re-evaluate in the
future.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
a794506380
berkshelf is making dependency fun. bye.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
906f700e75
Open up restrictions on these gems as they were.. out of date.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
e405dd0c80
Put pry with test tools, remove useless group
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:45:39 -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
Ryan Davis
7082fbef3d
Add support for Gemfile.local
...
Let me use _my_ tooling!
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-18 13:19:56 -07:00
Tim Smith
96ed4988e3
Temporarily set TK to 1.x
...
Until we figure out the licensing issues
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:50:54 -07:00
Miah Johnson
11b8da3283
Merge branch 'master' into mj/encoding
2019-05-08 12:59:55 -07:00
Miah Johnson
20bafdc4b2
Merge pull request #3988 from inspec/mj/coveralls
...
Add Coveralls.io support to InSpec
2019-05-08 12:58:00 -07:00
Miah Johnson
659b4b373a
Remove # encoding: utf8
magic comments
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 16:06:23 -07:00
Clinton Wolfe
60ec509788
Comment regarding inspec-bin in Gemfile
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 19:37:55 -04:00
tyler-ball
9fc9466d40
Need 1 Gemfile.lock with all deps (inspec and inspec-bin)
...
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-29 15:47:33 -06:00
Clinton Wolfe
32950a05b9
Do not depend on inspec-bin from Gemfile
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 15:47:26 -06:00
Clinton Wolfe
e404bafd7a
bundle exec works
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
Miah Johnson
b1d5091670
Add Coveralls.io support to InSpec
...
Tie coveralls into simplecov formatters
Add coveralls badge to README
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-26 13:37:55 -07:00
Tim Smith
c2c6b59568
Add ed25519 gems in the omnibus group
...
We want to have these installed in our omnibus package, but we can't
make them direct deps in train because then a gem install of inspec
would need compilers to install these gems.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-22 17:34:32 -07:00
Tim Smith
6c3abc36ef
Use the upstream unf_ext again
...
The new version was released that includes our Solaris patch as well as Ruby 2.6 support.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-19 20:18:11 -07:00
Tim Smith
00ce6c02df
Require Ruby 2.4 or later
...
Ruby 2.3 is no longer supported. Drop this release from InSpec and
instead support the 3 latest Ruby releases.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-16 21:19:40 -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