eac_users_support 0.8.6 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eac_users_support/rspec.rb +9 -0
- data/lib/eac_users_support/rspec/setup.rb +19 -0
- data/lib/eac_users_support/version.rb +1 -1
- metadata +10 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e51cc0f1cf5316bd7762738f6e2306abbf135a76c47db71d302b6a59229c5d41
|
4
|
+
data.tar.gz: 635e0a4e0ed7074349e2425e5378685141980a5072c0fde413d557d6fd4c2f48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76afa7764fe537060fecf6efdebcd5f40facbff1487ca2b84845b9bf11465f3ed3a9944541fad35500e69daa87cbe87a297540e8a275b7955396c2cde7ab50e3
|
7
|
+
data.tar.gz: a448130cf7378f46bd3585e84e55400963b4ba02e170dcead23c0e1ad79534b0415c99a097f9116f1b3810f1fe9d2d9496b815598b8a4eb7726cecb5b90f2bce
|
@@ -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.2
|
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,53 +107,19 @@ 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
|
- - "~>"
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: '0.
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: 0.1.2
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0.1'
|
126
|
-
- - ">="
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: 0.1.2
|
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'
|
115
|
+
version: '0.2'
|
150
116
|
type: :development
|
151
117
|
prerelease: false
|
152
118
|
version_requirements: !ruby/object:Gem::Requirement
|
153
119
|
requirements:
|
154
120
|
- - "~>"
|
155
121
|
- !ruby/object:Gem::Version
|
156
|
-
version: '
|
122
|
+
version: '0.2'
|
157
123
|
description:
|
158
124
|
email:
|
159
125
|
executables: []
|
@@ -190,6 +156,8 @@ files:
|
|
190
156
|
- lib/eac_users_support.rb
|
191
157
|
- lib/eac_users_support/engine.rb
|
192
158
|
- lib/eac_users_support/patches/action_controller_test_case.rb
|
159
|
+
- lib/eac_users_support/rspec.rb
|
160
|
+
- lib/eac_users_support/rspec/setup.rb
|
193
161
|
- lib/eac_users_support/tasks/password_reset.rb
|
194
162
|
- lib/eac_users_support/version.rb
|
195
163
|
- lib/tasks/eac_users_support.rake
|
@@ -212,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
180
|
- !ruby/object:Gem::Version
|
213
181
|
version: '0'
|
214
182
|
requirements: []
|
215
|
-
rubygems_version: 3.
|
183
|
+
rubygems_version: 3.1.6
|
216
184
|
signing_key:
|
217
185
|
specification_version: 4
|
218
186
|
summary: Ready-to-use support for users registration, login, logout, etc, for Rails.
|