my_help 0.7.2 → 0.7.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 +4 -4
- data/lib/my_help/my_help_controll.rb +3 -3
- data/lib/my_help/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00ab80b795e0ce6aae70eedb6b7ba6ad160d6168
|
|
4
|
+
data.tar.gz: 71a8f4988af8b59cd09c937d4bdb18caed8f9762
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3afc448018c0b85438c1202ffa49419a8128a9cec80b79556bb16aa4311b8ed193d40cbeb9d170ddcca357220a85d085837af3df1922045fe3035803bf372cca
|
|
7
|
+
data.tar.gz: ac79faa66dc78daf731f96f9d6b49b52694ebf02dd5d3267fa66ffe6503f22fe53b047458b6c492aee4b99395157ff4dfb9e3bf2e97a6a7c0ab0ac26fcdf46f8
|
|
@@ -75,8 +75,8 @@ module MyHelp
|
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
def edit_help(file)
|
|
78
|
-
target_help = File.join(@local_help_dir,file+'.org')
|
|
79
|
-
if local_help_entries.member?(
|
|
78
|
+
p target_help = File.join(@local_help_dir,file+'.org')
|
|
79
|
+
if local_help_entries.member?(file+'.org')
|
|
80
80
|
system "emacs #{target_help}"
|
|
81
81
|
else
|
|
82
82
|
puts "file #{target_help} does not exits in #{@local_help_dir}."
|
|
@@ -117,7 +117,7 @@ module MyHelp
|
|
|
117
117
|
entries= []
|
|
118
118
|
Dir.entries(@local_help_dir).each{|file|
|
|
119
119
|
# next unless file.include?('_')
|
|
120
|
-
|
|
120
|
+
next if file[0]=='#' or file[-1]=='~' or file[0]=='.'
|
|
121
121
|
# next if file.match(/(.+)_e\.org/) # OK?
|
|
122
122
|
# next if file.match(/(.+)\.html/)
|
|
123
123
|
if file.match(/(.+)\.org$/) # OK?
|
data/lib/my_help/version.rb
CHANGED
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.7.
|
|
4
|
+
version: 0.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Your Name Here
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|