public
Description: A simple pattern for managing flash messages in your Ruby on Rails application.
Homepage: http://github.com/planetargon/flash-message-conductor/
Clone URL: git://github.com/planetargon/flash-message-conductor.git
100644 37 lines (33 sloc) 1.251 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
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the argon_helpers plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the argon_helpers plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ArgonHelpers'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "flash-message-conductor"
    gemspec.summary = "Conduct your Flash Messages in Rails "
    gemspec.description = "A simple pattern for managing flash messages in your Ruby on Rails application"
    gemspec.email = "robby@planetargon.com"
    gemspec.homepage = "http://github.com/planetargon/flash-message-conductor"
    gemspec.authors = ["Robby Russell"]
    gemspec.files = ["VERSION.yml", "lib/flash_message_conductor.rb", 'rails/init.rb', 'README', 'MIT-LICENSE']
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end