gratan 0.1.2 → 0.1.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: 7a2414818d4816388643ee52955a58fb2ea0a09b
4
- data.tar.gz: 651d5869c80922ffcef7fcb1762b27333452dba3
3
+ metadata.gz: 22b16a0819678637c70a910cc85b7a450853239d
4
+ data.tar.gz: 0eb1f57a76e0140c4f70aa53f906f38ecf8cc65d
5
5
  SHA512:
6
- metadata.gz: b1a0c7298c5457b9c3443b477c323d28887b5b954e9afddcd9556a81ae0342db45ed205a428ed848291f83d8a656b5c82d0ba60d038cfaa81ba8a918aa27c91b
7
- data.tar.gz: 727614f60b5151bdca1bbf49e47fc2880626071887414a5c89641bf70c69be2d280732ec7cec18fe0e2305c5c2aa58ef7fb111bebafca72409caa7a8412fa380
6
+ metadata.gz: 537ea65c2251efe9ff66072c97afdcb296cd3f006ea7880c502d3b589a84a6508b8a6852c2ba1ddae7c3ce994a5658bf813415c42093e50ed7c7828207c45cd0
7
+ data.tar.gz: 784f2b1e29012d458e16293bdbc0e4ba5e5d43fd115cff6cb1725514464cd333c2cd8281246b6beedb8aa5da25e29bae9de8a366d5e4f2d3ebfc8f885ac6edca
@@ -17,7 +17,7 @@ class Gratan::Client
17
17
  user_host[0].empty? ? 'root' : user_host[0]
18
18
  }.each {|user, grants|
19
19
  h = {}
20
- grants.each {|k, v| h[k] = v }
20
+ grants.sort_by {|k, v| k }.each {|k, v| h[k] = v }
21
21
  dsl = Gratan::DSL.convert(h, options)
22
22
  yield(user, dsl)
23
23
  }
@@ -1,3 +1,3 @@
1
1
  module Gratan
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.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.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara