auth-lh 0.17.0 → 0.18.0

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: 4efea20883c067de98d7cc847a02496c7875a29a
4
- data.tar.gz: 65312becc4aadebbcf9c1abd8cf319de3752d110
3
+ metadata.gz: c440ca4a5e1b5d583515744d5090e2189446f859
4
+ data.tar.gz: 4e7c7d37664ff928d7da1eea24e363726b9a219f
5
5
  SHA512:
6
- metadata.gz: c7d599509ee7bb1afac3248a7cdbbbe12962b86fb7cb21fa8f07a911cb6325e20b74dbb4ad6228ac3930df0a3909a5527d4fd3d68dfa4fcc932bb06d54d51919
7
- data.tar.gz: 8797c9ee319db402a063afb0b369051648a0da0056285259131517c485824754ad1562b4a813b4232c88c72b38b2eee72ccab6f06aed03e1cf7bf1b4b5c3cd9c
6
+ metadata.gz: b6d8957c998eb86bc73bf6cf47269bd4a6deb31496fb3102da3bccc4f25e2dab714daf2c698d5b5eb6e21bdd414fbc08935cc5ff38281dbba5a5b9d7a2dbf22e
7
+ data.tar.gz: c0311fce449b10436a29f4aa0e68fd8c685a3fc6ae5416cc8b6ad8cf918ffc30677f28494a57e7bfd3c01a712587a926d71e64de3fe42db2c3ab91b32651e3fd
data/CHANGELOG.md CHANGED
@@ -197,3 +197,7 @@
197
197
  ## v0.17.0
198
198
 
199
199
  * Replaced role codes by role ids.
200
+
201
+ ## v0.18.0
202
+
203
+ * Added id to roles.
@@ -1,5 +1,5 @@
1
1
  module Auth
2
2
  module Lh
3
- VERSION = "0.17.0"
3
+ VERSION = "0.18.0"
4
4
  end
5
5
  end
data/lib/auth_lh/role.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module AuthLh
2
2
  class Role
3
- attr_accessor :code, :name, :position, :assignable
3
+ attr_accessor :id, :code, :name, :position, :assignable
4
4
 
5
5
  def initialize(attributes={})
6
6
  attributes.each do |k,v|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth-lh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick