my_help 0.7.4 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,8 @@ class OrgToYaml
37
37
 
38
38
  def org_to_yaml(lines)
39
39
  lines.each do |line|
40
- if m = line.match(/^\* (.+)/)
40
+ m = line.force_encoding(Encoding::UTF_8).match(/^\* (.+)/u)
41
+ if m
41
42
  next_cont m[1]
42
43
  else
43
44
  @conts << line
@@ -1,3 +1,3 @@
1
1
  module MyHelp
2
- VERSION = "0.7.4"
2
+ VERSION = "0.8.6"
3
3
  end
@@ -1,24 +1,24 @@
1
1
  # Ensure we require the local version and not one we might have installed already
2
2
  require File.join([File.dirname(__FILE__),'lib','my_help','version.rb'])
3
- spec = Gem::Specification.new do |s|
3
+ spec = Gem::Specification.new do |s|
4
4
  s.name = 'my_help'
5
5
  s.version = MyHelp::VERSION
6
- s.author = 'Your Name Here'
7
- s.email = 'your@email.address.com'
8
- s.homepage = 'http://your.website.com'
6
+ s.author = 'Shigeot R. Nishitani'
7
+ s.email = ''
8
+ s.homepage = 'https://github.com/daddygongon/my_help'
9
9
  s.platform = Gem::Platform::RUBY
