samvera-persona 0.4.1 → 0.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddf3f54947771dba72942c0491e7cc9648f47fa04e6c6717b9ca3e581cecb02d
|
4
|
+
data.tar.gz: ff71b434034006562cccf85f6082a0ced62cbf173b5c5f20e815b8003514c936
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eb5d25d5088470b45fe9bf7ceef026ca7ae714f800a39a87224799fde31aae89f233565d0c50674572ccd45193dadcb54347d0d4332c882d0b24fa00a209b90
|
7
|
+
data.tar.gz: 64ee485fe062c3d0eabdee3d1e44c6464ed00be3bb9bb2628a2018834c8041707830359759304c27596b1211786989047a0249008dee00a6199133d24de9b1e4
|
@@ -69,4 +69,14 @@ RSpec.describe Samvera::Persona::UsersController, type: :controller do
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
72
|
+
|
73
|
+
describe "#update" do
|
74
|
+
let(:user) { FactoryBot.create(:user) }
|
75
|
+
let(:admin) { FactoryBot.create(:admin) }
|
76
|
+
before { sign_in admin }
|
77
|
+
|
78
|
+
it 'updates email' do
|
79
|
+
expect { put :update, params: { id: user.id, user: { email: "new_email@example.com" } } }.to change { user.reload.email }.to("new_email@example.com")
|
80
|
+
end
|
81
|
+
end
|
72
82
|
end
|
@@ -10,6 +10,7 @@ module Dummy
|
|
10
10
|
class Application < Rails::Application
|
11
11
|
# Initialize configuration defaults for originally generated Rails version.
|
12
12
|
config.load_defaults 5.2
|
13
|
+
config.active_support.cache_format_version = 7.0
|
13
14
|
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
14
15
|
|
15
16
|
# Settings in config/environments/* take precedence over those specified here.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: samvera-persona
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Kaufman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: 5.2.4.3
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '8.0'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,21 +30,21 @@ dependencies:
|
|
30
30
|
version: 5.2.4.3
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '8.0'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: paranoia
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.0'
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '3.0'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: pretender
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -324,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
324
324
|
- !ruby/object:Gem::Version
|
325
325
|
version: '0'
|
326
326
|
requirements: []
|
327
|
-
rubygems_version: 3.
|
327
|
+
rubygems_version: 3.5.16
|
328
328
|
signing_key:
|
329
329
|
specification_version: 4
|
330
330
|
summary: Summary of Samvera::Persona.
|