Commit graph

6690 commits

Author SHA1 Message Date
Christoph Hartmann
482b8f71ee fix rubocop linting 2015-10-30 17:03:22 +01:00
Christoph Hartmann
c71e454259 add gems for maintainer generation 2015-10-30 17:02:18 +01:00
Nathen Harvey
8ff9a5cf01 Prefer single-quoted strings when you don't need string interpolation or special symbols. 2015-10-30 16:37:53 +01:00
Nathen Harvey
1e00e582eb A MAINTAINERS file lists the maintainers of the prject
* MAINTAINERS.toml is the source of record
* MAINTAINERS.md is generated using a new rake task
* New rake task added for generating the maintainers markdown file
* New rake task for synchronizing the github team
2015-10-30 16:37:53 +01:00
chef-delivery
921d06b23c Merge pull request #171 from chef/jcreedcmu-patch-1
Merged change b7b68cff-287f-4c8b-a98b-92bc604b7500

From review branch jcreedcmu-patch-1 into master

Signed-off-by: jreed <jreed@chef.io>
2015-10-30 07:34:36 -07:00
Christoph Hartmann
fa289dd1f1 add description for integration tests 2015-10-30 15:20:45 +01:00
jcreedcmu
9336aff661 Forgot one more bundle exec 2015-10-30 15:20:45 +01:00
jcreedcmu
08b816681c Update README.md
Not sure if some of the warning/description I'm leaving in this section still apply to these tests, or whether they apply to tests that will go in https://github.com/chef/inspec/tree/master/test/integration in the future.
2015-10-30 15:20:45 +01:00
chef-delivery
70efd7f9b8 Merge pull request #172 from chef/docs-abbreviations
Merged change 895a4a10-9b84-4bdc-a5ae-7f80040891ec

From review branch docs-abbreviations into master

Signed-off-by: jreed <jreed@chef.io>
2015-10-30 06:40:50 -07:00
Christoph Hartmann
e08f0b4d88 add abbreviations 2015-10-30 14:29:19 +01:00
chef-delivery
79c5a28ac7 Merge pull request #168 from chef/jcreedcmu-patch-1
Merged change 467d47a7-33d8-4183-ac62-5a2998c37618

From review branch jcreedcmu-patch-1 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-30 05:35:53 -07:00
jcreedcmu
801bc9700f Update ctl_inspec.rst
Documentation appears to have been describing the state of the world before a62ce0e14b
2015-10-30 12:44:30 +01:00
chef-delivery
443fad2b2a Merge pull request #169 from chef/jc/docs
Merged change 78ec3511-d420-4844-a86c-db6fa9b9fecb

From review branch jc/docs into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-30 04:43:11 -07:00
Jason Reed
5b6397fc25 Fix docs so they at least compile with rst2html.py 2015-10-30 07:28:40 -04:00
Dominik Richter
8d154eb91f Merge pull request #167 from nathenharvey/nathen/readme
Minor changes to the README
2015-10-29 19:38:58 +01:00
Nathen Harvey
01af426101 Minor wording changes 2015-10-29 11:42:22 -04:00
Nathen Harvey
68e7b0a59c 'InSpec' uses consistent capitalization 2015-10-29 08:01:00 -04:00
chef-delivery
6f9aeb6405 Merge pull request #164 from chef/jscott/syncresources
Merged change b187230b-217f-48eb-b665-14ca4b3fe3bc

From review branch jscott/syncresources into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-27 15:28:56 -07:00
jamescott
5c22048caa sync words
|inspec resource| = InSpec audit resource
2015-10-27 23:26:42 +01:00
Dominik Richter
24ec8be3d8 Merge pull request #163 from chef/docs
Improve docs
2015-10-27 23:04:54 +01:00
Christoph Hartmann
438dca1d28 improve docs for parse_config_file 2015-10-27 21:34:09 +01:00
Christoph Hartmann
178cf2564d remove postgres and mysql from resource docs for now 2015-10-27 21:34:09 +01:00
Christoph Hartmann
0e6a6296a3 remove to_i in its docs 2015-10-27 21:34:09 +01:00
Christoph Hartmann
7f3082f103 introduce stability index for resources 2015-10-27 21:34:08 +01:00
Christoph Hartmann
ebeac09036 extend docs introduction 2015-10-27 21:34:08 +01:00
chef-delivery
a8cdb53e45 Merge pull request #162 from chef/json
Merged change 68a5ab3f-f9c5-482c-a61e-2d5776f8931f

