Permalink
Browse files

version, rdoc rakefile

  • Loading branch information...
1 parent 817f047 commit c4e383e6232b673688776075b2aa8775e9d42ce6 @nofxx nofxx committed Jun 6, 2009
Showing with 29 additions and 19 deletions.
  1. +1 −0 .gitignore
  2. +11 −0 Rakefile
  3. +1 −1 VERSION.yml
  4. +16 −18 object_daddy.gemspec
View
1 .gitignore
@@ -2,3 +2,4 @@ log
vendor
spec/tmp/*.db
pkg
+rdoc
View
11 Rakefile
@@ -27,3 +27,14 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.rcov = true
end
task :default => :spec
+
+require 'rake/rdoctask'
+Rake::RDocTask.new do |rdoc|
+ config = YAML.load(File.read('VERSION.yml'))
+ version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
+
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = "postgis_adapter #{version}"
+ rdoc.rdoc_files.include('README*')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
View
2 VERSION.yml
@@ -1,4 +1,4 @@
---
:major: 0
:minor: 4
-:patch: 0
+:patch: 1
View
34 object_daddy.gemspec
@@ -2,41 +2,39 @@
Gem::Specification.new do |s|
s.name = %q{object_daddy}
- s.version = "0.4.0"
+ s.version = "0.4.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Rick Bradley", "Yossef Mendelssohn"]
- s.date = %q{2009-04-23}
+ s.date = %q{2009-06-06}
s.description = %q{Fixture killer}
s.email = ["blogicx@rickbradley.com", "ymendel@pobox.com"]
s.extra_rdoc_files = [
"README.markdown"
]
s.files = [
- "Manifest.txt",
"README.markdown",
- "VERSION.yml",
- "init.rb",
- "install.rb",
- "lib/object_daddy.rb",
- "rails/init.rb",
- "spec/install_spec.rb",
- "spec/object_daddy_spec.rb",
- "spec/resources/config/database.yml",
- "spec/resources/schema",
- "spec/spec.opts",
- "spec/spec_helper.rb"
+ "VERSION.yml",
+ "init.rb",
+ "install.rb",
+ "lib/object_daddy.rb",
+ "rails/init.rb",
+ "spec/install_spec.rb",
+ "spec/object_daddy_spec.rb",
+ "spec/resources/config/database.yml",
+ "spec/resources/schema",
+ "spec/spec.opts",
+ "spec/spec_helper.rb"
]
- s.has_rdoc = true
s.homepage = %q{http://github.com/flogic/object_daddy}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.2}
+ s.rubygems_version = %q{1.3.3}
s.summary = %q{Object Daddy}
s.test_files = [
- "spec/spec_helper.rb",
"spec/install_spec.rb",
- "spec/object_daddy_spec.rb"
+ "spec/object_daddy_spec.rb",
+ "spec/spec_helper.rb"
]
if s.respond_to? :specification_version then

0 comments on commit c4e383e

Please sign in to comment.