specinfra 2.44.1 → 2.44.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/lib/specinfra/command/base/user.rb +1 -1
- data/lib/specinfra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c73e6c307fe19032165fdf9368524afd45e2c4bc
|
4
|
+
data.tar.gz: 26150951409365adc8f331d1641afa73c7c68c91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ad4b3e84bb554f61a6f4d3363a0de5b10b2bb052a4ac0c4318504ce133f8e1c149b1fce01f013f8bafb046f525efd393da37b07d17da09184ceb93b4b6c7ff8
|
7
|
+
data.tar.gz: 057980d9cbe1ea329f8c257bce4122f9c571edebe55d38e9458367740924bf71532082d86ab83a747cbd51e03cca76777ae52b22b72f80a0ef8b342f55d62f0c
|
data/README.md
CHANGED
@@ -20,6 +20,16 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
TODO: Write usage instructions here
|
22
22
|
|
23
|
+
----
|
24
|
+
|
25
|
+
## Maintenance policy of Serverspec/Specinfra
|
26
|
+
|
27
|
+
* The person who found a bug should fix the bug by themself.
|
28
|
+
* If you find a bug and cannot fix it by yourself, send a pull request and attache test code to reproduce the bug, please.
|
29
|
+
* The person who want a new feature should implement it by themself.
|
30
|
+
* For above reasons, I accept pull requests only and disable issues.
|
31
|
+
* If you'd like to discuss about a new feature before implement it, make an empty commit and send [a WIP pull request](http://ben.straub.cc/2015/04/02/wip-pull-request/). But It is better that the WIP PR has some code than an empty commit.
|
32
|
+
|
23
33
|
## Contributing
|
24
34
|
|
25
35
|
1. Fork it
|
@@ -5,7 +5,7 @@ class Specinfra::Command::Base::User < Specinfra::Command::Base
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def check_belongs_to_group(user, group)
|
8
|
-
"id #{escape(user)} | awk '{print $
|
8
|
+
"id #{escape(user)} | sed 's/ context=.*//g' |awk -F= '{print $4}' | grep -- #{escape(group)}"
|
9
9
|
end
|
10
10
|
|
11
11
|
def check_belongs_to_primary_group(user, group)
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.44.
|
4
|
+
version: 2.44.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|