capy-spec 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capy-spec.gemspec +2 -0
- data/lib/capy_spec/all.rb +0 -1
- data/lib/capy_spec/version.rb +1 -1
- data/lib/capy_spec/webmock.rb +3 -0
- data/lib/capy_spec.rb +10 -0
- metadata +16 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d2e001cca5170170edc21465eb2be9bc8cb710abc18d61e211f348556af7e22
|
4
|
+
data.tar.gz: edbe024b4317bc080d4419a85bfe2cf7fdc9d1ecfa327a87d0817adb04388d0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 452b854d5ee925fa0d65b4d7161c5367b9bc888b49235e625df99729cbb1c0fa0705e412aa24da3881eb505ee6803cf66a7ff6f83034ae65f5f498ccc99916a7
|
7
|
+
data.tar.gz: d30d90464693ef640cce01a6adc6a78e2f9abff474bf7eb8ea66309069199810c1d1ebd24bc6f6a1bd75460fa742f134e1262699c535a5cade80ac766e1e4028
|
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
data/lib/capy_spec/version.rb
CHANGED
data/lib/capy_spec.rb
CHANGED
@@ -4,4 +4,14 @@ require_relative "capy_spec/version"
|
|
4
4
|
|
5
5
|
module CapySpec
|
6
6
|
class Error < StandardError; end
|
7
|
+
|
8
|
+
class Setup
|
9
|
+
DEFAULT_FILES = ["capy_spec/all"]
|
10
|
+
|
11
|
+
class << self
|
12
|
+
def call(files = DEFAULT_FILES)
|
13
|
+
files.each { |file| require file }
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
7
17
|
end
|
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.
|
4
|
+
version: 0.0.3
|
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:
|