Permalink
Browse files

Add Bundler. Remove Jeweler.

  • Loading branch information...
sferik committed Sep 22, 2010
1 parent af8304c commit ebcb1d2c76d45f691cc90c880d13d19bc69a6f32
Showing with 85 additions and 29 deletions.
  1. +4 −3 .gitignore
  2. +3 −0 Gemfile
  3. +40 −0 Gemfile.lock
  4. +5 −26 Rakefile
  5. +3 −0 lib/twitter/version.rb
  6. +30 −0 twitter.gemspec
View
@@ -1,6 +1,7 @@
-pkg
+*.gem
.DS_Store
-log
+.bundle
doc
-twitter-*.gem
+log
+pkg/*
rdoc
View
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+
+gemspec
View
@@ -0,0 +1,40 @@
+PATH
+ remote: .
+ specs:
+ twitter (0.9.9)
+ hashie (~> 0.4.0)
+ httparty (~> 0.6.1)
+ oauth (~> 0.4.3)
+ yajl-ruby (~> 0.7.7)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ crack (0.1.8)
+ fakeweb (1.3.0)
+ hashie (0.4.0)
+ httparty (0.6.1)
+ crack (= 0.1.8)
+ jnunemaker-matchy (0.4.0)
+ mocha (0.9.8)
+ rake
+ oauth (0.4.3)
+ rake (0.8.7)
+ redgreen (1.2.2)
+ shoulda (2.11.3)
+ yajl-ruby (0.7.7)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ fakeweb (~> 1.3.0)
+ hashie (~> 0.4.0)
+ httparty (~> 0.6.1)
+ jnunemaker-matchy (~> 0.4.0)
+ mocha (~> 0.9.8)
+ oauth (~> 0.4.3)
+ redgreen (~> 1.2.2)
+ shoulda (~> 2.11.3)
+ twitter!
+ yajl-ruby (~> 0.7.7)
View
@@ -1,38 +1,17 @@
-require "rake"
-require "jeweler"
+require 'rake'
+require 'rake/testtask'
+require 'bundler'
-Jeweler::Tasks.new do |gem|
- gem.name = "twitter"
- gem.summary = %Q{wrapper for the twitter api}
- gem.email = "nunemaker@gmail.com"
- gem.homepage = "http://github.com/jnunemaker/twitter"
- gem.authors = ["John Nunemaker", "Wynn Netherland"]
- gem.files = FileList["[A-Z]*", "{examples,lib,test}/**/*"]
+Bundler::GemHelper.install_tasks
- gem.add_dependency("oauth", "~> 0.4.3")
- gem.add_dependency("hashie", "~> 0.4.0")
- gem.add_dependency("httparty", "~> 0.6.1")
- gem.add_dependency("yajl-ruby", "~> 0.7.7")
-
- gem.add_development_dependency("shoulda", "~> 2.11.3")
- gem.add_development_dependency("jnunemaker-matchy", "~> 0.4.0")
- gem.add_development_dependency("mocha", "~> 0.9.8")
- gem.add_development_dependency("fakeweb", "~> 1.3.0")
- gem.add_development_dependency("redgreen", "~> 1.2.2")
-end
-
-Jeweler::GemcutterTasks.new
-
-require "rake/testtask"
Rake::TestTask.new(:test) do |test|
test.libs << "test"
test.ruby_opts << "-rubygems"
test.pattern = "test/**/*_test.rb"
test.verbose = true
end
-task :default => :test
-task :test => :check_dependencies
+task :default => :test
desc "Upload website files to rubyforge"
task :website do
View
@@ -0,0 +1,3 @@
+module Twitter
+ VERSION = "0.9.9"
+end
View
@@ -0,0 +1,30 @@
+# -*- encoding: utf-8 -*-
+require File.expand_path("../lib/twitter/version", __FILE__)
+
+Gem::Specification.new do |s|
+ s.add_development_dependency("fakeweb", ["~> 1.3.0"])
+ s.add_development_dependency("jnunemaker-matchy", ["~> 0.4.0"])
+ s.add_development_dependency("mocha", ["~> 0.9.8"])
+ s.add_development_dependency("redgreen", ["~> 1.2.2"])
+ s.add_development_dependency("shoulda", ["~> 2.11.3"])
+ s.add_runtime_dependency("hashie", ["~> 0.4.0"])
+ s.add_runtime_dependency("httparty", ["~> 0.6.1"])
+ s.add_runtime_dependency("oauth", ["~> 0.4.3"])
+ s.add_runtime_dependency("yajl-ruby", ["~> 0.7.7"])
+ s.authors = ["John Nunemaker", "Wynn Netherland", "Erik Michaels-Ober"]
+ s.description = %q{Ruby wrapper for the Twitter API}
+ s.email = ["nunemaker@gmail.com"]
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.extra_rdoc_files = ["README.rdoc"]
+ s.files = `git ls-files`.split("\n")
+ s.homepage = "http://rubygems.org/gems/twitter"
+ s.name = "twitter"
+ s.platform = Gem::Platform::RUBY
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.required_rubygems_version = ">= 1.3.6"
+ s.rubyforge_project = "twitter"
+ s.summary = %q{Ruby wrapper for the Twitter API}
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.version = Twitter::VERSION
+end

0 comments on commit ebcb1d2

Please sign in to comment.