eac_users_support 0.8.7 → 0.9.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: 51159e5e2614f2537e09a4bfc8e8946116cb731d80e6a0470edb958106f27ccb
4
- data.tar.gz: 332641fabe6b3608116d8109f9c149152fdb5ba038de333feea13a1d236b265b
3
+ metadata.gz: 4352d1651e4852de664c2ff928505f0b99d61cd58e6b5c791c38981a8f9eeaef
4
+ data.tar.gz: 119eddda486fdac6b9196caaed64571ae44287aee7bd8cc3d1d3586ee2abf36d
5
5
  SHA512:
6
- metadata.gz: bf8d3b65b3ad960e89754031a2dab6e3f641b000af0f91752a5c672ea607521c86383423826af2287d799e62d7f9e29026481486eea4c33dd66a1c90deeab792
7
- data.tar.gz: c686529dda9d355e1a7a0914d1e766bd371b945bcfd49048143e4844222c7341aa8bccaf0e5fb83eb59be1feeba2470b6b95236a09f9e9a914547bacd700830c
6
+ metadata.gz: a8a3af1effe957bbdd38ca7e12c263d48bb0cccab3bbea75c26016ca189abd068b32e7bf346df13310732f3c7f993914eb0a8115077eb87ed379186fc049328f
7
+ data.tar.gz: 32dc59a382438d779ae8c87687d7529883b9019809cd5f0c84bda4cdda9cfc3e027f11a509c6b42ddc82ba5f896ac7829942dbdcf6d0b79595f642714414e8a1
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module EacUsersSupport
6
+ module Rspec
7
+ require_sub __FILE__
8
+ end
9
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module EacUsersSupport
6
+ module Rspec
7
+ class Setup
8
+ common_constructor :setup_obj
9
+
10
+ def perform
11
+ setup_devise
12
+ end
13
+
14
+ private
15
+
16
+ def setup_devise
17
+ require 'devise'
18
+ setup_obj.rspec_config.include Warden::Test::Helpers
19
+ setup_obj.rspec_config.after(:each) { Warden.test_reset! }
20
+ end
21
+ end
22
+ end
23
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacUsersSupport
4
- VERSION = '0.8.7'
4
+ VERSION = '0.9.0'
5
5
  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.8.7
4
+ version: 0.9.0
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: 2021-06-28 00:00:00.000000000 Z
11
+ date: 2021-08-08 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.22'
73
+ version: '0.72'
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.22'
80
+ version: '0.72'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rails
83
83
  requirement: !ruby/object:Gem::Requirement
@@ -107,47 +107,19 @@ dependencies:
107
107
  - !ruby/object:Gem::Version
108
108
  version: '3.10'
109
109
  - !ruby/object:Gem::Dependency
110
- name: eac_ruby_gem_support
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.2'
115
+ version: '0.1'
116
116
  type: :development
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
- version: '0.2'
123
- - !ruby/object:Gem::Dependency
124
- name: rspec-rails
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '3.8'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - "~>"
135
- - !ruby/object:Gem::Version
136
- version: '3.8'
137
- - !ruby/object:Gem::Dependency
138
- name: sqlite3
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: '1.3'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: '1.3'
122
+ version: '0.1'
151
123
  description:
152
124
  email:
153
125
  executables: []
@@ -184,6 +156,8 @@ files:
184
156
  - lib/eac_users_support.rb
185
157
  - lib/eac_users_support/engine.rb
186
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
187
161
  - lib/eac_users_support/tasks/password_reset.rb
188
162
  - lib/eac_users_support/version.rb
189
163
  - lib/tasks/eac_users_support.rake
@@ -206,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
180
  - !ruby/object:Gem::Version
207
181
  version: '0'
208
182
  requirements: []
209
- rubygems_version: 3.0.9
183
+ rubygems_version: 3.1.6
210
184
  signing_key:
211
185
  specification_version: 4
212
186
  summary: Ready-to-use support for users registration, login, logout, etc, for Rails.