Clinton Wolfe
ffb3ee7e32
Correct functional test
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
e3070cb02f
PR feedback on product capitalization
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
4582f1f8a7
linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
5acbae42ee
Exempt inspec-init template file from rubocop, and enable DisplayCopNames by default
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
247e004c8e
Add detail option, to make stripped-down plugins
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
fe7a683198
Add interactive prompting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
731b0705f5
Templatize everything for InSpec plugins
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
5343c217b0
All templates work, but need to decide on hooks
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
f95476179c
support for LICENSE
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
d553f4cbc3
Enough options to cover gemspec
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
f83ea2d7bb
Add ability to remap filenames
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
4b9fd1df79
Basic template, not parameterized
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
677542de02
Split the CLI implementation file
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
e00582f0ec
Adapt to new UI module
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
1ef8cc9916
Allow no args to plain_line
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
a349f91e52
Make UI not print emphasis by default
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Clinton Wolfe
81d07cd8d9
Move templates dir outside of lib
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:58:10 -05:00
Chef Expeditor
0c83750dc9
Bump version to 3.5.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-06 15:55:00 +00:00
Clinton Wolfe
eee599a95a
Merge pull request #3776 from eloyekunle/fix/postgres_ident_docs
...
Fixed Wrong References to pg_hba in postgres_ident_conf documentation
2019-02-06 10:54:39 -05:00
Elijah Oyekunle
179ce538ed
changed wrong references to pg_hba to pg_ident
...
Obvious fix.
Signed-off-by: Elijah Oyekunle <eloyekunle@gmail.com>
2019-02-01 14:10:18 +01:00
Chef Expeditor
caf920796d
Executed '.expeditor/update_dockerfile.sh'
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-01 04:56:48 +00:00
Chef Expeditor
aa51327c25
Bump version to 3.5.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-01 04:18:52 +00:00
Clinton Wolfe
3612a217a6
Merge pull request #3751 from inspec/cw/plugins-add-no-user-plugins-option
...
Add CLI options to disable loading plugins
2019-01-31 23:18:16 -05:00
Clinton Wolfe
5d2934cc5a
Passing help message functional tests for disabling plugins
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-31 22:52:19 -05:00
Clinton Wolfe
36ce34be98
Passing functional tests for using plugin disable options
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-31 22:52:19 -05:00
Clinton Wolfe
4203c02836
Crude implementation to watch for plugin disable options
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-31 22:52:19 -05:00
Chef Expeditor
167ada963e
Bump version to 3.4.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-01 03:50:38 +00:00
Clinton Wolfe
cbaeeff304
Merge pull request #3775 from inspec/cw/temporarily-pin-train
...
Temporarily pin train to 1.7.1
2019-01-31 22:50:23 -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
Chef Expeditor
4def2ea993
Bump version to 3.4.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-31 21:14:56 +00:00
Clinton Wolfe
761944b3ce
Merge pull request #3770 from inspec/ja/fix-bad-name-check
...
More meaningful error when including controls from a missing dependency
2019-01-31 16:14:35 -05:00
Chef Expeditor
3559ebd4c8
Bump version to 3.4.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-31 20:56:51 +00:00
Clinton Wolfe
253f7f8c72
Merge pull request #3757 from inspec/ja/fix-plugin-load-on-help
...
Add `--help` to CLI plugin activation criteria
2019-01-31 15:54:04 -05:00
Chef Expeditor
86b0ab6f26
Bump version to 3.4.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-31 20:53:41 +00:00
Clinton Wolfe
2be3063e22
Merge pull request #3758 from inspec/ja/fix-profile-context-test
...
tests: Fix profile_context_test NameError
2019-01-31 15:53:23 -05:00
Chef Expeditor
fe26709df6
Bump version to 3.4.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-31 04:03:25 +00:00
Clinton Wolfe
ee2249c4b0
Merge pull request #3773 from inspec/james-stocks/attribute_to_ruby
...
Fix Inspec::Attribute.to_ruby and add unit test
2019-01-30 23:03:09 -05:00
Clinton Wolfe
a1af115e26
Add eval to unit tests; break up codegen test into individual elements
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-30 14:29:18 -05:00
Clinton Wolfe
18011ccfec
Also issue default: option for backwards compatibility
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-30 14:05:11 -05:00
Jerry Aldrich
94d8d11120
Respond to feedback
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-30 09:26:04 -08:00
James Stocks
5868eb52e7
Fix Inspec::Attribute.to_ruby and add unit test
...
Signed-off-by: James Stocks <jstocks@chef.io>
2019-01-30 17:15:22 +00:00
Jerry Aldrich
f0c207dad9
Fix undefined method
error from inspec check
...
This changes the error message from using a bad reference in
`include_controls` from:
```
NoMethodError: undefined method `profile' for nil:NilClass
```
To one detailing that the profile cannot be loaded since it isn't listed
as a dependency.
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-29 22:36:27 -08:00
Jerry Aldrich
72c57c67f1
Move require
and fix load order issue
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-01-29 22:08:17 -08:00
Chef Expeditor
0fcbf0b155
Executed '.expeditor/update_dockerfile.sh'
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-29 21:20:38 +00:00
Chef Expeditor
ec966a1de9
Bump version to 3.4.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-29 20:46:02 +00:00
Clinton Wolfe
df4d4da431
Merge pull request #3766 from inspec/cw/plan-rebuild
...
Update Ruby requirement in README
2019-01-29 15:45:45 -05:00
Clinton Wolfe
635cc58b77
Update Ruby requirement in README
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-29 15:44:48 -05:00
Chef Expeditor
47befc8a55
Bump version to 3.4.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-01-28 22:41:06 +00:00
Clinton Wolfe
ce15ee9fe3
Merge pull request #3759 from inspec/cw/attrs-deprecate-default
...
Allow :value in addition to :default for setting attribute values
2019-01-28 17:40:50 -05:00
Clinton Wolfe
4d7cbc624c
Test and fix case in which both :default and :value are provided
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-28 00:42:27 -05:00