lib/pears/provider/base.rb in pears-0.3.4 vs lib/pears/provider/base.rb in pears-0.3.5
- old
+ new
@@ -26,10 +26,13 @@
private
def parse_yaml(yaml_string)
yaml_data = YAML.load(
yaml_string,
- permitted_classes: [ActiveSupport::HashWithIndifferentAccess, Hash]
+ permitted_classes: [ActiveSupport::HashWithIndifferentAccess,
+ Hash,
+ Symbol
+ ]
)
unless yaml_data.respond_to? :with_indifferent_access
raise Pears::InvalidProviderData
end