Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozgiii/tokogen
A ruby gem that allows you to generate customizable random tokens with efficient entropy use.
https://github.com/mozgiii/tokogen
ruby-gem token-generation
Last synced: about 1 month ago
JSON representation
A ruby gem that allows you to generate customizable random tokens with efficient entropy use.
- Host: GitHub
- URL: https://github.com/mozgiii/tokogen
- Owner: MOZGIII
- Created: 2017-01-11T08:50:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-15T19:17:07.000Z (almost 5 years ago)
- Last Synced: 2024-11-16T17:07:37.078Z (about 2 months ago)
- Topics: ruby-gem, token-generation
- Language: Ruby
- Homepage:
- Size: 30.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tokogen
[![Build Status](https://travis-ci.org/MOZGIII/tokogen.svg?branch=master)](https://travis-ci.org/MOZGIII/tokogen)
[![Gem Version](https://badge.fury.io/rb/tokogen.svg)](https://badge.fury.io/rb/tokogen)A ruby gem that allows you to generate customizable random tokens.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'tokogen'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install tokogen
## Usage
```ruby
Tokogen.token
```## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/MOZGIII/tokogen.