Skip to content

Commit

Permalink
Merge 8aed72c into 7c1d9d2
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Mar 2, 2017
2 parents 7c1d9d2 + 8aed72c commit b9b9ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/versioncake/strategies/extraction_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ExtractionStrategy

def extract(request)
version = execute(request)
if version.is_a?(Fixnum)
if version.is_a?(Integer)
version
elsif version.is_a?(String) && /[0-9]+/.match(version)
version.to_i
Expand Down

0 comments on commit b9b9ad2

Please sign in to comment.