Module: Txgh

Defined in:
lib/txgh.rb,
lib/txgh/utils.rb,
lib/txgh/config.rb,
lib/txgh/errors.rb,
lib/txgh/events.rb,
lib/txgh/puller.rb,
lib/txgh/pusher.rb,
lib/txgh/git_api.rb,
lib/txgh/version.rb,
lib/txgh/git_repo.rb,
lib/txgh/tx_logger.rb,
lib/txgh/git_status.rb,
lib/txgh/github_api.rb,
lib/txgh/gitlab_api.rb,
lib/txgh/github_repo.rb,
lib/txgh/gitlab_repo.rb,
lib/txgh/tx_resource.rb,
lib/txgh/parse_config.rb,
lib/txgh/github_status.rb,
lib/txgh/gitlab_status.rb,
lib/txgh/transifex_api.rb,
lib/txgh/diff_calculator.rb,
lib/txgh/category_support.rb,
lib/txgh/config/providers.rb,
lib/txgh/config/tx_config.rb,
lib/txgh/merge_calculator.rb,
lib/txgh/resource_deleter.rb,
lib/txgh/resource_updater.rb,
lib/txgh/config/tx_manager.rb,
lib/txgh/resource_contents.rb,
lib/txgh/transifex_project.rb,
lib/txgh/config/config_pair.rb,
lib/txgh/config/key_manager.rb,
lib/txgh/resource_committer.rb,
lib/txgh/tx_branch_resource.rb,
lib/txgh/resource_downloader.rb,
lib/txgh/config/provider_support.rb,
lib/txgh/empty_resource_contents.rb,
lib/txgh/config/provider_instance.rb,
lib/txgh/config/providers/git_provider.rb,
lib/txgh/config/providers/raw_provider.rb,
lib/txgh/config/providers/file_provider.rb,
lib/txgh/config/providers/github_provider.rb,
lib/txgh/config/providers/gitlab_provider.rb

Defined Under Namespace

Modules: CategorySupport, Config, Utils Classes: ConfigNotFoundError, DiffCalculator, EmptyResourceContents, Events, GitApi, GitConfigNotFoundError, GitRepo, GitStatus, GithubApi, GithubRepo, GithubStatus, GitlabApi, GitlabRepo, GitlabStatus, InvalidProviderError, MergeCalculator, ParseConfig, ProjectConfigNotFoundError, Puller, Pusher, RepoConfigNotFoundError, ResourceCommitter, ResourceContents, ResourceDeleter, ResourceDownloader, ResourceUpdater, TransifexApi, TransifexApiError, TransifexNotFoundError, TransifexProject, TransifexUnauthorizedError, TxBranchResource, TxLogger, TxResource, TxghError, TxghInternalError

Constant Summary collapse

DEFAULT_ENV =
'development'
VERSION =
'7.0.3'

Class Method Summary collapse

Class Method Details

.envObject



54
55
56
# File 'lib/txgh.rb', line 54

def env
  ENV.fetch('TXGH_ENV', DEFAULT_ENV)
end

.eventsObject



50
51
52
# File 'lib/txgh.rb', line 50

def events
  @events ||= Events.new
end

.key_managerObject



42
43
44
# File 'lib/txgh.rb', line 42

def key_manager
  Txgh::Config::KeyManager
end

.providersObject



46
47
48
# File 'lib/txgh.rb', line 46

def providers
  Txgh::Config::Providers
end

.tx_managerObject



38
39
40
# File 'lib/txgh.rb', line 38

def tx_manager
  Txgh::Config::TxManager
end