thor-plus 0.6.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/{thor.rb → thor-plus.rb} +1 -1
- data/lib/{thor → thor-plus}/actions.rb +7 -7
- data/lib/{thor → thor-plus}/actions/create_file.rb +1 -1
- data/lib/{thor → thor-plus}/actions/create_link.rb +1 -1
- data/lib/{thor → thor-plus}/actions/directory.rb +1 -1
- data/lib/{thor → thor-plus}/actions/empty_directory.rb +0 -0
- data/lib/{thor → thor-plus}/actions/file_manipulation.rb +0 -0
- data/lib/{thor → thor-plus}/actions/inject_into_file.rb +1 -1
- data/lib/{thor → thor-plus}/base.rb +12 -12
- data/lib/{thor → thor-plus}/command.rb +0 -0
- data/lib/{thor → thor-plus}/core_ext/hash_with_indifferent_access.rb +0 -0
- data/lib/{thor → thor-plus}/core_ext/io_binary_read.rb +0 -0
- data/lib/{thor → thor-plus}/core_ext/ordered_hash.rb +0 -0
- data/lib/{thor → thor-plus}/error.rb +0 -0
- data/lib/{thor → thor-plus}/group.rb +1 -1
- data/lib/{thor → thor-plus}/invocation.rb +0 -0
- data/lib/{thor → thor-plus}/line_editor.rb +2 -2
- data/lib/{thor → thor-plus}/line_editor/basic.rb +0 -0
- data/lib/{thor → thor-plus}/line_editor/readline.rb +0 -0
- data/lib/thor-plus/parser.rb +4 -0
- data/lib/{thor → thor-plus}/parser/argument.rb +0 -0
- data/lib/{thor → thor-plus}/parser/arguments.rb +0 -0
- data/lib/{thor → thor-plus}/parser/option.rb +0 -0
- data/lib/{thor → thor-plus}/parser/options.rb +0 -0
- data/lib/{thor → thor-plus}/rake_compat.rb +0 -0
- data/lib/{thor → thor-plus}/runner.rb +3 -3
- data/lib/{thor → thor-plus}/shell.rb +3 -3
- data/lib/{thor → thor-plus}/shell/basic.rb +0 -0
- data/lib/{thor → thor-plus}/shell/color.rb +1 -1
- data/lib/{thor → thor-plus}/shell/html.rb +1 -1
- data/lib/{thor → thor-plus}/util.rb +0 -0
- data/lib/thor-plus/version.rb +3 -0
- data/thor-plus.gemspec +1 -1
- metadata +34 -34
- data/lib/thor/parser.rb +0 -4
- data/lib/thor/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 897aef438367c2e0c876d1b5bef3a070348df482
|
4
|
+
data.tar.gz: 36ce925e5d2b53b1db8955cc5dac5e2014e13a7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33d40e7cef18d70588d5c247afc4117fb0b44112b44b5bb9bc3c99541ff366293f442a3c689fa1a08aa2d0552ea226341f4d256c694ca8556646ad1a1464dbc8
|
7
|
+
data.tar.gz: c82b1f282bce02311d11c309fcb6661e4824d2bbf41006929f47475f56c5ca039a054e95e8d9451a81714be36412cbdb80440ab4109f679112196a80ef4342dc
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require "fileutils"
|
2
2
|
require "uri"
|
3
|
-
require "thor/core_ext/io_binary_read"
|
4
|
-
require "thor/actions/create_file"
|
5
|
-
require "thor/actions/create_link"
|
6
|
-
require "thor/actions/directory"
|
7
|
-
require "thor/actions/empty_directory"
|
8
|
-
require "thor/actions/file_manipulation"
|
9
|
-
require "thor/actions/inject_into_file"
|
3
|
+
require "thor-plus/core_ext/io_binary_read"
|
4
|
+
require "thor-plus/actions/create_file"
|
5
|
+
require "thor-plus/actions/create_link"
|
6
|
+
require "thor-plus/actions/directory"
|
7
|
+
require "thor-plus/actions/empty_directory"
|
8
|
+
require "thor-plus/actions/file_manipulation"
|
9
|
+
require "thor-plus/actions/inject_into_file"
|
10
10
|
|
11
11
|
class Thor
|
12
12
|
module Actions
|
File without changes
|
File without changes
|
@@ -1,17 +1,17 @@
|
|
1
|
-
require "thor/command"
|
2
|
-
require "thor/core_ext/hash_with_indifferent_access"
|
3
|
-
require "thor/core_ext/ordered_hash"
|
4
|
-
require "thor/error"
|
5
|
-
require "thor/invocation"
|
6
|
-
require "thor/parser"
|
7
|
-
require "thor/shell"
|
8
|
-
require "thor/line_editor"
|
9
|
-
require "thor/util"
|
1
|
+
require "thor-plus/command"
|
2
|
+
require "thor-plus/core_ext/hash_with_indifferent_access"
|
3
|
+
require "thor-plus/core_ext/ordered_hash"
|
4
|
+
require "thor-plus/error"
|
5
|
+
require "thor-plus/invocation"
|
6
|
+
require "thor-plus/parser"
|
7
|
+
require "thor-plus/shell"
|
8
|
+
require "thor-plus/line_editor"
|
9
|
+
require "thor-plus/util"
|
10
10
|
|
11
11
|
class Thor
|
12
|
-
autoload :Actions, "thor/actions"
|
13
|
-
autoload :RakeCompat, "thor/rake_compat"
|
14
|
-
autoload :Group, "thor/group"
|
12
|
+
autoload :Actions, "thor-plus/actions"
|
13
|
+
autoload :RakeCompat, "thor-plus/rake_compat"
|
14
|
+
autoload :Group, "thor-plus/group"
|
15
15
|
|
16
16
|
# Shortcuts for help.
|
17
17
|
HELP_MAPPINGS = %w[-h -? --help -D]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require "thor"
|
2
|
-
require "thor/group"
|
3
|
-
require "thor/core_ext/io_binary_read"
|
2
|
+
require "thor-plus/group"
|
3
|
+
require "thor-plus/core_ext/io_binary_read"
|
4
4
|
|
5
5
|
require "fileutils"
|
6
6
|
require "open-uri"
|
@@ -102,7 +102,7 @@ class Thor::Runner < Thor #:nodoc: # rubocop:disable ClassLength
|
|
102
102
|
|
103
103
|
desc "version", "Show Thor version"
|
104
104
|
def version
|
105
|
-
require "thor/version"
|
105
|
+
require "thor-plus/version"
|
106
106
|
say "Thor #{Thor::VERSION}"
|
107
107
|
end
|
108
108
|
|
@@ -24,9 +24,9 @@ class Thor
|
|
24
24
|
SHELL_DELEGATED_METHODS = [:ask, :error, :set_color, :yes?, :no?, :say, :say_status, :print_in_columns, :print_table, :print_wrapped, :file_collision, :terminal_width]
|
25
25
|
attr_writer :shell
|
26
26
|
|
27
|
-
autoload :Basic, "thor/shell/basic"
|
28
|
-
autoload :Color, "thor/shell/color"
|
29
|
-
autoload :HTML, "thor/shell/html"
|
27
|
+
autoload :Basic, "thor-plus/shell/basic"
|
28
|
+
autoload :Color, "thor-plus/shell/color"
|
29
|
+
autoload :HTML, "thor-plus/shell/html"
|
30
30
|
|
31
31
|
# Add shell to initialize config values.
|
32
32
|
#
|
File without changes
|
File without changes
|
data/thor-plus.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor-plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yehuda Katz
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-06
|
13
|
+
date: 2016-07-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -53,38 +53,38 @@ files:
|
|
53
53
|
- LICENSE.md
|
54
54
|
- README.md
|
55
55
|
- bin/thorp
|
56
|
-
- lib/thor.rb
|
57
|
-
- lib/thor/actions.rb
|
58
|
-
- lib/thor/actions/create_file.rb
|
59
|
-
- lib/thor/actions/create_link.rb
|
60
|
-
- lib/thor/actions/directory.rb
|
61
|
-
- lib/thor/actions/empty_directory.rb
|
62
|
-
- lib/thor/actions/file_manipulation.rb
|
63
|
-
- lib/thor/actions/inject_into_file.rb
|
64
|
-
- lib/thor/base.rb
|
65
|
-
- lib/thor/command.rb
|
66
|
-
- lib/thor/core_ext/hash_with_indifferent_access.rb
|
67
|
-
- lib/thor/core_ext/io_binary_read.rb
|
68
|
-
- lib/thor/core_ext/ordered_hash.rb
|
69
|
-
- lib/thor/error.rb
|
70
|
-
- lib/thor/group.rb
|
71
|
-
- lib/thor/invocation.rb
|
72
|
-
- lib/thor/line_editor.rb
|
73
|
-
- lib/thor/line_editor/basic.rb
|
74
|
-
- lib/thor/line_editor/readline.rb
|
75
|
-
- lib/thor/parser.rb
|
76
|
-
- lib/thor/parser/argument.rb
|
77
|
-
- lib/thor/parser/arguments.rb
|
78
|
-
- lib/thor/parser/option.rb
|
79
|
-
- lib/thor/parser/options.rb
|
80
|
-
- lib/thor/rake_compat.rb
|
81
|
-
- lib/thor/runner.rb
|
82
|
-
- lib/thor/shell.rb
|
83
|
-
- lib/thor/shell/basic.rb
|
84
|
-
- lib/thor/shell/color.rb
|
85
|
-
- lib/thor/shell/html.rb
|
86
|
-
- lib/thor/util.rb
|
87
|
-
- lib/thor/version.rb
|
56
|
+
- lib/thor-plus.rb
|
57
|
+
- lib/thor-plus/actions.rb
|
58
|
+
- lib/thor-plus/actions/create_file.rb
|
59
|
+
- lib/thor-plus/actions/create_link.rb
|
60
|
+
- lib/thor-plus/actions/directory.rb
|
61
|
+
- lib/thor-plus/actions/empty_directory.rb
|
62
|
+
- lib/thor-plus/actions/file_manipulation.rb
|
63
|
+
- lib/thor-plus/actions/inject_into_file.rb
|
64
|
+
- lib/thor-plus/base.rb
|
65
|
+
- lib/thor-plus/command.rb
|
66
|
+
- lib/thor-plus/core_ext/hash_with_indifferent_access.rb
|
67
|
+
- lib/thor-plus/core_ext/io_binary_read.rb
|
68
|
+
- lib/thor-plus/core_ext/ordered_hash.rb
|
69
|
+
- lib/thor-plus/error.rb
|
70
|
+
- lib/thor-plus/group.rb
|
71
|
+
- lib/thor-plus/invocation.rb
|
72
|
+
- lib/thor-plus/line_editor.rb
|
73
|
+
- lib/thor-plus/line_editor/basic.rb
|
74
|
+
- lib/thor-plus/line_editor/readline.rb
|
75
|
+
- lib/thor-plus/parser.rb
|
76
|
+
- lib/thor-plus/parser/argument.rb
|
77
|
+
- lib/thor-plus/parser/arguments.rb
|
78
|
+
- lib/thor-plus/parser/option.rb
|
79
|
+
- lib/thor-plus/parser/options.rb
|
80
|
+
- lib/thor-plus/rake_compat.rb
|
81
|
+
- lib/thor-plus/runner.rb
|
82
|
+
- lib/thor-plus/shell.rb
|
83
|
+
- lib/thor-plus/shell/basic.rb
|
84
|
+
- lib/thor-plus/shell/color.rb
|
85
|
+
- lib/thor-plus/shell/html.rb
|
86
|
+
- lib/thor-plus/util.rb
|
87
|
+
- lib/thor-plus/version.rb
|
88
88
|
- thor-plus.gemspec
|
89
89
|
homepage: http://whatisthor.com/
|
90
90
|
licenses:
|
data/lib/thor/parser.rb
DELETED
data/lib/thor/version.rb
DELETED