Class: Glitter::Release::Sparkle
Overview
A release consists of a binary asset, notes, a monotonically increasing version number, and lives inside of a channel.
Instance Attribute Summary collapse
- #bundle_version ⇒ Object
-
#executable ⇒ Object
Returns the value of attribute executable.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#published_at ⇒ Object
Yeah, lets publish this shiz NOW.
Attributes inherited from Base
Instance Method Summary collapse
-
#push(*args) ⇒ Object
Generate assets and push.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Glitter::Release::Base
Instance Attribute Details
#bundle_version ⇒ Object
88 89 90 |
# File 'lib/glitter/release.rb', line 88 def bundle_version @bundle_version || @version end |
#executable ⇒ Object
Returns the value of attribute executable.
72 73 74 |
# File 'lib/glitter/release.rb', line 72 def executable @executable end |
#filename ⇒ Object
Returns the value of attribute filename.
72 73 74 |
# File 'lib/glitter/release.rb', line 72 def filename @filename end |
#notes ⇒ Object
Returns the value of attribute notes.
72 73 74 |
# File 'lib/glitter/release.rb', line 72 def notes @notes end |
#published_at ⇒ Object
Yeah, lets publish this shiz NOW.
76 77 78 |
# File 'lib/glitter/release.rb', line 76 def published_at @published_at ||= Time.now end |
Instance Method Details
#push(*args) ⇒ Object
Generate assets and push
81 82 83 84 85 86 |
# File 'lib/glitter/release.rb', line 81 def push(*args) notes_asset appcast_asset executable_asset super(*args) end |