Skip to content
Browse files

Add simple initial generator

  • Loading branch information...
1 parent 1b83187 commit a6463c3e59bace4867500accf666d5cfabe866b2 @skalnik committed Nov 30, 2011
Showing with 12 additions and 0 deletions.
  1. +7 −0 lib/generators/config_generator.rb
  2. +5 −0 lib/generators/templates/gemlock.yml.erb
View
7 lib/generators/config_generator.rb
@@ -0,0 +1,7 @@
+require 'rails/generators'
+
+class ConfigGenerator < Rails::Generators::Base
+ def create_config_file
+ create_file "config/gemlock.yml"
+ end
+end
View
5 lib/generators/templates/gemlock.yml.erb
@@ -0,0 +1,5 @@
+releases:
+ - minor
+ - patch
+interval: 2 weeks
+email: <%= email %>

0 comments on commit a6463c3

Please sign in to comment.
Something went wrong with that request. Please try again.