eac_rails_gem_support 0.7.2 → 0.8.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 +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d93fc434ba6c62e7fa848fd3db212289f90d804f21bca200991a4859da5e9c1
|
4
|
+
data.tar.gz: 6daf6a6fbcd64d629d490d88e9a1083dc27f9605ce1d87c38bdeefcf51b48f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59b3b485d71c9fc25a9689cfa9a1c40ac057dfbce5926dc5b854633492e0c3b8ec0441109fc1e1804ed41af807418b7c6d0558b0fdf855447ca09783f5d88327
|
7
|
+
data.tar.gz: 92ea25514543bb68c431227b8f602e83c9eb80535e2e3cd4f5625a566dc676db4b347ec42113875634c544e49edaa3a908e62d9ab0e343043c76e7caa1e0aaa4
|
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.8.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-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-eac_ruby_base1
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.
|
59
|
+
version: 0.8.1
|
60
60
|
type: :runtime
|
61
61
|
prerelease: false
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0.
|
66
|
+
version: 0.8.1
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: eac_ruby_utils
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,7 +161,7 @@ dependencies:
|
|
161
161
|
version: '1.6'
|
162
162
|
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version: 1.6.
|
164
|
+
version: 1.6.7
|
165
165
|
type: :runtime
|
166
166
|
prerelease: false
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -171,13 +171,14 @@ dependencies:
|
|
171
171
|
version: '1.6'
|
172
172
|
- - ">="
|
173
173
|
- !ruby/object:Gem::Version
|
174
|
-
version: 1.6.
|
174
|
+
version: 1.6.7
|
175
175
|
description:
|
176
176
|
email:
|
177
177
|
executables: []
|
178
178
|
extensions: []
|
179
179
|
extra_rdoc_files: []
|
180
180
|
files:
|
181
|
+
- ".rubocop.yml"
|
181
182
|
- lib/eac_rails_gem_support.rb
|
182
183
|
- lib/eac_rails_gem_support/factory_bot/instance_registry.rb
|
183
184
|
- lib/eac_rails_gem_support/rspec.rb
|
@@ -213,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
213
214
|
requirements:
|
214
215
|
- - ">="
|
215
216
|
- !ruby/object:Gem::Version
|
216
|
-
version:
|
217
|
+
version: 2.7.0
|
217
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
219
|
requirements:
|
219
220
|
- - ">="
|