10
- s.summary = 'A description of your project'
11
- s.files = `git ls-files`.split("
12
- ")
13
- s.require_paths << 'lib'
14
- s.has_rdoc = true
15
- s.extra_rdoc_files = ['README.rdoc','my_help.rdoc']
16
- s.rdoc_options << '--title' << 'my_help' << '--main' << 'README.rdoc' << '-ri'
17
- s.bindir = 'bin'
18
- s.executables << 'my_help'
10
+ s.license = "MIT"
11
+ s.summary = %q{user building help}
12
+ s.description = %q{user building help}
13
+ s.files = `git ls-files -z`.split("\x0").reject do |f|
14
+ f.match(%r{^(test|spec|features)/})
15
+ end
16
+ s.require_paths = ["lib"]
17
+ s.bindir = "exe"
18
+ s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  s.add_development_dependency('rake')
20
- s.add_development_dependency('rdoc')
21
- s.add_development_dependency('aruba')
22
- s.add_runtime_dependency('gli','2.17.1')
20
+ s.add_development_dependency('rspec')
21
+ s.add_runtime_dependency('thor')
23
22
  s.add_runtime_dependency "colorize"
23
+ s.add_runtime_dependency "command_line"
24
24
  end
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
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
- - Your Name Here
7
+ - Shigeot R. Nishitani
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-26 00:00:00.000000000 Z
11
+ date: 2020-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rdoc
28
+ name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,13 +39,13 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: aruba
42
+ name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
- type: :development
48
+ type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
@@ -53,21 +53,21 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: gli
56
+ name: colorize
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 2.17.1
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 2.17.1
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: colorize
70
+ name: command_line
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -80,19 +80,23 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description:
84
- email: your@email.address.com
83
+ description: user building help
84
+ email: ''
85
85
  executables:
86
86
  - my_help
87
+ - my_help_gli
87
88
  extensions: []
88
- extra_rdoc_files:
89
- - README.rdoc
90
- - my_help.rdoc
89
+ extra_rdoc_files: []
91
90
  files:
92
91
  - ".dockerignore"
93
92
  - ".gitignore"
94
- - ".ruby-version"
93
+ - ".rspec"
95
94
  - ".travis.yml"
95
+ - ".yardoc/checksums"
96
+ - ".yardoc/complete"
97
+ - ".yardoc/object_types"
98
+ - ".yardoc/objects/root.dat"
99
+ - ".yardoc/proxy_types"
96
100
  - Gemfile
97
101
  - Gemfile.lock
98
102
  - LICENSE.txt
@@ -101,8 +105,26 @@ files:
101
105
  - README.rdoc
102
106
  - README_en.org
103
107
  - Rakefile
104
- - Rakefile_gli
105
- - bin/my_help
108
+ - bin/my_help_thor
109
+ - doc/MyHelp.html
110
+ - doc/MyHelp/Control.html
111
+ - doc/OrgToYaml.html
112
+ - doc/_index.html
113
+ - doc/class_list.html
114
+ - doc/css/common.css
115
+ - doc/css/full_list.css
116
+ - doc/css/style.css
117
+ - doc/file.README.html
118
+ - doc/file_list.html
119
+ - doc/frames.html
120
+ - doc/index.html
121
+ - doc/js/app.js
122
+ - doc/js/full_list.js
123
+ - doc/js/jquery.js
124
+ - doc/method_list.html
125
+ - doc/top-level-namespace.html
126
+ - exe/my_help
127
+ - exe/my_help_gli
106
128
  - lib/my_help.rb
107
129
  - lib/my_help/my_help_controll.rb
108
130
  - lib/my_help/org2yml.rb
@@ -113,20 +135,14 @@ files:
113
135
  - lib/templates/org.org
114
136
  - lib/templates/todo.org
115
137
  - my_help.gemspec
116
- - my_help.rdoc
117
- homepage: http://your.website.com
118
- licenses: []
138
+ homepage: https://github.com/daddygongon/my_help
139
+ licenses:
140
+ - MIT
119
141
  metadata: {}
120
142
  post_install_message:
121
- rdoc_options:
122
- - "--title"
123
- - my_help
124
- - "--main"
125
- - README.rdoc
126
- - "-ri"
143
+ rdoc_options: []
127
144
  require_paths:
128
145
  - lib
129
- - lib
130
146
  required_ruby_version: !ruby/object:Gem::Requirement
131
147
  requirements:
132
148
  - - ">="
@@ -138,9 +154,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
154
  - !ruby/object:Gem::Version
139
155
  version: '0'
140
156
  requirements: []
141
- rubyforge_project:
142
- rubygems_version: 2.6.14
157
+ rubygems_version: 3.1.2
143
158
  signing_key:
144
159
  specification_version: 4
145
- summary: A description of your project
160
+ summary: user building help
146
161
  test_files: []
@@ -1 +0,0 @@
1
- 2.4.3
@@ -1,44 +0,0 @@
1
- require 'rake/clean'
2
- require 'rubygems'
3
- require 'rubygems/package_task'
4
- require 'rdoc/task'
5
- require 'cucumber'
6
- require 'cucumber/rake/task'
7
- Rake::RDocTask.new do |rd|
8
- rd.main = "README.rdoc"
9
- rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
10
- rd.title = 'Your application title'
11
- end
12
-
13
- spec = eval(File.read('my_help.gemspec'))
14
-
15
- Gem::PackageTask.new(spec) do |pkg|
16
- end
17
- CUKE_RESULTS = 'results.html'
18
- CLEAN << CUKE_RESULTS
19
- desc 'Run features'
20
- Cucumber::Rake::Task.new(:features) do |t|
21
- opts = "features --format html -o #{CUKE_RESULTS} --format progress -x"
22
- opts += " --tags #{ENV['TAGS']}" if ENV['TAGS']
23
- t.cucumber_opts = opts
24
- t.fork = false
25
- end
26
-
27
- desc 'Run features tagged as work-in-progress (@wip)'
28
- Cucumber::Rake::Task.new('features:wip') do |t|
29
- tag_opts = ' --tags ~@pending'
30
- tag_opts = ' --tags @wip'
31
- t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format pretty -x -s#{tag_opts}"
32
- t.fork = false
33
- end
34
-
35
- task :cucumber => :features
36
- task 'cucumber:wip' => 'features:wip'
37
- task :wip => 'features:wip'
38
- require 'rake/testtask'
39
- Rake::TestTask.new do |t|
40
- t.libs << "test"
41
- t.test_files = FileList['test/*_test.rb']
42
- end
43
-
44
- task :default => [:test,:features]
@@ -1,5 +0,0 @@
1
- = my_help
2
-
3
- Generate this with
4
- my_help rdoc
5
- After you have described your command line interface