josevalim-thor 0.10.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.
- data/CHANGELOG.rdoc +73 -0
- data/LICENSE +20 -0
- data/README.markdown +76 -0
- data/Rakefile +6 -0
- data/bin/rake2thor +87 -0
- data/bin/thor +7 -0
- data/lib/thor.rb +229 -0
- data/lib/thor/actions.rb +147 -0
- data/lib/thor/actions/commands.rb +61 -0
- data/lib/thor/actions/copy_file.rb +32 -0
- data/lib/thor/actions/create_file.rb +48 -0
- data/lib/thor/actions/directory.rb +36 -0
- data/lib/thor/actions/empty_directory.rb +30 -0
- data/lib/thor/actions/get.rb +58 -0
- data/lib/thor/actions/gsub_file.rb +77 -0
- data/lib/thor/actions/inject_into_file.rb +93 -0
- data/lib/thor/actions/template.rb +37 -0
- data/lib/thor/actions/templater.rb +163 -0
- data/lib/thor/base.rb +447 -0
- data/lib/thor/core_ext/hash_with_indifferent_access.rb +59 -0
- data/lib/thor/core_ext/ordered_hash.rb +133 -0
- data/lib/thor/error.rb +27 -0
- data/lib/thor/group.rb +90 -0
- data/lib/thor/option.rb +210 -0
- data/lib/thor/options.rb +282 -0
- data/lib/thor/runner.rb +296 -0
- data/lib/thor/shell/basic.rb +198 -0
- data/lib/thor/task.rb +85 -0
- data/lib/thor/tasks.rb +3 -0
- data/lib/thor/tasks/install.rb +35 -0
- data/lib/thor/tasks/package.rb +31 -0
- data/lib/thor/tasks/spec.rb +70 -0
- data/lib/thor/util.rb +209 -0
- metadata +93 -0
metadata
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: josevalim-thor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.10.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yehuda Katz
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-06-14 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: A gem that maps options to a class
|
17
|
+
email: wycats@gmail.com
|
18
|
+
executables:
|
19
|
+
- thor
|
20
|
+
- rake2thor
|
21
|
+
extensions: []
|
22
|
+
|
23
|
+
extra_rdoc_files:
|
24
|
+
- README.markdown
|
25
|
+
- LICENSE
|
26
|
+
- CHANGELOG.rdoc
|
27
|
+
files:
|
28
|
+
- README.markdown
|
29
|
+
- LICENSE
|
30
|
+
- CHANGELOG.rdoc
|
31
|
+
- Rakefile
|
32
|
+
- bin/rake2thor
|
33
|
+
- bin/thor
|
34
|
+
- lib/thor.rb
|
35
|
+
- lib/thor
|
36
|
+
- lib/thor/error.rb
|
37
|
+
- lib/thor/base.rb
|
38
|
+
- lib/thor/group.rb
|
39
|
+
- lib/thor/actions
|
40
|
+
- lib/thor/actions/templater.rb
|
41
|
+
- lib/thor/actions/copy_file.rb
|
42
|
+
- lib/thor/actions/inject_into_file.rb
|
43
|
+
- lib/thor/actions/directory.rb
|
44
|
+
- lib/thor/actions/template.rb
|
45
|
+
- lib/thor/actions/gsub_file.rb
|
46
|
+
- lib/thor/actions/get.rb
|
47
|
+
- lib/thor/actions/create_file.rb
|
48
|
+
- lib/thor/actions/commands.rb
|
49
|
+
- lib/thor/actions/empty_directory.rb
|
50
|
+
- lib/thor/util.rb
|
51
|
+
- lib/thor/runner.rb
|
52
|
+
- lib/thor/actions.rb
|
53
|
+
- lib/thor/option.rb
|
54
|
+
- lib/thor/options.rb
|
55
|
+
- lib/thor/shell
|
56
|
+
- lib/thor/shell/basic.rb
|
57
|
+
- lib/thor/tasks.rb
|
58
|
+
- lib/thor/core_ext
|
59
|
+
- lib/thor/core_ext/hash_with_indifferent_access.rb
|
60
|
+
- lib/thor/core_ext/ordered_hash.rb
|
61
|
+
- lib/thor/tasks
|
62
|
+
- lib/thor/tasks/install.rb
|
63
|
+
- lib/thor/tasks/spec.rb
|
64
|
+
- lib/thor/tasks/package.rb
|
65
|
+
- lib/thor/task.rb
|
66
|
+
has_rdoc: true
|
67
|
+
homepage: http://yehudakatz.com
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options: []
|
70
|
+
|
71
|
+
require_paths:
|
72
|
+
- lib
|
73
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: "0"
|
78
|
+
version:
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: "0"
|
84
|
+
version:
|
85
|
+
requirements: []
|
86
|
+
|
87
|
+
rubyforge_project: thor
|
88
|
+
rubygems_version: 1.2.0
|
89
|
+
signing_key:
|
90
|
+
specification_version: 3
|
91
|
+
summary: A gem that maps options to a class
|
92
|
+
test_files: []
|
93
|
+
|