Sha256: ca45a282e4c9eb480026e2e7db0582c5aa618a4622068e26f21a80c294b3a3c2
Contents?: true
Size: 1.23 KB
Versions: 2
Compression:
Stored size: 1.23 KB
Contents
# encoding: UTF-8 require 'rake' require 'rake/rdoctask' require 'rake/gempackagetask' require 'rspec/core' require 'rspec/core/rake_task' require File.join(File.dirname(__FILE__), 'lib', 'social_stream', 'version') Rspec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = ["--color"] end task :default => :spec Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'SocialStream' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb', 'app/**/*.rb') end spec = Gem::Specification.new do |s| s.name = "social_stream" s.version = SocialStream::VERSION.dup s.summary = "Social networking features and activity streams." s.description = "Ruby on Rails plug-in supporting social networking features and activity streams." s.authors = ['Antonio Tapiador', 'Diego Carrera'] s.files = FileList["[A-Z]*", "{app,config,lib}/**/*"] s.add_dependency('atd-ancestry', '~> 1.3.0') s.add_dependency('devise', '~> 1.1.3') end Rake::GemPackageTask.new(spec) do |pkg| end desc "Install the gem #{spec.name}-#{spec.version}.gem" task :install => :gem do system("sudo gem install pkg/#{spec.name}-#{spec.version}.gem --no-ri --no-rdoc") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
social_stream-0.0.2 | Rakefile |
social_stream-0.0.1 | Rakefile |