Skip to content

Commit

Permalink
Normalizes platform
Browse files Browse the repository at this point in the history
  • Loading branch information
caioalonso committed Aug 31, 2020
1 parent 48961bf commit cc78e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tellus/client_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def initialize(platform, version = nil)

def self.from_friendly_version_str(version_str)
version_str = version_str.split(' ')
platform = version_str[1]
platform = version_str[1].downcase.to_sym
version = version_str[2]
new(platform, version)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/tellus/client_version/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Tellus
class ClientVersion
VERSION = '1.1.1'
VERSION = '1.1.2'
end
end

0 comments on commit cc78e92

Please sign in to comment.