Module: Decidim::Generators
- Defined in:
- lib/decidim/generators.rb,
lib/decidim/generators/version.rb,
lib/decidim/generators/app_generator.rb,
lib/decidim/generators/install_generator.rb,
lib/decidim/generators/component_generator.rb
Defined Under Namespace
Classes: AppGenerator, ComponentGenerator, InstallGenerator
Class Method Summary collapse
Class Method Details
.edge_git_branch ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/decidim/generators.rb', line 7 def self.edge_git_branch if Decidim::Generators.version.match?(/\.dev$/) "develop" else "release/#{Decidim::Generators.version.match(/^[0-9]+\.[0-9]+/)[0]}-stable" end end |
.version ⇒ Object
6 7 8 |
# File 'lib/decidim/generators/version.rb', line 6 def self.version "0.29.1" end |