Ruby wrapper for the uuid library in your OS.
Allows ActiveRecord to use (native) UUIDs, even as primary keys. Currently only works with PostgreSQL.
MongoMapper plugin that uses a UUID instead of the default ObjectID
This gem makes binary uuid attribute easy to use
Adds association_uuids= method on has_many and has_and_belongs_to_many associations
Finds linked posts using UUIDs to make them available to Liquid
add uuid to record
A non-portable, fast, simple, atomic UUID generator.
Generate uuids for models
Adds a :uuid column to ActiveRecord MySQL2 Adapter. Store UUIDs as 16 bytes binary column.
A collection of utilities for uuid manipulation
Contains make configuration changes since this thing is a bitch to compile correclty. This library generates and parses Universally Unique Identifier (UUID), based on OSSP uuid C library. So, libossp-uuid library is pre-required. OSSP uuid (http://www.ossp.org/pkg/lib/uuid/) is a ISO-C:1999 application programming interface (API) for the generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant UUID. It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based, MD5), version 4 (random number based) and version 5 (name based, SHA-1).
Helpers to use UUID with uuidtools
Youyouaidi offers a UUID class for parsing, validating and encoding UUIDs
Add UUID type to fast_attributes
Generates a UUID for Resque jobs as they are enqueued
Overrides setting flash messages to automatically wrap them in a hash. The original message is stored in the :message key and the request UUID is stored in the :request_uuid key.
Compression and packing methods for singular and collection IDs and UUIDs.
libuuidrb uses libuuid to generate DCE compatible universally unique identifiers
This rails engine configures necessary settings to enable native UUID primary key in rails + postgresql environment.
UUID generator for producing universally unique identifiers based on RFC 4122 (http://www.ietf.org/rfc/rfc4122.txt).
Add binary (not string) UUIDs to ActiveRecord in MySQL
Installs blah blah blah
UUID generator for producing universally unique identifiers based on RFC 4122 (http://www.ietf.org/rfc/rfc4122.txt).
========================================================= FreeSWITCHeR Copyright (c) 2009 The Rubyists (Jayson Vaughn, Tj Vanderpoel, Michael Fellinger, Kevin Berry) Distributed under the terms of the MIT License. ========================================================== ABOUT ----- A ruby library for interacting with the "FreeSWITCH" (http://www.freeswitch.org) opensource telephony platform REQUIREMENTS ------------ * ruby (>= 1.8) * eventmachine (If you wish to use Outbound and Inbound listener) USAGE ----- An Outbound Event Listener Example that reads and returns DTMF input: -------------------------------------------------------------------- Simply just create a subclass of FSR::Listner::Outbound and all new calls/sessions will invoke the "session_initiated" callback method. <b>NOTE</b>: FSR uses blocks within the 'session_inititated' method to ensure that the next "freeswich command" is not executed until the previous "Freeswitch command" has finished. This is kicked off by "answer do" #!/usr/bin/ruby require 'fsr' require 'fsr/listener/outbound' class OutboundDemo < FSR::Listener::Outbound def session_initiated exten = @session.headers[:caller_caller_id_number] FSR::Log.info "*** Answering incoming call from #{exten}" answer do FSR::Log.info "***Reading DTMF from #{exten}" read("/home/freeswitch/freeswitch/sounds/music/8000/sweet.wav", 4, 10, "input", 7000) do |read_var| FSR::Log.info "***Success, grabbed #{read_var.strip} from #{exten}" # Tell the caller what they entered speak("Got the DTMF of: #{read_var}") do #Hangup the call hangup end end end end end FSR.start_oes! OutboundDemo, :port => 8084, :host => "127.0.0.1" An Inbound Event Socket Listener example using FreeSWITCHeR's hook system: -------------------------------------------------------------------------- #!/usr/bin/ruby require 'pp' require 'fsr' require "fsr/listener/inbound" # EXAMPLE 1 # This adds a hook on CHANNEL_CREATE events. You can also create a method to handle the event you're after. See the next example FSL::Inbound.add_event_hook(:CHANNEL_CREATE) {|event| FSR::Log.info "*** [#{event.content[:unique_id]}] Channel created - greetings from the hook!" } # EXAMPLE 2 # Define a method to handle CHANNEL_HANGUP events. def custom_channel_hangup_handler(event) FSR::Log.info "*** [#{event.content[:unique_id]}] Channel hangup. The event:" pp event end # This adds a hook for EXAMPLE 2 FSL::Inbound.add_event_hook(:CHANNEL_HANGUP) {|event| custom_channel_hangup_handler(event) } # Start FSR Inbound Listener FSR.start_ies!(FSL::Inbound, :host => "localhost", :port => 8021) An Inbound Event Socket Listener example using the on_event callback method instead of hooks: --------------------------------------------------------------------------------------------- #!/usr/bin/ruby require 'pp' require 'fsr' require "fsr/listener/inbound" class IesDemo < FSR::Listener::Inbound def on_event(event) pp event.headers pp event.content[:event_name] end end FSR.start_ies!(IesDemo, :host => "localhost", :port => 8021, :auth => "ClueCon") An example of using FSR::CommandSocket to originate a new call in irb: ---------------------------------------------------------------------- irb(main):001:0> require 'fsr' => true irb(main):002:0> FSR.load_all_commands => [:sofia, :originate] irb(main):003:0> sock = FSR::CommandSocket.new => #<FSR::CommandSocket:0xb7a89104 @server="127.0.0.1", @socket=#<TCPSocket:0xb7a8908c>, @port="8021", @auth="ClueCon"> irb(main):007:0> sock.originate(:target => 'sofia/gateway/carlos/8179395222', :endpoint => FSR::App::Bridge.new("user/bougyman")).run => {"Job-UUID"=>"732075a4-7dd5-4258-b124-6284a82a5ae7", "body"=>"", "Content-Type"=>"command/reply", "Reply-Text"=>"+OK Job-UUID: 732075a4-7dd5-4258-b124-6284a82a5ae7"} SUPPORT ------- Home page at http://code.rubyists.com/projects/fs #rubyists on FreeNode
A simple gem to auto generate UUIDs for the id field of models.
Add binary (not string) UUIDs to ActiveRecord in PostgreSQL
Translate an identifier into a UUID
RUUID (Ruby UUID) parses, generates, and represents RFC 4122 universally unique identifiers.
Typed UUIDs 2 bytes are reserved in the UUID for the class enum
UUID attribute for ActiveRecord
typo in aws gem
Takes Java serialized objects in a file or stream and creates Ruby wrapper objects and decodes. The package can also write Java objects once UUID is read from sample.
Mongoid::UPK generates more unique `_id` by using UUID.
Provides facilities to utilize UUIDs with ActiveRecord, including model and migration extensions.
Takes Java serialized objects in a file or stream and creates Ruby wrapper objects and decodes. The package can also write Java objects once UUID is read from sample.
Lazily generate string pattern combinations to name your [puppy|startup|band] or write bad poems or produce UUID variants. Kinda like reverse regex. Lazily loads "pages" of combinations and returns results before the heat death of the universe.
Order for UUID
People friendly readable UUIDs
Universally Unique Lexicographically Sortable Identifier
UUID extension for ActiveRecord
Allows Rails Admin to work with PostgreSQL UUID field type.
auto set uuid column with an universal unique id
Simple UUID implementation, as per RFC 4122
Autoguid lets you trivially add human readable uuids to all your models, a whitelisted set of models, or a blacklisted set. Indices are automatically created based on a configuration option. There's also a rake task that will backfill these uuids into resources that have already been created. To get started, include the gem file, run `bundle install`, then run `rake autoguid:install`. From there, edit the config/initializers/autoguid.rb file to specifcy your configuration. Next, migrate your tables with `rake autoguid:migrate:up` and `rake autoguid:migrate:backfill` as required. `rake autoguid:migrate:drop_all` will drop all autoguid generated columns and the data in them. You can always change the config/initializers/autoguid.rb file and rerun `rake autoguid:migrate:up` to add autoguid to new models.
Adds support for PostgreSQL 128 bit UUID column type to ActiveRecord
A gem to help you retrofit UUIDs to your existing Rails application.
Translate an identifier into a UUID
Get Mojang profile information coming from a username or a UUID. Will also read in whitelist data and output whitelists in pre-1.7 and 1.7+ formats.
UUID ids for sunspot