Skip to content

Commit

Permalink
Merge pull request #17006 from vitorgalvao/appcast-latest
Browse files Browse the repository at this point in the history
appcast: remove latest_version
  • Loading branch information
vitorgalvao committed Jan 15, 2016
2 parents ccb9ba9 + e22490b commit 9f4a15e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/hbc/dsl/appcast.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
class Hbc::DSL::Appcast

# todo :latest_version is considered experimental
# and may be removed

attr_reader :parameters, :checkpoint, :latest_version, :sha256
attr_reader :parameters, :checkpoint, :sha256

def initialize(uri, parameters={})
@parameters = parameters
@uri = Hbc::UnderscoreSupportingURI.parse(uri)
@checkpoint = @parameters[:checkpoint]
@latest_version = @parameters[:latest_version] # experimental
@sha256 = @parameters[:sha256] # DEPRECATED
end

Expand Down

0 comments on commit 9f4a15e

Please sign in to comment.