| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Also add some notes here that we should convert this to a filter_map
when we can as that's easier to read and faster.
Perf benchmarks from the tubes:
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
There's no need for the &. here
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
We can avoid some duplicate checks by using &. in places
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
|
|
| |
This was missed since the windows network plugin just mocks out the IP
data. I'll see what I can do to make these more real world tests in a
followup PR
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Optimize 2 of our requires
|
|/
|
|
|
|
| |
Only include set if we need to and use require_relative which is faster
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Use rubocop-performance to enforce some best practices
|
| |
| |
| |
| |
| |
| | |
I've already fixed all the warnings. This will keep it that way.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Remove profile gemfile group for now
|
|/
|
|
|
|
| |
This causes bundle install issues on windows
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Update network plugin to use ipaddr not ipaddress gem
|
| |
| |
| |
| |
| |
| | |
This broke because we never actually required ipaddress in the plugin, but the specs passed because we required it there.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Remove non-Ohai requires from specs to prevent false positives
|
|/ /
| |
| |
| |
| |
| | |
The plugins should require everything they need unless we're using those library to mock out objects like we do in some Windows specs. This way we rely on the requires in the plugins and specs fail if those requires are removed.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Remove unused systemu dependency
|
| | |
| | |
| | |
| | |
| | |
| | | |
I can't see a place where we're using this.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |/ /
|/| /
| |/ |
Minor memory optimizations
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Just fall back to nil with an else
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Avoid requiring these unless we actually run the plugin.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Decreases memory usage slightly
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
We actually only use net/http and this way we avoid requiring another file
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
| |
Avoid creating an object here
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Simplify FIPS plugin and use system fips status
|
| |
| |
| |
| |
| |
| | |
Don't rely on fips being enabled by chef-config. Pull the system status instead.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Use match? instead of =~ when MatchData is not used
|
| |
| |
| |
| |
| |
| | |
Don't run match? against nil
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
| |
We don't need this data.
Signed-off-by: Tim Smith <tsmith@chef.io>
|