lib/cide/config_file.rb in cide-0.8.1 vs lib/cide/config_file.rb in cide-0.9.0

- old
+ new

@@ -44,19 +44,26 @@ attribute :run, String # Container ID added after the fact attr_accessor :id end + class PackageConfig + include Virtus.model + include NiceInspect + attribute :add_version, String, required: false + end + include Virtus.model(strict: true) include NiceInspect attribute :from, String, default: 'ubuntu' attribute :as_root, Step, required: false attribute :use_ssh, Boolean, default: false attribute :before, Step, required: false attribute :env, Hash[String, String], default: {} attribute :export_dir, String, required: false attribute :links, Array[Link], default: [] attribute :run, Array[String], default: ['script/ci'] + attribute :package, PackageConfig, required: false attr_reader :warnings, :errors def initialize(*) super