rails_generators/manifests/complex.rb in rules_engine-0.1.6 vs rails_generators/manifests/complex.rb in rules_engine-0.1.7
- old
+ new
@@ -2,11 +2,10 @@
def self.populate_record(m, rule_name ,rule_class)
%W(
app/rules
app/views/re_rule_definitions/#{rule_name}
- lib/tasks
spec/lib/rules
).each do |dirname|
m.directory dirname
end
@@ -22,6 +21,10 @@
m.template "app/views/re_rule_definitions/complex/_help.html.erb", "app/views/re_rule_definitions/#{rule_name}/_help.html.erb"
m.template "app/views/re_rule_definitions/complex/_new.html.erb", "app/views/re_rule_definitions/#{rule_name}/_new.html.erb"
m.template "spec/lib/rules/complex_spec.rb", "spec/lib/rules/#{rule_name}_spec.rb"
end
+
+ def self.after_generate(rule_name ,rule_class)
+ end
+
end