public
Description: Embed media easily into your site
Homepage: http://www.redwriteshere.com
Clone URL: git://github.com/reddavis/embedit.git
embedit / Rakefile
100755 39 lines (33 sloc) 0.901 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require 'rake'
require File.join(File.dirname(__FILE__), 'spec', 'spec_helper')
require "spec/rake/spectask"
require 'rake/gempackagetask'
 
task :default => :spec
 
desc "Run all specs"
Spec::Rake::SpecTask.new(:spec) do |t|
  t.spec_files = FileList['spec/*.rb']
  t.rcov = false
end
 
 
spec = Gem::Specification.new do |s|
  s.name = "embedit"
  s.version = '0.0.9'
  s.summary = "Ruby interface for embedding a range of media."
  s.authors = ["Red Davis", "Michael Bumann"]
  s.email = "michael@railslove.com"
  s.homepage = "http://github.com/bumi/embedit"
  s.has_rdoc = false
  s.test_files = FileList["spec/*_spec.rb"]
  s.files = FileList[
    "lib/**/*.rb",
    "README"
  ]
end
 
Rake::GemPackageTask.new(spec) do |p|
  p.gem_spec = spec
  p.need_tar = true
  p.need_zip = true
end
 
desc "Build gemspec file"
task :build do
  File.open('embedit.gemspec', 'w') { |f| f.write spec.to_ruby }
end