my_help 0.3.5 → 0.3.6

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: 014fbede934cc33fbfd7c6615044ff2f71d634dd
4
- data.tar.gz: 2e39163bc019705f1a3d505f854afcb916dfe89b
3
+ metadata.gz: ffb0169e0d02c476a05e62ad523d0444a2243dbe
4
+ data.tar.gz: 3ab2e7fec849808e371695e73a2e75ba80071d42
5
5
  SHA512:
6
- metadata.gz: 50e25c3ed6cd53d978f3733a3cf9ba09839f4b3d6d60dd35acd2ffb9cd472dcc21279dee06ac77401367c40a036b0e956dfcb92c748e0df52cb4cfcf0d2302bf
7
- data.tar.gz: 6339ebd3a21123d9690613bdc960c7d1df18b9700b81887b15fc2a973bfdb804155f925b8ee34e7141c81f3dd672085d338c14c9a83b1f6386609fa732980b75
6
+ metadata.gz: f4387a63b79c297c310fbd9216ec40da2803dd5d5dd8d707b6b267e4ea38228074a21e0ae02e4f53b871d4f84b25e64ec756a9a5a491c2b4806bebfa3e4c7c76
7
+ data.tar.gz: a5b4f5b2dbe3f614483a98151fabedbc31f0269deb95ab64ad1abf1405acf3574bc61f4bb11cfe1745f4ead6ba24990fe340df09fc60ce66d16404666772b236
data/README.md CHANGED
@@ -118,8 +118,7 @@ my_help/lib/daddygongon
118
118
  にあります.このあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
119
119
 
120
120
  ## 独自helpを使えるように
