githelp 0.2.15 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/githelp +8 -1
- data/lib/githelp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9170af6dd82c78abc8f10dd2bdf76985e9258cb5aa896e62f96b8d7c7634a437
|
4
|
+
data.tar.gz: fb2629186d59ec4c96500dc272e3a665054b0707fb8074a7b2bd9d32b128a087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7be8932bf705098eede633aacf2afe288563be3fdc31b9b4baacdd456d547c39faed0896eeacec4d48179918b9b65bfe1513bec10e4f57eb9381c440be669dd6
|
7
|
+
data.tar.gz: 04fd2caa6229ee66ca86d9840037566c27aea3753afb6e54a2022272c5f1228f5072c940ef0d3af11e95577f3315b6726df0905c5d22800f00ab9e831325b11e
|
data/exe/githelp
CHANGED
@@ -77,11 +77,18 @@ class GitHelp
|
|
77
77
|
puts "-----------------GitHelpデータを検出"
|
78
78
|
@pagedata.each { |title,pagedata|
|
79
79
|
puts "...#{title}"
|
80
|
+
processing_defs = false
|
80
81
|
pagedata.each { |line|
|
81
82
|
if line =~ /^\s*[\$\%]/
|
82
83
|
puts line
|
83
|
-
|
84
|
+
if line =~ /^\%/ && !processing_defs
|
85
|
+
puts "'$'で始まる用例定義なしでコマンドを定義しようとしています"
|
86
|
+
exit
|
87
|
+
end
|
84
88
|
dumpdata['defs'] << line
|
89
|
+
processing_defs = true
|
90
|
+
else
|
91
|
+
processing_defs = false
|
85
92
|
end
|
86
93
|
}
|
87
94
|
}
|
data/lib/githelp/version.rb
CHANGED