Skip to content

Commit

Permalink
Prepare gem release.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemens committed Oct 30, 2009
1 parent a167dcc commit dfbddc4
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
pkg/*
21 changes: 4 additions & 17 deletions Rakefile
Expand Up @@ -2,22 +2,9 @@ require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/distribution'
require 'tasks/documentation'
require 'tasks/testing'

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the later_dude plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end

desc 'Generate documentation for the later_dude plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'LaterDude'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.0.0
0.2.1
51 changes: 51 additions & 0 deletions later_dude.gemspec
@@ -0,0 +1,51 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{later_dude}
s.version = "0.2.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Clemens Kofler"]
s.date = %q{2009-10-31}
s.description = %q{LaterDude is a small calendar helper plugin for Rails with i18n support.}
s.email = %q{clemens@railway.at}
s.extra_rdoc_files = [
"README"
]
s.files = [
"CHANGELOG",
"MIT-LICENSE",
"README",
"Rakefile",
"VERSION",
"init.rb",
"lib/later_dude.rb",
"tasks/distribution.rb",
"tasks/documentation.rb",
"tasks/testing.rb"
]
s.homepage = %q{http://github.com/clemens/later_dude}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{Small calendar helper plugin for Rails with i18n support}
s.test_files = [
"test/calendar_helper_test.rb",
"test/calendar_test.rb",
"test/test_helper.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else
end
else
end
end

22 changes: 22 additions & 0 deletions tasks/distribution.rb
@@ -0,0 +1,22 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "later_dude"
s.summary = "Small calendar helper plugin for Rails with i18n support"
s.email = "clemens@railway.at"
s.homepage = "http://github.com/clemens/later_dude"
s.description = "LaterDude is a small calendar helper plugin for Rails with i18n support."
s.authors = ["Clemens Kofler"]
s.files = FileList["CHANGELOG",
"init.rb",
"lib/later_dude.rb",
"MIT-LICENSE",
"Rakefile",
"README",
"tasks/**/*.rb",
"VERSION"]
s.test_files = FileList["test/**/*.rb"]
end
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
8 changes: 8 additions & 0 deletions tasks/documentation.rb
@@ -0,0 +1,8 @@
desc 'Generate documentation for the later_dude plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'LaterDude'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
7 changes: 7 additions & 0 deletions tasks/testing.rb
@@ -0,0 +1,7 @@
desc 'Test the later_dude plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end

0 comments on commit dfbddc4

Please sign in to comment.