-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d931cf4
Showing
12 changed files
with
654 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
*~ | ||
*.swp | ||
*.swo | ||
*.log | ||
coverage | ||
doc | ||
log | ||
pkg | ||
tmp | ||
Gemfile* | ||
*.gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Hi there! | ||
|
||
I see you are interested in contributing. That is wonderful. I love | ||
contributions. | ||
|
||
I guarantee that there are bugs in this software. And I guarantee that there is | ||
a feature you want that is not in here yet. As such, any and all bugs reports | ||
are gratefully accepted, bugfixes even more so. Helping out with bugs is the | ||
easiest way to contribute. | ||
|
||
|
||
## The Quick Version | ||
|
||
* Have a [GitHub Account][]. | ||
* Search the [GitHub Issues][] and see if your issue already present. If so | ||
add your comments, :thumbsup:, etc. | ||
* Issue not there? Not a problem, open up a [new issue][]. | ||
* **Bug reports** please be as detailed as possible. Include: | ||
* full ruby engine and version: `ruby -e 'puts RUBY_DESCRIPTION'` | ||
* operating system and version | ||
* version of torid `ruby -rubygems -e "require 'torid'; puts Torid::VERSION"` | ||
* as much detail about the bug as possible so I can replicate it. Feel free | ||
to link in a [gist][] | ||
* **New Feature** | ||
* What the new feature should do. | ||
* What benefit the new feature brings to the project. | ||
* Fork the [repo][]. | ||
* Create a new branch for your issue: `git checkout -b issue/my-issue` | ||
* Lovingly craft your contribution: | ||
* `rake develop` to get started, or if you prefer bundler `rake develop:using_bundler && bundle`. | ||
* `rake test` to run tests | ||
* Make sure that `rake test` passes. It's important, I said it twice. | ||
* Add yourself to the contributors section below. | ||
* Submit your [pull request][]. | ||
|
||
# Contributors | ||
|
||
* [Jeremy Hinegardner](https://github.com/copiousfreetime) | ||
* [Kevin Barnes](https://github.com/vinbarnes) | ||
|
||
[GitHub Account]: https://github.com/signup/free "GitHub Signup" | ||
[GitHub Issues]: https://github.com/copiousfreetime/torid/issues "Torid Issues" | ||
[new issue]: https://github.com/copiousfreetime/torid/issues/new "New Torid Issue" | ||
[gist]: https://gist.github.com/ "New Gist" | ||
[repo]: https://github.com/copiousfreetime/torid "Torid Repo" | ||
[pull request]: https://help.github.com/articles/using-pull-requests "Using Pull Requests" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Torid Changelog | ||
## Version 1.0.0 | ||
|
||
* Initial Release - Yeah! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ISC LICENSE - http://opensource.org/licenses/isc-license.txt | ||
|
||
Copyright (c) 2013 Jeremy Hinegardner | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CONTRIBUTING.md | ||
HISTORY.md | ||
LICENSE | ||
Manifest.txt | ||
README.md | ||
Rakefile | ||
lib/torid.rb | ||
spec/spec_helper.rb | ||
spec/version_spec.rb | ||
tasks/default.rake | ||
tasks/this.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Torid | ||
|
||
* [Homepage](https://github.com/copiousfreetime/torid/) | ||
* [Github Project](https://github.com/copiousfreetime/torid) | ||
* email jeremy at copiousfreetime dot org | ||
|
||
## DESCRIPTION | ||
|
||
FIXME | ||
|
||
## FEATURES | ||
|
||
FIXME | ||
|
||
## Examples | ||
|
||
## ISC LICENSE | ||
|
||
http://opensource.org/licenses/isc-license.txt | ||
|
||
Copyright (c) 2014 Jeremy Hinegardner | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice | ||
and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# vim: syntax=ruby | ||
load 'tasks/this.rb' | ||
|
||
This.name = "torid" | ||
This.author = "Jeremy Hinegardner" | ||
This.email = "[email protected]" | ||
This.homepage = "http://github.com/copiousfreetime/#{ This.name }" | ||
|
||
This.ruby_gemspec do |spec| | ||
spec.add_development_dependency( 'rake' , '~> 10.1') | ||
spec.add_development_dependency( 'minitest' , '~> 5.0' ) | ||
spec.add_development_dependency( 'rdoc' , '~> 4.0' ) | ||
end | ||
|
||
load 'tasks/default.rake' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Torid is a Time Ordered ID system. It is heavily inspired by the criteria | ||
# listed for Boundary's Flake ID generation system and the lexical_uuid gem from | ||
# James Golick. | ||
module Torid | ||
VERSION = "1.0.0" | ||
end | ||
|
||
require 'fnv' | ||
require 'torid/generator' | ||
require 'torid/clock' |
Oops, something went wrong.