Skip to content

Commit

Permalink
gemification
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Reiss committed May 16, 2011
1 parent 2cfe148 commit 38949ab
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 11 deletions.
19 changes: 19 additions & 0 deletions LICENSE.mkd
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2011 Jesse Reiss

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
11 changes: 0 additions & 11 deletions init.rb

This file was deleted.

12 changes: 12 additions & 0 deletions lib/tumblr.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
require 'tumblr'
require 'tumblr/item'
require 'tumblr/answer'
require 'tumblr/audio'
require 'tumblr/conversation'
require 'tumblr/item'
require 'tumblr/link'
require 'tumblr/photo'
require 'tumblr/quote'
require 'tumblr/regular'
require 'tumblr/video'

module Tumblr
mattr_accessor :user

Expand Down
4 changes: 4 additions & 0 deletions lib/tumblr/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Tumblr
# The version of the gem
VERSION = '1.0.0'.freeze unless defined?(::Twitter::VERSION)
end
18 changes: 18 additions & 0 deletions tumblr.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/tumblr/version', __FILE__)

Gem::Specification.new do |s|
s.add_runtime_dependency('nokogiri', '~> 1.4.4')
s.add_runtime_dependency('curb', '~> 0.7.15')
s.authors = ["Jesse Reiss"]
s.description = %q{A Ruby wrapper for the Tumblr XML API}
s.email = ['jessereiss@gmail.com']
s.homepage = 'https://github.com/thegorgon/tumblr'
s.name = 'tumblr'
s.platform = Gem::Platform::RUBY
s.require_paths = ['lib']
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
s.rubyforge_project = s.name
s.summary = %q{Ruby wrapper for the Tumblr API}
s.version = Twitter::VERSION.dup
end

0 comments on commit 38949ab

Please sign in to comment.