Skip to content

Commit

Permalink
Freeze the strings we're not later modifying
Browse files Browse the repository at this point in the history
There's a few plugins that this couldn't be enabled on due to how we build strings, but for the most part this is an easy one to turn on and it shaves 1k from the runtime memory!

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Oct 30, 2020
1 parent e5ecdfd commit d1da1e4
Show file tree
Hide file tree
Showing 142 changed files with 143 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
source "https://rubygems.org"

gemspec
Expand All @@ -22,6 +23,6 @@ end
group :debug do
gem "pry"
gem "pry-byebug"
gem "pry-stack_explorer", "~> 0.4.0" # pin until we drop ruby < 2.6
gem "pry-stack_explorer"
gem "rb-readline"
end
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "bundler/gem_tasks"

begin
Expand Down
1 change: 1 addition & 0 deletions bin/ohai
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/application.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Mathieu Sauve-Frankel <[email protected]>
# Copyright:: Copyright (c) 2009 Mathieu Sauve-Frankel.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/common/dmi.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Kurt Yoder ([email protected])
# Copyright:: Copyright (c) 2010 Kurt Yoder
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/config.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Author:: Claire McQuin (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/dsl.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Serdar Sutay (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/dsl/plugin.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Author:: Claire McQuin (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/dsl/plugin/versionvii.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Serdar Sutay (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/exception.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/hints.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Serdar Sutay (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/log.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mash.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/azure_metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Tim Smith (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/chef_utils_wiring.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/command.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
$stderr.puts "WARN: Ohai::Mixin::Command is deprecated, please use Ohai::Mixin::ShellOut or remove if the reference is unnecessary"
require_relative "shell_out"
Ohai::Mixin::Command = Ohai::Mixin::ShellOut unless defined?(Ohai::Mixin::Command)
1 change: 1 addition & 0 deletions lib/ohai/mixin/constant_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Serdar Sutay (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/dmi_decode.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Tim Smith <[email protected]>
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/do_metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true

# Author:: Dylan Page (<[email protected]>)
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/ec2_metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Tim Dysinger (<[email protected]>)
# Author:: Benjamin Black (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/gce_metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Ranjib Dey (<[email protected]>)
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/http_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/network_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Serdar Sutay (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/os.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/scaleway_metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Jonathan Amiez (<[email protected]>)
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/seconds_to_human.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/shell_out.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Author:: Tim Smith (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/softlayer_metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Alexey Karpik <[email protected]>
# Author:: Peter Schroeter <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/string.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: James Gartrell (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/train_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/mixin/which.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugin_config.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/aix/kernel.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Joshua Timberman <[email protected]>
# Author:: Isa Farnik (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/aix/memory.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Joshua Timberman <[email protected]>
# Author:: Isa Farnik (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/aix/network.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Kaustubh Deorukhkar (<[email protected]>)
# Author:: Prabhu Das (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/aix/platform.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Joshua Timberman <[email protected]>
# Author:: Isa Farnik (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/aix/uptime.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Kurt Yoder (<[email protected]>)
# Author:: Isa Farnik (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/azure.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
#
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/bsd/virtualization.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Bryan McLellan ([email protected])
# Copyright:: Copyright (c) 2009 Bryan McLellan
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/c.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Doug MacEachern <[email protected]>
# Copyright:: Copyright (c) 2010 VMware, Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/chef.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Tollef Fog Heen <[email protected]>
# Copyright:: Copyright (c) 2010 Tollef Fog Heen
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/cloud.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Cary Penniman (<[email protected]>)
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/command.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/cpu.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Author:: Bryan McLellan ([email protected])
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/darwin/hardware.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Nate Walck (<[email protected]>)
# Copyright:: Copyright (c) 2016-present Facebook, Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/darwin/memory.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Patrick Collins (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/darwin/network.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Benjamin Black (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/darwin/platform.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/darwin/virtualization.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Pavel Yudin (<[email protected]>)
# Author:: Tim Smith (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/digital_ocean.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Dylan Page (<[email protected]>)
# Author:: Stafford Brunk (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/dmi.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Kurt Yoder ([email protected])
# Copyright:: Copyright (c) 2010 Kurt Yoder
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/docker.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/dragonflybsd/memory.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Bryan McLellan ([email protected])
# Copyright:: Copyright (c) 2009 Bryan McLellan
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/dragonflybsd/network.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Bryan McLellan ([email protected])
# Copyright:: Copyright (c) 2009 Bryan McLellan
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/dragonflybsd/platform.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Bryan McLellan ([email protected])
# Copyright:: Copyright (c) 2009 Bryan McLellan
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/ec2.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Tim Dysinger (<[email protected]>)
# Author:: Benjamin Black (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/erlang.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Joe Williams (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/eucalyptus.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Tim Dysinger (<[email protected]>)
# Author:: Benjamin Black (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/fips.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Matt Wrock (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/freebsd/memory.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Bryan McLellan ([email protected])
# Copyright:: Copyright (c) 2009 Bryan McLellan
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/freebsd/network.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Bryan McLellan ([email protected])
# Copyright:: Copyright (c) 2009 Bryan McLellan
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/freebsd/platform.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Bryan McLellan ([email protected])
# Copyright:: Copyright (c) 2009 Bryan McLellan
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/gce.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Ranjib Dey (<[email protected]>)
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/haskell.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Author:: Chris Dituri (<[email protected]>)
# Copyright:: Copyright (c) 2016 Chris Dituri
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/hostname.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Author:: Benjamin Black (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/init_package.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Caleb Tennis (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/java.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Benjamin Black (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/joyent.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author: [email protected]
# Copyright (C) 2014 HiganWorks LLC
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/kernel.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Author:: Benjamin Black (<[email protected]>)
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/keys.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Cookbook Name:: apache2
# Recipe:: default
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/languages.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/libvirt.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Benjamin Black (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/linode.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Aaron Kalin (<[email protected]>)
# License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/linux/block_device.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Adam Jacob (<[email protected]>)
# Copyright:: Copyright (c) Chef Software Inc.
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/linux/hostnamectl.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Davide Cavalca (<[email protected]>)
# Copyright:: Copyright (c) 2016 Facebook
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/linux/interrupts.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Davide Cavalca <[email protected]>
# Copyright:: Copyright (c) 2020 Facebook
Expand Down
1 change: 1 addition & 0 deletions lib/ohai/plugins/linux/ipc.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
#
# Author:: Jay Vana <[email protected]>
# Author:: Davide Cavalca <[email protected]>
Expand Down
Loading

0 comments on commit d1da1e4

Please sign in to comment.