Searched refs:GitRepository (Results 1 - 25 of 27) sorted by relevance

12

/ontohub/lib/git_repository/
H A Dpath_below_file_exception.rb1 class GitRepository::PathBelowFileException < StandardError class
H A Dpath_not_found_error.rb1 class GitRepository::PathNotFoundError < StandardError class
H A Dget_folder_contents.rb1 module GitRepository::GetFolderContents module
2 # depends on GitRepository, GetCommit, GetObject
30 block.call GitRepository::Files::GitFile.new(self, rugged_commit, entry.path)
45 contents << GitRepository::Files::GitFile.new(self, rugged_commit, filepath)
50 contents << GitRepository::Files::GitFile.new(self, rugged_commit, filepath)
H A Dget_object.rb1 module GitRepository::GetObject module
2 # depends on GitRepository
H A Dget_diff.rb1 module GitRepository::GetDiff module
2 # depends on GitRepository
38 @mime_info ||= GitRepository.mime_info(name)
50 GitRepository.mime_type_editable?(mime_type)
56 patch = GitRepository::History::Commit.new(rugged_commit, *opts).
68 commit = GitRepository::History::Commit.new(rugged_commit)
H A Dconfig.rb1 module GitRepository::Config module
H A Dfiles.rb1 module GitRepository::Files module
2 # depends on GitRepository
20 raise GitRepository::PathNotFoundError, "Path doesn't exist: #{path}"
H A Dget_commit.rb1 module GitRepository::GetCommit module
2 # depends on GitRepository
H A Dcommitting.rb1 module GitRepository::Committing module
2 # depends on GitRepository
21 raise GitRepository::PathBelowFileException
H A Dget_info_list.rb1 module GitRepository::GetInfoList module
2 # depends on GitRepository, GetCommit, GetObject, GetFolderContents
H A Dcloning.rb3 module GitRepository::Cloning module
H A Dhistory.rb1 module GitRepository::History module
2 # depends on GitRepository
/ontohub/lib/
H A Dgit_repository.rb3 class GitRepository class
6 include GitRepository::Config
7 include GitRepository::Cloning
8 include GitRepository::Files
9 include GitRepository::GetCommit
10 include GitRepository::GetObject
11 include GitRepository::GetDiff
12 include GitRepository::GetFolderContents
13 include GitRepository::GetInfoList
14 include GitRepository
[all...]
/ontohub/spec/lib/repository/import/
H A Dsvn_spec.rb43 expect(GitRepository.is_svn_repository?(bare_url)).to be_truthy
47 expect(GitRepository.is_git_repository?(bare_url)).to be_falsy
H A Dgit_spec.rb23 expect(GitRepository.is_svn_repository?(remote_repo.path)).to be_falsy
27 expect(GitRepository.is_git_repository?(remote_repo.path)).to be_truthy
/ontohub/spec/factories/
H A Dgit_repository_factory.rb11 factory :git_repository_with_commits, class: GitRepository do |git_repository|
41 factory :git_repository_with_moved_ontologies, class: GitRepository do |git_repository|
82 factory :git_repository_small_push, class: GitRepository do |git_repository|
108 factory :git_repository_big_push, class: GitRepository do |git_repository|
149 factory :git_repository_big_commit, class: GitRepository do |git_repository|
H A Drepository_factory.rb13 git_repository = GitRepository.new(path)
35 git_repository = GitRepository.new(path)
/ontohub/app/models/repository/
H A Dimporting.rb97 unless GitRepository.send "is_#{type}_repository?", source
125 if GitRepository.is_git_repository?(source_address)
127 elsif GitRepository.is_svn_repository?(source_address)
H A Dgit.rb17 @git ||= GitRepository.new(local_path.to_s)
/ontohub/spec/lib/repository/
H A Dgit_repository_spec.rb3 describe GitRepository do
21 let(:repository_new) { GitRepository.new(path) }
H A Dfiles_spec.rb8 let(:repository) { GitRepository.new(path) }
72 end.to raise_error(GitRepository::PathBelowFileException)
H A Ddiff_spec.rb5 let(:repository) { GitRepository.new(path) }
/ontohub/app/fake_records/
H A Dhistory_entries_page.rb13 rescue GitRepository::PathNotFoundError
H A Drepository_file.rb26 rescue GitRepository::PathNotFoundError
32 raise(GitRepository::PathNotFoundError,
/ontohub/spec/models/
H A Dcommit_spec.rb59 allow_any_instance_of(GitRepository).
61 allow_any_instance_of(GitRepository).

Completed in 16 milliseconds

12