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

Version Path
jugyo-rubytter-0.4.0 Rakefile
jugyo-rubytter-0.4.1 Rakefile
jugyo-rubytter-0.4.2 Rakefile
jugyo-rubytter-0.4.3 Rakefile
jugyo-rubytter-0.4.4 Rakefile
jugyo-rubytter-0.4.5 Rakefile
jugyo-rubytter-0.4.6 Rakefile
jugyo-rubytter-0.4.7 Rakefile
rubytter-0.4.0 Rakefile
rubytter-0.4.3 Rakefile
rubytter-0.4.4 Rakefile
rubytter-0.4.1 Rakefile
rubytter-0.4.2 Rakefile
rubytter-0.4.5 Rakefile
rubytter-0.4.8 Rakefile
rubytter-0.4.6 Rakefile
rubytter-0.4.7 Rakefile