Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elasticsearch_distance_unit_validator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasticsearch_distance_unit_validator

  • 0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ElasticsearchDistanceUnitValidator

Elasticsearch uses distance units for features such as its geo distance filter.

Examples of Elasticsearch distance units include 10ft and 44miles.

Use this validator to validate that a string conforms to the distance unit format.

validates :distance, elasticsearch_distance_unit: true

Installation

Add this line to your application's Gemfile:

gem 'elasticsearch_distance_unit_validator'

Quality

Codeship Status for barelyknown/elasticsearch_distance_unit_validator Code Climate Test Coverage

Credits

Originally created by @barelyknown.

FAQs

Package last updated on 05 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc