Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Utilities to supplement the cause of Fight for the Future.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.

Something went wrong with that request. Please try again.