Module: Generamba

Included in:
CLI::Application, CLI::Template
Defined in:
lib/generamba.rb,
lib/generamba/version.rb,
lib/generamba/module_generator.rb,
lib/generamba/constants/constants.rb,
lib/generamba/helpers/print_table.rb,
lib/generamba/helpers/template_helper.rb,
lib/generamba/helpers/module_validator.rb,
lib/generamba/helpers/xcodeproj_helper.rb,
lib/generamba/helpers/dependency_checker.rb,
lib/generamba/code_generation/code_module.rb,
lib/generamba/helpers/rambafile_validator.rb,
lib/generamba/constants/rambafile_constants.rb,
lib/generamba/constants/rambaspec_constants.rb,
lib/generamba/helpers/module_info_generator.rb,
lib/generamba/configuration/user_preferences.rb,
lib/generamba/code_generation/module_template.rb,
lib/generamba/code_generation/content_generator.rb,
lib/generamba/template/creator/template_creator.rb,
lib/generamba/template/installer/local_installer.rb,
lib/generamba/code_generation/rambafile_generator.rb,
lib/generamba/template/helpers/catalog_downloader.rb,
lib/generamba/template/helpers/catalog_terminator.rb,
lib/generamba/template/installer/remote_installer.rb,
lib/generamba/constants/user_preferences_constants.rb,
lib/generamba/template/helpers/rambaspec_validator.rb,
lib/generamba/template/installer/catalog_installer.rb,
lib/generamba/template/installer/abstract_installer.rb,
lib/generamba/template/processor/template_processor.rb,
lib/generamba/template/processor/template_declaration.rb,
lib/generamba/template/helpers/catalog_template_list_helper.rb,
lib/generamba/template/installer/template_installer_factory.rb,
lib/generamba/helpers/gen_command_table_parameters_formatter.rb,
lib/generamba/template/helpers/catalog_template_search_helper.rb

Defined Under Namespace

Modules: CLI Classes: AbstractInstaller, CatalogDownloader, CatalogInstaller, CatalogTemplateListHelper, CatalogTemplateSearchHelper, CatalogTerminator, CodeModule, ContentGenerator, DependencyChecker, GenCommandTableParametersFormatter, LocalInstaller, ModuleGenerator, ModuleInfoGenerator, ModuleTemplate, ModuleValidator, PrintTable, RambafileGenerator, RambafileValidator, RambaspecValidator, RemoteInstaller, TemplateCreator, TemplateDeclaration, TemplateDeclarationType, TemplateHelper, TemplateInstallerFactory, TemplateProcessor, UserPreferences, XcodeprojHelper

Constant Summary collapse

VERSION =
'2.0.1'
RELEASE_DATE =
'11.08.2019'
"https://github.com/rambler-digital-solutions/Generamba/releases/tag/#{VERSION}"
RAMBAFILE_NAME =

General constants

'Rambafile'
RAMBASPEC_EXTENSION =
'.rambaspec'
TEMPLATES_FOLDER =
'Templates'
RAMBLER_CATALOG_REPO =
'https://github.com/rambler-digital-solutions/generamba-catalog'
GENERAMBA_CATALOG_NAME =
'generamba-catalog'
GENERAMBA_HOME_DIR =
'.generamba'
CATALOGS_DIR =
'catalogs'
USER_PREFERENCES_FILE =
'user_preferences.yml'
SLASH_REGEX =
/^\/|\/$/
C99IDENTIFIER =
/[^\w]/
PATH_TYPE_PROJECT =
'project'
PATH_TYPE_TEST =
'test'
COMPANY_KEY =

Keys of Rambafile files

'company'
AUTHOR_NAME_KEY =
'author'
PROJECT_NAME_KEY =
'project_name'
PROJECT_PREFIX_KEY =
'prefix'
XCODEPROJ_PATH_KEY =
'xcodeproj_path'
PROJECT_TARGET_KEY =
'project_target'
PROJECT_TARGETS_KEY =
'project_targets'
PROJECT_FILE_PATH_KEY =
'project_file_path'
PROJECT_GROUP_PATH_KEY =
'project_group_path'
PRODUCT_MODULE_NAME_KEY =
'product_module_name'
TEST_TARGET_KEY =
'test_target'
TEST_TARGETS_KEY =
'test_targets'
TEST_FILE_PATH_KEY =
'test_file_path'
TEST_GROUP_PATH_KEY =
'test_group_path'
TEST_UNIT_TARGET_KEY =
'test_unit_target'
TEST_UNIT_PATH_KEY =
'test_unit_path'
TEST_UNIT_TESTABLE_IMPORT =
'test_unit_testable_import'
TEST_SNAPSHOT_TARGET_KEY =
'test_snapshot_target'
TEST_SNAPSHOT_PATH_KEY =
'test_snapshot_path'
TEST_SNAPSHOT_TESTABLE_IMPORT =
'test_snapshot_testable_import'
PODFILE_PATH_KEY =
'podfile_path'
CARTFILE_PATH_KEY =
'cartfile_path'
CREATE_LOGICAL_GROUPS_KEY =
'create_logical_groups'
CATALOGS_KEY =
'catalogs'
TEMPLATES_KEY =
'templates'
TEMPLATE_DECLARATION_NAME_KEY =
'name'
TEMPLATE_DECLARATION_LOCAL_KEY =
'local'
TEMPLATE_DECLARATION_GIT_KEY =
'git'
TEMPLATE_DECLARATION_BRANCH_KEY =
'branch'
TEMPLATE_NAME_KEY =

Keys of .rambaspec files

'name'
TEMPLATE_SUMMARY_KEY =
'summary'
TEMPLATE_AUTHOR_KEY =
'author'
TEMPLATE_VERSION_KEY =
'version'
TEMPLATE_LICENSE_KEY =
'license'
TEMPLATE_CODE_FILES_KEY =
'code_files'
TEMPLATE_TEST_FILES_KEY =
'test_files'
TEMPLATE_TEST_UNIT_FILES_KEY =
'test_unit_files'
TEMPLATE_TEST_SNAPSHOT_FILES_KEY =
'test_snapshot_files'
TEMPLATE_FILE_NAME_KEY =
'name'
TEMPLATE_FILE_CUSTOM_NAME_KEY =
'custom_name'
TEMPLATE_FILE_PATH_KEY =
'path'
TEMPLATE_FILE_IS_RESOURCE_KEY =
'is_resource'
TEMPLATE_DEPENDENCIES_KEY =
'dependencies'
USERNAME_KEY =

Keys of file user_preferences.yml

'username'