Class: CiToolkit::DvcsPr

Inherits:
Object
  • Object
show all
Includes:
AbstractInterface
Defined in:
lib/ci_toolkit/dvcs_pr.rb

Overview

This needs to be implemented if you want to implement a distribution version control system be used by ci_toolkit. Similar to GithubPr and GitlabPr classes

Direct Known Subclasses

GithubPr, GitlabPr

Instance Method Summary collapse

Methods included from AbstractInterface

included

Instance Method Details

#big?Boolean

Returns:

  • (Boolean)


93
94
95
# File 'lib/ci_toolkit/dvcs_pr.rb', line 93

def big?
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#build_typesObject



81
82
83
# File 'lib/ci_toolkit/dvcs_pr.rb', line 81

def build_types
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#comment(_text) ⇒ Object



49
50
51
# File 'lib/ci_toolkit/dvcs_pr.rb', line 49

def comment(_text)
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#commentsObject



45
46
47
# File 'lib/ci_toolkit/dvcs_pr.rb', line 45

def comments
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#create_status(_state, _context, _target_url, _description) ⇒ Object



73
74
75
# File 'lib/ci_toolkit/dvcs_pr.rb', line 73

def create_status(_state, _context, _target_url, _description)
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#delete_comment(_comment_id) ⇒ Object



57
58
59
# File 'lib/ci_toolkit/dvcs_pr.rb', line 57

def delete_comment(_comment_id)
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#delete_comments_including_text(_text) ⇒ Object



53
54
55
# File 'lib/ci_toolkit/dvcs_pr.rb', line 53

def delete_comments_including_text(_text)
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#filesObject



69
70
71
# File 'lib/ci_toolkit/dvcs_pr.rb', line 69

def files
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#find_comments_including_text(_text) ⇒ Object



61
62
63
# File 'lib/ci_toolkit/dvcs_pr.rb', line 61

def find_comments_including_text(_text)
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#get_status(_context) ⇒ Object



77
78
79
# File 'lib/ci_toolkit/dvcs_pr.rb', line 77

def get_status(_context)
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#get_status_description(_context) ⇒ Object



101
102
103
# File 'lib/ci_toolkit/dvcs_pr.rb', line 101

def get_status_description(_context)
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#infrastructure_work?Boolean

Returns:

  • (Boolean)


85
86
87
# File 'lib/ci_toolkit/dvcs_pr.rb', line 85

def infrastructure_work?
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#labelsObject



65
66
67
# File 'lib/ci_toolkit/dvcs_pr.rb', line 65

def labels
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#lines_of_code_changedObject



41
42
43
# File 'lib/ci_toolkit/dvcs_pr.rb', line 41

def lines_of_code_changed
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#numberObject



37
38
39
# File 'lib/ci_toolkit/dvcs_pr.rb', line 37

def number
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#realm_module_modified?Boolean

Returns:

  • (Boolean)


97
98
99
# File 'lib/ci_toolkit/dvcs_pr.rb', line 97

def realm_module_modified?
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#titleObject



33
34
35
# File 'lib/ci_toolkit/dvcs_pr.rb', line 33

def title
  CiToolkit::DvcsPr.api_not_implemented(self)
end

#work_in_progress?Boolean

Returns:

  • (Boolean)


89
90
91
# File 'lib/ci_toolkit/dvcs_pr.rb', line 89

def work_in_progress?
  CiToolkit::DvcsPr.api_not_implemented(self)
end