gl 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: af39a1428c8d4518f220790f28f9a9f879a5fe76013f4b9076c0f0747b3696c2
4
+ data.tar.gz: 44e2bed27463b2ac6a7190992b159c1aa535e826b5f5aa4b271226adf6bf836e
5
+ SHA512:
6
+ metadata.gz: 20f7ad0fcf93066a0bdc801164314a79310a4567f5ad6024eaecff591940ec6c1b76df1b03721f4bbfbb9f9b84165d368c8f55c21fdb88af1a4ed37e330b6410
7
+ data.tar.gz: 9eb865cdca8032c4b620fa6d2ba2bc5eb548c0b5ba76ee79296baacea70ad66655d66fa39ab97d59b4b31acb5d482b024947bc29607911a10018fe6ad8653f37
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /vendor/
10
+ *.gem
data/.rubocop.yml ADDED
@@ -0,0 +1,7 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.6
5
+
6
+ Metrics/LineLength:
7
+ Max: 100
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,27 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2019-08-19 10:13:44 +0200 using RuboCop version 0.74.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 2
10
+ Metrics/AbcSize:
11
+ Max: 45
12
+
13
+ # Offense count: 3
14
+ # Configuration parameters: CountComments, ExcludedMethods.
15
+ Metrics/MethodLength:
16
+ Max: 35
17
+
18
+ # Offense count: 5
19
+ Style/Documentation:
20
+ Exclude:
21
+ - 'spec/**/*'
22
+ - 'test/**/*'
23
+ - 'lib/gl.rb'
24
+ - 'lib/gl/cli.rb'
25
+ - 'lib/gl/cli/issues.rb'
26
+ - 'lib/gl/cli/merge_requests.rb'
27
+ - 'lib/gl/cli/registry.rb'
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gem 'rubocop'
6
+ # Specify your gem's dependencies in gl.gemspec
7
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,91 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gl (0.1.0)
5
+ gitlab
6
+ thor
7
+ tty-progressbar
8
+ tty-prompt
9
+ tty-spinner
10
+ tty-table
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ ast (2.4.0)
16
+ equatable (0.6.1)
17
+ gitlab (4.12.0)
18
+ httparty (~> 0.14, >= 0.14.0)
19
+ terminal-table (~> 1.5, >= 1.5.1)
20
+ httparty (0.17.0)
21
+ mime-types (~> 3.0)
22
+ multi_xml (>= 0.5.2)
23
+ jaro_winkler (1.5.3)
24
+ mime-types (3.2.2)
25
+ mime-types-data (~> 3.2015)
26
+ mime-types-data (3.2019.0331)
27
+ multi_xml (0.6.0)
28
+ necromancer (0.5.0)
29
+ parallel (1.17.0)
30
+ parser (2.6.3.0)
31
+ ast (~> 2.4.0)
32
+ pastel (0.7.3)
33
+ equatable (~> 0.6)
34
+ tty-color (~> 0.5)
35
+ rainbow (3.0.0)
36
+ rake (10.5.0)
37
+ rubocop (0.74.0)
38
+ jaro_winkler (~> 1.5.1)
39
+ parallel (~> 1.10)
40
+ parser (>= 2.6)
41
+ rainbow (>= 2.2.2, < 4.0)
42
+ ruby-progressbar (~> 1.7)
43
+ unicode-display_width (>= 1.4.0, < 1.7)
44
+ ruby-progressbar (1.10.1)
45
+ strings (0.1.5)
46
+ strings-ansi (~> 0.1)
47
+ unicode-display_width (~> 1.5)
48
+ unicode_utils (~> 1.4)
49
+ strings-ansi (0.1.0)
50
+ terminal-table (1.8.0)
51
+ unicode-display_width (~> 1.1, >= 1.1.1)
52
+ thor (0.20.3)
53
+ tty-color (0.5.0)
54
+ tty-cursor (0.7.0)
55
+ tty-progressbar (0.17.0)
56
+ strings-ansi (~> 0.1.0)
57
+ tty-cursor (~> 0.7)
58
+ tty-screen (~> 0.7)
59
+ unicode-display_width (~> 1.6)
60
+ tty-prompt (0.19.0)
61
+ necromancer (~> 0.5.0)
62
+ pastel (~> 0.7.0)
63
+ tty-reader (~> 0.6.0)
64
+ tty-reader (0.6.0)
65
+ tty-cursor (~> 0.7)
66
+ tty-screen (~> 0.7)
67
+ wisper (~> 2.0.0)
68
+ tty-screen (0.7.0)
69
+ tty-spinner (0.9.1)
70
+ tty-cursor (~> 0.7)
71
+ tty-table (0.11.0)
72
+ equatable (~> 0.6)
73
+ necromancer (~> 0.5)
74
+ pastel (~> 0.7.2)
75
+ strings (~> 0.1.5)
76
+ tty-screen (~> 0.7)
77
+ unicode-display_width (1.6.0)
78
+ unicode_utils (1.4.0)
79
+ wisper (2.0.0)
80
+
81
+ PLATFORMS
82
+ ruby
83
+
84
+ DEPENDENCIES
85
+ bundler (~> 2.0)
86
+ gl!
87
+ rake (~> 10.0)
88
+ rubocop
89
+
90
+ BUNDLED WITH
91
+ 2.0.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Robert Müller 🚀
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # Gl
2
+
3
+ Gl is a small CLI that hooks into your Git config and GitLab API to easily access information based
4
+ on the project your are currently in.
5
+
6
+ ## Installation
7
+
8
+ $ gem install gl
9
+
10
+ ## Usage
11
+
12
+ TODO: Write usage instructions here
13
+
14
+ ## Development
15
+
16
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
17
+
18
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
19
+
20
+ ## Contributing
21
+
22
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Flipez/gl.
23
+
24
+ ## License
25
+
26
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'gl'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/gl ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'gl'
5
+
6
+ Gl::CLI.setup
7
+ Gl::CLI.start(ARGV)
data/gl.gemspec ADDED
@@ -0,0 +1,40 @@
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 'gl/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'gl'
9
+ spec.version = Gl::VERSION
10
+ spec.authors = ['Flipez']
11
+ spec.email = ['code@brauser.io']
12
+
13
+ spec.summary = 'Wrapper around our most used GitLab functions'
14
+ spec.description = 'Wrapper around our most used GitLab functions'
15
+ spec.homepage = 'https://github.com/Flipez/gl'
16
+ spec.license = 'MIT'
17
+
18
+ spec.metadata['homepage_uri'] = spec.homepage
19
+ spec.metadata['source_code_uri'] = spec.homepage
20
+ spec.metadata['changelog_uri'] = spec.homepage
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ end
27
+ spec.bindir = 'exe'
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ['lib']
30
+
31
+ spec.add_dependency 'gitlab'
32
+ spec.add_dependency 'thor'
33
+ spec.add_dependency 'tty-progressbar'
34
+ spec.add_dependency 'tty-prompt'
35
+ spec.add_dependency 'tty-spinner'
36
+ spec.add_dependency 'tty-table'
37
+
38
+ spec.add_development_dependency 'bundler', '~> 2.0'
39
+ spec.add_development_dependency 'rake', '~> 10.0'
40
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gl
4
+ class Issues < Thor
5
+ desc 'list', 'list open issues'
6
+ option :i
7
+ def list(project = nil)
8
+ issues = Gitlab.issues(Gl.current_project(project), state: :opened).auto_paginate
9
+
10
+ issues_list = issues.map do |issue|
11
+ [issue.iid, issue.author.name, issue.title]
12
+ end
13
+
14
+ if options[:i]
15
+ prompt = TTY::Prompt.new(interrupt: :exit)
16
+ choice = prompt.select('Open a issue') do |menu|
17
+ issues_list.each do |issue|
18
+ menu.choice issue.join(' - '), issue[0]
19
+ end
20
+ end
21
+ Gl.open_in_browser("#{Gl.current_project}/issues/#{choice}")
22
+ else
23
+ table = TTY::Table.new(%w[IID Author Title],
24
+ issues_list)
25
+ puts table.render(:ascii, padding: [0, 1])
26
+ end
27
+ end
28
+
29
+ desc 'open', 'opens the issues overview in your browser'
30
+ def open(id = nil)
31
+ Gl.open_in_browser("#{Gl.current_project}/issues/#{id}")
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gl
4
+ class MergeRequests < Thor
5
+ desc 'list', 'list open merge requests'
6
+ option :i
7
+ def list(project = nil)
8
+ if options[:i]
9
+ id = merge_request_dialogue(project)
10
+ Gl.open_in_browser("#{Gl.current_project}/merge_requests/#{id}")
11
+ else
12
+ table = TTY::Table.new(%w[IID Author Title],
13
+ merge_requests_list(project))
14
+ puts table.render(:ascii, padding: [0, 1])
15
+ end
16
+ end
17
+
18
+ desc 'open', 'opens the merge request overview in your browser'
19
+ def open(id = nil)
20
+ Gl.open_in_browser("#{Gl.current_project}/merge_requests/#{id}")
21
+ end
22
+
23
+ desc 'ready', 'marks a merge request as reviewable'
24
+ def ready(id = nil)
25
+ id ||= merge_request_dialogue
26
+
27
+ begin
28
+ Gitlab.create_merge_request_note(Gl.current_project,
29
+ id,
30
+ '/label ~"Status::Reviewable"')
31
+ rescue Gitlab::Error::BadRequest
32
+ true
33
+ end
34
+ end
35
+
36
+ private
37
+
38
+ def merge_request_dialogue(project = nil)
39
+ prompt = TTY::Prompt.new(interrupt: :exit)
40
+ prompt.select('Select a merge request') do |menu|
41
+ merge_requests_list(project).each do |merge_request|
42
+ menu.choice merge_request.join(' - '), merge_request[0]
43
+ end
44
+ end
45
+ end
46
+
47
+ def merge_requests_list(project)
48
+ @merge_requests_list ||= begin
49
+ merge_requests = Gitlab.merge_requests(Gl.current_project(project),
50
+ state: :opened).auto_paginate
51
+
52
+ merge_requests.map do |mr|
53
+ [mr.iid, mr.author.name, mr.title]
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gl
4
+ class Registry < Thor
5
+ desc 'status', 'display statistics about the registry'
6
+ def status
7
+ spinner = TTY::Spinner.new('[:spinner] Fetching projects ...')
8
+
9
+ results = {}
10
+
11
+ spinner.auto_spin
12
+ projects = Gitlab.projects.auto_paginate
13
+ spinner.stop("Found #{projects.count}")
14
+
15
+ bar = TTY::ProgressBar.new(
16
+ 'processing projects [:bar] :current/:total processed (:percent, :eta remaining)',
17
+ total: projects.size
18
+ )
19
+
20
+ projects.each do |project|
21
+ bar.advance(1)
22
+ registries = begin
23
+ Gitlab.registry_repositories(project.id)
24
+ rescue Gitlab::Error::Forbidden
25
+ next
26
+ end
27
+
28
+ next if registries.empty?
29
+
30
+ infos = registries.map do |registry|
31
+ tags = Gitlab.registry_repository_tags(project.id, registry.id)
32
+
33
+ next if tags.empty?
34
+
35
+ tags = tags.map do |tag|
36
+ Gitlab.registry_repository_tag(project.id, registry.id, tag.name)
37
+ rescue Gitlab::Error::NotFound
38
+ next
39
+ end
40
+
41
+ tags
42
+ end
43
+
44
+ sizes = infos.flatten.compact.map(&:total_size)
45
+
46
+ project_size = sizes.inject(0) { |sum, x| sum + x }
47
+ results[project.path_with_namespace] = (project_size / 1024.0 / 1024.0).round(2)
48
+ end
49
+
50
+ bar.finish
51
+ table = TTY::Table.new(['Project', 'Size in MB'], results.sort_by { |_key, value| -value })
52
+ table << ['Total usage', results.values.inject(0) { |sum, x| sum + x }.round(2)]
53
+ puts table.render(:ascii, alignments: %i[left right])
54
+ end
55
+ end
56
+ end
data/lib/gl/cli.rb ADDED
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'gl/cli/registry'
4
+ require 'gl/cli/merge_requests'
5
+ require 'gl/cli/issues'
6
+
7
+ module Gl
8
+ class CLI < Thor
9
+ desc 'registry', 'registry'
10
+ subcommand 'registry', Registry
11
+
12
+ desc 'mr', 'merge requests'
13
+ subcommand 'mr', MergeRequests
14
+
15
+ desc 'issues', 'issues'
16
+ subcommand 'issues', Issues
17
+
18
+ def self.setup
19
+ prompt = TTY::Prompt.new
20
+
21
+ endpoint = `git config --get gitlab.endpoint`.chomp
22
+ if endpoint.empty?
23
+ endpoint = prompt.ask('Please enter the GitLab endpoint', default: 'https://gitlab.com')
24
+ endpoint = "#{endpoint}/api/v4"
25
+
26
+ if prompt.yes?("Do you want to persist #{endpoint} as gitlab.endpoint to your git config")
27
+ `git config --global --add gitlab.endpoint #{endpoint}`
28
+ end
29
+ end
30
+
31
+ token = `git config --get gitlab.token`.chomp
32
+ if token.empty?
33
+ token = prompt.mask('Please enter your GitLab token')
34
+
35
+ if prompt.yes?('Do you want to persist the tokee as gitlab.token to your git config')
36
+ `git config --global --add gitlab.token #{token}`
37
+ end
38
+ end
39
+
40
+ Gitlab.endpoint = endpoint
41
+ Gitlab.private_token = token
42
+ end
43
+ end
44
+ end
data/lib/gl/version.rb ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gl
4
+ VERSION = '0.1.0'
5
+ end
data/lib/gl.rb ADDED
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'thor'
4
+ require 'gitlab'
5
+ require 'tty-spinner'
6
+ require 'tty-progressbar'
7
+ require 'tty-table'
8
+ require 'tty-prompt'
9
+
10
+ require 'gl/cli'
11
+
12
+ module Gl
13
+ class Error < StandardError; end
14
+ def self.current_project(project = nil)
15
+ prompt = TTY::Prompt.new
16
+ current_remote = project || `git config --get remote.origin.url`.chomp
17
+
18
+ if current_remote.empty?
19
+ current_remote = prompt.ask('No remote found, please enter a project (like `group/project`)')
20
+ end
21
+
22
+ current_remote.gsub(%r{ssh://.*:222/(.*).git}, '\1')
23
+ end
24
+
25
+ def self.open_in_browser(url)
26
+ url = "#{Gitlab.endpoint.gsub('api/v4', '')}#{url}"
27
+ `sensible-browser #{url}`
28
+ end
29
+ end
metadata ADDED
@@ -0,0 +1,178 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gl
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Flipez
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-08-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: gitlab
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: tty-progressbar
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: tty-prompt
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: tty-spinner
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: tty-table
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: bundler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '10.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '10.0'
125
+ description: Wrapper around our most used GitLab functions
126
+ email:
127
+ - code@brauser.io
128
+ executables:
129
+ - gl
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - ".gitignore"
134
+ - ".rubocop.yml"
135
+ - ".rubocop_todo.yml"
136
+ - Gemfile
137
+ - Gemfile.lock
138
+ - LICENSE.txt
139
+ - README.md
140
+ - Rakefile
141
+ - bin/console
142
+ - bin/setup
143
+ - exe/gl
144
+ - gl.gemspec
145
+ - lib/gl.rb
146
+ - lib/gl/cli.rb
147
+ - lib/gl/cli/issues.rb
148
+ - lib/gl/cli/merge_requests.rb
149
+ - lib/gl/cli/registry.rb
150
+ - lib/gl/version.rb
151
+ homepage: https://github.com/Flipez/gl
152
+ licenses:
153
+ - MIT
154
+ metadata:
155
+ homepage_uri: https://github.com/Flipez/gl
156
+ source_code_uri: https://github.com/Flipez/gl
157
+ changelog_uri: https://github.com/Flipez/gl
158
+ post_install_message:
159
+ rdoc_options: []
160
+ require_paths:
161
+ - lib
162
+ required_ruby_version: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ required_rubygems_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ requirements: []
173
+ rubyforge_project:
174
+ rubygems_version: 2.7.6
175
+ signing_key:
176
+ specification_version: 4
177
+ summary: Wrapper around our most used GitLab functions
178
+ test_files: []