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 +4 -4
- data/craby.gemspec +2 -0
- data/lib/craby/rails_helper.rb +1 -1
- data/lib/craby/vcr.rb +6 -0
- data/lib/craby/version.rb +1 -1
- data/lib/generators/craby/install/templates/.rubocop.yml +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c824bd95f0d5f0abd39e119eb495a31dccf0f24bf40a20d1db82cfc3e6059a8b
|
4
|
+
data.tar.gz: 396123aea1c1ab9c66dbcfef9a1e28125909d730fd3d16c3099745a3e4808431
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/craby/rails_helper.rb
CHANGED
@@ -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
|
-
|
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
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.
|
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
|
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.
|
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
|