hobby-devtools 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: f365b8dc9b7a42cdd4b36d05909bbf860082a5e4
4
- data.tar.gz: 076cf6b86e8e6380e244672c72a5a167326c124e
3
+ metadata.gz: bcb7b948a9a0b3a9f557a3ec1f6d98db72ac05c1
4
+ data.tar.gz: 2be06b8da2db013bfdc9cfa2e36486a1551b18aa
5
5
  SHA512:
6
- metadata.gz: 1254a90960ed04e658e129e666e439f4fd9f823910e5dbc39b46b4708e1ef277274ba35b4798de21cf092265648a68a1c79110d0f7f7bc36398f3d4dfe1df8de
7
- data.tar.gz: 973f50408d18a2c59d1a0cc99e366b33035269482ddd837224367677451a4852d37ab60e81c9f66ee34505e3abc6a0600f31d06702462545cc89b52176a8a3b6
6
+ metadata.gz: 84b09d76ab068c5b15c456d24e93baee669ad59a1de9bdb0d6e56ad1b1f0ed292745ceb0c7f2ed920685d599e3b1060a3e5bbeb11b875c5d1342a0b7a16e3df5
7
+ data.tar.gz: 66b2c00ca955c1942e261f4216e0ca473360f8033e239e0b8df10b9b77be3568d6270f757861ca5f70229c48c974d0da71c3d15111d781852773341e6bd72282
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |g|
2
2
  g.name = 'hobby-devtools'
3
3
  g.files = `git ls-files`.split($/)
4
- g.version = '0.0.4'
4
+ g.version = '0.0.5'
5
5
  g.summary = 'My setup for development of Hobby-related projects.'
6
6
  g.authors = ['Anatoly Chernow']
7
7
 
@@ -7,7 +7,8 @@ module Hobby
7
7
 
8
8
  def initialize &block
9
9
  instance_exec &block
10
- @specs.each do |file|
10
+
11
+ Dir["#{path}/**/*.yml"].each do |file|
11
12
  test = Hobby::Test.from_file file
12
13
  ::RSpec.describe [test, @app] do
13
14
  before :each do |example|
@@ -39,8 +40,9 @@ module Hobby
39
40
  @app = block
40
41
  end
41
42
 
43
+ attr_reader :path
42
44
  def path string = 'spec/http'
43
- @specs = Dir["#{string}/**/*.yml"]
45
+ @path = string
44
46
  end
45
47
  end
46
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobby-devtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Chernow