Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Giffing instructions

  • Loading branch information...
commit c14a0122196c45cd99c9c4149172e9c4f4add267 1 parent 2035e88
@jumph4x authored
Showing with 13 additions and 2 deletions.
  1. +8 −0 README.md
  2. +5 −2 giffer.gemspec
View
8 README.md
@@ -6,6 +6,14 @@ This thing will give you gifs.
It cURLs a www.gifbin.com URL and parses out the URL for your random GIF
+## Usage
+
+```ruby
+require 'giffer'
+client = Giffer::GifBin.new
+5.times { puts client.gif_href }
+```
+
## Why?
Because every consumer-facing Rails project needs an Easter Egg.
View
7 giffer.gemspec
@@ -1,10 +1,13 @@
+require './lib/giffer/version'
+
Gem::Specification.new do |s|
+ s.files = Dir.glob("lib/**/*.rb")
+ s.test_files = Dir.glob("{spec,test}/**/*.rb")
+
s.name = "giffer"
s.version = Giffer::VERSION
s.authors = ["Denis Ivanov"]
s.email = ["visible@jumph4x.net"]
- s.files = Dir.glob("lib/**/*.rb")
- s.test_files = Dir.glob("{spec,test}/**/*.rb")
s.summary = "Giffer gives .GIFs"
s.description = "Sends a request to www.gifbin.com and parses out the GIF url"
Please sign in to comment.
Something went wrong with that request. Please try again.