auth-lh 0.7.0 → 0.8.0

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: 87228b66da8a06784efac3285ae469a2b0d0ba20
4
- data.tar.gz: 0ab51afba6c558cac1165d8a4323c94df1a33692
3
+ metadata.gz: 0308be4e06baff2d2d161ccb804f9f92d73550a8
4
+ data.tar.gz: 5909a95e9bdc526c2bca3fd5aa0acc02227f4a99
5
5
  SHA512:
6
- metadata.gz: d02ce3f19f7d710b28eb11b3efb98d79f9653a8c025124354c462e6b3a0b0204ed75219fc26613622cf90c256d3dc73ee23f223fab7f9e208bf636c940844ef8
7
- data.tar.gz: 70e61a6ed8199f1f453bb71324ae08aff85f5f7fbc6e1fbec85fcab7428a1d6e6a4c7e417be8191ef3abcfc02bc229fd8fc933f7b45e38396f30bbc841e49f83
6
+ metadata.gz: 2ba3782b79e60f698217dc06bd522d160ecdc16f29f00eda5e29cfa23c2d7cdee1fd1930e5f54dc0f216e755402a8710bde4f9598222ca4e39551069a7a1883e
7
+ data.tar.gz: 149bfc51f93a0584ba62b0eae3685bf6662c8c4e708fc3be7f8c3f01e33b2c4202fb17dc5687ed1a32c5da77f6b3b07523badaa7fdb9462bfe479100af4df7e6
data/CHANGELOG.md CHANGED
@@ -113,3 +113,7 @@
113
113
  ## v0.7.0
114
114
 
115
115
  * Added working time field
116
+
117
+ ## v0.8.0
118
+
119
+ * Added has attendance control field
@@ -1,5 +1,5 @@
1
1
  module Auth
2
2
  module Lh
3
- VERSION = "0.7.0"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
data/lib/auth_lh/user.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  module AuthLh
2
2
  class User
3
3
  attr_accessor :code, :email, :jabber, :name, :login, :shop_code,
4
- :shop_id, :enabled, :role_codes, :password_expired, :birthdate, :dni
4
+ :shop_id, :enabled, :role_codes, :password_expired, :birthdate, :dni,
5
+ :has_attendance_control
5
6
 
6
7
  def initialize(attributes={})
7
8
  attributes.each do |k,v|
@@ -3,7 +3,8 @@ module AuthLh
3
3
  attr_accessor :code, :email, :jabber, :name, :login, :password_digest,
4
4
  :password_expired, :enabled, :shop_code, :allow_remote_access,
5
5
  :session_timeout, :access_level, :only_working_time, :birthdate,
6
- :allow_multiple_sessions, :working_time, :dni, :app_codes, :role_codes
6
+ :allow_multiple_sessions, :working_time, :dni, :app_codes, :role_codes,
7
+ :has_attendance_control
7
8
 
8
9
  def initialize(attributes={})
9
10
  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.7.0
4
+ version: 0.8.0
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-29 00:00:00.000000000 Z
11
+ date: 2015-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler