Clinton Wolfe
3f54f7ac46
Ensure that resources are always initialized in all cases ( #4366 )
...
Ensure that resources are always initialized in all cases
2019-08-19 12:55:52 -04:00
Chef Expeditor
88d23697f7
Bump version to 4.13.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-19 16:52:35 +00:00
Clinton Wolfe
e7ccdc03c9
Refactor lib/source_readers/inspec.rb ( #4376 )
...
Refactor lib/source_readers/inspec.rb
2019-08-19 12:52:20 -04:00
Chef Expeditor
7581ab37c7
Bump version to 4.13.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-19 16:38:32 +00:00
Clinton Wolfe
8dc350bc6c
Add a Postfix-specific configuration testing resource ( #4378 )
...
Add a Postfix-specific configuration testing resource
2019-08-19 12:38:17 -04:00
Ryan Davis
43e07e8f2d
Finished refactoring!
...
Now that the code is easier to read and actually focuses on what it
does in a readable way, it is easier to reason about. In this case, we
have blocks being passed around in order to evaluate a bunch of
paths (read: strings) to determine if they're correct. Why do multiple
`start_with?` and `end_with?` calls? It doesn't cleanly describe what
it is trying to do. Instead, we can use regexps and it'll work just
fine, so lets do that. This simplifies things even further.
46.5: flog total
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
3f0e9e9ffa
Fix chefstyle.
...
This is an area where I really disagree with chefstyle. 🤷
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
f8b8f968aa
lib/source_readers/inspec.rb refactor 8/8: reformat
...
58.9: flog total
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
ac6164e56d
lib/source_readers/inspec.rb refactor 7/8: combine load_all and find_all.
...
58.9: flog total
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
213a4489ed
lib/source_readers/inspec.rb refactor 6/8: use if/compact instead of delete_if.
...
59.0: flog total
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
6399116e5f
lib/source_readers/inspec.rb refactor 5/8: extract to local var
...
60.1: flog total
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
5d19283199
lib/source_readers/inspec.rb refactor 4/8: use to_h
...
59.8: flog total
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
70d8ecf1e8
lib/source_readers/inspec.rb refactor 3/8: pull up file reading.
...
59.8: flog total
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
4f0a5d6ba1
lib/source_readers/inspec.rb refactor 2/8: normalize variable names.
...
76.1: flog total
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
6735d03a09
lib/source_readers/inspec.rb refactor 1/8: pull up file selection.
...
71.3: original flog total
73.0: flog total (this version)
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 20:36:19 -07:00
Ryan Davis
f4bae13c68
Fixes for 2 failed tests.
...
Rescue NotImplementedError and call failed_resource only if we haven't
already failed the support_check call.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 19:30:30 -07:00
Ryan Davis
cd5f58f8eb
Do not call return inside of an initialize method.
...
It does NOT do what you think it does. It does NOT prevent an object
from coming back. All it does is have an uninitialized (or partially
initialized) object come back, which isn't helpful.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-18 17:28:56 -07:00
Chef Expeditor
18c1b8d39c
Executed '.expeditor/update_dockerfile.sh'
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-15 20:31:54 +00:00
Chef Expeditor
8eded7e258
Bump version to 4.12.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-15 18:47:02 +00:00
Clinton Wolfe
85d7c74db6
Add deps on train 3 and train-winrm 0.2 ( #4355 )
...
Add deps on train 3 and train-winrm 0.2
2019-08-15 14:46:46 -04:00
Clinton Wolfe
9bd5ba8752
Add deps on train 3 and train-winrm 0.2
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-08-15 14:01:11 -04:00
dalee-bis
7f2dbd918f
Fixed MssqlSession.query not escaping double quote correctly
...
When `MssqlSession.query` is escaping the `"` character, it is doing so by prefixing it with a backslash (e.g. `\"`). This does not escape the quote character. It should be escaped by adding an additional double quote character (e.g. `""`).
2019-08-15 11:28:50 +01:00
Kerry Vance
a830958550
Ignore .swp
...
Signed-off-by: Kerry Vance <vancelot@osuosl.org>
2019-08-13 16:55:48 -07:00
Chef Expeditor
8e62048b97
Bump version to 4.11.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-13 16:59:16 +00:00
Clinton Wolfe
2b4436f64c
Begin signing MSI's with renewed Windows Signing Cert ( #4386 )
...
Begin signing MSI's with renewed Windows Signing Cert
2019-08-13 12:58:59 -04:00
Seth Chisamore
9907a4ee4a
Begin signing MSI's with renewed Windows Signing Cert
...
Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-08-13 11:15:28 -04:00
Chef Expeditor
134ff8048a
Bump version to 4.11.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-12 18:01:20 +00:00
Ryan Davis
33e912dd1b
Merge pull request #4381 from inspec/zenspider/oops2
...
Moved the osx? guard below minitest/autorun.
2019-08-12 11:01:06 -07:00
Ryan Davis
4b3f11697d
Removing ParallelTest so as to not encourage anyone from using it.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-09 16:17:13 -07:00
Ryan Davis
1266a65f28
Moved the osx? guard below minitest/autorun.
...
I didn't hit this because I use `minitest` to run my tests, not `m`.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-09 16:16:26 -07:00
Chef Expeditor
13c410a19d
Update CHANGELOG.md with details from pull request #4379
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-09 20:49:28 +00:00
Ryan Davis
d095b29f4a
Merge pull request #4379 from shaunyap/master
...
change announcement to LCR Road Trip
2019-08-09 13:49:16 -07:00
Shaun Yap
d1bea994db
change announcement to LCR Road Trip
...
Signed-off-by: Shaun Yap <sy@Shauns-MacBook-Pro.local>
2019-08-09 13:45:05 -07:00
Chef Expeditor
15d41f994f
Update CHANGELOG.md with details from pull request #4380
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 22:28:24 +00:00
Miah Johnson
6396f25b0d
Merge pull request #4380 from inspec/zenspider/oops
...
I didn't get the BK setup right, nor did the verification check this.
2019-08-08 15:28:09 -07:00
Ryan Davis
e41aa4657f
I didn't get the BK setup right, nor did the verification check this.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-08 15:26:04 -07:00
Chef Expeditor
bce0fbe177
Bump version to 4.11.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 22:06:17 +00:00
Clinton Wolfe
d8d68fe7ea
README: Add platform detail to support info in runtime list ( #4375 )
...
README: Add platform detail to support info in runtime list
2019-08-08 18:06:02 -04:00
David Gasper
ee2806a342
Fix RuboCop issues
...
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 14:32:19 -07:00
Clinton Wolfe
8f407e2387
Add platform detail to support info
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-08-08 17:28:34 -04:00
David Gasper
3912fef458
Add path example to docs
...
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 14:22:39 -07:00
David Gasper
45556a0fdb
Update docs
...
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 14:18:49 -07:00
Clinton Wolfe
25f9c1c845
Fix Docker builds ( #4373 )
...
Fix Docker builds
2019-08-08 16:58:10 -04:00
David Gasper
52ae5e434b
Add docs and unit tests, remove .travis.yml
...
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 13:54:35 -07:00
David Gasper
4079f289fd
Test TravisCI
...
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 13:54:35 -07:00
David Gasper
6ba210d82d
Add automatic path resolution
...
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 13:54:22 -07:00
David Gasper
098610f128
Add Postfix_conf resource
...
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 13:50:12 -07:00
Chef Expeditor
3981110da5
Bump version to 4.11.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 17:13:42 +00:00
Clinton Wolfe
02fafa9bed
Merge pull request #4360 from kclinden/patch-1
...
Fixed typo in umask example
2019-08-08 13:13:27 -04:00
Chef Expeditor
34153dedd2
Update CHANGELOG.md with details from pull request #4374
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 16:55:56 +00:00