capy-spec 0.0.1 → 0.0.2

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: 14e47ef1df6209dfeaed4a479d6c3a1bc924262547db85cd4d02cab2fbd6fcf7
4
- data.tar.gz: c79e91903c67a2341e1e44d141a15b073d1f1120fc122b7b1e9446c67ce8935d
3
+ metadata.gz: 76f3813effafc439f3d8a05b51207591b72a99b34f44e52a2e68f2624ba3b308
4
+ data.tar.gz: 9d4ebd8c6a9f64551ec6142454163ea7ec4c63ccd8b7b79d66ea8a5522978aed
5
5
  SHA512:
6
- metadata.gz: cd5e6f235fcc1cd8ad8bd22543c91f150a4a1b60a0834d688f1cda1ebfc6ef9fa2df7a314987127af49c3309d0a71ba6fd0b454428d60a29ac3df7eefb0f3009
7
- data.tar.gz: 44165ed7f6ecb58b838c55a785af5bc4e30c413c153b693cca62620c079c1ba374df40aeddf6793a2b14134bbfa4e92a9d0766a1cefbb693920e59ae29aa2a93
6
+ metadata.gz: 6f588ea41824da65e5fda6b4113e4a1f49d0d1402eed09d333e63bb5b0adcacb4d2491f4542d00560b6324847c530e512881c93f4855e6d7d9a2f9eab650ca57
7
+ data.tar.gz: c78e6599358169e9683334df4fb42f0228b45cc2f04cc7a98333091e5ed80db38f847447e42c8f99fccb48a6d116be78b79c4acf07264576103b5c8ac8b36c87
data/capy-spec.gemspec CHANGED
@@ -63,4 +63,6 @@ Gem::Specification.new do |spec|
63
63
  spec.add_dependency "simplecov", "~> 0.22.0"
64
64
  # https://github.com/vicentllongo/simplecov-json#usage
65
65
  spec.add_dependency "simplecov-json", "~> 0.2.3"
66
+ # https://github.com/bblimke/webmock#rspec
67
+ spec.add_dependency "webmock", "~> 3.19"
66
68
  end
data/lib/capy_spec/all.rb CHANGED
@@ -6,6 +6,5 @@ require "capy_spec/factory_bot"
6
6
  require "capy_spec/faker"
7
7
  require "capy_spec/rubocop"
8
8
  require "capy_spec/shoulda_matchers"
9
- require "capy_spec/simplecov"
10
9
 
11
10
  require "capy_spec/rails_helper"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CapySpec
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
@@ -0,0 +1,3 @@
1
+ require "webmock/rspec"
2
+
3
+ WebMock.disable_net_connect!(allow_localhost: true)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capy-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Walmir Neto
@@ -234,6 +234,20 @@ dependencies:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
236
  version: 0.2.3
237
+ - !ruby/object:Gem::Dependency
238
+ name: webmock
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '3.19'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '3.19'
237
251
  description:
238
252
  email:
239
253
  - owalmirneto@gmail.com
@@ -261,6 +275,7 @@ files:
261
275
  - lib/capy_spec/simplecov.rb
262
276
  - lib/capy_spec/spec_helper.rb
263
277
  - lib/capy_spec/version.rb
278
+ - lib/capy_spec/webmock.rb
264
279
  - sig/capy/spec.rbs
265
280
  homepage: https://github.com/LavendaSoftware/capy-spec
266
281
  licenses: