githelp 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/githelp +7 -0
- 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: 1cddff1bcdf7e6a211e042ac3fb08fe49ce1aed873f4b5793c316aeee4831c16
|
4
|
+
data.tar.gz: bc47d4cad05c4123c9af35416e1451b3fe97a55e8f26df7101af509666cbb100
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cb96644c564582264389b052629eeb17327852f6076157ec8d8ec34f8e2f4193b264dec7e9e744715f94c8c49a30c92f13804dc5757ce0529541efff9d3cea9
|
7
|
+
data.tar.gz: 551b5a4b5279ceb429a1bbecb76380a331d0373d1abf58f183901a5a04046e9a96d1326bc43a62a9f282c4cf386449b1c3a7db4a5c9ee958feadeb9f80a0d919
|
data/exe/githelp
CHANGED
@@ -9,6 +9,13 @@ require 'json'
|
|
9
9
|
|
10
10
|
DATAFILE = File.expand_path("~/.githelp")
|
11
11
|
|
12
|
+
if !File.exist?(DATAFILE)
|
13
|
+
STDERR.puts "GitHelpデータ「#{DATAFILE}」が存在しません。"
|
14
|
+
STDERR.puts "getghdata コマンドで作成して下さい。"
|
15
|
+
exit
|
16
|
+
end
|
17
|
+
|
18
|
+
|
12
19
|
data = JSON.parse(File.read(DATAFILE))
|
13
20
|
|
14
21
|
#
|
data/lib/githelp/version.rb
CHANGED