
- Re-factor - Remove code for notifications - Remove addons - Remove travis-core gem. - Ignore logs directory only - Move core tests to spec/lib
15 lines
253 B
Ruby
15 lines
253 B
Ruby
class Build
|
|
class Config
|
|
class Yaml < Struct.new(:config, :options)
|
|
def run
|
|
normalize(config)
|
|
end
|
|
|
|
def normalize(hash)
|
|
Hash[hash.map { |key, value| [key == true ? :on : key, value] }]
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|