craby 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: af1111f7e931fcfe19ffd77703667003019f2373efa7ad449fab4265580bbd1c
4
+ data.tar.gz: 655886f8671e59cfa5ab31377ded4401415027f60db309a87e2ec799a5899817
5
+ SHA512:
6
+ metadata.gz: b9edf4507bac1abe4172cf7e811fb4d8aab01a1787f9ea644c83eb10403c09c1c33c0aeab0d658ca065db488db666dcca6b789ce46553e901ff2a264f77b121f
7
+ data.tar.gz: 4a46b776a1fed1eb0cdb0aa8fd6e56a741aa2961a2e7559073a6acef0f0b0191b79e10cd429873d26e25a462eb9a09e8648fa5e7cd719f6f85a71d03cc3b7f75
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --require spec_helper
2
+ --format documentation
3
+ --force-color
4
+ --order rand
data/.rubocop.yml ADDED
@@ -0,0 +1,14 @@
1
+ require:
2
+ - rubocop-rails
3
+ - rubocop-factory_bot
4
+ - rubocop-capybara
5
+ - rubocop-rspec
6
+ - rubocop-rake
7
+
8
+ inherit_gem:
9
+ standard: config/base.yml
10
+
11
+ AllCops:
12
+ NewCops: enable
13
+ TargetRubyVersion: 3.3
14
+ TargetRailsVersion: 7.1
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/standardrb/standard
3
+ ruby_version: 3.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Lavenda Software
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/Makefile ADDED
@@ -0,0 +1,8 @@
1
+ GEM_TO_PUSH = `ls craby*.gem | tail -n 1`
2
+
3
+ build:
4
+ gem build craby.gemspec
5
+
6
+ publish:
7
+ @echo "gem push ${GEM_TO_PUSH}"
8
+ @gem push ${GEM_TO_PUSH}
data/README.md ADDED
@@ -0,0 +1,62 @@
1
+ # Craby
2
+
3
+ Craby is just a quick test suite setup that uses RSpec with Shoulda::Matchers, Capybara with Selenium, DatabaseCleaner, FactoryBot, Faker, Standard Ruby as default. And it also has webmock and VRC for applications that need to test third-party services
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ru
10
+ gem "craby", "~> 0.0.1"
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```bash
16
+ bundle install
17
+ ```
18
+
19
+ Or install it yourself as:
20
+
21
+ ```bash
22
+ bundle add craby
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ You can use a Rails generator to create setup files:
28
+
29
+ ```sh
30
+ rails g craby:install
31
+ ```
32
+
33
+ Or you can create manually `spec/craby_helper.rb` file in your rails application:
34
+
35
+ ```rb
36
+ ENV["RAILS_ENV"] ||= "test"
37
+
38
+ require "craby"
39
+
40
+ Craby::Setup.call([
41
+ "craby/simplecov",
42
+ File.expand_path("config/environment", File.dirname(__dir__)),
43
+ "craby/default"
44
+ ])
45
+ ```
46
+
47
+ And `.rspec` file in your root rails application:
48
+
49
+ ```
50
+ --require craby_helper
51
+ --format documentation
52
+ --force-color
53
+ --order rand
54
+ ```
55
+
56
+ ## Contributing
57
+
58
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/craby.
59
+
60
+ ## License
61
+
62
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[spec standard]
data/craby.gemspec ADDED
@@ -0,0 +1,68 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/craby/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "craby"
7
+ spec.version = Craby::VERSION
8
+ spec.authors = ["Lavenda Software"]
9
+ spec.email = ["lavenda@lavenda.com.br"]
10
+
11
+ spec.summary = "Craby is just a quick test suite setup for Rails application"
12
+ spec.homepage = "https://github.com/LavendaSoftware/craby"
13
+ spec.license = "MIT"
14
+ spec.required_ruby_version = ">= 3.0.0"
15
+
16
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = "#{spec.homepage}/blob/main/README.md"
20
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/commits/main"
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(__dir__) do
25
+ `git ls-files -z`.split("\x0").reject do |f|
26
+ (File.expand_path(f) == __FILE__) ||
27
+ f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
28
+ end
29
+ end
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ["lib"]
33
+
34
+ # https://github.com/presidentbeef/brakeman
35
+ spec.add_dependency "brakeman", "~> 6"
36
+ # https://github.com/standardrb/standard#usage
37
+ spec.add_dependency "standard", "~> 1"
38
+ # https://github.com/standardrb/standard-rails#usage
39
+ spec.add_dependency "standard-rails", "~> 1"
40
+ # https://github.com/rubocop/rubocop-rspec#usage
41
+ spec.add_dependency "rubocop-rspec", "~> 2"
42
+ # https://github.com/rubocop/rubocop-capybara#usage
43
+ spec.add_dependency "rubocop-capybara", "~> 2"
44
+ # https://github.com/rubocop/rubocop-factory_bot#usage
45
+ spec.add_dependency "rubocop-factory_bot", "~> 2"
46
+ # https://github.com/Shopify/erb-lint#installation
47
+ spec.add_dependency "erb_lint", "~> 0"
48
+ # https://github.com/thoughtbot/factory_bot_rails
49
+ spec.add_dependency "factory_bot_rails", "~> 6"
50
+ # https://github.com/stympy/faker
51
+ spec.add_dependency "faker", "~> 3"
52
+ # https://github.com/thoughtbot/shoulda-matchers
53
+ spec.add_dependency "shoulda-matchers", "~> 5"
54
+ # https://github.com/rspec/rspec-rails#installation
55
+ spec.add_dependency "rspec-rails", "~> 5"
56
+ # https://github.com/DatabaseCleaner/database_cleaner
57
+ spec.add_dependency "database_cleaner", "~> 1"
58
+ # https://github.com/teamcapybara/capybara#setup
59
+ spec.add_dependency "capybara", "~> 2"
60
+ # https://github.com/SeleniumHQ/selenium/tree/trunk/rb#install
61
+ spec.add_dependency "selenium-webdriver", "~> 3"
62
+ # https://github.com/simplecov-ruby/simplecov#getting-started
63
+ spec.add_dependency "simplecov", "~> 0"
64
+ # https://github.com/vicentllongo/simplecov-json#usage
65
+ spec.add_dependency "simplecov-json", "~> 0"
66
+ # https://github.com/bblimke/webmock#rspec
67
+ spec.add_dependency "webmock", "~> 2"
68
+ end
@@ -0,0 +1,15 @@
1
+ require "capybara/rails"
2
+ require "capybara/rspec"
3
+
4
+ require "selenium-webdriver"
5
+
6
+ Capybara.register_driver :chrome do |app|
7
+ args = ["disable-gpu"]
8
+ headless = ActiveModel::Type::Boolean.new.cast(ENV.fetch("HEADLESS", true))
9
+ args << "headless" if headless
10
+ options = Selenium::WebDriver::Chrome::Options.new(args: args)
11
+
12
+ Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
13
+ end
14
+
15
+ Capybara.javascript_driver = :chrome
@@ -0,0 +1,23 @@
1
+ require "database_cleaner"
2
+
3
+ RSpec.configure do |config|
4
+ config.before(:suite) do
5
+ DatabaseCleaner.clean_with(:truncation)
6
+ end
7
+
8
+ config.before do
9
+ DatabaseCleaner.strategy = :transaction
10
+ end
11
+
12
+ config.before(:each, :js) do
13
+ DatabaseCleaner.strategy = :truncation
14
+ end
15
+
16
+ config.before do
17
+ DatabaseCleaner.start
18
+ end
19
+
20
+ config.after do
21
+ DatabaseCleaner.clean
22
+ end
23
+ end
@@ -0,0 +1,10 @@
1
+ require "craby/spec_helper"
2
+
3
+ require "craby/capybara"
4
+ require "craby/database_cleaner"
5
+ require "craby/factory_bot"
6
+ require "craby/faker"
7
+ require "craby/rubocop"
8
+ require "craby/shoulda_matchers"
9
+
10
+ require "craby/rails_helper"
@@ -0,0 +1,5 @@
1
+ require "factory_bot_rails"
2
+
3
+ RSpec.configure do |config|
4
+ config.include FactoryBot::Syntax::Methods
5
+ end
@@ -0,0 +1,3 @@
1
+ require "faker"
2
+
3
+ Faker::Config.locale = I18n.locale
@@ -0,0 +1,13 @@
1
+ abort("The Rails environment is running in production mode!") if Rails.env.production?
2
+
3
+ require "rspec/rails"
4
+
5
+ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
6
+
7
+ RSpec.configure do |config|
8
+ config.infer_spec_type_from_file_location!
9
+
10
+ config.filter_rails_from_backtrace!
11
+
12
+ config.render_views
13
+ end
@@ -0,0 +1,3 @@
1
+ require "rubocop-rspec"
2
+ require "rubocop-capybara"
3
+ require "rubocop-factory_bot"
@@ -0,0 +1,13 @@
1
+ require "shoulda-matchers"
2
+
3
+ RSpec.configure do |config|
4
+ config.include Shoulda::Matchers::ActiveModel
5
+ config.include Shoulda::Matchers::ActiveRecord
6
+ end
7
+
8
+ Shoulda::Matchers.configure do |config|
9
+ config.integrate do |with|
10
+ with.test_framework :rspec
11
+ with.library :rails
12
+ end
13
+ end
@@ -0,0 +1,8 @@
1
+ require "simplecov"
2
+ require "simplecov-json"
3
+
4
+ SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new(
5
+ [SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::JSONFormatter]
6
+ )
7
+
8
+ SimpleCov.start "rails"
@@ -0,0 +1,20 @@
1
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
2
+ RSpec.configure do |config|
3
+ # Enable flags like --only-failures and --next-failure
4
+ config.example_status_persistence_file_path = ".rspec_status"
5
+
6
+ # Disable RSpec exposing methods globally on `Module` and `main`
7
+ config.disable_monkey_patching!
8
+ config.expose_dsl_globally = true
9
+
10
+ config.expect_with :rspec do |expectations|
11
+ expectations.syntax = :expect
12
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
13
+ end
14
+
15
+ config.mock_with :rspec do |mocks|
16
+ mocks.verify_partial_doubles = true
17
+ end
18
+
19
+ config.shared_context_metadata_behavior = :apply_to_host_groups
20
+ end
data/lib/craby/vcr.rb ADDED
@@ -0,0 +1,9 @@
1
+ require "vcr"
2
+
3
+ VCR.configure do |cassette|
4
+ cassette.cassette_library_dir = "spec/cassettes"
5
+ cassette.hook_into :webmock
6
+ cassette.configure_rspec_metadata!
7
+ cassette.ignore_localhost = true
8
+ # cassette.default_cassette_options = {re_record_interval: 30.days.to_i}
9
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Craby
4
+ VERSION = "0.0.1"
5
+ end
@@ -0,0 +1,3 @@
1
+ require "webmock/rspec"
2
+
3
+ WebMock.disable_net_connect!(allow_localhost: true)
data/lib/craby.rb ADDED
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "craby/version"
4
+
5
+ module Craby
6
+ class Error < StandardError; end
7
+
8
+ class Setup
9
+ DEFAULT_FILES = ["craby/default"]
10
+
11
+ class << self
12
+ def call(files = DEFAULT_FILES)
13
+ files.each { |file| require file }
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,13 @@
1
+ module Craby
2
+ class InstallGenerator < Rails::Generators::Base
3
+ source_root File.expand_path("templates", __dir__)
4
+
5
+ desc "Generates Craby setup files."
6
+ def create_setup_files
7
+ copy_file "craby_helper.rb", Rails.root.join("spec/craby_helper.rb")
8
+ copy_file ".rspec", Rails.root.join(".rspec")
9
+ copy_file ".rubocop.yml", Rails.root.join(".rubocop.yml")
10
+ copy_file ".standard.yml", Rails.root.join(".standard.yml")
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,4 @@
1
+ --require craby_helper
2
+ --format documentation
3
+ --force-color
4
+ --order rand
@@ -0,0 +1,20 @@
1
+ require:
2
+ - rubocop-rails
3
+ - rubocop-factory_bot
4
+ - rubocop-capybara
5
+ - rubocop-rspec
6
+
7
+ inherit_gem:
8
+ standard: config/base.yml
9
+
10
+ AllCops:
11
+ NewCops: enable
12
+ TargetRubyVersion: 3.3
13
+ TargetRailsVersion: 7.1
14
+ Exclude:
15
+ - "bin/**/*"
16
+ - "config/environments/**/*"
17
+ - "db/schema.rb"
18
+ - "db/seeds.rb"
19
+ - "tmp/**/*"
20
+ - "vendor/**/*"
@@ -0,0 +1,16 @@
1
+ fix: false # default: false
2
+ parallel: true # default: false
3
+ format: progress # default: Standard::Formatter
4
+ ruby_version: 3.3.0 # default: RUBY_VERSION
5
+ default_ignores: true # default: true
6
+
7
+ ignore: # default: []
8
+ - "bin/**/*"
9
+ - "config/environments/**/*"
10
+ - "db/schema.rb"
11
+ - "db/seeds.rb"
12
+ - "tmp/**/*"
13
+ - "vendor/**/*"
14
+
15
+ plugins: # default: []
16
+ - standard-rails
@@ -0,0 +1,9 @@
1
+ ENV["RAILS_ENV"] ||= "test"
2
+
3
+ require "craby"
4
+
5
+ Craby::Setup.call([
6
+ "craby/simplecov",
7
+ File.expand_path("config/environment", File.dirname(__dir__)),
8
+ "craby/default"
9
+ ])
@@ -0,0 +1,4 @@
1
+ module Craby
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,313 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: craby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Lavenda Software
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: brakeman
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: standard
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: standard-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-capybara
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-factory_bot
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2'
97
+ - !ruby/object:Gem::Dependency
98
+ name: erb_lint
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'
111
+ - !ruby/object:Gem::Dependency
112
+ name: factory_bot_rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '6'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '6'
125
+ - !ruby/object:Gem::Dependency
126
+ name: faker
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3'
139
+ - !ruby/object:Gem::Dependency
140
+ name: shoulda-matchers
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '5'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '5'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec-rails
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '5'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '5'
167
+ - !ruby/object:Gem::Dependency
168
+ name: database_cleaner
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '1'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '1'
181
+ - !ruby/object:Gem::Dependency
182
+ name: capybara
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '2'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '2'
195
+ - !ruby/object:Gem::Dependency
196
+ name: selenium-webdriver
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '3'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '3'
209
+ - !ruby/object:Gem::Dependency
210
+ name: simplecov
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: simplecov-json
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: webmock
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '2'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '2'
251
+ description:
252
+ email:
253
+ - lavenda@lavenda.com.br
254
+ executables: []
255
+ extensions: []
256
+ extra_rdoc_files: []
257
+ files:
258
+ - ".rspec"
259
+ - ".rubocop.yml"
260
+ - ".standard.yml"
261
+ - LICENSE.txt
262
+ - Makefile
263
+ - README.md
264
+ - Rakefile
265
+ - craby.gemspec
266
+ - lib/craby.rb
267
+ - lib/craby/capybara.rb
268
+ - lib/craby/database_cleaner.rb
269
+ - lib/craby/default.rb
270
+ - lib/craby/factory_bot.rb
271
+ - lib/craby/faker.rb
272
+ - lib/craby/rails_helper.rb
273
+ - lib/craby/rubocop.rb
274
+ - lib/craby/shoulda_matchers.rb
275
+ - lib/craby/simplecov.rb
276
+ - lib/craby/spec_helper.rb
277
+ - lib/craby/vcr.rb
278
+ - lib/craby/version.rb
279
+ - lib/craby/webmock.rb
280
+ - lib/generators/craby/install/install_generator.rb
281
+ - lib/generators/craby/install/templates/.rspec
282
+ - lib/generators/craby/install/templates/.rubocop.yml
283
+ - lib/generators/craby/install/templates/.standard.yml
284
+ - lib/generators/craby/install/templates/craby_helper.rb
285
+ - sig/craby/spec.rbs
286
+ homepage: https://github.com/LavendaSoftware/craby
287
+ licenses:
288
+ - MIT
289
+ metadata:
290
+ allowed_push_host: https://rubygems.org
291
+ homepage_uri: https://github.com/LavendaSoftware/craby
292
+ source_code_uri: https://github.com/LavendaSoftware/craby/blob/main/README.md
293
+ changelog_uri: https://github.com/LavendaSoftware/craby/commits/main
294
+ post_install_message:
295
+ rdoc_options: []
296
+ require_paths:
297
+ - lib
298
+ required_ruby_version: !ruby/object:Gem::Requirement
299
+ requirements:
300
+ - - ">="
301
+ - !ruby/object:Gem::Version
302
+ version: 3.0.0
303
+ required_rubygems_version: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - ">="
306
+ - !ruby/object:Gem::Version
307
+ version: '0'
308
+ requirements: []
309
+ rubygems_version: 3.5.9
310
+ signing_key:
311
+ specification_version: 4
312
+ summary: Craby is just a quick test suite setup for Rails application
313
+ test_files: []