githelp 0.2.6 → 0.2.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/githelp +7 -0
  3. data/lib/githelp/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23f87b424f3e789a0d4640e6e8eb146c5032b5c0d09bec9fd6be602a5c8a055e
4
- data.tar.gz: cb9ad9cd24deb93ac6350a0625d32ed303388ad066c2a9fdffee21deb942db74
3
+ metadata.gz: 1cddff1bcdf7e6a211e042ac3fb08fe49ce1aed873f4b5793c316aeee4831c16
4
+ data.tar.gz: bc47d4cad05c4123c9af35416e1451b3fe97a55e8f26df7101af509666cbb100
5
5
  SHA512:
6
- metadata.gz: c64303a82989749874f2ece88aa3854b09e9e3c60c8f83ae366e5c26ead0ebb9495b599cd201377f98d4db605a51b98a0e8d3cc353f55ce0aff1a240da79d3fa
7
- data.tar.gz: 597a83d03eaabd66047fc9f63cbe98084bc6bf296900da57f5669c66a802097ddf6f67b96583608452a2e7aeafafc0d07c8c7a09158ef1f6b00668850ffea119
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
  #
@@ -1,3 +1,3 @@
1
1
  module GitHelp
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githelp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshiyuki Masui