121
- (これは,-mで自動的に行われるように修正されています)
122
- 最後,my_helpのdirectoryで
121
+ これは,-mで自動的に行われるように修正しましたが,gem環境によっては正常にinstallできません.その場合は,いかにしたがって,手動で/usr/local/binなどにinstallする必要があります.my_helpのdirectoryで
123
122
  ```
124
123
  git add -A
125
124
  git commit -m 'add new help'
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ task :clean_exe do
19
19
  files = Dir.entries('exe')
20
20
  files.each{|file|
21
21
  next if ["my_help",".","..",".DS_Store",
22
- "emacs_help","e_h"].include?(file)
22
+ "emacs_help","e_h","git_help"].include?(file)
23
23
  FileUtils.rm(File.join('./exe',file), :verbose=>true)
24
24
  }
25
25
  end
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require 'specific_help'
3
+ help_file = File.join(ENV['HOME'],'.my_help','git_help')
4
+ SpecificHelp::Command.run(help_file, ARGV)
@@ -114,8 +114,7 @@ YAML形式で,格納されています.サンプルが,
114
114
  にあります.このあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
115
115
 
116
116
  !!独自helpを使えるように
117
- (これは,-mで自動的に行われるように修正されています)
118
- 最後,my_helpのdirectoryで
117
+ これは,-mで自動的に行われるように修正しましたが,gem環境によっては正常にinstallできません.その場合は,いかにしたがって,手動で/usr/local/binなどにinstallする必要があります.my_helpのdirectoryで
119
118
  <<<
120
119
  git add -A
121
120
  git commit -m 'add new help'
@@ -0,0 +1,30 @@
1
+ ---
2
+ :head:
3
+ - git help
4
+ :license:
5
+ - " cc by Shigeto R. Nishitani, 2016"
6
+ :proxy:
7
+ :opts:
8
+ :short: "-p"
9
+ :long: "--proxy"
10
+ :desc: proxy
11
+ :title: proxy
12
+ :cont:
13
+ - 'tsch: setenv http_proxy http://proxy.kwansei.ac.jp:8080'
14
+ - 'tsch: setenv https_proxy http://proxy.kwansei.ac.jp:8080'
15
+ - 'zch: export http_proxy=http://proxy.kwansei.ac.jp:8080'
16
+ - 'zch: export https_proxy=http://proxy.kwansei.ac.jp:8080'
17
+ :basic:
18
+ :opts:
19
+ :short: "-b"
20
+ :long: "--basic"
21
+ :desc: basic
22
+ :title: basic
23
+ :cont:
24
+ - Fork from https://github.com/daddygongon/my_help
25
+ - "git clone git@github.com:[hogehoge]/my_help.git"
26
+ - cd my_help
27
+ - git add -A
28
+ - git commit -m 'first commit'
29
+ - git push origin master
30
+ - git pull origin master
@@ -26,8 +26,8 @@
26
26
  :desc: text
27
27
  :title: text
28
28
  :cont:
29
- - |
30
- text line0
31
- text line1
29
+ - text line0
30
+ - text line1
31
+
32
32
 
33
33
 
@@ -2,10 +2,8 @@
2
2
  require "optparse"
3
3
  require "yaml"
4
4
  require "fileutils"
5
- #require "emacs_help/version"
6
5
  require "my_help/version"
7
6
  require "systemu"
8
- #require "emacs_help"
9
7
 
10
8
  module MyHelp
11
9
  class Command
@@ -25,6 +23,7 @@ module MyHelp
25
23
  return if File::exists?(@local_help_dir)
26
24
  FileUtils.mkdir_p(@local_help_dir, :verbose=>true)
27
25
  Dir.entries(@default_help_dir).each{|file|
26
+ next if file=='template_help'
28
27
  file_path=File.join(@local_help_dir,file)
29
28
  next if File::exists?(file_path)
30
29
  FileUtils.cp((File.join(@default_help_dir,file)),@local_help_dir,:verbose=>true)
@@ -110,7 +109,7 @@ module MyHelp
110
109
  def clean_exe
111
110
  local_help_entries.each{|file|
112
111
  next if file.include?('emacs_help') or file.include?('e_h')
113
- # next if file.include?('template_help') or file.include?('t_h')
112
+ next if file.include?('git_help') or file.include?('t_h')
114
113
  [file, short_name(file)].each{|name|
115
114
  p target=File.join('exe',name)
116
115
  FileUtils::Verbose.rm(target)
@@ -1,3 +1,3 @@
1
1
  module MyHelp
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
@@ -118,8 +118,7 @@ my_help/lib/daddygongon
118
118
  にあります.このあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
119
119
 
120
120
  ## 独自helpを使えるように
121
- (これは,-mで自動的に行われるように修正されています)
122
- 最後,my_helpのdirectoryで
121
+ これは,-mで自動的に行われるように修正しましたが,gem環境によっては正常にinstallできません.その場合は,いかにしたがって,手動で/usr/local/binなどにinstallする必要があります.my_helpのdirectoryで
123
122
  ```
124
123
  git add -A
125
124
  git commit -m 'add new help'
@@ -118,8 +118,7 @@ my_help/lib/daddygongon
118
118
  にあります.このあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
119
119
 
120
120
  ## 独自helpを使えるように
121
- (これは,-mで自動的に行われるように修正されています)
122
- 最後,my_helpのdirectoryで
121
+ これは,-mで自動的に行われるように修正しましたが,gem環境によっては正常にinstallできません.その場合は,いかにしたがって,手動で/usr/local/binなどにinstallする必要があります.my_helpのdirectoryで
123
122
  ```
124
123
  git add -A
125
124
  git commit -m 'add new help'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_help
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shigeto R. Nishitani
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2016-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,6 +128,7 @@ email:
128
128
  executables:
129
129
  - e_h
130
130
  - emacs_help
131
+ - git_help
131
132
  - my_help
132
133
  extensions: []
133
134
  extra_rdoc_files: []
@@ -145,6 +146,7 @@ files:
145
146
  - bin/setup
146
147
  - exe/e_h
147
148
  - exe/emacs_help
149
+ - exe/git_help
148
150
  - exe/my_help
149
151
  - hikis/README_en.hiki
150
152
  - hikis/README_ja.hiki
@@ -152,6 +154,7 @@ files:
152
154
  - hikis/template_help.hiki
153
155
  - latexes/handout_pre.tex
154
156
  - lib/daddygongon/emacs_help
157
+ - lib/daddygongon/git_help
155
158
  - lib/daddygongon/template_help
156
159
  - lib/emacs_help.rb
157
160
  - lib/my_help.rb