lib/lolcommits/plugins/lol_flowdock.rb in lolcommits-0.8.1 vs lib/lolcommits/plugins/lol_flowdock.rb in lolcommits-0.9.0
- old
+ new
@@ -52,11 +52,11 @@
begin
endpoint = 'https://' + configuration['access_token'] + '@' + ENDPOINT_URL + configuration['organization'] + '/' + configuration['flow'] + '/messages'
response = RestClient.post(
endpoint,
- :event => 'file',
- :content => File.new(runner.main_image)
+ event: 'file',
+ content: File.new(runner.main_image)
)
debug response
rescue => e
retries -= 1
retry if retries > 0