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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47393d9e9a8e93a3411de75357cabd96cf236b1d3a6fc94f230172d0d4aafd6f
4
- data.tar.gz: 7886e78ec4e0db09b549690d2b2da868b63f19c2d30e0779f48ef385ce26ff46
3
+ metadata.gz: 0d93fc434ba6c62e7fa848fd3db212289f90d804f21bca200991a4859da5e9c1
4
+ data.tar.gz: 6daf6a6fbcd64d629d490d88e9a1083dc27f9605ce1d87c38bdeefcf51b48f3d
5
5
  SHA512:
6
- metadata.gz: 2ad619d2ec13ad4c1f05a1c2c5c7b0fb6e13bbd41c388c16e077029119d30fac45e112b91195c5aa357be23f574cbbbb87b9632880d57513dd5eeffd811c4c06
7
- data.tar.gz: 5042590dab4161c9e4c4ddc1e83d5982272bb9497b25381a563f188c932f46664d598f8cecd486c92035f9e4c57aeb02010303ebfb1f7b99438c749b77a9e45f
6
+ metadata.gz: 59b3b485d71c9fc25a9689cfa9a1c40ac057dfbce5926dc5b854633492e0c3b8ec0441109fc1e1804ed41af807418b7c6d0558b0fdf855447ca09783f5d88327
7
+ data.tar.gz: 92ea25514543bb68c431227b8f602e83c9eb80535e2e3cd4f5625a566dc676db4b347ec42113875634c544e49edaa3a908e62d9ab0e343043c76e7caa1e0aaa4
data/.rubocop.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ inherit_gem:
3
+ eac_ruby_gem_support: ".rubocop.yml"
4
+ Rails/ApplicationRecord:
5
+ Enabled: false
6
+ RSpec/Rails/InferredSpecType:
7
+ Enabled: false
@@ -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 { yield }.to raise_error(*expected_types)
29
+ def assert_raise(*expected_types, &block)
30
+ expect(&block).to raise_error(*expected_types)
31
31
  end
32
32
 
33
33
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsGemSupport
4
- VERSION = '0.7.2'
4
+ VERSION = '0.8.0'
5
5
  end
@@ -6,8 +6,8 @@ require 'rails/all'
6
6
 
7
7
  Bundler.require(*Rails.groups)
8
8
 
9
- file = ::File.join(__dir__, 'application_before.rb')
10
- require file if ::File.exist?(file)
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 = ::File.join(__dir__, 'application_after.rb')
22
- require file if ::File.exist?(file)
21
+ file = File.join(__dir__, 'application_after.rb')
22
+ require file if File.exist?(file)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- ::Rails.application.routes.draw do
3
+ Rails.application.routes.draw do # rubocop:disable Lint/EmptyBlock
4
4
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # This file is used by Rack-based servers to start the application.
4
4
 
5
- require ::File.expand_path('../config/environment', __FILE__)
5
+ require File.expand_path('config/environment', __dir__)
6
6
  run Rails.application
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.7.2
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-09-18 00:00:00.000000000 Z
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.5.1
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.5.1
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.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.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: '0'
217
+ version: 2.7.0
217
218
  required_rubygems_version: !ruby/object:Gem::Requirement
218
219
  requirements:
219
220
  - - ">="