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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47393d9e9a8e93a3411de75357cabd96cf236b1d3a6fc94f230172d0d4aafd6f
4
- data.tar.gz: 7886e78ec4e0db09b549690d2b2da868b63f19c2d30e0779f48ef385ce26ff46
3
+ metadata.gz: 31fc2fe3505ea7d212bd63550703074c88aadd11fb98772269b14aa3f3429e28
4
+ data.tar.gz: 0043c6fd1372e051f80fddc9ffb46a889ac3a6efa3a6add22f734ed4d38889af
5
5
  SHA512:
6
- metadata.gz: 2ad619d2ec13ad4c1f05a1c2c5c7b0fb6e13bbd41c388c16e077029119d30fac45e112b91195c5aa357be23f574cbbbb87b9632880d57513dd5eeffd811c4c06
7
- data.tar.gz: 5042590dab4161c9e4c4ddc1e83d5982272bb9497b25381a563f188c932f46664d598f8cecd486c92035f9e4c57aeb02010303ebfb1f7b99438c749b77a9e45f
6
+ metadata.gz: 7190d927e947bd6b1931439ffc1f9f026a4efba7cb202c7ee73a14a18c1d8a9a614eaa9974c561e89a4173da7f736e328fd2ab7fbfea4a013d93ad0192187565
7
+ data.tar.gz: 5318e240167a256e83545f78e1c76464731db7e28bf647e0de267ea5de9b162a44fa67ad943bd404601ac76295ea89718e2576ffcdc9cd499522073bbe6d1472
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.9.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.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-09-18 00:00:00.000000000 Z
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.31'
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.31'
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.5.1
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.5.1
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.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.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: '0'
211
+ version: 2.7.0
217
212
  required_rubygems_version: !ruby/object:Gem::Requirement
218
213
  requirements:
219
214
  - - ">="