Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 62 lines (54 sloc) 1.883 kb
b56895d2 »
2009-10-05 Add jeweler_ext, attempt to use jeweler
1 require 'rubygems'
83dbb797 »
2009-07-19 Empty Perennial App and Added Loggable Mixin
2 require 'rake'
3
b56895d2 »
2009-10-05 Add jeweler_ext, attempt to use jeweler
4 PERENNIAL_MAIN_FILE = File.join(File.dirname(__FILE__), "lib", "perennial.rb")
5 require PERENNIAL_MAIN_FILE
6
7 begin
8 require 'jeweler'
9 require 'perennial/jeweler_ext'
10 Jeweler::Tasks.new do |gem|
44e681cd »
2010-01-03 Bump version fixes
11 gem.version = Perennial::VERSION.join(".")
b56895d2 »
2009-10-05 Add jeweler_ext, attempt to use jeweler
12 gem.name = "perennial"
13 gem.summary = "A simple (generally event-oriented) application library for Ruby"
14 gem.description = "Perennial is a platform for building different applications in Ruby. It uses a controller-based approach with mixins to provide different functionality."
15 gem.email = 'sutto@sutto.net'
16 gem.homepage = 'http://sutto.net/'
17 gem.authors = ["Darcy Laycock"]
18 gem.files = FileList["{bin,lib,templates}/**/*"].to_a
19 gem.executables = FileList["bin/*"].to_a.map { |f| File.basename(f) }
20 gem.platform = Gem::Platform::RUBY
21 gem.add_development_dependency "thoughtbot-shoulda"
642f100f »
2009-10-09 Temp remove fakefs and add basic reloading tests
22 gem.add_development_dependency "mocha"
b56895d2 »
2009-10-05 Add jeweler_ext, attempt to use jeweler
23 gem.add_development_dependency "yard"
24 end
9474883f »
2009-10-05 Add gemcutter to the gemspec
25 Jeweler::GemcutterTasks.new
b56895d2 »
2009-10-05 Add jeweler_ext, attempt to use jeweler
26 rescue LoadError => e
27 puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
28 end
29
30 require 'rake/testtask'
31 Rake::TestTask.new(:test) do |test|
32 test.libs << 'lib' << 'test'
33 test.pattern = 'test/**/*_test.rb'
34 test.verbose = true
35 end
83dbb797 »
2009-07-19 Empty Perennial App and Added Loggable Mixin
36
b56895d2 »
2009-10-05 Add jeweler_ext, attempt to use jeweler
37 begin
38 require 'rcov/rcovtask'
39 Rcov::RcovTask.new do |test|
40 test.libs << 'test'
41 test.pattern = 'test/**/*_test.rb'
42 test.verbose = true
43 end
44 rescue LoadError
45 task :rcov do
46 abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
83dbb797 »
2009-07-19 Empty Perennial App and Added Loggable Mixin
47 end
48 end
f597920a »
2009-08-01 Add Version to the main file, Added gemspec rake task
49
b56895d2 »
2009-10-05 Add jeweler_ext, attempt to use jeweler
50 task :test => :check_dependencies
51
52 task :default => :test
53
54 begin
55 require 'yard'
56 YARD::Rake::YardocTask.new
57 rescue LoadError
58 task :yardoc do
59 abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
f597920a »
2009-08-01 Add Version to the main file, Added gemspec rake task
60 end
b56895d2 »
2009-10-05 Add jeweler_ext, attempt to use jeweler
61 end
Something went wrong with that request. Please try again.