Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
lib
script
spec
.gitignore
.rspec
.rvmrc
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
version_view.gemspec

README.md

Version Gem

An embeddable Rails engine that displays version data via specific URLs.

It supports JSON and text views.

Build status

Build Status

Installation

Add this line to your application's Gemfile:

gem 'version_view'

And then execute:

$ bundle

Or install it yourself as:

$ gem install version_view

Usage

To run the generator that will install the sample configuration file and the initializer do:

bundle exec rails g version_view

The generator will display a README highlighting where to find these files and how to change the configuration.

URLs

When installed the engine supports 1 URL with 2 different formats:

http://<server>/version_view/build_info/get_data.json
http://<server>/version_view/build_info/get_data.text

Licence

This project uses the MIT-LICENSE.

Something went wrong with that request. Please try again.