Sha256: 8dfcc9e67af24df9a10a0ad0a00b6fc87278d8404ca5a3c8a4dce2d929865f46

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

directories :
  - app/controllers/rules
  - app/rules
  - db/migrate
  - spec/lib/rules

templates :
  replacements :
    - tweet_word_writer : rule_name
    - TweetWordWriter : rule_class
    - '20100727235508' : "Time.now.strftime('%Y%m%d%H%M%S')"
    
  directories : 
    - app/views/re_rules/tweet_word_writer

  files : 
    - app/controllers/rules/tweet_word_writer_controller.rb
    - app/rules/tweet_word_writer.rb
    - app/views/re_rules/tweet_word_writer/_edit.html.erb
    - app/views/re_rules/tweet_word_writer/_form.html.erb
    - app/views/re_rules/tweet_word_writer/_help.html.erb
    - app/views/re_rules/tweet_word_writer/_new.html.erb
    - app/views/re_rules/tweet_word_writer/index.html.erb
    - db/migrate/20100727235508_create_tweet_word_writer.rb
    - spec/lib/rules/tweet_word_writer_spec.rb

after_generate_message : 
  - "EDIT routes.rb"
  - ""
  - "map.with_options :controller => 'Rules::TweetWordWriter', :path_prefix => '/rules/tweet_word_writer', :name_prefix => 'tweet_word_writer_' do |tweet_word_writer|"
  - "  tweet_word_writer.index   '/', :action => :index, :conditions => { :method => :get }"
  - "  tweet_word_writer.ignore  '/', :action => :ignore, :conditions => { :method => :put }"
  - "end"
  - ""
  - "rake db:migrate"
  - "rake spec"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rules_engine_templates-0.3.0 generators/manifests/tweet_word_writer.yml
rules_engine_templates-0.0.6 rails_generators/manifests/tweet_word_writer.yml