Sha256: ba3534f603064c9b645ab039840e18d1176f20806bb07abc5aac3c9642999e19
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
# Alephant::Scout [![Gem Version](https://badge.fury.io/rb/alephant-scout.svg)](http://badge.fury.io/rb/alephant-scout) This is a gem to allow Alephant based applications to check the validity of an arbitrary URL / URI before enqueuing messages to render content based on the content of said URL / URI, thereby protecting render nodes from having to handle bogus URLs / URIs. ## Installation Add this line to your application's Gemfile: gem 'alephant-scout' And then execute: $ bundle Or install it yourself as: $ gem install alephant-scout ## Usage ```rb require 'alephant-scout' Alephant::Scout::Url.valid? 'http://bbc.co.uk/persian/world' # => true Alephant::Scout::Url.valid? 'http://bbc.co.uk/batman' # => false ``` ## Contributing 1. [Fork it!](https://github.com/bbc-news/alephant-scout/fork) 2. Create your feature branch: `git checkout -b my-new-feature` 3. Commit your changes: `git commit -am 'Add some feature'` 4. Push to the branch: `git push origin my-new-feature` 5. Create new [Pull Request](https://github.com/bbc-news/alephant-scout/pulls).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alephant-scout-1.0.0 | README.md |