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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1824f78ee7538f6565a75a36540990715bc70e73
4
- data.tar.gz: fbffc983a57179ecd7a8232eb02d0460dfeb33b4
3
+ metadata.gz: c73e6c307fe19032165fdf9368524afd45e2c4bc
4
+ data.tar.gz: 26150951409365adc8f331d1641afa73c7c68c91
5
5
  SHA512:
6
- metadata.gz: f96de5a7f9075e318d876b9c05fc7bdd472f6644c95396936228a852e51e93b72d7a39c0d3b0042eff0f9592fd89b211d25ea30d749bf1ccf3eda155fb0b934d
7
- data.tar.gz: 050dbab1840572d023ba9dd84d2a84bfd5f289727479f59cfc169aa47715e2a0b55259aa90ec26406891a689f07611a2c7e00819dabe5b55d879f2eb70badb2a
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 $3}' | grep -- #{escape(group)}"
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)
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.44.1"
2
+ VERSION = "2.44.2"
3
3
  end
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.1
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-10-16 00:00:00.000000000 Z
11
+ date: 2015-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp