Utilities to supplement the cause of Fight for the Future.
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with tylerhunt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
fight_for_the_future.gemspec

README.md

Fight for the Future

Utilities to supplement the cause of Fight for the Future.

Installation

gem install fight_for_the_future

Requiring the gem

require 'fight_for_the_future'

Using Bundler

gem 'fight_for_the_future'

Example

original_image_path = File.expand_path('../original.png', __FILE__)
censored_image_path = File.expand_path('../censored.png', __FILE__)
url = 'http://censr.net/23985'

censored_image = FightForTheFuture::ImageCensor.new(original_path, url)
censored_image.write(censored_path)

License

Fight for the Future is Copyright © 2011 Fight for the Future. It is free software, and may be redistributed under the terms specified in the LICENSE file.