Sha256: d70186c8bd443bdebd9e6673fd9c875c44e57f41463a1984d539ef004d66ee1e
Contents?: true
Size: 1.19 KB
Versions: 17
Compression:
Stored size: 1.19 KB
Contents
$:.unshift File.dirname(__FILE__) + '/lib/' require 'rubytter' require 'spec/rake/spectask' desc 'run all specs' Spec::Rake::SpecTask.new do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.spec_opts = ['-c'] end desc 'Generate gemspec' task :gemspec do |t| open('rubytter.gemspec', "wb" ) do |file| file << <<-EOS Gem::Specification.new do |s| s.name = 'rubytter' s.version = '#{Rubytter::VERSION}' s.summary = "Simple twitter client." s.description = "Rubytter is a simple twitter client." s.files = %w( #{Dir['lib/**/*.rb'].join(' ')} #{Dir['spec/**/*.rb'].join(' ')} #{Dir['examples/**/*.rb'].join(' ')} README.rdoc History.txt Rakefile ) s.add_dependency("json_pure", ">= 1.1.3") s.author = 'jugyo' s.email = 'jugyo.org@gmail.com' s.homepage = 'http://github.com/jugyo/rubytter' s.rubyforge_project = 'rubytter' s.has_rdoc = true s.rdoc_options = ["--main", "README.rdoc", "--exclude", "spec"] s.extra_rdoc_files = ["README.rdoc", "History.txt"] end EOS end puts "Generate gemspec" end desc 'Generate gem' task :gem => :gemspec do |t| system 'gem', 'build', 'rubytter.gemspec' end
Version data entries
17 entries across 17 versions & 2 rubygems