peoplegroup-connectors 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: aed24618b9accca7e0d8cca14960542bb90fd63dd941dbf47f0a4a08f09ce469
4
+ data.tar.gz: 5fc058a1d732783a8cf722b772c7c09b128aa925e87d1f96e358dabf735558ae
5
+ SHA512:
6
+ metadata.gz: 863321cee233ff5e966ec3698589697cbf40b5ed5c0493078b6e157f0887b9d0c05762edc7dc3d0a57d48f928d4e4938e6f44ed3de576470ec44062d16635c73
7
+ data.tar.gz: 75db7b3f19ace7c84020a46ae0b0fa82d845a77d1965cb90a4e7034a7682f56866dedda8c42bbcfa7633dd5de8a3d6f602910f45fd3396ad9ea9257a8e883432
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
@@ -0,0 +1,20 @@
1
+ rspec:
2
+ stage: test
3
+ only:
4
+ - merge_requests
5
+ script:
6
+ - gem install bundler
7
+ - bundle install
8
+ - bundle exec rspec
9
+
10
+ rubocop:
11
+ stage: test
12
+ only:
13
+ - merge_requests
14
+ script:
15
+ - gem install bundler
16
+ - bundle install
17
+ - bundle exec rubocop
18
+
19
+ include:
20
+ template: Dependency-Scanning.gitlab-ci.yml
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,21 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ require:
4
+ - rubocop-rspec
5
+ - rubocop-packaging
6
+
7
+ AllCops:
8
+ TargetRubyVersion: 2.7
9
+ # Cop names are displayed in offense messages by default. Change behavior
10
+ # by overriding DisplayCopNames, or by giving the `--no-display-cop-names`
11
+ # option.
12
+ DisplayCopNames: true
13
+ # Style guide URLs are not displayed in offense messages by default. Change
14
+ # behavior by overriding DisplayStyleGuide, or by giving the
15
+ # -S/--display-style-guide option.
16
+ DisplayStyleGuide: false
17
+ # Exclude some GitLab files
18
+ NewCops: enable
19
+
20
+ Style/Documentation:
21
+ Enabled: false
@@ -0,0 +1,72 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2021-01-29 12:09:47 UTC using RuboCop version 0.93.1.
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: 1
10
+ # Configuration parameters: Include.
11
+ # Include: **/*.gemspec
12
+ Gemspec/RequiredRubyVersion:
13
+ Exclude:
14
+ - 'peoplegroup-connectors.gemspec'
15
+
16
+ # Offense count: 1
17
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
18
+ # ExcludedMethods: refine
19
+ Metrics/BlockLength:
20
+ Max: 104
21
+
22
+ # Offense count: 2
23
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
24
+ Metrics/MethodLength:
25
+ Max: 22
26
+
27
+ # Offense count: 2
28
+ # Configuration parameters: CountKeywordArgs.
29
+ Metrics/ParameterLists:
30
+ Max: 6
31
+
32
+ # Offense count: 1
33
+ Packaging/GemspecGit:
34
+ Exclude:
35
+ - 'peoplegroup-connectors.gemspec'
36
+
37
+ # Offense count: 1
38
+ # Configuration parameters: Max.
39
+ RSpec/ExampleLength:
40
+ Exclude:
41
+ - 'spec/peoplegroup/connectors/gitlab_spec.rb'
42
+
43
+ # Offense count: 2
44
+ # Configuration parameters: CustomTransform, IgnoreMethods, SpecSuffixOnly.
45
+ RSpec/FilePath:
46
+ Exclude:
47
+ - 'spec/peoplegroup/connectors/gitlab_spec.rb'
48
+ - 'spec/peoplegroup/connectors_spec.rb'
49
+
50
+ # Offense count: 3
51
+ RSpec/MultipleExpectations:
52
+ Max: 3
53
+
54
+ # Offense count: 5
55
+ # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
56
+ RSpec/VerifiedDoubles:
57
+ Exclude:
58
+ - 'spec/peoplegroup/connectors/gitlab_spec.rb'
59
+
60
+ # Offense count: 2
61
+ # Cop supports --auto-correct.
62
+ # Configuration parameters: AllowOnConstant.
63
+ Style/CaseEquality:
64
+ Exclude:
65
+ - 'lib/peoplegroup/connectors/gitlab.rb'
66
+
67
+ # Offense count: 6
68
+ # Cop supports --auto-correct.
69
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
70
+ # URISchemes: http, https
71
+ Layout/LineLength:
72
+ Max: 185
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at lvandensteen@gitlab.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in gl-people-connectors.gemspec
6
+ gemspec
7
+
8
+ gem 'gitlab', git: 'https://github.com/NARKOZ/gitlab'
9
+ gem 'rake', '~> 12.0'
10
+ gem 'rspec', '~> 3.0'
@@ -0,0 +1,80 @@
1
+ GIT
2
+ remote: https://github.com/NARKOZ/gitlab
3
+ revision: 3df8f136613788990a60104c728d0a02e297e31b
4
+ specs:
5
+ gitlab (4.17.0)
6
+ httparty (~> 0.18)
7
+ terminal-table (~> 1.5, >= 1.5.1)
8
+
9
+ PATH
10
+ remote: .
11
+ specs:
12
+ peoplegroup-connectors (0.1.0)
13
+
14
+ GEM
15
+ remote: https://rubygems.org/
16
+ specs:
17
+ ast (2.4.2)
18
+ diff-lcs (1.4.4)
19
+ httparty (0.18.1)
20
+ mime-types (~> 3.0)
21
+ multi_xml (>= 0.5.2)
22
+ mime-types (3.3.1)
23
+ mime-types-data (~> 3.2015)
24
+ mime-types-data (3.2020.1104)
25
+ multi_xml (0.6.0)
26
+ parallel (1.20.1)
27
+ parser (3.0.0.0)
28
+ ast (~> 2.4.1)
29
+ rainbow (3.0.0)
30
+ rake (12.3.3)
31
+ regexp_parser (2.0.3)
32
+ rexml (3.2.4)
33
+ rspec (3.10.0)
34
+ rspec-core (~> 3.10.0)
35
+ rspec-expectations (~> 3.10.0)
36
+ rspec-mocks (~> 3.10.0)
37
+ rspec-core (3.10.1)
38
+ rspec-support (~> 3.10.0)
39
+ rspec-expectations (3.10.1)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.10.0)
42
+ rspec-mocks (3.10.2)
43
+ diff-lcs (>= 1.2.0, < 2.0)
44
+ rspec-support (~> 3.10.0)
45
+ rspec-support (3.10.2)
46
+ rubocop (0.93.1)
47
+ parallel (~> 1.10)
48
+ parser (>= 2.7.1.5)
49
+ rainbow (>= 2.2.2, < 4.0)
50
+ regexp_parser (>= 1.8)
51
+ rexml
52
+ rubocop-ast (>= 0.6.0)
53
+ ruby-progressbar (~> 1.7)
54
+ unicode-display_width (>= 1.4.0, < 2.0)
55
+ rubocop-ast (1.4.1)
56
+ parser (>= 2.7.1.5)
57
+ rubocop-packaging (0.5.1)
58
+ rubocop (>= 0.89, < 2.0)
59
+ rubocop-rspec (1.44.1)
60
+ rubocop (~> 0.87)
61
+ rubocop-ast (>= 0.7.1)
62
+ ruby-progressbar (1.11.0)
63
+ terminal-table (1.8.0)
64
+ unicode-display_width (~> 1.1, >= 1.1.1)
65
+ unicode-display_width (1.7.0)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ gitlab!
72
+ peoplegroup-connectors!
73
+ rake (~> 12.0)
74
+ rspec (~> 3.0)
75
+ rubocop (~> 0.85)
76
+ rubocop-packaging (~> 0.1)
77
+ rubocop-rspec (~> 1.39)
78
+
79
+ BUNDLED WITH
80
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 lien van den steen
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.
@@ -0,0 +1,40 @@
1
+ # PeopleGroup::Connectors
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/peoplegroup/connectors`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'peoplegroup-connectors'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install peoplegroup-connectors
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing and Code of Conduct
34
+
35
+ Bug reports and pull requests are welcome on GitLab at https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'peoplegroup/connectors'
6
+
7
+ def reload!(print: true)
8
+ puts 'Reloading ...' if print
9
+ # Main project directory.
10
+ root_dir = File.expand_path('..', __dir__)
11
+ # Directories within the project that should be reloaded.
12
+ reload_dirs = %w[lib]
13
+ # Loop through and reload every file in all relevant project directories.
14
+ reload_dirs.each do |dir|
15
+ Dir.glob("#{root_dir}/#{dir}/**/*.rb").each { |f| load(f) }
16
+ end
17
+ # Return true when complete.
18
+ true
19
+ end
20
+
21
+ # (If you use this, don't forget to add pry to your Gemfile!)
22
+ # require "pry"
23
+ # Pry.start
24
+
25
+ require 'irb'
26
+ IRB.start(__FILE__)
@@ -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
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'connectors/version'
4
+ require_relative 'connectors/gitlab'
5
+
6
+ module PeopleGroup
7
+ module Connectors
8
+ class Error < StandardError; end
9
+ end
10
+ end
@@ -0,0 +1,133 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'gitlab'
4
+
5
+ module PeopleGroup
6
+ module Connectors
7
+ class GitLab
8
+ API_URL = ENV['GITLAB_API_V4_URL'] || 'https://gitlab.com/api/v4'
9
+
10
+ def initialize(token: ENV['GITLAB_API_TOKEN'])
11
+ @client = Gitlab.client(endpoint: API_URL, private_token: token)
12
+ end
13
+
14
+ def find_gitlabber(field, query)
15
+ return if !query || query.empty?
16
+
17
+ possible_members = @client.group_members('gitlab-com', query: query)
18
+ if field === :email
19
+ possible_members.first
20
+ else
21
+ possible_members.find { |team_member| team_member.public_send(field) === query }
22
+ end
23
+ end
24
+
25
+ def create_issue(project, title, options = {})
26
+ @client.create_issue(project, title, options)
27
+ end
28
+
29
+ def create_issue_note(project, id, text)
30
+ @client.create_issue_note(project, id, text)
31
+ end
32
+
33
+ def get_onboarding_issues(project, args)
34
+ @client.issues(project, args).auto_paginate
35
+ end
36
+
37
+ def get_issues(project, args)
38
+ @client.issues(project, args).auto_paginate
39
+ end
40
+
41
+ def find_or_create_epic(group_id, title, options = {})
42
+ epic = find_epic(group_id, title)
43
+ reopen_epic(epic) if epic && epic.state == 'closed'
44
+ options[:confidential] = true
45
+ epic || @client.create_epic(group_id, title, options)
46
+ end
47
+
48
+ def commit_change_to_new_merge_request_v2(project_id, branch_name, commit_message, description = '', files_to_delete = [], files_to_update = [])
49
+ actions = []
50
+
51
+ files_to_delete.each do |file|
52
+ action = {
53
+ action: 'delete',
54
+ file_path: file
55
+ }
56
+ actions << action
57
+ end
58
+
59
+ files_to_update.each do |file|
60
+ action = {
61
+ action: 'update',
62
+ file_path: file[:file_path],
63
+ content: file[:file_with_change]
64
+ }
65
+ actions << action
66
+ end
67
+
68
+ return unless actions.any?
69
+
70
+ @client.create_branch(project_id, branch_name, 'master')
71
+ @client.create_commit(project_id, branch_name, commit_message, actions)
72
+
73
+ options = { source_branch: branch_name, target_branch: 'master', remove_source_branch: true }
74
+ options[:description] = description if description.present?
75
+ @client.create_merge_request(project_id, commit_message, options)
76
+ end
77
+
78
+ def commit_change_to_new_merge_request(project_id, branch_name, file_path, file_with_change, commit_message, description = nil)
79
+ @client.create_branch(project_id, branch_name, 'master')
80
+ actions = [
81
+ {
82
+ action: 'update',
83
+ file_path: file_path,
84
+ content: file_with_change
85
+ }
86
+ ]
87
+ @client.create_commit(project_id, branch_name, commit_message, actions)
88
+
89
+ options = { source_branch: branch_name, target_branch: 'master', remove_source_branch: true }
90
+ options[:description] = description if description
91
+ @client.create_merge_request(project_id, commit_message, options)
92
+ end
93
+
94
+ def create_epic_note(group_id, epic_id, text)
95
+ @client.create_epic_note(group_id, epic_id, text)
96
+ end
97
+
98
+ def get_epics(group_id, options = {})
99
+ @client.epics(group_id, options).auto_paginate
100
+ end
101
+
102
+ def get_issue_epics(group_id, epic_iid)
103
+ @client.epic_issues(group_id, epic_iid)
104
+ end
105
+
106
+ private
107
+
108
+ def find_epic(group_id, title)
109
+ args = {
110
+ search: title
111
+ }
112
+ epics = @client.epics(group_id, args).auto_paginate
113
+ epics.first
114
+ end
115
+
116
+ def create_branch(project_id, branch_name)
117
+ @client.create_branch(project_id, branch_name, 'master')
118
+ end
119
+
120
+ def create_merge_request(project_id, title, options = {})
121
+ @client.create_merge_request(project_id, title, options)
122
+ end
123
+
124
+ def create_commit(project_id, branch, commit_message, actions)
125
+ @client.create_commit(project_id, branch, commit_message, actions, {})
126
+ end
127
+
128
+ def reopen_epic(epic)
129
+ @client.edit_epic(epic.group_id, epic.iid, { state_event: 'reopen' })
130
+ end
131
+ end
132
+ end
133
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PeopleGroup
4
+ module Connectors
5
+ VERSION = '0.1.0'
6
+ end
7
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/peoplegroup/connectors/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'peoplegroup-connectors'
7
+ spec.version = PeopleGroup::Connectors::VERSION
8
+ spec.authors = ['lien van den steen']
9
+ spec.email = ['lvandensteen@gitlab.com']
10
+
11
+ spec.summary = 'Library for our shared connectors.'
12
+ spec.description = 'Avoid repeating methods in different projects for our connectos.'
13
+ spec.homepage = 'https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = spec.homepage
19
+ spec.metadata['changelog_uri'] = spec.homepage
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ end
26
+ spec.bindir = 'exe'
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ['lib']
29
+
30
+ spec.add_development_dependency 'rspec', '~> 3.2'
31
+ spec.add_development_dependency 'rubocop', '~> 0.85'
32
+ spec.add_development_dependency 'rubocop-packaging', '~> 0.1'
33
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.39'
34
+ end
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: peoplegroup-connectors
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - lien van den steen
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-01-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.85'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.85'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-packaging
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.39'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.39'
69
+ description: Avoid repeating methods in different projects for our connectos.
70
+ email:
71
+ - lvandensteen@gitlab.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".gitlab-ci.yml"
78
+ - ".rspec"
79
+ - ".rubocop.yml"
80
+ - ".rubocop_todo.yml"
81
+ - CODE_OF_CONDUCT.md
82
+ - Gemfile
83
+ - Gemfile.lock
84
+ - LICENSE.txt
85
+ - README.md
86
+ - Rakefile
87
+ - bin/console
88
+ - bin/setup
89
+ - lib/peoplegroup/connectors.rb
90
+ - lib/peoplegroup/connectors/gitlab.rb
91
+ - lib/peoplegroup/connectors/version.rb
92
+ - peoplegroup-connectors.gemspec
93
+ homepage: https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem
94
+ licenses:
95
+ - MIT
96
+ metadata:
97
+ homepage_uri: https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem
98
+ source_code_uri: https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem
99
+ changelog_uri: https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem
100
+ post_install_message:
101
+ rdoc_options: []
102
+ require_paths:
103
+ - lib
104
+ required_ruby_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: 2.3.0
109
+ required_rubygems_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ requirements: []
115
+ rubygems_version: 3.1.4
116
+ signing_key:
117
+ specification_version: 4
118
+ summary: Library for our shared connectors.
119
+ test_files: []