eac_users_support 0.8.5 → 0.9.1
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: e7a6a8edfbb43be0b55d1dd7664c14b2fe11af4e3ec097a6879800346134c0fb
|
4
|
+
data.tar.gz: '0940eab06fa13e9fbd8aa1c1abef8e5884c8dab56ce73136a2177e530cd1a5a9'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bfbe10bd2159d282e5db21b33e4778d10bf6e5301655b78f0d0c8231f1830ef53e73238721c3561256cda99c84a1c96d2a78909c83b6695a91330020e52b31d
|
7
|
+
data.tar.gz: f02a595fd97643a2c95dc30b52930f3763c461aabea0674680aa53143f6396c514b9251352a18324853abec978b63e3070269f6125b7040ca09a45ea8ae5ab04
|
@@ -14,9 +14,10 @@ module EacUsersSupport
|
|
14
14
|
type: :member, method: :put, position: false,
|
15
15
|
label: ::I18n.t(:'eac_users_support.password_reset.action')
|
16
16
|
conf.columns.exclude :encrypted_password
|
17
|
-
%w[create update
|
17
|
+
%w[create update].each do |action|
|
18
18
|
conf.send(action).columns.exclude :remember_created_at
|
19
19
|
end
|
20
|
+
conf.list.columns = %i[email administrator created_at confirmed_at]
|
20
21
|
end
|
21
22
|
|
22
23
|
def password_reset
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module EacUsersSupport
|
6
|
+
module Rspec
|
7
|
+
module Setup
|
8
|
+
def self.extended(obj)
|
9
|
+
obj.setup_devise
|
10
|
+
end
|
11
|
+
|
12
|
+
def setup_devise
|
13
|
+
require 'devise'
|
14
|
+
rspec_config.include Warden::Test::Helpers
|
15
|
+
rspec_config.after(:each) { Warden.test_reset! }
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_users_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_scaffold
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '0.
|
73
|
+
version: '0.74'
|
74
74
|
type: :runtime
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '0.
|
80
|
+
version: '0.74'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rails
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,7 +107,7 @@ dependencies:
|
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '3.10'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
|
-
name:
|
110
|
+
name: eac_rails_gem_support
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
113
|
- - "~>"
|
@@ -115,7 +115,7 @@ dependencies:
|
|
115
115
|
version: '0.1'
|
116
116
|
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.1.
|
118
|
+
version: 0.1.1
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -125,35 +125,7 @@ dependencies:
|
|
125
125
|
version: '0.1'
|
126
126
|
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version: 0.1.
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
name: rspec-rails
|
131
|
-
requirement: !ruby/object:Gem::Requirement
|
132
|
-
requirements:
|
133
|
-
- - "~>"
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version: '3.8'
|
136
|
-
type: :development
|
137
|
-
prerelease: false
|
138
|
-
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
requirements:
|
140
|
-
- - "~>"
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '3.8'
|
143
|
-
- !ruby/object:Gem::Dependency
|
144
|
-
name: sqlite3
|
145
|
-
requirement: !ruby/object:Gem::Requirement
|
146
|
-
requirements:
|
147
|
-
- - "~>"
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '1.3'
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
requirements:
|
154
|
-
- - "~>"
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
version: '1.3'
|
128
|
+
version: 0.1.1
|
157
129
|
description:
|
158
130
|
email:
|
159
131
|
executables: []
|
@@ -190,6 +162,8 @@ files:
|
|
190
162
|
- lib/eac_users_support.rb
|
191
163
|
- lib/eac_users_support/engine.rb
|
192
164
|
- lib/eac_users_support/patches/action_controller_test_case.rb
|
165
|
+
- lib/eac_users_support/rspec.rb
|
166
|
+
- lib/eac_users_support/rspec/setup.rb
|
193
167
|
- lib/eac_users_support/tasks/password_reset.rb
|
194
168
|
- lib/eac_users_support/version.rb
|
195
169
|
- lib/tasks/eac_users_support.rake
|
@@ -212,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
186
|
- !ruby/object:Gem::Version
|
213
187
|
version: '0'
|
214
188
|
requirements: []
|
215
|
-
rubygems_version: 3.
|
189
|
+
rubygems_version: 3.1.6
|
216
190
|
signing_key:
|
217
191
|
specification_version: 4
|
218
192
|
summary: Ready-to-use support for users registration, login, logout, etc, for Rails.
|