Skip to content

Commit

Permalink
Merge pull request #5 from taleksei/master
Browse files Browse the repository at this point in the history
fix: change http to https for twinkle
  • Loading branch information
DanteG41 authored Jul 3, 2023
2 parents dccc9d6 + 44a4933 commit d8b742e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/geminabox/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def telegram_notice(gem)
hash_tag = '#' + gem.spec.name.gsub('-', '_')
text = "New gem #{gem.spec.name} #{gem.spec.version} #{changelog} #{hash_tag}"
data = "token=2c92fd3b-1d85-4524-ad44-d32d321f5d7d&channel=gems&message=#{text}"
`curl -m5 -X POST --data '#{data}' 'http://twinkle.railsc.ru/messages'`
`curl -m5 -X POST --data '#{data}' 'https://twinkle.railsc.ru/messages'`
end

def api_request?
Expand Down
2 changes: 1 addition & 1 deletion lib/geminabox/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Geminabox
VERSION = '0.13.9' unless defined? VERSION
VERSION = '0.13.10' unless defined? VERSION
end

0 comments on commit d8b742e

Please sign in to comment.