eac_users_support 0.9.0 → 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: 4352d1651e4852de664c2ff928505f0b99d61cd58e6b5c791c38981a8f9eeaef
4
- data.tar.gz: 119eddda486fdac6b9196caaed64571ae44287aee7bd8cc3d1d3586ee2abf36d
3
+ metadata.gz: e7a6a8edfbb43be0b55d1dd7664c14b2fe11af4e3ec097a6879800346134c0fb
4
+ data.tar.gz: '0940eab06fa13e9fbd8aa1c1abef8e5884c8dab56ce73136a2177e530cd1a5a9'
5
5
  SHA512:
6
- metadata.gz: a8a3af1effe957bbdd38ca7e12c263d48bb0cccab3bbea75c26016ca189abd068b32e7bf346df13310732f3c7f993914eb0a8115077eb87ed379186fc049328f
7
- data.tar.gz: 32dc59a382438d779ae8c87687d7529883b9019809cd5f0c84bda4cdda9cfc3e027f11a509c6b42ddc82ba5f896ac7829942dbdcf6d0b79595f642714414e8a1
6
+ metadata.gz: 3bfbe10bd2159d282e5db21b33e4778d10bf6e5301655b78f0d0c8231f1830ef53e73238721c3561256cda99c84a1c96d2a78909c83b6695a91330020e52b31d
7
+ data.tar.gz: f02a595fd97643a2c95dc30b52930f3763c461aabea0674680aa53143f6396c514b9251352a18324853abec978b63e3070269f6125b7040ca09a45ea8ae5ab04
@@ -4,19 +4,15 @@ require 'eac_ruby_utils/core_ext'
4
4
 
5
5
  module EacUsersSupport
6
6
  module Rspec
7
- class Setup
8
- common_constructor :setup_obj
9
-
10
- def perform
11
- setup_devise
7
+ module Setup
8
+ def self.extended(obj)
9
+ obj.setup_devise
12
10
  end
13
11
 
14
- private
15
-
16
12
  def setup_devise
17
13
  require 'devise'
18
- setup_obj.rspec_config.include Warden::Test::Helpers
19
- setup_obj.rspec_config.after(:each) { Warden.test_reset! }
14
+ rspec_config.include Warden::Test::Helpers
15
+ rspec_config.after(:each) { Warden.test_reset! }
20
16
  end
21
17
  end
22
18
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacUsersSupport
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.1'
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.9.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: 2021-08-08 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.72'
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.72'
80
+ version: '0.74'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rails
83
83
  requirement: !ruby/object:Gem::Requirement
@@ -113,6 +113,9 @@ dependencies:
113
113
  - - "~>"
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0.1'
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: 0.1.1
116
119
  type: :development
117
120
  prerelease: false
118
121
  version_requirements: !ruby/object:Gem::Requirement
@@ -120,6 +123,9 @@ dependencies:
120
123
  - - "~>"
121
124
  - !ruby/object:Gem::Version
122
125
  version: '0.1'
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: 0.1.1
123
129
  description:
124
130
  email:
125
131
  executables: []