lib/scaffoldhub/specification.rb in scaffoldhub-0.0.12 vs lib/scaffoldhub/specification.rb in scaffoldhub-0.0.13
- old
+ new
@@ -37,12 +37,12 @@
end
module Scaffoldhub
class Specification
- mattr_accessor :name, :description, :base_url, :blog_post, :screenshot, :parameter_example
- define_dsl_attributes :name, :description, :base_url, :blog_post, :screenshot, :parameter_example
+ mattr_accessor :name, :description, :base_url, :blog_post, :screenshot, :parameter_example, :post_install_message
+ define_dsl_attributes :name, :description, :base_url, :blog_post, :screenshot, :parameter_example, :post_install_message
mattr_accessor :files, :errors, :tags, :gems
@@files = []
@@errors = []
@@tags = []
@@ -68,10 +68,11 @@
:blog_post => blog_post,
:gems => gems,
:files => files,
:screenshot => screenshot,
:tags => tags,
- :parameter_example => parameter_example
+ :parameter_example => parameter_example,
+ :post_install_message => post_install_message
}.to_yaml
end
def adjusted_base_url
if base_url =~ /github.com\/([^\s]+\/[^\s]+)\/(tree|blob)\/(.*)$/