kanrisuru 0.16.12 → 0.16.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/kanrisuru/core/group/commands/create_group.rb +2 -0
- data/lib/kanrisuru/version.rb +1 -1
- data/spec/functional/core/group_spec.rb +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 247c662cf0cedccfd41d702e372cc536958fbfd16c583643201e13e528c3c049
|
4
|
+
data.tar.gz: 8d6256b6b5dfcf84793851432e0dfedfd352222bebb04bc530bb15bc9cdcd0d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31bde2ec4894d4e6962ff99b438b67502687446918d59180693d11275e25944c1af1e22ad923e799c4208e7fff62ad93e9867082765b956d213b12eb5a950092
|
7
|
+
data.tar.gz: b69992182e95c7f3cf3061cd4f25d875ff6095ee7e18580a39f24a6be8c6978401d9023e55be01bbb0aac92b74ec904a016abdf60a4302c9fc1cfdd32df276b2
|
data/CHANGELOG.md
CHANGED
data/lib/kanrisuru/version.rb
CHANGED
@@ -21,7 +21,14 @@ RSpec.describe Kanrisuru::Core::Group do
|
|
21
21
|
|
22
22
|
it 'prepares create_group command' do
|
23
23
|
expect_command(host.create_group('admin'), 'groupadd admin')
|
24
|
-
expect_command(host.create_group('admin',
|
24
|
+
expect_command(host.create_group('admin',
|
25
|
+
gid: 9000,
|
26
|
+
non_unique: true
|
27
|
+
),
|
28
|
+
'groupadd admin -g 9000 -o'
|
29
|
+
)
|
30
|
+
|
31
|
+
expect_command(host.create_group('admin', gid: 12, system: true), 'groupadd admin -g 12 -r')
|
25
32
|
end
|
26
33
|
|
27
34
|
it 'prepares delete_group command' do
|