
- Re-factor - Remove code for notifications - Remove addons - Remove travis-core gem. - Ignore logs directory only - Move core tests to spec/lib
19 lines
324 B
Ruby
19 lines
324 B
Ruby
class Build
|
|
class Config
|
|
class Group
|
|
DEFAULT_GROUP = 'stable'
|
|
|
|
attr_reader :config
|
|
|
|
def initialize(config, *)
|
|
@config = config
|
|
end
|
|
|
|
def run
|
|
return config if config.key?(:group) || config.key?('group')
|
|
config.merge(group: DEFAULT_GROUP)
|
|
end
|
|
end
|
|
end
|
|
end
|