auth-lh 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1af9064e8ffbd3e3777f10e6b29982e10ae7a4eb
4
- data.tar.gz: 640fdf564960acf77a45cd6c0515bb1ff404dc98
3
+ metadata.gz: f9ccb8aa0e85dd54611331dedd7b7e51631add40
4
+ data.tar.gz: bfd6376a74440673409e69ad4e7e0b9c78d8ef8f
5
5
  SHA512:
6
- metadata.gz: 904ed4645165d46b199e3bc448aeb6c268693a7ecee012ae886cd16e39c6fc2b950615be2f0da191676348558f8e6551907c84c77dbaf473e7c894494ff39884
7
- data.tar.gz: 9a5485c424787b9f4bf5e408627a1649a581b1147a4256e26bda19a38b2d60787f5da1829ab46f219cf2556601cf1659668afbe1ef3988847943d5395b28badb
6
+ metadata.gz: f69a13bc0709097f39c175fb940969a020f1415479d604a98affdaab4eb75d51211be882bd58bf315085f52deb5eb3396515e8d6b6355f75b096bc1e6081f3e2
7
+ data.tar.gz: 2847a52f616eae25bacecf4185a2323ee1e0fb7b7edc59cd96c50155db1faea7aae34d5b904a37eb92751fb09fa88eb87c022386ef17ae9329a1309e7cb75f18
data/CHANGELOG.md CHANGED
@@ -81,3 +81,7 @@
81
81
  ## v0.3.1
82
82
 
83
83
  * Remove caching from get current user method
84
+
85
+ ## v0.3.2
86
+
87
+ * Added new fields to entities
@@ -1,5 +1,5 @@
1
1
  module Auth
2
2
  module Lh
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  module AuthLh
2
2
  class ExternalApp
3
- attr_accessor :code, :name, :description, :url
3
+ attr_accessor :code, :name, :description, :url, :notify_user_changed, :is_local
4
4
 
5
5
  def initialize(attributes={})
6
6
  attributes.each do |k,v|
data/lib/auth_lh/role.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module AuthLh
2
2
  class Role
3
- attr_accessor :code, :name
3
+ attr_accessor :code, :name, :required_level, :position, :unique_by_shop, :required_shop_code
4
4
 
5
5
  def initialize(attributes={})
6
6
  attributes.each do |k,v|
data/lib/auth_lh/user.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module AuthLh
2
2
  class User
3
- attr_accessor :code, :email, :jabber, :name, :login,
4
- :shop_code, :enabled, :role_codes, :password_expired
3
+ attr_accessor :code, :email, :jabber, :name, :login, :shop_code,
4
+ :enabled, :role_codes, :password_expired, :birthdate, :dni
5
5
 
6
6
  def initialize(attributes={})
7
7
  attributes.each do |k,v|
@@ -1,8 +1,9 @@
1
1
  module AuthLh
2
2
  class UserExtended
3
3
  attr_accessor :code, :email, :jabber, :name, :login, :password_digest,
4
- :password_expired, :enabled, :is_admin, :shop_code, :allow_remote_access,
5
- :session_timeout, :app_codes, :role_codes
4
+ :password_expired, :enabled, :shop_code, :allow_remote_access,
5
+ :session_timeout, :access_level, :only_working_time, :birthdate,
6
+ :allow_multiple_sessions, :dni, :app_codes, :role_codes
6
7
 
7
8
  def initialize(attributes={})
8
9
  attributes.each do |k,v|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth-lh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler