gitlab-ruby 0.1.1.pre → 0.1.2.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69eaed3eb91232c2aecbb26b98be4cd5a29fde24248e10a852f659516bb247d0
4
- data.tar.gz: 1725f8b68db38f3f053e27ff55337401c052b88d01e84831ffd8992389b6b3bc
3
+ metadata.gz: e9fc5e454452048fc79a20d450ed567323818fdd213e767e67652bb041d48d11
4
+ data.tar.gz: 2f3ec5f9c534bbb9e09233bdd3a36cac11e8a6007707cb42ea2361d446460490
5
5
  SHA512:
6
- metadata.gz: 82624e6e5b3c2ea05b39741e860b28c002ad9d1e1da63143987c7737cfed894521a65732f2feaabcf011f706fdf4edfd5746e1cfc04305ab5f0cb327229f9680
7
- data.tar.gz: 86991c0381614452da9f14f7f7e1e8ff250a82bc4286060b222f069a72b2a23f3107f7f13f64ab160245284d5462dafc7460bf3642fbd3e3d5d03f09c3dad216
6
+ metadata.gz: b88602bafda9e419bdb24ac21fcdc7a266b732bc1d4a6f953aea46ca9be3be89fc1fbf8a06820b4055b702cb7e9b7274d495ae471a71cd5e4137539823ba9a37
7
+ data.tar.gz: b2abc4a4474533e49527f7ad779dfdd599f3dd610cf14061959b65b4bde8df98c833972d598ced86116278f341250fcc19407b621096713cf34ebc619d1310ef
@@ -1,18 +1,45 @@
1
1
  module Gitlab
2
2
  module Api
3
+ ##
4
+ # Issues api client
5
+ # @see https://docs.gitlab.com/ee/api/issues.html
6
+ #
3
7
  class Issues < Api::Base
4
8
  PATH = 'issues'
5
9
 
10
+ ##
11
+ # Retrieve all issues user has access to
12
+ #
13
+ # @see https://docs.gitlab.com/ee/api/issues.html#list-issues
14
+ # @param args [Hash] Arguments to pass to gitlab
15
+ # @return [Gitlab::Response]
16
+ #
6
17
  def list(args = {})
7
18
  action = with_pagination(args) { connection.get(PATH, args) }
8
19
  handle_action(action)
9
20
  end
10
21
 
22
+ ##
23
+ # Retrieve all issues within a group
24
+ #
25
+ # @see https://docs.gitlab.com/ee/api/issues.html#list-group-issues
26
+ # @param group [String] The group to get issues for
27
+ # @param args [Hash] Arguments to pass to gitlab
28
+ # @return [Gitlab::Response]
29
+ #
11
30
  def list_group(group, args = {})
12
31
  action = with_pagination(args) { connection.get(group_path(group), args) }
13
32
  handle_action(action)
14
33
  end
15
34
 
35
+ ##
36
+ # Retrieve all issues within a project
37
+ #
38
+ # @see https://docs.gitlab.com/ee/api/issues.html#list-project-issues
39
+ # @param project [String] The project to get issues for
40
+ # @param args [Hash] Arguments to pass to gitlab
41
+ # @return [Gitlab::Response]
42
+ #
16
43
  def list_project(project, args = {})
17
44
  action = with_pagination(args) { connection.get(project_path(project), args) }
18
45
  handle_action(action)
@@ -1,3 +1,3 @@
1
1
  module Gitlab
2
- VERSION = "0.1.1.pre"
2
+ VERSION = "0.1.2.pre"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre
4
+ version: 0.1.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Scott