diff options
author | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
commit | 51cfbdc4d16739caac4d946fadbe678444aafe34 (patch) | |
tree | 56dfd8f1cd9fd933de27268b32402e955a43ac2b /lib/chef/resource_collection | |
parent | 05064423057d4cf46f4713b81b08829cf6d20af6 (diff) | |
download | chef-51cfbdc4d16739caac4d946fadbe678444aafe34.tar.gz |
Use double quotes by default
This is an entirely mechanically generated (chefstyle -a) change, to go
along with chef/chefstyle#5 . We should pick something and use it
consistently, and my opinion is that double quotes are the appropriate
thing.
Diffstat (limited to 'lib/chef/resource_collection')
-rw-r--r-- | lib/chef/resource_collection/resource_collection_serialization.rb | 4 | ||||
-rw-r--r-- | lib/chef/resource_collection/resource_list.rb | 8 | ||||
-rw-r--r-- | lib/chef/resource_collection/resource_set.rb | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource_collection/resource_collection_serialization.rb b/lib/chef/resource_collection/resource_collection_serialization.rb index 738671e20b..ec3031e2fa 100644 --- a/lib/chef/resource_collection/resource_collection_serialization.rb +++ b/lib/chef/resource_collection/resource_collection_serialization.rb @@ -25,8 +25,8 @@ class Chef instance_vars[iv] = self.instance_variable_get(iv) end { - 'json_class' => self.class.name, - 'instance_vars' => instance_vars, + "json_class" => self.class.name, + "instance_vars" => instance_vars, } end diff --git a/lib/chef/resource_collection/resource_list.rb b/lib/chef/resource_collection/resource_list.rb index a26bd347aa..a3ff276d6c 100644 --- a/lib/chef/resource_collection/resource_list.rb +++ b/lib/chef/resource_collection/resource_list.rb @@ -16,10 +16,10 @@ # limitations under the License. # -require 'chef/resource' -require 'chef/resource_collection/stepable_iterator' -require 'chef/resource_collection/resource_collection_serialization' -require 'forwardable' +require "chef/resource" +require "chef/resource_collection/stepable_iterator" +require "chef/resource_collection/resource_collection_serialization" +require "forwardable" # This class keeps the list of all known Resources in the order they are to be executed in. It also keeps a pointer # to the most recently executed resource so we can add resources-to-execute after this point. diff --git a/lib/chef/resource_collection/resource_set.rb b/lib/chef/resource_collection/resource_set.rb index 1b39298cb4..4bf78d6f59 100644 --- a/lib/chef/resource_collection/resource_set.rb +++ b/lib/chef/resource_collection/resource_set.rb @@ -16,8 +16,8 @@ # limitations under the License. # -require 'chef/resource' -require 'chef/resource_collection/resource_collection_serialization' +require "chef/resource" +require "chef/resource_collection/resource_collection_serialization" class Chef class ResourceCollection |