atli 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +8 -0
- data/CHANGELOG.md +193 -0
- data/CONTRIBUTING.md +20 -0
- data/LICENSE.md +24 -0
- data/README.md +44 -0
- data/atli.gemspec +30 -0
- data/bin/thor +6 -0
- data/lib/thor.rb +868 -0
- data/lib/thor/actions.rb +322 -0
- data/lib/thor/actions/create_file.rb +104 -0
- data/lib/thor/actions/create_link.rb +60 -0
- data/lib/thor/actions/directory.rb +118 -0
- data/lib/thor/actions/empty_directory.rb +143 -0
- data/lib/thor/actions/file_manipulation.rb +364 -0
- data/lib/thor/actions/inject_into_file.rb +109 -0
- data/lib/thor/base.rb +773 -0
- data/lib/thor/command.rb +192 -0
- data/lib/thor/core_ext/hash_with_indifferent_access.rb +97 -0
- data/lib/thor/core_ext/io_binary_read.rb +12 -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 +182 -0
- data/lib/thor/line_editor.rb +17 -0
- data/lib/thor/line_editor/basic.rb +37 -0
- data/lib/thor/line_editor/readline.rb +88 -0
- data/lib/thor/parser.rb +5 -0
- data/lib/thor/parser/argument.rb +70 -0
- data/lib/thor/parser/arguments.rb +175 -0
- data/lib/thor/parser/option.rb +146 -0
- data/lib/thor/parser/options.rb +221 -0
- data/lib/thor/parser/shared_option.rb +23 -0
- data/lib/thor/rake_compat.rb +71 -0
- data/lib/thor/runner.rb +324 -0
- data/lib/thor/shell.rb +81 -0
- data/lib/thor/shell/basic.rb +439 -0
- data/lib/thor/shell/color.rb +149 -0
- data/lib/thor/shell/html.rb +126 -0
- data/lib/thor/util.rb +268 -0
- data/lib/thor/version.rb +22 -0
- metadata +114 -0
data/lib/thor/version.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
class Thor
|
2
|
+
# Gem version string.
|
3
|
+
#
|
4
|
+
# See {file:doc/files/notes/versioning.md} for details.
|
5
|
+
#
|
6
|
+
# @return [String]
|
7
|
+
#
|
8
|
+
VERSION = "0.1.2"
|
9
|
+
|
10
|
+
|
11
|
+
# The version of Thor that Atli is up to date with.
|
12
|
+
#
|
13
|
+
# Right now, it's the version of Thor that was forked, but if I'm able to
|
14
|
+
# merge Thor updates in and end up doing so, I intend to update this to
|
15
|
+
# reflect it.
|
16
|
+
#
|
17
|
+
# See {file:doc/files/notes/versioning.md} for details.
|
18
|
+
#
|
19
|
+
# @return [String]
|
20
|
+
#
|
21
|
+
THOR_VERSION = '0.20.0'
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: atli
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Neil Souza (Atli)
|
8
|
+
- Yehuda Katz (Thor)
|
9
|
+
- José Valim (Thor)
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2018-02-24 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: bundler
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '1.0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: nrser
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 0.2.0.pre.1
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 0.2.0.pre.1
|
43
|
+
description: Atli is a fork of Thor that's better or worse.
|
44
|
+
email: neil@atli.nrser.com
|
45
|
+
executables:
|
46
|
+
- thor
|
47
|
+
extensions: []
|
48
|
+
extra_rdoc_files: []
|
49
|
+
files:
|
50
|
+
- ".yardopts"
|
51
|
+
- CHANGELOG.md
|
52
|
+
- CONTRIBUTING.md
|
53
|
+
- LICENSE.md
|
54
|
+
- README.md
|
55
|
+
- atli.gemspec
|
56
|
+
- bin/thor
|
57
|
+
- lib/thor.rb
|
58
|
+
- lib/thor/actions.rb
|
59
|
+
- lib/thor/actions/create_file.rb
|
60
|
+
- lib/thor/actions/create_link.rb
|
61
|
+
- lib/thor/actions/directory.rb
|
62
|
+
- lib/thor/actions/empty_directory.rb
|
63
|
+
- lib/thor/actions/file_manipulation.rb
|
64
|
+
- lib/thor/actions/inject_into_file.rb
|
65
|
+
- lib/thor/base.rb
|
66
|
+
- lib/thor/command.rb
|
67
|
+
- lib/thor/core_ext/hash_with_indifferent_access.rb
|
68
|
+
- lib/thor/core_ext/io_binary_read.rb
|
69
|
+
- lib/thor/core_ext/ordered_hash.rb
|
70
|
+
- lib/thor/error.rb
|
71
|
+
- lib/thor/group.rb
|
72
|
+
- lib/thor/invocation.rb
|
73
|
+
- lib/thor/line_editor.rb
|
74
|
+
- lib/thor/line_editor/basic.rb
|
75
|
+
- lib/thor/line_editor/readline.rb
|
76
|
+
- lib/thor/parser.rb
|
77
|
+
- lib/thor/parser/argument.rb
|
78
|
+
- lib/thor/parser/arguments.rb
|
79
|
+
- lib/thor/parser/option.rb
|
80
|
+
- lib/thor/parser/options.rb
|
81
|
+
- lib/thor/parser/shared_option.rb
|
82
|
+
- lib/thor/rake_compat.rb
|
83
|
+
- lib/thor/runner.rb
|
84
|
+
- lib/thor/shell.rb
|
85
|
+
- lib/thor/shell/basic.rb
|
86
|
+
- lib/thor/shell/color.rb
|
87
|
+
- lib/thor/shell/html.rb
|
88
|
+
- lib/thor/util.rb
|
89
|
+
- lib/thor/version.rb
|
90
|
+
homepage: https://github.com/nrser/atli
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata: {}
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.8.7
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 1.3.5
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.5.2
|
111
|
+
signing_key:
|
112
|
+
specification_version: 4
|
113
|
+
summary: Atli is a fork of Thor that's better or worse.
|
114
|
+
test_files: []
|