capy-spec 0.0.2 → 0.0.3

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: 76f3813effafc439f3d8a05b51207591b72a99b34f44e52a2e68f2624ba3b308
4
- data.tar.gz: 9d4ebd8c6a9f64551ec6142454163ea7ec4c63ccd8b7b79d66ea8a5522978aed
3
+ metadata.gz: 4d2e001cca5170170edc21465eb2be9bc8cb710abc18d61e211f348556af7e22
4
+ data.tar.gz: edbe024b4317bc080d4419a85bfe2cf7fdc9d1ecfa327a87d0817adb04388d0b
5
5
  SHA512:
6
- metadata.gz: 6f588ea41824da65e5fda6b4113e4a1f49d0d1402eed09d333e63bb5b0adcacb4d2491f4542d00560b6324847c530e512881c93f4855e6d7d9a2f9eab650ca57
7
- data.tar.gz: c78e6599358169e9683334df4fb42f0228b45cc2f04cc7a98333091e5ed80db38f847447e42c8f99fccb48a6d116be78b79c4acf07264576103b5c8ac8b36c87
6
+ metadata.gz: 452b854d5ee925fa0d65b4d7161c5367b9bc888b49235e625df99729cbb1c0fa0705e412aa24da3881eb505ee6803cf66a7ff6f83034ae65f5f498ccc99916a7
7
+ data.tar.gz: d30d90464693ef640cce01a6adc6a78e2f9abff474bf7eb8ea66309069199810c1d1ebd24bc6f6a1bd75460fa742f134e1262699c535a5cade80ac766e1e4028
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CapySpec
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Walmir Neto