lib/autowow/features/gem.rb in autowow-0.11.2 vs lib/autowow/features/gem.rb in autowow-0.12.0
- old
+ new
@@ -57,10 +57,22 @@
pretty_with_output.run(rubocop_autocorrect(filtered)) if filtered.any?
end
end
def bundle_exec(cmd)
- Autowow::Executor.pretty_with_output.run(["bundle", "exec"] + cmd)
+ pretty_with_output.run(["bundle", "exec"] + cmd)
+ end
+
+ def db_migrate
+ pretty_with_output.run(rake_db_migrate)
+ end
+
+ def db_schema
+ pretty_with_output.run(rake_db_schema)
+ end
+
+ def db_structure
+ pretty_with_output.run(rake_db_structure)
end
def bump_readme_version_information(version)
readme = File.new("README.md")
return unless File.file?(readme)