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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a5aaf4cb2fd041b0053bedaab02b2f9e2aa186faa5daa6c009ddb7338fd2674
4
- data.tar.gz: 12a1606f2045da7bcf485f52bd4d3b7c4b626064969849a2e2cb2d995102d780
3
+ metadata.gz: e51cc0f1cf5316bd7762738f6e2306abbf135a76c47db71d302b6a59229c5d41
4
+ data.tar.gz: 635e0a4e0ed7074349e2425e5378685141980a5072c0fde413d557d6fd4c2f48
5
5
  SHA512:
6
- metadata.gz: 9a7c6d2578f89ed128f4451ce5278ab2c86c222dc6660ad7cf333e22031cfc061ed58c763c8035a4e19f0d0d2cd213a2327749330ff32c962e9a88c459816339
7
- data.tar.gz: b045715e4df6a53922c77c47685029f3bdd4e5b64849972d3799402be5d0d6224e710946c92831f2db4549934419cf13b1f1caf7b2f67eb6b4d9b992ef9cdb11
6
+ metadata.gz: 76afa7764fe537060fecf6efdebcd5f40facbff1487ca2b84845b9bf11465f3ed3a9944541fad35500e69daa87cbe87a297540e8a275b7955396c2cde7ab50e3
7
+ data.tar.gz: a448130cf7378f46bd3585e84e55400963b4ba02e170dcead23c0e1ad79534b0415c99a097f9116f1b3810f1fe9d2d9496b815598b8a4eb7726cecb5b90f2bce
@@ -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,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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacUsersSupport
4
- VERSION = '0.8.6'
4
+ VERSION = '0.9.2'
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.6
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: 2020-11-09 00:00:00.000000000 Z
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.22'
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.22'
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: 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.1'
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: '1.3'
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.0.8
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.