mumukit-login 4.0.1 → 4.1.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
  SHA256:
3
- metadata.gz: 0e85582d13b7e4402149c2b45e6e207a2cd8722b486bc4ac6e19e085b6980d9e
4
- data.tar.gz: 86e9ab57826fb0d8d0a80c8a1c5c2238b3c84a2c8723f66033377db0dc1ca1e1
3
+ metadata.gz: 530d05ac3f8ee75a1f62636d207e3e1e0d0cf2656baabeb00fc164d2b33ce16c
4
+ data.tar.gz: 775dc86c376521e20031fa417a02c58c74af408a085de8352f4b87b372a55470
5
5
  SHA512:
6
- metadata.gz: 26cfc4f026d9da6ad4724f30c5d8f1525f0ace325dba6f1bdb76ae25cc6ee07f8d5cc8390762986f3bd8959a3ecae47b60bc5aa34a251656e0fc4e620bf05765
7
- data.tar.gz: 725c69b725bc61f4b45227b16196e9910d4f01eb23f9c74e69afd1e68c6b69f3197eaeca7f2d1b2c680e1ad409dcc4b599d708286e5d0bbaa6be775b3544db60
6
+ metadata.gz: 3e8da78641b2b30ad0f73af0ef4818e2af7047d4594278a9cf9a0e4549056ee4e218ce1c87ece0337fdc5adfeaeab0f041e2003267532fbef8c3df0db5a8f27f
7
+ data.tar.gz: 7da2ff5c12e5bb9b1cedce0b84b2c323cb84026638ffd462810b7630dc249950f8fc8b4a5d4ff6acbacb67496c8444b2b528940ef002c21e847f9c4d6b1e5761
@@ -5,7 +5,8 @@ module Mumukit::Login::UserPermissionsHelpers
5
5
  :has_permission?,
6
6
  :has_permission_delegation?,
7
7
  :protect!,
8
- :protect_delegation!, to: :permissions
8
+ :protect_delegation!,
9
+ :protect_permissions_assignment!, to: :permissions
9
10
 
10
11
  def merge_permissions!(new_permissions)
11
12
  self.permissions = permissions.merge(new_permissions)
@@ -9,7 +9,6 @@ class Mumukit::Login::Mucookie
9
9
  @controller.write_cookie! cookie_name(key),
10
10
  value: value.to_s,
11
11
  path: '/',
12
- expires: 14.days.since,
13
12
  domain: Mumukit::Login.config.mucookie_domain,
14
13
  httponly: !!options[:httponly]
15
14
  end
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  module Login
3
- VERSION = '4.0.1'
3
+ VERSION = '4.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit-login
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-06 00:00:00.000000000 Z
11
+ date: 2018-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '1.1'
159
+ version: '1.0'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '1.1'
166
+ version: '1.0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: mumukit-auth
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  version: '0'
244
244
  requirements: []
245
245
  rubyforge_project:
246
- rubygems_version: 2.7.1
246
+ rubygems_version: 2.7.4
247
247
  signing_key:
248
248
  specification_version: 4
249
249
  summary: Library for login mumuki requests