peoplegroup-connectors 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -10
- data/lib/peoplegroup/connectors.rb +10 -0
- data/lib/{connectors → peoplegroup/connectors}/gitlab.rb +0 -0
- data/lib/peoplegroup/connectors/version.rb +7 -0
- data/lib/peoplegroup_connectors.rb +10 -0
- metadata +7 -17
- data/.gitignore +0 -11
- data/.gitlab-ci.yml +0 -20
- data/.rspec +0 -3
- data/.travis.yml +0 -6
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -7
- data/Gemfile.lock +0 -75
- data/Rakefile +0 -6
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/connectors.gemspec +0 -34
- data/lib/connectors.rb +0 -7
- data/lib/connectors/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7daab0b3d624677382171608419d46c06ac97245d7590105ecd75538ed7a1ff
|
4
|
+
data.tar.gz: 0d569ecd15cb4aba65dec278b785bc8f3fe4904d5083ff28d6ed7d12e5f2c4dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 878ac4e1352046ef512d388024cbb79e6cf56085916aaf544b789e32eb71e526ea7453d6702a6dbc895ec68056621d8f41c6a719eb0374bf18ce8a07bc6f0045
|
7
|
+
data.tar.gz: fdd8026563f694852891e44f30f9634fee7ecf4b0623bf574e04c47def55d61dbed4c1cf1c2f9e8d12e3ba19c6d4a38410193a0d002e71f0f97770ccb8ba525c
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Connectors
|
1
|
+
# PeopleGroup::Connectors
|
2
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/connectors`. To experiment with that code, run `bin/console` for an interactive prompt.
|
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
4
|
|
5
5
|
TODO: Delete this and the text above, and describe your gem
|
6
6
|
|
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem 'connectors'
|
12
|
+
gem 'peoplegroup-connectors'
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
@@ -18,7 +18,7 @@ And then execute:
|
|
18
18
|
|
19
19
|
Or install it yourself as:
|
20
20
|
|
21
|
-
$ gem install connectors
|
21
|
+
$ gem install peoplegroup-connectors
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
@@ -30,15 +30,11 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
30
30
|
|
31
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
32
|
|
33
|
-
## Contributing
|
33
|
+
## Contributing and Code of Conduct
|
34
34
|
|
35
|
-
Bug reports and pull requests are welcome on
|
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
36
|
|
37
37
|
|
38
38
|
## License
|
39
39
|
|
40
40
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
41
|
-
|
42
|
-
## Code of Conduct
|
43
|
-
|
44
|
-
Everyone interacting in the Connectors project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/connectors/blob/master/CODE_OF_CONDUCT.md).
|
File without changes
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peoplegroup-connectors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lien van den steen
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -87,22 +87,12 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
- ".gitignore"
|
91
|
-
- ".gitlab-ci.yml"
|
92
|
-
- ".rspec"
|
93
|
-
- ".travis.yml"
|
94
|
-
- CODE_OF_CONDUCT.md
|
95
|
-
- Gemfile
|
96
|
-
- Gemfile.lock
|
97
90
|
- LICENSE.txt
|
98
91
|
- README.md
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
- lib/connectors.rb
|
104
|
-
- lib/connectors/gitlab.rb
|
105
|
-
- lib/connectors/version.rb
|
92
|
+
- lib/peoplegroup/connectors.rb
|
93
|
+
- lib/peoplegroup/connectors/gitlab.rb
|
94
|
+
- lib/peoplegroup/connectors/version.rb
|
95
|
+
- lib/peoplegroup_connectors.rb
|
106
96
|
homepage: https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem
|
107
97
|
licenses:
|
108
98
|
- MIT
|
@@ -125,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
115
|
- !ruby/object:Gem::Version
|
126
116
|
version: '0'
|
127
117
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
118
|
+
rubygems_version: 3.1.4
|
129
119
|
signing_key:
|
130
120
|
specification_version: 4
|
131
121
|
summary: Library for our shared connectors.
|
data/.gitignore
DELETED
data/.gitlab-ci.yml
DELETED
@@ -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
data/.travis.yml
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -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
data/Gemfile.lock
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
connectors (0.1.0)
|
5
|
-
gitlab
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
ast (2.4.2)
|
11
|
-
diff-lcs (1.4.4)
|
12
|
-
gitlab (4.17.0)
|
13
|
-
httparty (~> 0.18)
|
14
|
-
terminal-table (~> 1.5, >= 1.5.1)
|
15
|
-
httparty (0.18.1)
|
16
|
-
mime-types (~> 3.0)
|
17
|
-
multi_xml (>= 0.5.2)
|
18
|
-
mime-types (3.3.1)
|
19
|
-
mime-types-data (~> 3.2015)
|
20
|
-
mime-types-data (3.2020.1104)
|
21
|
-
multi_xml (0.6.0)
|
22
|
-
parallel (1.20.1)
|
23
|
-
parser (3.0.0.0)
|
24
|
-
ast (~> 2.4.1)
|
25
|
-
rainbow (3.0.0)
|
26
|
-
rake (12.3.3)
|
27
|
-
regexp_parser (2.0.3)
|
28
|
-
rexml (3.2.4)
|
29
|
-
rspec (3.10.0)
|
30
|
-
rspec-core (~> 3.10.0)
|
31
|
-
rspec-expectations (~> 3.10.0)
|
32
|
-
rspec-mocks (~> 3.10.0)
|
33
|
-
rspec-core (3.10.1)
|
34
|
-
rspec-support (~> 3.10.0)
|
35
|
-
rspec-expectations (3.10.1)
|
36
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.10.0)
|
38
|
-
rspec-mocks (3.10.2)
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.10.0)
|
41
|
-
rspec-support (3.10.2)
|
42
|
-
rubocop (0.93.1)
|
43
|
-
parallel (~> 1.10)
|
44
|
-
parser (>= 2.7.1.5)
|
45
|
-
rainbow (>= 2.2.2, < 4.0)
|
46
|
-
regexp_parser (>= 1.8)
|
47
|
-
rexml
|
48
|
-
rubocop-ast (>= 0.6.0)
|
49
|
-
ruby-progressbar (~> 1.7)
|
50
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
51
|
-
rubocop-ast (1.4.1)
|
52
|
-
parser (>= 2.7.1.5)
|
53
|
-
rubocop-packaging (0.5.1)
|
54
|
-
rubocop (>= 0.89, < 2.0)
|
55
|
-
rubocop-rspec (1.44.1)
|
56
|
-
rubocop (~> 0.87)
|
57
|
-
rubocop-ast (>= 0.7.1)
|
58
|
-
ruby-progressbar (1.11.0)
|
59
|
-
terminal-table (1.8.0)
|
60
|
-
unicode-display_width (~> 1.1, >= 1.1.1)
|
61
|
-
unicode-display_width (1.7.0)
|
62
|
-
|
63
|
-
PLATFORMS
|
64
|
-
ruby
|
65
|
-
|
66
|
-
DEPENDENCIES
|
67
|
-
connectors!
|
68
|
-
rake (~> 12.0)
|
69
|
-
rspec (~> 3.0)
|
70
|
-
rubocop (~> 0.85)
|
71
|
-
rubocop-packaging (~> 0.1)
|
72
|
-
rubocop-rspec (~> 1.39)
|
73
|
-
|
74
|
-
BUNDLED WITH
|
75
|
-
2.1.4
|
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "connectors"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/connectors.gemspec
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
require_relative 'lib/connectors/version'
|
2
|
-
|
3
|
-
Gem::Specification.new do |spec|
|
4
|
-
spec.name = "peoplegroup-connectors"
|
5
|
-
spec.version = Connectors::VERSION
|
6
|
-
spec.authors = ["lien van den steen"]
|
7
|
-
spec.email = ["lvandensteen@gitlab.com"]
|
8
|
-
|
9
|
-
spec.summary = 'Library for our shared connectors.'
|
10
|
-
spec.description = 'Avoid repeating methods in different projects for our connectos.'
|
11
|
-
spec.homepage = 'https://gitlab.com/gitlab-com/people-group/peopleops-eng/connectors-gem'
|
12
|
-
spec.license = "MIT"
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
14
|
-
|
15
|
-
spec.metadata['homepage_uri'] = spec.homepage
|
16
|
-
spec.metadata['source_code_uri'] = spec.homepage
|
17
|
-
spec.metadata['changelog_uri'] = spec.homepage
|
18
|
-
|
19
|
-
# Specify which files should be added to the gem when it is released.
|
20
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
22
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
|
-
end
|
24
|
-
spec.bindir = "exe"
|
25
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
-
spec.require_paths = ["lib"]
|
27
|
-
|
28
|
-
spec.add_dependency 'gitlab'
|
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
|
data/lib/connectors.rb
DELETED
data/lib/connectors/version.rb
DELETED