Seamus Abshere

Results 12 repositories owned by Seamus Abshere

cache

69
Stars
7
Forks
Watchers

Defines a simple interface to multiple cache-like storage engines by wrapping common Ruby client libraries like memcached, redis, memcache-client, dalli. Handles each underlying library's weirdnesses,...

cacheable

20
Stars
0
Forks
Watchers

DEPRECATED. Use cache_method instead.

cache_method

134
Stars
15
Forks
Watchers

Cache based on arguments AND object state; store in memcached, redis, or in-process. Like alias_method, but it's cache_method! One step beyond memoization.

data_miner

301
Stars
21
Forks
Watchers

Download, unpack from a ZIP/TAR/GZ/BZ2 archive, parse, correct, convert units and import Google Spreadsheets, XLS, ODS, XML, CSV, HTML, etc. into your ActiveRecord models. Uses RemoteTable gem interna...

active_record_inline_schema

15
Stars
3
Forks
Watchers

Replaces mini_record-compat. Define table structure (columns and indexes) inside your ActiveRecord models like you can do in migrations.

database_url

16
Stars
5
Forks
Watchers

Convert back and forth between Heroku-style ENV['DATABASE_URL'] and Rails/ActiveRecord-style config/database.yml hashes.

eat

32
Stars
5
Forks
Watchers

A (better?) replacement for open-uri. Lets you open local and remote files by immediately returning their contents as a string.

errata

21
Stars
3
Forks
Watchers

Define an errata in table format (CSV) and then apply it to an arbitrary source. Inspired by RFC Errata, lets you keep your own errata in a transparent way.

fuzzy_match

665
Stars
48
Forks
Watchers

Find a needle (a document or record) in a haystack using string similarity and (optionally) regular expression rules. Uses Dice's Coefficient (aka Pair Similiarity) and Levenshtein Distance internally...

lock_and_cache

134
Stars
8
Forks
Watchers

Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money,...