lib/specinfra/command_factory.rb in specinfra-2.71.1 vs lib/specinfra/command_factory.rb in specinfra-2.71.2

- old
+ new

@@ -57,10 +57,10 @@ command_class.create end end def breakdown(meth) - # Somtimes `selinux_module' type matches `selinux' and error occurs. + # Sometimes `selinux_module' type matches `selinux' and error occurs. # Reverse sorting is needed to avoid this problem. types = resource_types.map {|t| t.to_snake_case }.sort.reverse.join('|') md = meth.to_s.match(/^([^_]+)_(#{types})_?(.+)?$/) if md.nil? message = "Could not break down `#{meth}' to appropriate type and method.\n"