From 77d84f6bb8a684aed0d0652542ec3d2704173d4b Mon Sep 17 00:00:00 2001 From: subicura Date: Thu, 26 Jan 2012 00:58:10 +0900 Subject: [PATCH] gem version 1.0 --- .document | 5 ++++ .gitignore | 48 ++++++++++++++++++++++++++++++++++++++ MIT-LICENSE => LICENSE.txt | 0 README => README.rdoc | 0 Rakefile | 17 +++++++++++++- 5 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 .document create mode 100644 .gitignore rename MIT-LICENSE => LICENSE.txt (100%) rename README => README.rdoc (100%) diff --git a/.document b/.document new file mode 100644 index 0000000..3d618dd --- /dev/null +++ b/.document @@ -0,0 +1,5 @@ +lib/**/*.rb +bin/* +- +features/**/*.feature +LICENSE.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb8e985 --- /dev/null +++ b/.gitignore @@ -0,0 +1,48 @@ +# rcov generated +coverage + +# rdoc generated +rdoc + +# yard generated +doc +.yardoc + +# bundler +.bundle + +# jeweler generated +pkg + +# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore: +# +# * Create a file at ~/.gitignore +# * Include files you want ignored +# * Run: git config --global core.excludesfile ~/.gitignore +# +# After doing this, these files will be ignored in all your git projects, +# saving you from having to 'pollute' every project you touch with them +# +# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line) +# +# For MacOS: +# +#.DS_Store + +# For TextMate +#*.tmproj +#tmtags + +# For emacs: +#*~ +#\#* +#.\#* + +# For vim: +#*.swp + +# For redcar: +#.redcar + +# For rubinius: +#*.rbc diff --git a/MIT-LICENSE b/LICENSE.txt similarity index 100% rename from MIT-LICENSE rename to LICENSE.txt diff --git a/README b/README.rdoc similarity index 100% rename from README rename to README.rdoc diff --git a/Rakefile b/Rakefile index f3bf7ce..35337eb 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,21 @@ require 'rake' require 'rake/testtask' -require 'rake/rdoctask' +require 'rdoc/task' + +begin + require 'jeweler' + Jeweler::Tasks.new do |gemspec| + gemspec.name = "auto_migrations" + gemspec.summary = "auto database migration." + gemspec.description = "auto database migration." + gemspec.email = "subicura@subicura.com" + gemspec.homepage = "http://github.com/subicura/auto_migrations" + gemspec.authors = ["subicura (originally by PJ Hyett)"] + end + Jeweler::GemcutterTasks.new +rescue LoadError + puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org" +end desc 'Default: run unit tests.' task :default => :test