Commit graph

2282 commits

Author SHA1 Message Date
Dominik Richter
8a9cd539fc Merge pull request #747 from chef/ap/nil-include
Prevent nil.include?
2016-05-13 20:28:04 +02:00
Alex Pop
4241cbf7ce can-t go in else when nil either 2016-05-13 19:22:09 +01:00
Alex Pop
6a9f015527 prevent nil.include? 2016-05-13 19:03:33 +01:00
Dominik Richter
4152101679 0.21.5 2016-05-13 19:29:46 +02:00
Alex Pop
9f19a559c1 Merge pull request #746 from chef/dr/object-construction
fix construction of ruby objects on string and array handlers
2016-05-13 18:19:04 +01:00
Dominik Richter
603e3e21b3 fix construction of ruby objects on string and array handlers 2016-05-13 19:07:43 +02:00
Dominik Richter
626f5fc497 rake release_docker + smaller image builds 2016-05-13 12:59:33 +02:00
Dominik Richter
b837f8c8ec 0.21.4 2016-05-13 12:58:35 +02:00
Alex Pop
6f7be9713a Merge pull request #744 from chef/dr/processes-struct
use struct for processes list
2016-05-13 11:04:25 +01:00
Dominik Richter
2323ec52d2 add polyfill for ruby 1.9.3. struct 2016-05-13 11:57:06 +02:00
Dominik Richter
dde4433933 use struct for processes list
we know all the fields + struct is fully compatible to the curren hash implementation
2016-05-13 11:22:56 +02:00
Christoph Hartmann
987c42ed99 0.21.3 2016-05-12 00:27:30 +02:00
Christoph Hartmann
fbf737a999 Merge pull request #737 from chef/chris-rock/deprecate-array-matcher
deprecate array matcher
2016-05-12 00:24:31 +02:00
Christoph Hartmann
f3b41ccea9 deprecate arrray matcher 2016-05-12 00:14:54 +02:00
Christoph Hartmann
1f470971d2 Revert "Add all_match to matchers"
This reverts commit 29cf4522e4.
2016-05-11 23:47:24 +02:00
Christoph Hartmann
48d8694789 Revert "fix contain_match, add none_match"
This reverts commit 54b397f3a5.
2016-05-11 23:47:24 +02:00
Christoph Hartmann
5939e5b2f9 Merge pull request #739 from chef/ap/port-not-nil
Return empty array instead of nil for port methods
2016-05-11 23:32:43 +02:00
Alex Pop
2a9d9b5481 return empty array instead of nil to be .each friendly 2016-05-11 22:21:22 +01:00
Christoph Hartmann
03b1ecfac5 Merge pull request #735 from tpcwang/escape-windows-osenv
Escape os_env command on Windows to handle env variables containing parentheses.
2016-05-11 23:09:34 +02:00
Christoph Hartmann
21a91f964c 0.21.2 2016-05-11 14:16:24 +02:00
Christoph Hartmann
79e291c1a1 Merge pull request #736 from chef/ap/matchers4me
Fix contain_match, add none_match
2016-05-11 14:07:18 +02:00
Alex Pop
54b397f3a5 fix contain_match, add none_match
update matchers doc and add more integration tests
allow non-string data types and non-arrays
2016-05-11 12:47:36 +01:00
tpcwang
c8d2991589 Escape os_env command on Windows to handle env variables containing parentheses.
Update the mock file to match the new command
2016-05-11 01:09:06 -07:00
Christoph Hartmann
7e514c8735 0.21.1 2016-05-10 22:43:34 +02:00
Christoph Hartmann
9fd9f8aa69 Merge pull request #733 from chef/vj/add-label-for-processes
Expose label for processes only on linux
2016-05-10 22:39:02 +02:00
Victoria Jeffrey
1811eb6666 Expose label for processes only on linux 2016-05-10 13:59:13 -04:00
Christoph Hartmann
7e37502ba8 Merge pull request #730 from chef/vj/add-all-match-matcher
Add all_match to matchers
2016-05-10 16:33:41 +02:00
Victoria Jeffrey
29cf4522e4 Add all_match to matchers 2016-05-10 10:00:55 -04:00
Alex Pop
6670a8f502 Merge pull request #729 from chef/chris-rock/remove-unused
fix: remove non-existent class
2016-05-10 12:55:26 +01:00
Christoph Hartmann
1c2fd97a39 fix: remove non-existent class 2016-05-10 13:18:33 +02:00
Christoph Hartmann
a83088edea 0.21.0 2016-05-10 11:09:57 +02:00
Dominik Richter
11ce09ba42 Merge pull request #724 from chef/ap/redundant_space
Remove redundant space when missing expectation
2016-05-09 16:32:06 +02:00
Alex Pop
91b83b45a5 remove redundant space when missing expectation 2016-05-09 15:20:29 +01:00
Christoph Hartmann
341ebeeecb Merge pull request #721 from chef/ap/service-params
Provide service params
2016-05-09 15:22:38 +02:00
Alex Pop
9ded3b8835 Provide service params as a mash, empty unless systemd for now 2016-05-09 14:54:09 +02:00
Christoph Hartmann
20478ab6aa Merge pull request #720 from chef/chris-rock/detect
inspec detect learns human-readable output
2016-05-09 14:28:18 +02:00
Christoph Hartmann
d2a8ba0022 add human-readable output for detect, as well as a --format json 2016-05-09 13:24:49 +02:00
Christoph Hartmann
7a159311af Merge pull request #717 from chef/dr/processes.attribute
api: make processes return integers for pid/vsz/rss
2016-05-06 17:01:06 +02:00
Dominik Richter
5d925b2851 api: make processes return integers for pid/vsz/rss 2016-05-06 16:49:21 +02:00
Christoph Hartmann
6a41044d33 Merge pull request #718 from chef/ap/ruby-ruby-ruby
Add documentation on how to use ruby
2016-05-06 16:45:40 +02:00
Alex Pop
cef1856cdf sym to strings 2016-05-06 14:27:42 +01:00
Alex Pop
9a83814f35 update mount example with include 2016-05-06 14:27:42 +01:00
Alex Pop
04411a1033 fix typo and resolve |json| 2016-05-06 14:27:42 +01:00
Alex Pop
7c0e9129fd remove requires and break things up a bit 2016-05-06 14:27:42 +01:00
Alex Pop
ed613da2d2 even more backticks 2016-05-06 14:27:42 +01:00
Alex Pop
f062c9c9d9 more backticks 2016-05-06 14:27:42 +01:00
Alex Pop
3893393f16 backticks 2016-05-06 14:27:42 +01:00
Alex Pop
dd0d32472f Added how to use ruby in inspec doc 2016-05-06 14:27:42 +01:00
Dominik Richter
e5dafdd57e Merge pull request #696 from chef/chris-rock/cc-error-not-loggedin
show error if user is not logged in to compliance server
2016-05-06 14:23:45 +02:00
Christoph Hartmann
6e905c8162 update functional tests 2016-05-06 13:47:22 +02:00