Allow [Symbol] when loading YAML
This commit is contained in:
parent
c5dacce4d7
commit
b4b9df277b
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ module Ci
|
|||
attr_reader :before_script, :image, :services, :variables, :path, :cache
|
||||
|
||||
def initialize(config, path = nil)
|
||||
@config = YAML.safe_load(config)
|
||||
@config = YAML.safe_load(config, [Symbol])
|
||||
@path = path
|
||||
|
||||
unless @config.is_a? Hash
|
||||
|
@ -250,4 +250,4 @@ module Ci
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue