rspec_generate_doc 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c961f9a41a1783abb5a536203a0ea01388fcb50
|
4
|
+
data.tar.gz: 5e439dbf200b73cf46621367524e1d5103e17faf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6211ca7f3cf75483da83940311c6289f10cb29d2cf9b44564cedfc735cdd423c205ac3ec60c6621f81be2a61fe89b16bd762eb437505c6ddcea7c5a94c06e345
|
7
|
+
data.tar.gz: c714b0d19b485982b3df202f7327cb4bca5c55c5189bf413d6cbe736f3e7cba2dfae2afa84217996045e5e9f61c367fa9b16e8966767dbcfb54c311ae4b825bd
|
@@ -10,7 +10,7 @@ module RspecGenerateDoc
|
|
10
10
|
::RSpec.configure do |config|
|
11
11
|
config.before(:context) do
|
12
12
|
@actions = []
|
13
|
-
@
|
13
|
+
@is_incorrect_type = self.class.metadata[:type] != CORRECT_TYPE
|
14
14
|
end
|
15
15
|
|
16
16
|
config.after(:each) do
|
@@ -31,7 +31,7 @@ module RspecGenerateDoc
|
|
31
31
|
end
|
32
32
|
|
33
33
|
config.after(:context) do
|
34
|
-
next
|
34
|
+
next if @is_incorrect_type
|
35
35
|
parent = self.class.top_level_description
|
36
36
|
RspecGenerateDoc::GenarateFIle.new(parent: parent, actions: @actions).create_file_by_template
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_generate_doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Kutyavin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|