craby 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e04e30c5d217def5b79882af2590a08027530dc35b1a489644371f8cc5c919a
4
- data.tar.gz: 9726cef41570e362d8e27d0d761381e22cdacb9daf5fe373749a36eea7429179
3
+ metadata.gz: 4b316f147ae0fdbce93c69a659aa0a5bf838fd7ef83a25a586b8a64adbba2b41
4
+ data.tar.gz: 163c9ab39e5f5b70d57e23dbef670f944bcfb302bc1428c3bfa56e9a1ba4b3e4
5
5
  SHA512:
6
- metadata.gz: d79f5f0edffa6936f6513dc327d50ae3b27d59dac8fd2d58785e7094866fe6247213419b82849462fb6b7a59fcef0951085f5ff7604cad75f8ad7bf3bda030ef
7
- data.tar.gz: 282b71153e135b1f274adb8a3947e59d05d024c2ff0929371aa9c41c5c1894cf4e5214d4f346e1e69dd844907837ab9d2035792dd0c9e8560fb4ecdd5260f66c
6
+ metadata.gz: 491fe33311257542a8c8f769b8fbeea6f0744c20206507b4034b31f9fed83ccf820b97217ff8f94e4757563d44313864d9215fe0683c5e7006fee4bddd3576e4
7
+ data.tar.gz: f821dfb405e5969cee073457c5f5a7bf53a058769d8619cf1f2835c7182e7440280762bf8c0f4b38b3d8b633471a7265d13c592aeece69b6ff447599a518753c
data/.rubocop.yml CHANGED
@@ -1,8 +1,10 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-rails
3
3
  - rubocop-factory_bot
4
4
  - rubocop-capybara
5
5
  - rubocop-rspec
6
+
7
+ require:
6
8
  - rubocop-rake
7
9
 
8
10
  inherit_gem:
@@ -10,5 +12,5 @@ inherit_gem:
10
12
 
11
13
  AllCops:
12
14
  NewCops: enable
13
- TargetRubyVersion: 3.3
14
- TargetRailsVersion: 7.1
15
+ TargetRubyVersion: 3.4
16
+ TargetRailsVersion: 8.0
data/.standard.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  # For available configuration options, see:
2
2
  # https://github.com/standardrb/standard
3
- ruby_version: 3.3
3
+ ruby_version: 3.4
data/craby.gemspec CHANGED
@@ -43,6 +43,8 @@ Gem::Specification.new do |spec|
43
43
  spec.add_dependency "rubocop-capybara"
44
44
  # https://github.com/rubocop/rubocop-factory_bot#usage
45
45
  spec.add_dependency "rubocop-factory_bot"
46
+ # https://github.com/rubocop/rubocop-rspec_rails#usage
47
+ spec.add_dependency "rubocop-rspec_rails"
46
48
  # https://github.com/Shopify/erb-lint#installation
47
49
  spec.add_dependency "erb_lint"
48
50
  # https://github.com/thoughtbot/factory_bot_rails
@@ -2,7 +2,7 @@ abort("The Rails environment is running in production mode!") if Rails.env.produ
2
2
 
3
3
  require "rspec/rails"
4
4
 
5
- Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
5
+ Rails.root.glob("spec/support/**/*.rb").each { |f| require f }
6
6
 
7
7
  RSpec.configure do |config|
8
8
  config.infer_spec_type_from_file_location!
data/lib/craby/vcr.rb CHANGED
@@ -6,4 +6,10 @@ VCR.configure do |cassette|
6
6
  cassette.configure_rspec_metadata!
7
7
  cassette.ignore_localhost = true
8
8
  # cassette.default_cassette_options = {re_record_interval: 30.days.to_i}
9
+
10
+ if ENV["VCR_IGNORED_DOMAINS"].present?
11
+ cassette.ignore_request do |request|
12
+ ENV["VCR_IGNORED_DOMAINS"].to_s.split(",").include?(URI(request.uri).host)
13
+ end
14
+ end
9
15
  end
data/lib/craby/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Craby
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1,16 +1,17 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-rails
3
3
  - rubocop-factory_bot
4
4
  - rubocop-capybara
5
5
  - rubocop-rspec
6
+ - rubocop-rspec_rails
6
7
 
7
8
  inherit_gem:
8
9
  standard: config/base.yml
9
10
 
10
11
  AllCops:
11
12
  NewCops: enable
12
- TargetRubyVersion: 3.3
13
- TargetRailsVersion: 7.1
13
+ TargetRubyVersion: 3.4
14
+ TargetRailsVersion: 8.0
14
15
  Exclude:
15
16
  - "bin/**/*"
16
17
  - "config/environments/**/*"
@@ -1,7 +1,7 @@
1
1
  fix: false # default: false
2
2
  parallel: true # default: false
3
3
  format: progress # default: Standard::Formatter
4
- ruby_version: 3.3.0 # default: RUBY_VERSION
4
+ ruby_version: 3.4.3 # default: RUBY_VERSION
5
5
  default_ignores: true # default: true
6
6
 
7
7
  ignore: # default: []
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: craby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lavenda Software
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-06-17 00:00:00.000000000 Z
10
+ date: 2025-04-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: brakeman
@@ -94,6 +93,20 @@ dependencies:
94
93
  - - ">="
95
94
  - !ruby/object:Gem::Version
96
95
  version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: rubocop-rspec_rails
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: erb_lint
99
112
  requirement: !ruby/object:Gem::Requirement
@@ -276,7 +289,6 @@ dependencies:
276
289
  - - ">="
277
290
  - !ruby/object:Gem::Version
278
291
  version: '0'
279
- description:
280
292
  email:
281
293
  - lavenda@lavenda.com.br
282
294
  executables: []
@@ -319,7 +331,6 @@ metadata:
319
331
  homepage_uri: https://github.com/LavendaSoftware/craby
320
332
  source_code_uri: https://github.com/LavendaSoftware/craby/blob/main/README.md
321
333
  changelog_uri: https://github.com/LavendaSoftware/craby/commits/main
322
- post_install_message:
323
334
  rdoc_options: []
324
335
  require_paths:
325
336
  - lib
@@ -334,8 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
334
345
  - !ruby/object:Gem::Version
335
346
  version: '0'
336
347
  requirements: []
337
- rubygems_version: 3.5.9
338
- signing_key:
348
+ rubygems_version: 3.6.4
339
349
  specification_version: 4
340
350
  summary: Craby is just a quick test suite setup for Rails application
341
351
  test_files: []