Sha256: a3e6436c07c42729bbaf69891ffa6fc9f40630feeaab35e9df7aa855f3a782c1

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

#!/usr/bin/env ruby
$:.unshift File.join File.dirname(__FILE__), '..', 'lib'
require 'rubygems'
require 'tumblr_client'
require 'yaml'
require 'irb'
require 'irb/completion'

configuration = YAML.load_file File.join ENV['HOME'], '.tumblr' rescue {}

ENV['IRBRC'] = '.irbrc' if File.exists? '.irbrc'

Tumblr.configure do |config|
  config.consumer_key = configuration["consumer_key"]
  config.consumer_secret = configuration["consumer_secret"]
  config.oauth_token = configuration["oauth_token"]
  config.oauth_token_secret = configuration["oauth_token_secret"]
end

puts %q[
        .                                 .o8       oooo
      .o8                                "888       `888
    .o888oo oooo  oooo  ooo. .oo.  .oo.   888oooo.   888  oooo d8b
      888   `888  `888  `888P"Y88bP"Y88b  d88' `88b  888  `888""8P
      888    888   888   888   888   888  888   888  888   888
      888 .  888   888   888   888   888  888   888  888   888    .o.
      "888"  `V88V"V8P' o888o o888o o888o `Y8bod8P' o888o d888b   Y8P

]

ARGV.clear
IRB.start
exit!

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tumblr_client-0.6.8 bin/tumblr
tumblr_client_faraday_0_8-0.6.7.1 bin/tumblr
tumblr_client-0.6.7 bin/tumblr
tumblr_client-0.6.6 bin/tumblr
tumblr_client-0.6.5 bin/tumblr
tumblr_client-0.6.1 bin/tumblr