From review branch json into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-27 13:32:57 -07:00
Dominik Richter
24451469ca api: method_missing doesnt resolve hashmaps
Since #its has its(pun) own way of handling calls with a dot-notation, the full call is never passed to the resource. For example:

```ruby
describe json('file') do
  its('a.b.c') { should eq 123 }
end
```

This is resolved to calling `json('file').a.b.c` and thus doesnt work as an intended `json('file').send('a.b.c'). For now use
regular its-behavior of calling `json('file').params ...  its(%w{a b c}) { should ... }`.

Its' behavior must be improved.
2015-10-27 16:35:43 +01:00
Dominik Richter
8d682973b0 extend csv tests, remove dot-resolver 2015-10-27 15:58:02 +01:00
Dominik Richter
e0874b47b1 extend yaml tests, remove dot-resolver 2015-10-27 15:58:02 +01:00
Dominik Richter
a55e240a0f extend json tests, remove dot-resolver 2015-10-27 15:58:02 +01:00
chef-delivery
6ddc45446d Merge pull request #161 from chef/bugfix-profile
Merged change 5ce5796b-e97e-4826-a9de-9848865207af

From review branch bugfix-profile into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-27 01:50:36 -07:00
Dominik Richter
8daf8dfa86 lint 2015-10-27 03:07:38 +01:00
Dominik Richter
59a8ca6639 construct profile in legacy structure
This is a temporary commit to achieve compliance with other components. It will be overturned before the final release.
2015-10-27 02:29:11 +01:00
Dominik Richter
5720aa3294 bugfix: detect filename+line for all example blocks 2015-10-27 02:29:11 +01:00
Dominik Richter
32e5e3ec29 move to symbols-based fields in profile params 2015-10-27 02:29:11 +01:00
Dominik Richter
7779cdb469 add simple tests for profile 2015-10-27 02:29:11 +01:00
chef-delivery
44bc61d137 Merge pull request #160 from chef/docs
Merged change 2879519d-dd20-489c-9569-702d4898d5a0

From review branch docs into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 18:28:41 -07:00
Christoph Hartmann
164aad5b86 update index of resource docs 2015-10-27 02:26:19 +01:00
Christoph Hartmann
c9defc90c7 add reference to docker 2015-10-27 02:26:19 +01:00
Christoph Hartmann
a1943296cf docs cli change replacements 2015-10-27 02:26:19 +01:00
Christoph Hartmann
7443b388c2 remove docs done flag 2015-10-27 02:26:19 +01:00
chef-delivery
0125440c03 Merge pull request #157 from chef/apache
Merged change b3b856f2-6e80-4fe8-81d3-769445e4a9b1

From review branch apache into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 18:23:24 -07:00
Christoph Hartmann
cdb30c356f add apache base config 2015-10-27 02:20:29 +01:00
chef-delivery
a2bc0845cd Merge pull request #158 from chef/readme
Merged change 0534a0a5-42fd-4359-a583-3a017835925d

From review branch readme into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 18:19:53 -07:00
Dominik Richter
4f187360f1 minor adjustments to readme 2015-10-27 02:16:32 +01:00
Christoph Hartmann
142976eade update readme 2015-10-27 01:01:42 +01:00
chef-delivery
cdc977a8e6 Merge pull request #159 from chef/jscott/edits
Merged change 54833aa5-1ae3-4a71-937a-58f1d1d5e694

From review branch jscott/edits into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-26 16:50:47 -07:00
jamescott
88ed679572 resource => audit resource 2015-10-26 16:29:57 -07:00
chef-delivery
a0c4df7ab0 Merge pull request #156 from chef/kitchen
Merged change 5ee77960-5074-4d9e-89fc-b2c38e116fd5

From review branch kitchen into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 12:39:52 -07:00
Christoph Hartmann
8738687a89 update to new kitchen-inspect 2015-10-26 19:33:53 +01:00