This repository has been archived by the owner on Sep 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# A sample Gemfile | ||
|
||
gem 'weary','>= 0.7.1' | ||
|
||
group :test do | ||
gem 'rake' | ||
gem 'redgreen' | ||
gem 'fakeweb' | ||
gem 'jeweler' | ||
end |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# tumblr | ||
|
||
Ruby wrapper and command line tool for the [Tumblr API](http://www.tumblr.com/docs/en/api). In case there wasn't enough of those. This one is powered by the [Weary](http://github.com/mwunsch/weary) gem. | ||
|
||
## Copyright | ||
|
||
The Tumblr gem is Copyright (c) 2010 Mark Wunsch and is licensed under the [MIT License](http://creativecommons.org/licenses/MIT/). | ||
|
||
Tumblr is Copyright (c) Tumblr, Inc. I am in no way affiliated with Tumblr. |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
require 'rubygems' | ||
require 'test/unit' | ||
begin | ||
# Try to require the preresolved locked set of gems. | ||
require File.expand_path('../.bundle/environment', __FILE__) | ||
rescue LoadError | ||
# Fall back on doing an unlocked resolve at runtime. | ||
require "rubygems" | ||
require "bundler" | ||
Bundler.setup | ||
end | ||
|
||
$LOAD_PATH.unshift(File.dirname(__FILE__)) | ||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) | ||
require 'tumblr' | ||
require 'test/unit' | ||
require 'redgreen' | ||
|
||
class Test::Unit::TestCase | ||
begin | ||
require 'tumblr' | ||
rescue LoadError | ||
lib_path = File.join(File.dirname(__FILE__), '..', 'lib') | ||
$LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path) | ||
require 'tumblr' | ||
end |