gratan 0.2.2 → 0.2.3

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: 437c36176e46ac6592882686c864bd6e76dccd48
4
- data.tar.gz: d7fb16d23fe5cc5974527f7ba7800032f23da02d
3
+ metadata.gz: 0a2b2f0b324787b466435a74790f4c028e32578c
4
+ data.tar.gz: 6cc2d13824a99016c8845ba5ed4b6eb231695d65
5
5
  SHA512:
6
- metadata.gz: 4782fa7623292e29ce8c0d191768f14c0ecc8ded99901ca9320c617311a8a38f1c23578f856afda39ebf4d09f78657b487fff6ff238b1c2957e1f74f28fedc35
7
- data.tar.gz: 2465ae129f83796bc2c4ebfc08e8d6efecdb278c1a625549f081d0f0a11513820260d9cfef680517751cc210566a4ff768c79ea977da5dab1a92d9a74926a3b1
6
+ metadata.gz: 93faec5b23265a98288d318efca14aea6a226713c96af145238b8bfb5f405f24c5741894f7a7547b83ed423f49086aa967e7f16c53c7461d99962218511d161b
7
+ data.tar.gz: 65964c219ade408dd5d1d4435aa4ab9d297874c844462f50b7de727ef7d8a216659101d0675be60c5942043142faaabc2f4abcd47752d33c9cad8f47cfd43f3a
@@ -14,6 +14,10 @@ class Gratan::Exporter
14
14
  @driver.each_user do |user, host|
15
15
  next if user =~ @options[:ignore_user]
16
16
 
17
+ if @options[:target_user]
18
+ next unless user =~ @options[:target_user]
19
+ end
20
+
17
21
  @driver.show_grants(user, host) do |stmt|
18
22
  grants << Gratan::GrantParser.parse(stmt)
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module Gratan
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gratan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara