Skip to content

Commit

Permalink
Merge pull request #164 from rolme/master
Browse files Browse the repository at this point in the history
Check for major release as well.
  • Loading branch information
katiemccann authored Dec 29, 2016
2 parents 63165cd + 5b5015e commit 64a50f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/omnicontacts/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def initialize(app, &block)
end

def rack14?
Rack.release.split('.')[1].to_i >= 4
v = Rack.release.split('.')
v[0].to_i >= 1 || v[1].to_i >= 4
end

def importer importer, *args
Expand Down

0 comments on commit 64a50f7

Please sign in to comment.