Commit graph

3105 commits

Author SHA1 Message Date
Ryan Davis
476c6878b3 Modernize use of Minitest.
+ Turn off verbosity in Rakefile by default. Use `rake V=1` to turn back on.
+ MiniTest -> Minitest everywhere.
+ MiniTest::Unit::TestCase -> Minitest::Test everywhere.
+ Updated minitest doco urls to official and up-to-date site.
+ Normalize requires. Only needs "minitest/autorun" and "minitest/pride".

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-03 15:01:57 -07:00
Chef Expeditor
04ad6351d8
Bump version to 4.3.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-03 17:52:04 +00:00
Chef Expeditor
1bba904dad
Bump version to 4.3.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-01 19:00:55 +00:00
Miah Johnson
063a7d82e7
Merge pull request #4004 from inspec/mj/4003
Update resource registry_key documentation example
2019-05-01 12:00:36 -07:00
Chef Expeditor
9a15388431
Bump version to 4.3.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-01 18:24:53 +00:00
Miah Johnson
5c00a44d71 Update resource registry_key documentation example
ref: https://github.com/inspec/inspec/issues/4003

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-30 17:04:12 -07:00
Chef Expeditor
a6feb2f32c
Bump version to 4.3.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-30 00:43:30 +00:00
Chef Expeditor
d87c24514f
Bump version to 4.3.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-30 00:03:18 +00:00
tyler-ball
d1a3c55863 Correcting missing version for InSpec
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-29 17:55:13 -06:00
Clinton Wolfe
a282204b41 Update exe location in functional test helpers
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:10 -06:00
Chef Expeditor
9b13bcb953
Bump version to 4.2.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-26 18:00:08 +00:00
Clinton Wolfe
154824128c Make sure --input-file change made it in
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
7d2028287c Get unit and functional tests passing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
9156a782fe Add stack introspection
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
9faf4b1034 Add tests for marshalling
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
407dcd9028 Add unit tests for enforcing type validation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
2536d76324 Events work at the unit level, except for stack hueristics
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
b8cde5530b Add event, some tests still commented out
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
aae54d2cb6 Checkpoint commit after Input rename; precedence is broken
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
8ef5eb46b1 Start getting unit tests passing again
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
883572fcbb First bits on consolidating attribute creation into the registry
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Chef Expeditor
9e07bf8fbd
Bump version to 4.1.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-26 17:11:57 +00:00
Chef Expeditor
f5cbccc626
Bump version to 4.1.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 23:49:53 +00:00
Chef Expeditor
049c6cb3bf
Bump version to 4.1.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:57:00 +00:00
Chef Expeditor
78d94965b9
Bump version to 4.1.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:33:34 +00:00
Clinton Wolfe
db129be2b2
Provide logger to license-acceptance for help debugging in the future (#3958)
Provide logger to license-acceptance for help debugging in the future
2019-04-25 18:33:16 -04:00
Chef Expeditor
a8333172d8
Bump version to 4.1.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:28:40 +00:00
Chef Expeditor
4265c5ff17
Bump version to 4.1.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:27:47 +00:00
Chef Expeditor
3ae47763bb
Bump version to 4.1.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 18:43:58 +00:00
Clinton Wolfe
9e6adcc7b1
update 'low' impact value to align with CVSS 3.0 (#3961)
update 'low' impact value to align with CVSS 3.0
2019-04-25 14:43:43 -04:00
Chef Expeditor
406cc82b1f
Bump version to 4.1.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:11:14 +00:00
Chef Expeditor
2628857241
Bump version to 4.1.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:10:33 +00:00
Chef Expeditor
3c4e3d1279
Bump version to 4.1.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:09:55 +00:00
Clinton Wolfe
00bcf91dac
When mssql response is parsed, header might be nil. (#3971)
When mssql response is parsed, header might be nil.
2019-04-25 11:09:52 -04:00
Clinton Wolfe
843ba7afa2
Improve ss parsing code for IPv6 addresses (#3962)
Improve ss parsing code for IPv6 addresses
2019-04-25 11:09:31 -04:00
Chef Expeditor
5504820d39
Bump version to 4.1.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-24 00:57:35 +00:00
Miah Johnson
7506ae4121 When mssql response is parsed, header might be nil.
Only set and downcase header if its not nil.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 14:45:34 -07:00
Aaron Lippold
6d452540d0 updated low to align with CVSS 3.0
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-04-23 15:02:52 -04:00
Chef Expeditor
3defc93670
Bump version to 4.1.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-23 01:17:19 +00:00
Chef Expeditor
f1cc0b0477
Bump version to 4.1.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-22 16:50:02 +00:00
Miah Johnson
27935e9e51 Improve ss parsing code for IPv6 addresses
Some versions of `ss` wrap IPv6 addresses in brackets, eg:

```
[fe80::dc11:b9b6:514b:134]%eth0:123
[::]
```

This change removes all brackets during parsing.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-18 23:55:50 -07:00
tyler-ball
8425a50872 Provide logger to license-acceptance for help debugging in the future
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-18 12:29:57 -06:00
Chef Expeditor
50a8fd7370
Bump version to 4.1.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-17 21:12:41 +00:00
Clinton Wolfe
3d0b8dff2e
Merge pull request #3956 from inspec/cw/use-deprecation-everywhere-4-port
Use deprecation facility everywhere - v4 port
2019-04-17 17:12:24 -04:00
Clinton Wolfe
6a580ade70 Add missing group argument in deprecator
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-17 15:58:18 -04:00
Chef Expeditor
e3999a0814
Bump version to 4.1.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-17 17:41:26 +00:00
Chef Expeditor
bf15cffcc4
Bump version to 4.1.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-17 15:57:48 +00:00
Clinton Wolfe
7aeb1763a9
Merge pull request #3897 from mattlqx/interface-addresses
Support address matchers on interface resource
2019-04-17 11:57:29 -04:00
Clinton Wolfe
1552dc0210 Merge branch 'cw/use-deprecation-everywhere-3-port' of github.com:inspec/inspec into cw/use-deprecation-everywhere-4-port 2019-04-16 17:42:45 -04:00
Clinton Wolfe
ba6d59dc66 Deprecation handler in unit test helper
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-16 16:27:56 -04:00