gitlab 4.8.0 → 4.13.0
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 +4 -4
- data/README.md +13 -7
- data/lib/gitlab/cli.rb +0 -3
- data/lib/gitlab/cli_helpers.rb +11 -10
- data/lib/gitlab/client.rb +15 -0
- data/lib/gitlab/client/application_settings.rb +172 -0
- data/lib/gitlab/client/avatar.rb +21 -0
- data/lib/gitlab/client/boards.rb +56 -0
- data/lib/gitlab/client/build_variables.rb +14 -10
- data/lib/gitlab/client/commits.rb +18 -2
- data/lib/gitlab/client/container_registry.rb +85 -0
- data/lib/gitlab/client/epics.rb +73 -0
- data/lib/gitlab/client/features.rb +48 -0
- data/lib/gitlab/client/group_boards.rb +141 -0
- data/lib/gitlab/client/group_labels.rb +88 -0
- data/lib/gitlab/client/groups.rb +66 -2
- data/lib/gitlab/client/issue_links.rb +48 -0
- data/lib/gitlab/client/labels.rb +1 -1
- data/lib/gitlab/client/lint.rb +19 -0
- data/lib/gitlab/client/markdown.rb +23 -0
- data/lib/gitlab/client/merge_request_approvals.rb +9 -8
- data/lib/gitlab/client/merge_requests.rb +12 -0
- data/lib/gitlab/client/notes.rb +1 -1
- data/lib/gitlab/client/pipelines.rb +12 -0
- data/lib/gitlab/client/project_clusters.rb +83 -0
- data/lib/gitlab/client/project_release_links.rb +76 -0
- data/lib/gitlab/client/project_releases.rb +79 -0
- data/lib/gitlab/client/projects.rb +27 -6
- data/lib/gitlab/client/repositories.rb +5 -3
- data/lib/gitlab/client/repository_files.rb +16 -0
- data/lib/gitlab/client/resource_label_events.rb +82 -0
- data/lib/gitlab/client/runners.rb +49 -2
- data/lib/gitlab/client/search.rb +66 -0
- data/lib/gitlab/client/users.rb +7 -9
- data/lib/gitlab/configuration.rb +1 -1
- data/lib/gitlab/error.rb +46 -1
- data/lib/gitlab/paginated_response.rb +19 -0
- data/lib/gitlab/request.rb +15 -25
- data/lib/gitlab/shell_history.rb +4 -8
- data/lib/gitlab/version.rb +1 -1
- metadata +33 -15
- data/.github/stale.yml +0 -18
- data/.gitignore +0 -22
- data/.rubocop_todo.yml +0 -46
- data/CONTRIBUTING.md +0 -195
- data/Gemfile +0 -6
- data/Rakefile +0 -15
- data/bin/console +0 -11
- data/bin/setup +0 -6
- data/gitlab.gemspec +0 -36
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'bundler/gem_tasks'
|
4
|
-
|
5
|
-
require 'rspec/core/rake_task'
|
6
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
7
|
-
spec.rspec_opts = ['--color', '--format d']
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'rubocop/rake_task'
|
11
|
-
RuboCop::RakeTask.new(:rubocop) do |task|
|
12
|
-
task.options = ['-D', '--parallel']
|
13
|
-
end
|
14
|
-
|
15
|
-
task default: :spec
|
data/bin/console
DELETED
data/bin/setup
DELETED
data/gitlab.gemspec
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
lib = File.expand_path('lib', __dir__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'gitlab/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |gem|
|
8
|
-
gem.name = 'gitlab'
|
9
|
-
gem.version = Gitlab::VERSION
|
10
|
-
gem.authors = ['Nihad Abbasov', 'Sean Edge']
|
11
|
-
gem.email = ['mail@narkoz.me', 'asedge@gmail.com']
|
12
|
-
gem.description = 'Ruby client and CLI for GitLab API'
|
13
|
-
gem.summary = 'A Ruby wrapper and CLI for the GitLab API'
|
14
|
-
gem.homepage = 'https://github.com/narkoz/gitlab'
|
15
|
-
|
16
|
-
gem.files = `git ls-files`.split($/)
|
17
|
-
.grep_v(/^spec/) -
|
18
|
-
%w[Dockerfile docker-compose.yml docker.env .travis.yml
|
19
|
-
.rubocop.yml .dockerignore]
|
20
|
-
gem.bindir = 'exe'
|
21
|
-
gem.executables = gem.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
23
|
-
gem.require_paths = ['lib']
|
24
|
-
gem.license = 'BSD'
|
25
|
-
|
26
|
-
gem.required_ruby_version = '>= 2.3'
|
27
|
-
|
28
|
-
gem.add_runtime_dependency 'httparty', '>= 0.14.0'
|
29
|
-
gem.add_runtime_dependency 'terminal-table', '>= 1.5.1'
|
30
|
-
|
31
|
-
gem.add_development_dependency 'pry'
|
32
|
-
gem.add_development_dependency 'rake'
|
33
|
-
gem.add_development_dependency 'rspec'
|
34
|
-
gem.add_development_dependency 'rubocop'
|
35
|
-
gem.add_development_dependency 'webmock'
|
36
|
-
end
|