peoplegroup-connectors 0.1.0 → 0.1.1

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: aed24618b9accca7e0d8cca14960542bb90fd63dd941dbf47f0a4a08f09ce469
4
- data.tar.gz: 5fc058a1d732783a8cf722b772c7c09b128aa925e87d1f96e358dabf735558ae
3
+ metadata.gz: 885f7f5573ba2ca9c06bc876074cb4ab0f14125584f9ab4f5bc1cabedb2aaca2
4
+ data.tar.gz: 5676ed75279d293d46aedb39553d99e7619da64aa5dfaa9cdcd0c9f0b17de5a9
5
5
  SHA512:
6
- metadata.gz: 863321cee233ff5e966ec3698589697cbf40b5ed5c0493078b6e157f0887b9d0c05762edc7dc3d0a57d48f928d4e4938e6f44ed3de576470ec44062d16635c73
7
- data.tar.gz: 75db7b3f19ace7c84020a46ae0b0fa82d845a77d1965cb90a4e7034a7682f56866dedda8c42bbcfa7633dd5de8a3d6f602910f45fd3396ad9ea9257a8e883432
6
+ metadata.gz: 6b7bc2eaa2fbc9b260992f1a54e800668aa3857ff0064183ef4be46149891a25b662b4ab74c316b9e3ce6432df47a84594d0e1004a441cf1499c7ae0f84e5576
7
+ data.tar.gz: acdc238487499f7236615f0450cd8c3e0651b4c689cfd7beadf2092bf2e04d8a2a7c2b11d720a4e93429f28ba4eea63e2539ccd756d4e8ce265587c564d25c36
@@ -2,6 +2,6 @@
2
2
 
3
3
  module PeopleGroup
4
4
  module Connectors
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peoplegroup-connectors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lien van den steen
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2021-01-29 00:00:00.000000000 Z
12
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'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rspec
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -73,23 +87,11 @@ executables: []
73
87
  extensions: []
74
88
  extra_rdoc_files: []
75
89
  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
90
  - LICENSE.txt
85
91
  - README.md
86
- - Rakefile
87
- - bin/console
88
- - bin/setup
89
92
  - lib/peoplegroup/connectors.rb
90
93
  - lib/peoplegroup/connectors/gitlab.rb
91
94
  - lib/peoplegroup/connectors/version.rb
92
- - peoplegroup-connectors.gemspec
93
95
  homepage: https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem
94
96
  licenses:
95
97
  - MIT
data/.gitignore DELETED
@@ -1,11 +0,0 @@
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
@@ -1,20 +0,0 @@
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 DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
@@ -1,21 +0,0 @@
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
@@ -1,72 +0,0 @@
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
@@ -1,74 +0,0 @@
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 DELETED
@@ -1,10 +0,0 @@
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'
@@ -1,80 +0,0 @@
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
data/Rakefile DELETED
@@ -1,8 +0,0 @@
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
@@ -1,26 +0,0 @@
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__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
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
@@ -1,34 +0,0 @@
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