qthor 0.19.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/CHANGELOG.md +163 -0
- data/CONTRIBUTING.md +15 -0
- data/LICENSE.md +20 -0
- data/README.md +47 -0
- data/bin/qthor +6 -0
- data/lib/thor.rb +490 -0
- data/lib/thor/actions.rb +319 -0
- data/lib/thor/actions/create_file.rb +103 -0
- data/lib/thor/actions/create_link.rb +59 -0
- data/lib/thor/actions/directory.rb +118 -0
- data/lib/thor/actions/empty_directory.rb +135 -0
- data/lib/thor/actions/file_manipulation.rb +327 -0
- data/lib/thor/actions/inject_into_file.rb +107 -0
- data/lib/thor/base.rb +656 -0
- data/lib/thor/command.rb +133 -0
- data/lib/thor/core_ext/hash_with_indifferent_access.rb +85 -0
- data/lib/thor/core_ext/io_binary_read.rb +10 -0
- data/lib/thor/core_ext/ordered_hash.rb +129 -0
- data/lib/thor/error.rb +32 -0
- data/lib/thor/group.rb +281 -0
- data/lib/thor/invocation.rb +178 -0
- 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 -0
- data/lib/thor/parser/argument.rb +73 -0
- data/lib/thor/parser/arguments.rb +176 -0
- data/lib/thor/parser/option.rb +140 -0
- data/lib/thor/parser/options.rb +218 -0
- data/lib/thor/rake_compat.rb +71 -0
- data/lib/thor/runner.rb +322 -0
- data/lib/thor/shell.rb +81 -0
- data/lib/thor/shell/basic.rb +430 -0
- data/lib/thor/shell/color.rb +149 -0
- data/lib/thor/shell/html.rb +126 -0
- data/lib/thor/util.rb +267 -0
- data/lib/thor/version.rb +3 -0
- data/thor.gemspec +21 -0
- metadata +99 -0
data/lib/thor/version.rb
ADDED
data/thor.gemspec
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib/", __FILE__)
|
3
|
+
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
|
4
|
+
require "thor/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.add_development_dependency "bundler", "~> 1.0"
|
8
|
+
spec.authors = ["Yehuda Katz", "José Valim"]
|
9
|
+
spec.description = "Thor is a toolkit for building powerful command-line interfaces."
|
10
|
+
spec.email = "ruby-thor@googlegroups.com"
|
11
|
+
spec.executables = %w[qthor]
|
12
|
+
spec.files = %w[.document thor.gemspec] + Dir['*.md', 'bin/*', 'lib/**/*.rb']
|
13
|
+
spec.homepage = "http://whatisthor.com/"
|
14
|
+
spec.licenses = %w[MIT]
|
15
|
+
spec.name = "qthor"
|
16
|
+
spec.require_paths = %w[lib]
|
17
|
+
spec.required_ruby_version = '>= 1.8.7'
|
18
|
+
spec.required_rubygems_version = ">= 1.3.5"
|
19
|
+
spec.summary = spec.description
|
20
|
+
spec.version = Thor::VERSION
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: qthor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.19.1.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yehuda Katz
|
8
|
+
- José Valim
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2016-04-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.0'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.0'
|
28
|
+
description: Thor is a toolkit for building powerful command-line interfaces.
|
29
|
+
email: ruby-thor@googlegroups.com
|
30
|
+
executables:
|
31
|
+
- qthor
|
32
|
+
extensions: []
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
35
|
+
- ".document"
|
36
|
+
- CHANGELOG.md
|
37
|
+
- CONTRIBUTING.md
|
38
|
+
- LICENSE.md
|
39
|
+
- README.md
|
40
|
+
- bin/qthor
|
41
|
+
- lib/thor.rb
|
42
|
+
- lib/thor/actions.rb
|
43
|
+
- lib/thor/actions/create_file.rb
|
44
|
+
- lib/thor/actions/create_link.rb
|
45
|
+
- lib/thor/actions/directory.rb
|
46
|
+
- lib/thor/actions/empty_directory.rb
|
47
|
+
- lib/thor/actions/file_manipulation.rb
|
48
|
+
- lib/thor/actions/inject_into_file.rb
|
49
|
+
- lib/thor/base.rb
|
50
|
+
- lib/thor/command.rb
|
51
|
+
- lib/thor/core_ext/hash_with_indifferent_access.rb
|
52
|
+
- lib/thor/core_ext/io_binary_read.rb
|
53
|
+
- lib/thor/core_ext/ordered_hash.rb
|
54
|
+
- lib/thor/error.rb
|
55
|
+
- lib/thor/group.rb
|
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
|
61
|
+
- lib/thor/parser/argument.rb
|
62
|
+
- lib/thor/parser/arguments.rb
|
63
|
+
- lib/thor/parser/option.rb
|
64
|
+
- lib/thor/parser/options.rb
|
65
|
+
- lib/thor/rake_compat.rb
|
66
|
+
- lib/thor/runner.rb
|
67
|
+
- lib/thor/shell.rb
|
68
|
+
- lib/thor/shell/basic.rb
|
69
|
+
- lib/thor/shell/color.rb
|
70
|
+
- lib/thor/shell/html.rb
|
71
|
+
- lib/thor/util.rb
|
72
|
+
- lib/thor/version.rb
|
73
|
+
- thor.gemspec
|
74
|
+
homepage: http://whatisthor.com/
|
75
|
+
licenses:
|
76
|
+
- MIT
|
77
|
+
metadata: {}
|
78
|
+
post_install_message:
|
79
|
+
rdoc_options: []
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.8.7
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 1.3.5
|
92
|
+
requirements: []
|
93
|
+
rubyforge_project:
|
94
|
+
rubygems_version: 2.5.1
|
95
|
+
signing_key:
|
96
|
+
specification_version: 4
|
97
|
+
summary: Thor is a toolkit for building powerful command-line interfaces.
|
98
|
+
test_files: []
|
99
|
+
has_rdoc:
|