thor 0.18.1 → 0.19.0
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 +7 -0
- data/README.md +13 -7
- data/Thorfile +4 -5
- data/bin/thor +1 -1
- data/lib/thor.rb +78 -67
- data/lib/thor/actions.rb +57 -56
- data/lib/thor/actions/create_file.rb +33 -35
- data/lib/thor/actions/create_link.rb +2 -3
- data/lib/thor/actions/directory.rb +37 -38
- data/lib/thor/actions/empty_directory.rb +67 -69
- data/lib/thor/actions/file_manipulation.rb +17 -15
- data/lib/thor/actions/inject_into_file.rb +27 -29
- data/lib/thor/base.rb +193 -189
- data/lib/thor/command.rb +20 -23
- data/lib/thor/core_ext/hash_with_indifferent_access.rb +21 -24
- data/lib/thor/core_ext/io_binary_read.rb +2 -4
- data/lib/thor/core_ext/ordered_hash.rb +9 -11
- data/lib/thor/error.rb +5 -1
- data/lib/thor/group.rb +53 -54
- data/lib/thor/invocation.rb +44 -38
- data/lib/thor/line_editor.rb +17 -0
- data/lib/thor/line_editor/basic.rb +35 -0
- data/lib/thor/line_editor/readline.rb +88 -0
- data/lib/thor/parser.rb +4 -4
- data/lib/thor/parser/argument.rb +28 -29
- data/lib/thor/parser/arguments.rb +102 -98
- data/lib/thor/parser/option.rb +26 -22
- data/lib/thor/parser/options.rb +86 -86
- data/lib/thor/rake_compat.rb +9 -10
- data/lib/thor/runner.rb +141 -141
- data/lib/thor/shell.rb +27 -34
- data/lib/thor/shell/basic.rb +91 -63
- data/lib/thor/shell/color.rb +44 -43
- data/lib/thor/shell/html.rb +59 -60
- data/lib/thor/util.rb +24 -27
- data/lib/thor/version.rb +1 -1
- data/spec/actions/create_file_spec.rb +25 -27
- data/spec/actions/create_link_spec.rb +19 -18
- data/spec/actions/directory_spec.rb +31 -31
- data/spec/actions/empty_directory_spec.rb +18 -18
- data/spec/actions/file_manipulation_spec.rb +38 -28
- data/spec/actions/inject_into_file_spec.rb +13 -13
- data/spec/actions_spec.rb +43 -43
- data/spec/base_spec.rb +45 -38
- data/spec/command_spec.rb +13 -14
- data/spec/core_ext/hash_with_indifferent_access_spec.rb +19 -19
- data/spec/core_ext/ordered_hash_spec.rb +6 -6
- data/spec/exit_condition_spec.rb +4 -4
- data/spec/fixtures/invoke.thor +19 -0
- data/spec/fixtures/script.thor +1 -1
- data/spec/group_spec.rb +30 -24
- data/spec/helper.rb +28 -15
- data/spec/invocation_spec.rb +39 -19
- data/spec/line_editor/basic_spec.rb +28 -0
- data/spec/line_editor/readline_spec.rb +69 -0
- data/spec/line_editor_spec.rb +43 -0
- data/spec/parser/argument_spec.rb +12 -12
- data/spec/parser/arguments_spec.rb +11 -11
- data/spec/parser/option_spec.rb +33 -25
- data/spec/parser/options_spec.rb +66 -52
- data/spec/quality_spec.rb +75 -0
- data/spec/rake_compat_spec.rb +10 -10
- data/spec/register_spec.rb +60 -30
- data/spec/runner_spec.rb +67 -62
- data/spec/sandbox/application.rb +2 -0
- data/spec/sandbox/app{1}/README +3 -0
- data/spec/sandbox/bundle/execute.rb +6 -0
- data/spec/sandbox/bundle/main.thor +1 -0
- data/spec/sandbox/command.thor +10 -0
- data/spec/sandbox/doc/%file_name%.rb.tt +1 -0
- data/spec/sandbox/doc/COMMENTER +11 -0
- data/spec/sandbox/doc/README +3 -0
- data/spec/sandbox/doc/block_helper.rb +3 -0
- data/spec/sandbox/doc/config.rb +1 -0
- data/spec/sandbox/doc/config.yaml.tt +1 -0
- data/spec/sandbox/doc/excluding/%file_name%.rb.tt +1 -0
- data/spec/sandbox/enum.thor +10 -0
- data/spec/sandbox/group.thor +128 -0
- data/spec/sandbox/invoke.thor +131 -0
- data/spec/sandbox/path with spaces b/data/spec/sandbox/path with → spaces +0 -0
- data/spec/sandbox/preserve/script.sh +3 -0
- data/spec/sandbox/script.thor +220 -0
- data/spec/sandbox/subcommand.thor +17 -0
- data/spec/shell/basic_spec.rb +107 -86
- data/spec/shell/color_spec.rb +32 -8
- data/spec/shell/html_spec.rb +3 -4
- data/spec/shell_spec.rb +7 -7
- data/spec/subcommand_spec.rb +20 -2
- data/spec/thor_spec.rb +111 -97
- data/spec/util_spec.rb +30 -30
- data/thor.gemspec +14 -14
- metadata +69 -25
data/spec/util_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require "helper"
|
2
2
|
|
3
3
|
module Thor::Util
|
4
4
|
def self.clear_user_home!
|
@@ -9,23 +9,23 @@ end
|
|
9
9
|
describe Thor::Util do
|
10
10
|
describe "#find_by_namespace" do
|
11
11
|
it "returns 'default' if no namespace is given" do
|
12
|
-
expect(Thor::Util.find_by_namespace(
|
12
|
+
expect(Thor::Util.find_by_namespace("")).to eq(Scripts::MyDefaults)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "adds 'default' if namespace starts with :" do
|
16
|
-
expect(Thor::Util.find_by_namespace(
|
16
|
+
expect(Thor::Util.find_by_namespace(":child")).to eq(Scripts::ChildDefault)
|
17
17
|
end
|
18
18
|
|
19
19
|
it "returns nil if the namespace can't be found" do
|
20
|
-
expect(Thor::Util.find_by_namespace(
|
20
|
+
expect(Thor::Util.find_by_namespace("thor:core_ext:ordered_hash")).to be nil
|
21
21
|
end
|
22
22
|
|
23
23
|
it "returns a class if it matches the namespace" do
|
24
|
-
expect(Thor::Util.find_by_namespace(
|
24
|
+
expect(Thor::Util.find_by_namespace("app:broken:counter")).to eq(BrokenCounter)
|
25
25
|
end
|
26
26
|
|
27
27
|
it "matches classes default namespace" do
|
28
|
-
expect(Thor::Util.find_by_namespace(
|
28
|
+
expect(Thor::Util.find_by_namespace("scripts:my_script")).to eq(Scripts::MyScript)
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
@@ -120,56 +120,56 @@ describe Thor::Util do
|
|
120
120
|
|
121
121
|
describe "#user_home" do
|
122
122
|
before do
|
123
|
-
ENV.
|
123
|
+
allow(ENV).to receive(:[])
|
124
124
|
Thor::Util.clear_user_home!
|
125
125
|
end
|
126
126
|
|
127
|
-
it "returns the user path if
|
127
|
+
it "returns the user path if no variable is set on the environment" do
|
128
128
|
expect(Thor::Util.user_home).to eq(File.expand_path("~"))
|
129
129
|
end
|
130
130
|
|
131
|
-
it "returns the *
|
132
|
-
File.
|
131
|
+
it "returns the *nix system path if file cannot be expanded and separator does not exist" do
|
132
|
+
expect(File).to receive(:expand_path).with("~").and_raise(RuntimeError)
|
133
133
|
previous_value = File::ALT_SEPARATOR
|
134
|
-
capture(:stderr){ File.const_set(:ALT_SEPARATOR, false) }
|
134
|
+
capture(:stderr) { File.const_set(:ALT_SEPARATOR, false) } # rubocop:disable SymbolName
|
135
135
|
expect(Thor::Util.user_home).to eq("/")
|
136
|
-
capture(:stderr){ File.const_set(:ALT_SEPARATOR, previous_value) }
|
136
|
+
capture(:stderr) { File.const_set(:ALT_SEPARATOR, previous_value) } # rubocop:disable SymbolName
|
137
137
|
end
|
138
138
|
|
139
139
|
it "returns the windows system path if file cannot be expanded and a separator exists" do
|
140
|
-
File.
|
140
|
+
expect(File).to receive(:expand_path).with("~").and_raise(RuntimeError)
|
141
141
|
previous_value = File::ALT_SEPARATOR
|
142
|
-
capture(:stderr){ File.const_set(:ALT_SEPARATOR, true) }
|
142
|
+
capture(:stderr) { File.const_set(:ALT_SEPARATOR, true) } # rubocop:disable SymbolName
|
143
143
|
expect(Thor::Util.user_home).to eq("C:/")
|
144
|
-
capture(:stderr){ File.const_set(:ALT_SEPARATOR, previous_value) }
|
144
|
+
capture(:stderr) { File.const_set(:ALT_SEPARATOR, previous_value) } # rubocop:disable SymbolName
|
145
145
|
end
|
146
146
|
|
147
147
|
it "returns HOME/.thor if set" do
|
148
|
-
ENV.
|
148
|
+
allow(ENV).to receive(:[]).with("HOME").and_return("/home/user/")
|
149
149
|
expect(Thor::Util.user_home).to eq("/home/user/")
|
150
150
|
end
|
151
151
|
|
152
152
|
it "returns path with HOMEDRIVE and HOMEPATH if set" do
|
153
|
-
ENV.
|
154
|
-
ENV.
|
153
|
+
allow(ENV).to receive(:[]).with("HOMEDRIVE").and_return("D:/")
|
154
|
+
allow(ENV).to receive(:[]).with("HOMEPATH").and_return("Documents and Settings/James")
|
155
155
|
expect(Thor::Util.user_home).to eq("D:/Documents and Settings/James")
|
156
156
|
end
|
157
157
|
|
158
158
|
it "returns APPDATA/.thor if set" do
|
159
|
-
ENV.
|
159
|
+
allow(ENV).to receive(:[]).with("APPDATA").and_return("/home/user/")
|
160
160
|
expect(Thor::Util.user_home).to eq("/home/user/")
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
164
164
|
describe "#thor_root_glob" do
|
165
165
|
before do
|
166
|
-
ENV.
|
166
|
+
allow(ENV).to receive(:[])
|
167
167
|
Thor::Util.clear_user_home!
|
168
168
|
end
|
169
169
|
|
170
170
|
it "escapes globs in path" do
|
171
|
-
ENV.
|
172
|
-
Dir.
|
171
|
+
allow(ENV).to receive(:[]).with("HOME").and_return("/home/user{1}/")
|
172
|
+
expect(Dir).to receive(:[]).with('/home/user\\{1\\}/.thor/*').and_return([])
|
173
173
|
expect(Thor::Util.thor_root_glob).to eq([])
|
174
174
|
end
|
175
175
|
end
|
@@ -177,20 +177,20 @@ describe Thor::Util do
|
|
177
177
|
describe "#globs_for" do
|
178
178
|
it "escapes globs in path" do
|
179
179
|
expect(Thor::Util.globs_for("/home/apps{1}")).to eq([
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
180
|
+
'/home/apps\\{1\\}/Thorfile',
|
181
|
+
'/home/apps\\{1\\}/*.thor',
|
182
|
+
'/home/apps\\{1\\}/tasks/*.thor',
|
183
|
+
'/home/apps\\{1\\}/lib/tasks/*.thor'
|
184
184
|
])
|
185
185
|
end
|
186
186
|
end
|
187
187
|
|
188
188
|
describe "#escape_globs" do
|
189
189
|
it "escapes ? * { } [ ] glob characters" do
|
190
|
-
expect(Thor::Util.escape_globs("apps?")).to eq(
|
191
|
-
expect(Thor::Util.escape_globs("apps*")).to eq(
|
192
|
-
expect(Thor::Util.escape_globs("apps {1}")).to eq(
|
193
|
-
expect(Thor::Util.escape_globs("apps [1]")).to eq(
|
190
|
+
expect(Thor::Util.escape_globs("apps?")).to eq('apps\\?')
|
191
|
+
expect(Thor::Util.escape_globs("apps*")).to eq('apps\\*')
|
192
|
+
expect(Thor::Util.escape_globs("apps {1}")).to eq('apps \\{1\\}')
|
193
|
+
expect(Thor::Util.escape_globs("apps [1]")).to eq('apps \\[1\\]')
|
194
194
|
end
|
195
195
|
end
|
196
196
|
end
|
data/thor.gemspec
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
lib = File.expand_path(
|
3
|
-
|
4
|
-
require
|
2
|
+
lib = File.expand_path("../lib/", __FILE__)
|
3
|
+
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
|
4
|
+
require "thor/version"
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.add_development_dependency
|
8
|
-
spec.authors = [
|
9
|
-
spec.description = %q
|
10
|
-
spec.email =
|
11
|
-
spec.executables = %w
|
12
|
-
spec.files = %w
|
7
|
+
spec.add_development_dependency "bundler", "~> 1.0"
|
8
|
+
spec.authors = ["Yehuda Katz", "José Valim"]
|
9
|
+
spec.description = %q(Thor is a toolkit for building powerful command-line interfaces.)
|
10
|
+
spec.email = "ruby-thor@googlegroups.com"
|
11
|
+
spec.executables = %w[thor]
|
12
|
+
spec.files = %w[.document CHANGELOG.md LICENSE.md README.md Thorfile thor.gemspec]
|
13
13
|
spec.files += Dir.glob("bin/**/*")
|
14
14
|
spec.files += Dir.glob("lib/**/*.rb")
|
15
15
|
spec.files += Dir.glob("spec/**/*")
|
16
|
-
spec.homepage =
|
17
|
-
spec.licenses = [
|
18
|
-
spec.name =
|
19
|
-
spec.require_paths = [
|
20
|
-
spec.required_rubygems_version =
|
16
|
+
spec.homepage = "http://whatisthor.com/"
|
17
|
+
spec.licenses = %w[MIT]
|
18
|
+
spec.name = "thor"
|
19
|
+
spec.require_paths = %w[lib]
|
20
|
+
spec.required_rubygems_version = ">= 1.3.5"
|
21
21
|
spec.summary = spec.description
|
22
22
|
spec.test_files = Dir.glob("spec/**/*")
|
23
23
|
spec.version = Thor::VERSION
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.19.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Yehuda Katz
|
@@ -10,45 +9,43 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-03-22 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: bundler
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- - ~>
|
18
|
+
- - "~>"
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '1.0'
|
23
21
|
type: :development
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- - ~>
|
25
|
+
- - "~>"
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '1.0'
|
31
|
-
description:
|
28
|
+
description: Thor is a toolkit for building powerful command-line interfaces.
|
32
29
|
email: ruby-thor@googlegroups.com
|
33
30
|
executables:
|
34
31
|
- thor
|
35
32
|
extensions: []
|
36
33
|
extra_rdoc_files: []
|
37
34
|
files:
|
38
|
-
- .document
|
35
|
+
- ".document"
|
39
36
|
- CHANGELOG.md
|
40
37
|
- LICENSE.md
|
41
38
|
- README.md
|
42
39
|
- Thorfile
|
43
|
-
- thor.gemspec
|
44
40
|
- bin/thor
|
41
|
+
- lib/thor.rb
|
42
|
+
- lib/thor/actions.rb
|
45
43
|
- lib/thor/actions/create_file.rb
|
46
44
|
- lib/thor/actions/create_link.rb
|
47
45
|
- lib/thor/actions/directory.rb
|
48
46
|
- lib/thor/actions/empty_directory.rb
|
49
47
|
- lib/thor/actions/file_manipulation.rb
|
50
48
|
- lib/thor/actions/inject_into_file.rb
|
51
|
-
- lib/thor/actions.rb
|
52
49
|
- lib/thor/base.rb
|
53
50
|
- lib/thor/command.rb
|
54
51
|
- lib/thor/core_ext/hash_with_indifferent_access.rb
|
@@ -57,20 +54,22 @@ files:
|
|
57
54
|
- lib/thor/error.rb
|
58
55
|
- lib/thor/group.rb
|
59
56
|
- lib/thor/invocation.rb
|
57
|
+
- lib/thor/line_editor.rb
|
58
|
+
- lib/thor/line_editor/basic.rb
|
59
|
+
- lib/thor/line_editor/readline.rb
|
60
|
+
- lib/thor/parser.rb
|
60
61
|
- lib/thor/parser/argument.rb
|
61
62
|
- lib/thor/parser/arguments.rb
|
62
63
|
- lib/thor/parser/option.rb
|
63
64
|
- lib/thor/parser/options.rb
|
64
|
-
- lib/thor/parser.rb
|
65
65
|
- lib/thor/rake_compat.rb
|
66
66
|
- lib/thor/runner.rb
|
67
|
+
- lib/thor/shell.rb
|
67
68
|
- lib/thor/shell/basic.rb
|
68
69
|
- lib/thor/shell/color.rb
|
69
70
|
- lib/thor/shell/html.rb
|
70
|
-
- lib/thor/shell.rb
|
71
71
|
- lib/thor/util.rb
|
72
72
|
- lib/thor/version.rb
|
73
|
-
- lib/thor.rb
|
74
73
|
- spec/actions/create_file_spec.rb
|
75
74
|
- spec/actions/create_link_spec.rb
|
76
75
|
- spec/actions/directory_spec.rb
|
@@ -89,12 +88,12 @@ files:
|
|
89
88
|
- spec/fixtures/bundle/main.thor
|
90
89
|
- spec/fixtures/command.thor
|
91
90
|
- spec/fixtures/doc/%file_name%.rb.tt
|
92
|
-
- spec/fixtures/doc/block_helper.rb
|
93
91
|
- spec/fixtures/doc/COMMENTER
|
92
|
+
- spec/fixtures/doc/README
|
93
|
+
- spec/fixtures/doc/block_helper.rb
|
94
94
|
- spec/fixtures/doc/config.rb
|
95
95
|
- spec/fixtures/doc/config.yaml.tt
|
96
96
|
- spec/fixtures/doc/excluding/%file_name%.rb.tt
|
97
|
-
- spec/fixtures/doc/README
|
98
97
|
- spec/fixtures/enum.thor
|
99
98
|
- spec/fixtures/group.thor
|
100
99
|
- spec/fixtures/invoke.thor
|
@@ -105,13 +104,36 @@ files:
|
|
105
104
|
- spec/group_spec.rb
|
106
105
|
- spec/helper.rb
|
107
106
|
- spec/invocation_spec.rb
|
107
|
+
- spec/line_editor/basic_spec.rb
|
108
|
+
- spec/line_editor/readline_spec.rb
|
109
|
+
- spec/line_editor_spec.rb
|
108
110
|
- spec/parser/argument_spec.rb
|
109
111
|
- spec/parser/arguments_spec.rb
|
110
112
|
- spec/parser/option_spec.rb
|
111
113
|
- spec/parser/options_spec.rb
|
114
|
+
- spec/quality_spec.rb
|
112
115
|
- spec/rake_compat_spec.rb
|
113
116
|
- spec/register_spec.rb
|
114
117
|
- spec/runner_spec.rb
|
118
|
+
- spec/sandbox/application.rb
|
119
|
+
- spec/sandbox/app{1}/README
|
120
|
+
- spec/sandbox/bundle/execute.rb
|
121
|
+
- spec/sandbox/bundle/main.thor
|
122
|
+
- spec/sandbox/command.thor
|
123
|
+
- spec/sandbox/doc/%file_name%.rb.tt
|
124
|
+
- spec/sandbox/doc/COMMENTER
|
125
|
+
- spec/sandbox/doc/README
|
126
|
+
- spec/sandbox/doc/block_helper.rb
|
127
|
+
- spec/sandbox/doc/config.rb
|
128
|
+
- spec/sandbox/doc/config.yaml.tt
|
129
|
+
- spec/sandbox/doc/excluding/%file_name%.rb.tt
|
130
|
+
- spec/sandbox/enum.thor
|
131
|
+
- spec/sandbox/group.thor
|
132
|
+
- spec/sandbox/invoke.thor
|
133
|
+
- spec/sandbox/path with spaces
|
134
|
+
- spec/sandbox/preserve/script.sh
|
135
|
+
- spec/sandbox/script.thor
|
136
|
+
- spec/sandbox/subcommand.thor
|
115
137
|
- spec/shell/basic_spec.rb
|
116
138
|
- spec/shell/color_spec.rb
|
117
139
|
- spec/shell/html_spec.rb
|
@@ -119,31 +141,31 @@ files:
|
|
119
141
|
- spec/subcommand_spec.rb
|
120
142
|
- spec/thor_spec.rb
|
121
143
|
- spec/util_spec.rb
|
144
|
+
- thor.gemspec
|
122
145
|
homepage: http://whatisthor.com/
|
123
146
|
licenses:
|
124
147
|
- MIT
|
148
|
+
metadata: {}
|
125
149
|
post_install_message:
|
126
150
|
rdoc_options: []
|
127
151
|
require_paths:
|
128
152
|
- lib
|
129
153
|
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
154
|
requirements:
|
132
|
-
- -
|
155
|
+
- - ">="
|
133
156
|
- !ruby/object:Gem::Version
|
134
157
|
version: '0'
|
135
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
159
|
requirements:
|
138
|
-
- -
|
160
|
+
- - ">="
|
139
161
|
- !ruby/object:Gem::Version
|
140
|
-
version: 1.3.
|
162
|
+
version: 1.3.5
|
141
163
|
requirements: []
|
142
164
|
rubyforge_project:
|
143
|
-
rubygems_version:
|
165
|
+
rubygems_version: 2.2.2
|
144
166
|
signing_key:
|
145
|
-
specification_version:
|
146
|
-
summary:
|
167
|
+
specification_version: 4
|
168
|
+
summary: Thor is a toolkit for building powerful command-line interfaces.
|
147
169
|
test_files:
|
148
170
|
- spec/actions/create_file_spec.rb
|
149
171
|
- spec/actions/create_link_spec.rb
|
@@ -179,13 +201,36 @@ test_files:
|
|
179
201
|
- spec/group_spec.rb
|
180
202
|
- spec/helper.rb
|
181
203
|
- spec/invocation_spec.rb
|
204
|
+
- spec/line_editor/basic_spec.rb
|
205
|
+
- spec/line_editor/readline_spec.rb
|
206
|
+
- spec/line_editor_spec.rb
|
182
207
|
- spec/parser/argument_spec.rb
|
183
208
|
- spec/parser/arguments_spec.rb
|
184
209
|
- spec/parser/option_spec.rb
|
185
210
|
- spec/parser/options_spec.rb
|
211
|
+
- spec/quality_spec.rb
|
186
212
|
- spec/rake_compat_spec.rb
|
187
213
|
- spec/register_spec.rb
|
188
214
|
- spec/runner_spec.rb
|
215
|
+
- spec/sandbox/application.rb
|
216
|
+
- spec/sandbox/app{1}/README
|
217
|
+
- spec/sandbox/bundle/execute.rb
|
218
|
+
- spec/sandbox/bundle/main.thor
|
219
|
+
- spec/sandbox/command.thor
|
220
|
+
- spec/sandbox/doc/%file_name%.rb.tt
|
221
|
+
- spec/sandbox/doc/block_helper.rb
|
222
|
+
- spec/sandbox/doc/COMMENTER
|
223
|
+
- spec/sandbox/doc/config.rb
|
224
|
+
- spec/sandbox/doc/config.yaml.tt
|
225
|
+
- spec/sandbox/doc/excluding/%file_name%.rb.tt
|
226
|
+
- spec/sandbox/doc/README
|
227
|
+
- spec/sandbox/enum.thor
|
228
|
+
- spec/sandbox/group.thor
|
229
|
+
- spec/sandbox/invoke.thor
|
230
|
+
- spec/sandbox/path with spaces
|
231
|
+
- spec/sandbox/preserve/script.sh
|
232
|
+
- spec/sandbox/script.thor
|
233
|
+
- spec/sandbox/subcommand.thor
|
189
234
|
- spec/shell/basic_spec.rb
|
190
235
|
- spec/shell/color_spec.rb
|
191
236
|
- spec/shell/html_spec.rb
|
@@ -193,4 +238,3 @@ test_files:
|
|
193
238
|
- spec/subcommand_spec.rb
|
194
239
|
- spec/thor_spec.rb
|
195
240
|
- spec/util_spec.rb
|
196
|
-
has_rdoc:
|