Skip to content

Commit

Permalink
fix #34 frozenerror (#35)
Browse files Browse the repository at this point in the history
* remove freeze

* version bump
  • Loading branch information
erniebrodeur authored Mar 5, 2020
1 parent 4e8faf9 commit cd29a00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/pushover.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# pushover interface for ruby
module Pushover
# headers to include in every request.
HEADERS = { 'Content-Type' => 'application/json', 'User-Agent' => "pushover (ruby gem) v#{VERSION}" }.freeze
HEADERS = { 'Content-Type' => 'application/json', 'User-Agent' => "pushover (ruby gem) v#{VERSION}" }
# excon connection to use for every request.
Excon = Excon.new('https://api.pushover.net', headers: HEADERS).freeze
Excon = Excon.new('https://api.pushover.net', headers: HEADERS)
end
2 changes: 1 addition & 1 deletion lib/pushover/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Pushover
VERSION = "3.0.2".freeze # The current version of Pushover.
VERSION = "3.0.3".freeze # The current version of Pushover.
end

0 comments on commit cd29a00

Please sign in to comment.