craby 0.0.3 → 0.0.4

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: 4e04e30c5d217def5b79882af2590a08027530dc35b1a489644371f8cc5c919a
4
- data.tar.gz: 9726cef41570e362d8e27d0d761381e22cdacb9daf5fe373749a36eea7429179
3
+ metadata.gz: c824bd95f0d5f0abd39e119eb495a31dccf0f24bf40a20d1db82cfc3e6059a8b
4
+ data.tar.gz: 396123aea1c1ab9c66dbcfef9a1e28125909d730fd3d16c3099745a3e4808431
5
5
  SHA512:
6
- metadata.gz: d79f5f0edffa6936f6513dc327d50ae3b27d59dac8fd2d58785e7094866fe6247213419b82849462fb6b7a59fcef0951085f5ff7604cad75f8ad7bf3bda030ef
7
- data.tar.gz: 282b71153e135b1f274adb8a3947e59d05d024c2ff0929371aa9c41c5c1894cf4e5214d4f346e1e69dd844907837ab9d2035792dd0c9e8560fb4ecdd5260f66c
6
+ metadata.gz: 35dfafc161abb76b955f193726cc7b7d75407779223ab651b909b25486f65845b8ea55363680c830e7a600313b57ef80fa4aa4d574259dd05120a5851f2d4590
7
+ data.tar.gz: 7f7e080a0c6deda2083f8876e3a51c092fd9fba4a26d23f6aa2092dfda1179d5a01b5c84905750ead636b803f7cfb5daed4b8c8c2c4d52232b9af6458f3b7924
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.4"
3
3
  end
@@ -3,6 +3,7 @@ require:
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
metadata CHANGED
@@ -1,14 +1,14 @@
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.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lavenda Software
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-17 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brakeman
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rspec_rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: erb_lint
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -334,7 +348,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
334
348
  - !ruby/object:Gem::Version
335
349
  version: '0'
336
350
  requirements: []
337
- rubygems_version: 3.5.9
351
+ rubygems_version: 3.5.23
338
352
  signing_key:
339
353
  specification_version: 4
340
354
  summary: Craby is just a quick test suite setup for Rails application