thor 1.2.2 → 1.3.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 +4 -4
- data/lib/thor/actions/create_file.rb +2 -1
- data/lib/thor/actions/directory.rb +1 -1
- data/lib/thor/actions/empty_directory.rb +1 -1
- data/lib/thor/actions/file_manipulation.rb +6 -8
- data/lib/thor/actions/inject_into_file.rb +15 -4
- data/lib/thor/actions.rb +14 -15
- data/lib/thor/base.rb +136 -9
- data/lib/thor/command.rb +13 -4
- data/lib/thor/core_ext/hash_with_indifferent_access.rb +4 -0
- data/lib/thor/error.rb +18 -23
- data/lib/thor/invocation.rb +1 -1
- data/lib/thor/nested_context.rb +2 -2
- data/lib/thor/parser/argument.rb +20 -1
- data/lib/thor/parser/arguments.rb +32 -16
- data/lib/thor/parser/option.rb +20 -5
- data/lib/thor/parser/options.rb +42 -4
- data/lib/thor/runner.rb +11 -11
- data/lib/thor/shell/basic.rb +25 -149
- data/lib/thor/shell/color.rb +4 -46
- data/lib/thor/shell/column_printer.rb +29 -0
- data/lib/thor/shell/html.rb +3 -45
- data/lib/thor/shell/lcs_diff.rb +49 -0
- data/lib/thor/shell/table_printer.rb +134 -0
- data/lib/thor/shell/terminal.rb +42 -0
- data/lib/thor/shell/wrapped_printer.rb +38 -0
- data/lib/thor/shell.rb +1 -1
- data/lib/thor/util.rb +4 -3
- data/lib/thor/version.rb +1 -1
- data/lib/thor.rb +154 -7
- data/thor.gemspec +14 -10
- metadata +11 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yehuda Katz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-10-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -71,7 +71,12 @@ files:
|
|
71
71
|
- lib/thor/shell.rb
|
72
72
|
- lib/thor/shell/basic.rb
|
73
73
|
- lib/thor/shell/color.rb
|
74
|
+
- lib/thor/shell/column_printer.rb
|
74
75
|
- lib/thor/shell/html.rb
|
76
|
+
- lib/thor/shell/lcs_diff.rb
|
77
|
+
- lib/thor/shell/table_printer.rb
|
78
|
+
- lib/thor/shell/terminal.rb
|
79
|
+
- lib/thor/shell/wrapped_printer.rb
|
75
80
|
- lib/thor/util.rb
|
76
81
|
- lib/thor/version.rb
|
77
82
|
- thor.gemspec
|
@@ -80,9 +85,9 @@ licenses:
|
|
80
85
|
- MIT
|
81
86
|
metadata:
|
82
87
|
bug_tracker_uri: https://github.com/rails/thor/issues
|
83
|
-
changelog_uri: https://github.com/rails/thor/releases/tag/v1.
|
88
|
+
changelog_uri: https://github.com/rails/thor/releases/tag/v1.3.0
|
84
89
|
documentation_uri: http://whatisthor.com/
|
85
|
-
source_code_uri: https://github.com/rails/thor/tree/v1.
|
90
|
+
source_code_uri: https://github.com/rails/thor/tree/v1.3.0
|
86
91
|
wiki_uri: https://github.com/rails/thor/wiki
|
87
92
|
rubygems_mfa_required: 'true'
|
88
93
|
post_install_message:
|
@@ -93,14 +98,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
98
|
requirements:
|
94
99
|
- - ">="
|
95
100
|
- !ruby/object:Gem::Version
|
96
|
-
version: 2.
|
101
|
+
version: 2.6.0
|
97
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
103
|
requirements:
|
99
104
|
- - ">="
|
100
105
|
- !ruby/object:Gem::Version
|
101
106
|
version: 1.3.5
|
102
107
|
requirements: []
|
103
|
-
rubygems_version: 3.4.
|
108
|
+
rubygems_version: 3.4.21
|
104
109
|
signing_key:
|
105
110
|
specification_version: 4
|
106
111
|
summary: Thor is a toolkit for building powerful command-line interfaces.
|