eac_rails_gem_support 0.7.2 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -0
- data/lib/eac_rails_gem_support/rspec/minitest_support.rb +2 -2
- data/lib/eac_rails_gem_support/version.rb +1 -1
- data/template/eac_rails_gem_support/rspec/appendable_rails_app/config/application.rb +4 -4
- data/template/eac_rails_gem_support/rspec/appendable_rails_app/config/routes.rb +1 -1
- data/template/eac_rails_gem_support/rspec/appendable_rails_app/config.ru +1 -1
- metadata +10 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31fc2fe3505ea7d212bd63550703074c88aadd11fb98772269b14aa3f3429e28
|
4
|
+
data.tar.gz: 0043c6fd1372e051f80fddc9ffb46a889ac3a6efa3a6add22f734ed4d38889af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7190d927e947bd6b1931439ffc1f9f026a4efba7cb202c7ee73a14a18c1d8a9a614eaa9974c561e89a4173da7f736e328fd2ab7fbfea4a013d93ad0192187565
|
7
|
+
data.tar.gz: 5318e240167a256e83545f78e1c76464731db7e28bf647e0de267ea5de9b162a44fa67ad943bd404601ac76295ea89718e2576ffcdc9cd499522073bbe6d1472
|
data/.rubocop.yml
ADDED
@@ -26,8 +26,8 @@ module EacRailsGemSupport
|
|
26
26
|
expect(actual_value).not_to eq(expected_value), message
|
27
27
|
end
|
28
28
|
|
29
|
-
def assert_raise(*expected_types)
|
30
|
-
expect
|
29
|
+
def assert_raise(*expected_types, &block)
|
30
|
+
expect(&block).to raise_error(*expected_types)
|
31
31
|
end
|
32
32
|
|
33
33
|
private
|
@@ -6,8 +6,8 @@ require 'rails/all'
|
|
6
6
|
|
7
7
|
Bundler.require(*Rails.groups)
|
8
8
|
|
9
|
-
file =
|
10
|
-
require file if
|
9
|
+
file = File.join(__dir__, 'application_before.rb')
|
10
|
+
require file if File.exist?(file)
|
11
11
|
|
12
12
|
module Dummy
|
13
13
|
class Application < Rails::Application
|
@@ -18,5 +18,5 @@ module Dummy
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
-
file =
|
22
|
-
require file if
|
21
|
+
file = File.join(__dir__, 'application_after.rb')
|
22
|
+
require file if File.exist?(file)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_rails_gem_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-eac_ruby_base1
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.31.2
|
19
|
+
version: '0.33'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.31.2
|
26
|
+
version: '0.33'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: capybara
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,14 +50,14 @@ dependencies:
|
|
56
50
|
requirements:
|
57
51
|
- - "~>"
|
58
52
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.
|
53
|
+
version: '0.9'
|
60
54
|
type: :runtime
|
61
55
|
prerelease: false
|
62
56
|
version_requirements: !ruby/object:Gem::Requirement
|
63
57
|
requirements:
|
64
58
|
- - "~>"
|
65
59
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0.
|
60
|
+
version: '0.9'
|
67
61
|
- !ruby/object:Gem::Dependency
|
68
62
|
name: eac_ruby_utils
|
69
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,7 +155,7 @@ dependencies:
|
|
161
155
|
version: '1.6'
|
162
156
|
- - ">="
|
163
157
|
- !ruby/object:Gem::Version
|
164
|
-
version: 1.6.
|
158
|
+
version: 1.6.8
|
165
159
|
type: :runtime
|
166
160
|
prerelease: false
|
167
161
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -171,13 +165,14 @@ dependencies:
|
|
171
165
|
version: '1.6'
|
172
166
|
- - ">="
|
173
167
|
- !ruby/object:Gem::Version
|
174
|
-
version: 1.6.
|
168
|
+
version: 1.6.8
|
175
169
|
description:
|
176
170
|
email:
|
177
171
|
executables: []
|
178
172
|
extensions: []
|
179
173
|
extra_rdoc_files: []
|
180
174
|
files:
|
175
|
+
- ".rubocop.yml"
|
181
176
|
- lib/eac_rails_gem_support.rb
|
182
177
|
- lib/eac_rails_gem_support/factory_bot/instance_registry.rb
|
183
178
|
- lib/eac_rails_gem_support/rspec.rb
|
@@ -213,7 +208,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
213
208
|
requirements:
|
214
209
|
- - ">="
|
215
210
|
- !ruby/object:Gem::Version
|
216
|
-
version:
|
211
|
+
version: 2.7.0
|
217
212
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
213
|
requirements:
|
219
214
|
- - ">="
|