This file contains hidden or 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
| # Author: Pieter Noordhuis | |
| # Description: Simple demo to showcase Redis PubSub with EventMachine | |
| # | |
| # Requirements: | |
| # - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby | |
| # - a browser with WebSocket support | |
| # | |
| # Usage: | |
| # ruby redis_pubsub_demo.rb | |
| # |
This file contains hidden or 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
| # encoding: utf-8 | |
| source :gemcutter | |
| source 'http://gems.github.com' | |
| # Rails 2.x style. | |
| group :rails do | |
| gem 'rails', '~> 2.3.5', :require => nil | |
| gem 'builder', '~> 2.1.2' | |
| gem 'memcache-client', '>= 1.7.4', :require => nil | |
| gem 'tzinfo', '~> 0.3.12' |
This file contains hidden or 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
| # The GraphicsMagick action, dependent on the `gm` command, is able to perform | |
| # any number of GraphicsMagick conversions on an image passed in as an input. | |
| # The options hash should specify the +name+ for the particular step (which is | |
| # appended to the resulting image filename) the +command+ (eg. convert, mogrify), | |
| # the +options+ (to the command, eg. -shadow -blur), and the +extension+ which | |
| # will determine the resulting image type. Optionally, you may also specify | |
| # +input+ as the name of a previous step; doing this will use the result of | |
| # that step as the source image, otherwise each step uses the original image | |
| # as its source. | |
| class GraphicsMagick < CloudCrowd::Action |
NewerOlder