Skip to content

Commit

Permalink
prep 0.0.6 release, includes date param
Browse files Browse the repository at this point in the history
  • Loading branch information
matthutchinson committed Sep 17, 2017
1 parent ed7ac53 commit 01255f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/lolcommits/lolsrv/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Lolcommits
module Lolsrv
VERSION = "0.0.5".freeze
VERSION = "0.0.6".freeze
end
end
9 changes: 4 additions & 5 deletions lib/lolcommits/plugin/lolsrv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,16 @@ def upload(image, sha)
# @return [Hash]
#
def upload_params_for(image, sha)
# TODO: uncomment lines below
params = {
lol: File.new(image),
repo: runner.vcs_info.repo,
# date: runner.vcs_info.commit_date.iso8601,
date: runner.vcs_info.commit_date.iso8601,
sha: sha
}

# if runner.vcs_info.url
# params.merge!(url: runner.vcs_info.url + sha)
# end
if runner.vcs_info.url
params.merge!(url: runner.vcs_info.url + sha)
end

params
end
Expand Down
2 changes: 1 addition & 1 deletion lolcommits-lolsrv.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Gem::Specification.new do |spec|

spec.add_runtime_dependency "rest-client"

spec.add_development_dependency "lolcommits", ">= 0.9.6" # TODO: change to 0.9.7 on release
spec.add_development_dependency "lolcommits", ">= 0.9.7"
spec.add_development_dependency "bundler"
spec.add_development_dependency "webmock"
spec.add_development_dependency "pry"
Expand Down

0 comments on commit 01255f8

Please sign in to comment.