Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated the readme and pushed to gemcutter

  • Loading branch information...
commit b50eafad7b8ebbe733d2d8e074b6b78b38590247 1 parent a8f0748
@jeffkreeftmeijer authored
View
2  History
@@ -1,6 +1,4 @@
0.1.3 - The gem now only supports HTTParty <= 4.3 (since newer versions break everything ;) )
-
-
0.1.0 - Re-wrote the Post class (the read methods)
0.0.10 - Fixed dependencies
0.0.9 - Removed the version number from the HTTParty dependency
View
10 README.rdoc
@@ -2,6 +2,16 @@
Tumblr is a rails gem that allows you to use the Tumblr API. The idea is that you don't have to worry about HTTP requests, you just want to fetch your posts right? But there's more; you can also create, update and destroy Tumblr posts and do so as railsy as possible.
+== Installation
+
+To install the gem, put this in your environment file;
+
+ config.gem 'tumblr-api', :source => 'http://gemcutter.org'
+
+And install the gem;
+
+ rake gems:install
+
== Authentication
To create, update or delete a post (or fetch private posts), you should be authenticated. The only thing you have to do is call initialize the User class by doing this:
View
6 Rakefile
@@ -4,7 +4,7 @@ require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
- gem.name = "tumblr"
+ gem.name = "tumblr-api"
gem.summary = %q{Tumblr API wrapper}
gem.email = "jeff@kreeftmeijer.nl"
gem.homepage = "http://github.com/jeffkreeftmeijer/tumblr"
@@ -46,4 +46,6 @@ Rake::RDocTask.new do |rdoc|
rdoc.title = "tumblr #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
-end
+end
+
+Jeweler::GemcutterTasks.new
View
70 tumblr-api.gemspec
@@ -0,0 +1,70 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE
+# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{tumblr-api}
+ s.version = "0.1.3"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Jeff Kreeftmeijer"]
+ s.date = %q{2009-11-17}
+ s.email = %q{jeff@kreeftmeijer.nl}
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.rdoc"
+ ]
+ s.files = [
+ ".document",
+ ".gitignore",
+ "History",
+ "LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION.yml",
+ "lib/tumblr.rb",
+ "lib/tumblr/post.rb",
+ "lib/tumblr/request.rb",
+ "lib/tumblr/user.rb",
+ "spec/fixtures/read_0_0.xml",
+ "spec/fixtures/read_0_0_photo.xml",
+ "spec/fixtures/read_0_1.xml",
+ "spec/fixtures/read_0_1_photo.xml",
+ "spec/fixtures/read_0_50.xml",
+ "spec/fixtures/read_0_50_photo.xml",
+ "spec/fixtures/read_100_50.xml",
+ "spec/fixtures/read_108796131.xml",
+ "spec/fixtures/read_119_1.xml",
+ "spec/fixtures/read_50_50.xml",
+ "spec/spec_helper.rb",
+ "spec/tumblr_spec.rb",
+ "tumblr-api.gemspec",
+ "tumblr.gemspec"
+ ]
+ s.homepage = %q{http://github.com/jeffkreeftmeijer/tumblr}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Tumblr API wrapper}
+ s.test_files = [
+ "spec/spec_helper.rb",
+ "spec/tumblr_spec.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<httparty>, [">= 0"])
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
+ else
+ s.add_dependency(%q<httparty>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<httparty>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ end
+end
View
68 tumblr.gemspec
@@ -0,0 +1,68 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE
+# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{tumblr}
+ s.version = "0.1.3"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Jeff Kreeftmeijer"]
+ s.date = %q{2009-11-17}
+ s.email = %q{jeff@kreeftmeijer.nl}
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.rdoc"
+ ]
+ s.files = [
+ ".document",
+ ".gitignore",
+ "History",
+ "LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION.yml",
+ "lib/tumblr.rb",
+ "lib/tumblr/post.rb",
+ "lib/tumblr/request.rb",
+ "lib/tumblr/user.rb",
+ "spec/fixtures/read_0_0.xml",
+ "spec/fixtures/read_0_0_photo.xml",
+ "spec/fixtures/read_0_1.xml",
+ "spec/fixtures/read_0_1_photo.xml",
+ "spec/fixtures/read_0_50.xml",
+ "spec/fixtures/read_0_50_photo.xml",
+ "spec/fixtures/read_100_50.xml",
+ "spec/fixtures/read_108796131.xml",
+ "spec/fixtures/read_119_1.xml",
+ "spec/fixtures/read_50_50.xml",
+ "spec/spec_helper.rb",
+ "spec/tumblr_spec.rb"
+ ]
+ s.homepage = %q{http://github.com/jeffkreeftmeijer/tumblr}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Tumblr API wrapper}
+ s.test_files = [
+ "spec/spec_helper.rb",
+ "spec/tumblr_spec.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<httparty>, [">= 0"])
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
+ else
+ s.add_dependency(%q<httparty>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<httparty>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.