Module: Viperaptor
- Included in:
- CLI::Application, CLI::Template
- Defined in:
- lib/viperaptor.rb,
lib/viperaptor/version.rb,
lib/viperaptor/module_generator.rb,
lib/viperaptor/helpers/rambafile.rb,
lib/viperaptor/constants/constants.rb,
lib/viperaptor/helpers/print_table.rb,
lib/viperaptor/helpers/template_helper.rb,
lib/viperaptor/helpers/module_validator.rb,
lib/viperaptor/helpers/xcodeproj_helper.rb,
lib/viperaptor/helpers/dependency_checker.rb,
lib/viperaptor/code_generation/code_module.rb,
lib/viperaptor/constants/rambafile_constants.rb,
lib/viperaptor/constants/rambaspec_constants.rb,
lib/viperaptor/helpers/module_info_generator.rb,
lib/viperaptor/configuration/user_preferences.rb,
lib/viperaptor/code_generation/module_template.rb,
lib/viperaptor/code_generation/content_generator.rb,
lib/viperaptor/template/creator/template_creator.rb,
lib/viperaptor/template/installer/local_installer.rb,
lib/viperaptor/code_generation/rambafile_generator.rb,
lib/viperaptor/template/helpers/catalog_downloader.rb,
lib/viperaptor/template/helpers/catalog_terminator.rb,
lib/viperaptor/template/installer/remote_installer.rb,
lib/viperaptor/constants/user_preferences_constants.rb,
lib/viperaptor/template/helpers/rambaspec_validator.rb,
lib/viperaptor/template/installer/catalog_installer.rb,
lib/viperaptor/template/installer/abstract_installer.rb,
lib/viperaptor/template/processor/template_processor.rb,
lib/viperaptor/template/processor/template_declaration.rb,
lib/viperaptor/template/helpers/catalog_template_list_helper.rb,
lib/viperaptor/template/installer/template_installer_factory.rb,
lib/viperaptor/helpers/gen_command_table_parameters_formatter.rb,
lib/viperaptor/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, Rambafile, RambafileGenerator, RambafileValidator, RambaspecValidator, RemoteInstaller, TemplateCreator, TemplateDeclaration, TemplateDeclarationType, TemplateHelper, TemplateInstallerFactory, TemplateProcessor, UserPreferences, XcodeprojHelper
Constant Summary collapse
- VERSION =
"2.2.1"
- RELEASE_DATE =
"23.02.2022"
- RELEASE_LINK =
"https://github.com/ladeiko/Viperaptor/releases/tag/#{VERSION}"
- RAMBAFILE_NAME =
General constants
'Rambafile'
- RAMBASPEC_EXTENSION =
'.rambaspec'
- TEMPLATES_FOLDER =
'Templates'
- PREDEFINED_CATALOG_REPOS =
%w[ https://github.com/ladeiko/SwiftyViperTemplates ]
- APP_HOME_DIR =
'.viperaptor'
- 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'
- PODFILE_PATH_KEY =
'podfile_path'
- CARTFILE_PATH_KEY =
'cartfile_path'
- TEMPLATES_KEY =
'templates'
- CATALOGS_KEY =
'catalogs'
- TEMPLATE_DECLARATION_NAME_KEY =
'name'
- TEMPLATE_DECLARATION_LOCAL_KEY =
'local'
- TEMPLATE_DECLARATION_GIT_KEY =
'git'
- TEMPLATE_DECLARATION_BRANCH_KEY =
'branch'
- TEMPLATES_FILTER_KEY =
'templates_filter'
- CUSTOM_PARAMETERS_KEY =
'custom_parameters'
- 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_FILE_NAME_KEY =
"name"
- TEMPLATE_FILE_CUSTOM_NAME_KEY =
"custom_name"
- TEMPLATE_FILE_PATH_KEY =
"path"
- TEMPLATE_FILE_IS_RESOURCE_KEY =
"is_resource"
- TEMPLATE_CUSTOM_PARAMETERS_KEY =
"custom_parameters"
- TEMPLATE_DEPENDENCIES_KEY =
"dependencies"
- TEMPLATE_VIPERAPTOR_KEY =
"viperaptor"
- USER_PREFERENCES_USERNAME_KEY =
Keys of file user_preferences.yml
'username'
- USER_PREFERENCES_CATALOGS_KEY =
'catalogs'
- USER_PREFERENCES_TEMPLATES_HISTORY_KEY =
'templates_history'