Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated Readme and added Gemfile

  • Loading branch information...
commit 02bdfee035322bb28ea0a38e0ea1b35e155bb29f 1 parent 2e2fd31
@negonicrac negonicrac authored
Showing with 48 additions and 2 deletions.
  1. +16 −1 .gitignore
  2. 0  Gemfile
  3. +8 −1 README.rdoc
  4. +24 −0 Rakefile
View
17 .gitignore
@@ -1,7 +1,22 @@
+## MAC OS
+.DS_Store
+
+## TEXTMATE
+*.tmproj
+tmtags
+
+## EMACS
+*~
+\#*
+.\#*
+
+## VIM
+*.swp
+
## PROJECT::GENERAL
coverage
rdoc
pkg
## PROJECT::SPECIFIC
-.idea
+tmp/**/*
View
0  Gemfile
No changes.
View
9 README.rdoc
@@ -3,8 +3,15 @@
Rails 3 compatible generators for DataMapper, Haml, Factory-girl, Authlogic, Mongomapper, Shoulda, Formtastic and SimpleForm
== Note on Patches/Pull Requests
+
+* Fork the project.
+* Make your feature addition or bug fix.
+* Add tests for it. This is important so I don't break it in a
+ future version unintentionally.
+* Commit, do not mess with rakefile, version, or history.
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
+* Send me a pull request. Bonus points for topic branches.
-Fork the repo, add a generator, send a pull request. Pretty simple.
== Contributors
View
24 Rakefile
@@ -17,6 +17,30 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/*_test.rb'
+ test.verbose = true
+end
+
+begin
+ require 'rcov/rcovtask'
+ Rcov::RcovTask.new do |test|
+ test.libs << 'test'
+ test.pattern = 'test/**/test_*.rb'
+ test.verbose = true
+ end
+rescue LoadError
+ task :rcov do
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
+ end
+end
+
+task :test => :check_dependencies
+
+task :default => :test
+
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
Please sign in to comment.
Something went wrong with that request. Please try again.