sonarqube 1.2.0 → 1.2.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/sonarqube/client/groups.rb +2 -2
- data/lib/sonarqube/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 801fefe171e320dd14316a7c77780e29fcd1d48a42d0a72d95c82963dad8c295
|
|
4
|
+
data.tar.gz: 225697afc310666c0be1f710ed4be1f84d6e8fb16c2eddb66a19b170f279a74c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f925f8ec8136457b91748054cf76a03a315187f0d7145163573821f8c5d2ab1d13c13f30e2afe0280f83e6fe4232c5fccd40e10803a03f86bcb44f66a4d061fb
|
|
7
|
+
data.tar.gz: 432d2e44abb168f23bc425c5e673edbea93bc06f55addd0a05863c734e5d2d4a5f1db812ea3c66595d2c46c5079d126c9b532099eca4892bd1789393af02dc8d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[documentation](https://www.rubydoc.info/gems/sonarqube/frames)
|
|
11
11
|
|
|
12
12
|
Sonarqube is a Ruby wrapper and CLI for the Sonarqube API
|
|
13
|
-
As of version `1.2.
|
|
13
|
+
As of version `1.2.1` this gem only supports Sonarqube 7.9.
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -79,7 +79,7 @@ class Sonarqube::Client
|
|
|
79
79
|
# @option options [String] :name Optional name of group.
|
|
80
80
|
# @return [Sonarqube::ObjectifiedHash]
|
|
81
81
|
def add_member(id = nil, login = nil, options = {})
|
|
82
|
-
raise ArgumentError, 'Missing required parameters' if id.nil?
|
|
82
|
+
raise ArgumentError, 'Missing required parameters' if id.nil? && login.nil?
|
|
83
83
|
|
|
84
84
|
post('/api/user_groups/add_user', body: { id: id, login: login }.merge!(options))
|
|
85
85
|
end
|
|
@@ -97,7 +97,7 @@ class Sonarqube::Client
|
|
|
97
97
|
# @option options [String] :name Optional name of group.
|
|
98
98
|
# @return [Sonarqube::ObjectifiedHash]
|
|
99
99
|
def remove_member(id = nil, login = nil, options = {})
|
|
100
|
-
raise ArgumentError, 'Missing required parameters' if id.nil?
|
|
100
|
+
raise ArgumentError, 'Missing required parameters' if id.nil? && login.nil?
|
|
101
101
|
|
|
102
102
|
post('/api/user_groups/remove_user', body: { id: id, login: login }.merge!(options))
|
|
103
103
|
end
|
data/lib/sonarqube/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sonarqube
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mariani Lucas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-09-
|
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|