Permalink
Browse files

Merge pull request #164 from rolme/master

Check for major release as well.
  • Loading branch information...
2 parents 63165cd + 5b5015e commit 64a50f77ad677e19fb96c45aa19bd5bfb28b6f81 @katiemccann katiemccann committed on GitHub Dec 29, 2016
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/omnicontacts/builder.rb
@@ -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

0 comments on commit 64a50f7

Please sign in to comment.