Sha256: ded28484a81b46074d0587289ab718f57a14ab40649b088a34257c7021af6d98
Contents?: true
Size: 922 Bytes
Versions: 16
Compression:
Stored size: 922 Bytes
Contents
module AbstractFeatureBranch module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Installs Abstract Feature Branch by generating basic configuration files, including git ignored local one." def copy_config template "lib/tasks/abstract_feature_branch.rake", "lib/tasks/abstract_feature_branch.rake" template "config/initializers/abstract_feature_branch.rb", "config/initializers/abstract_feature_branch.rb" template "config/features.example.yml", "config/features.yml" template "config/features.local.yml", "config/features.local.yml" append_to_file '.gitignore', <<-GIT_IGNORE_CONTENT #abstract_feature_branch local configuration file /config/features.local.yml /config/features/*.local.yml /config/features/**/*.local.yml GIT_IGNORE_CONTENT end end end end
Version data entries
16 entries across 16 versions & 1 rubygems