Skip to content

Commit

Permalink
feature: add INT_INFINITY_VAL default constant
Browse files Browse the repository at this point in the history
  • Loading branch information
isqad committed May 18, 2021
1 parent f2b5d8f commit fbf729e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/sphinx/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module Integration
end

require 'sphinx/integration/version'
require 'sphinx/integration/constants'
require 'sphinx/integration/extensions'
require 'sphinx/integration/errors'
require 'sphinx/integration/railtie'
8 changes: 8 additions & 0 deletions lib/sphinx/integration/constants.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true
module Sphinx
module Integration
module Constants
INT_INFINITY_VAL = 99_999_999
end
end
end

0 comments on commit fbf729e

Please sign in to comment.