From 8354b8ddd68ba9fe351e4c01194b8be162263448 Mon Sep 17 00:00:00 2001 From: Joe Ferris Date: Fri, 6 Jun 2008 11:43:27 -0400 Subject: [PATCH] Renamed README to README.textile --- README => README.textile | 0 Rakefile | 12 +++++++++--- factory_girl.gemspec | 7 ++++--- 3 files changed, 13 insertions(+), 6 deletions(-) rename README => README.textile (100%) diff --git a/README b/README.textile similarity index 100% rename from README rename to README.textile diff --git a/Rakefile b/Rakefile index 6d145f3..1a14474 100644 --- a/Rakefile +++ b/Rakefile @@ -19,11 +19,16 @@ desc 'Generate documentation for the factory_girl plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Factory Girl' - rdoc.options << '--line-numbers' << '--inline-source' - rdoc.rdoc_files.include('README') + rdoc.options << '--line-numbers' << '--inline-source' << "--main" << "README.textile" + rdoc.rdoc_files.include('README.textile') rdoc.rdoc_files.include('lib/**/*.rb') end +desc 'Update documentation on website' +task :sync_docs => 'rdoc' do + `rsync -ave ssh rdoc/ dev@dev.thoughtbot.com:/home/dev/www/dev.thoughtbot.com/factory_girl` +end + spec = Gem::Specification.new do |s| s.name = %q{factory_girl} s.version = "1.1" @@ -38,7 +43,8 @@ spec = Gem::Specification.new do |s| s.test_files = Dir[*['test/**/*_test.rb']] s.has_rdoc = true - s.extra_rdoc_files = ["README"] + s.extra_rdoc_files = ["README.textile"] + s.rdoc_options = ['--line-numbers', '--inline-source', "--main", "README.textile"] s.authors = ["Joe Ferris"] s.email = %q{jferris@thoughtbot.com} diff --git a/factory_girl.gemspec b/factory_girl.gemspec index 7584e04..1f81017 100644 --- a/factory_girl.gemspec +++ b/factory_girl.gemspec @@ -6,12 +6,13 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Joe Ferris"] - s.date = %q{2008-06-03} + s.date = %q{2008-06-06} s.description = %q{factory_girl provides a framework and DSL for defining and using factories - less error-prone, more explicit, and all-around easier to work with than fixtures.} s.email = %q{jferris@thoughtbot.com} - s.extra_rdoc_files = ["README"] - s.files = ["LICENSE", "Rakefile", "README", "lib/factory_girl/attribute_proxy.rb", "lib/factory_girl/factory.rb", "lib/factory_girl/sequence.rb", "lib/factory_girl.rb", "test/attribute_proxy_test.rb", "test/factory_test.rb", "test/integration_test.rb", "test/models.rb", "test/sequence_test.rb", "test/test_helper.rb"] + s.extra_rdoc_files = ["README.textile"] + s.files = ["LICENSE", "Rakefile", "README.textile", "lib/factory_girl/attribute_proxy.rb", "lib/factory_girl/factory.rb", "lib/factory_girl/sequence.rb", "lib/factory_girl.rb", "test/attribute_proxy_test.rb", "test/factory_test.rb", "test/integration_test.rb", "test/models.rb", "test/sequence_test.rb", "test/test_helper.rb"] s.has_rdoc = true + s.rdoc_options = ["--line-numbers", "--inline-source", "--main", "README.textile"] s.require_paths = ["lib"] s.rubygems_version = %q{1.0.1} s.summary = %q{factory_girl provides a framework and DSL for defining and using model instance factories.}