millisami-thor 0.14.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. data/.autotest +8 -0
  2. data/.gemtest +0 -0
  3. data/.gitignore +9 -0
  4. data/.rspec +1 -0
  5. data/CHANGELOG.rdoc +103 -0
  6. data/Gemfile +11 -0
  7. data/LICENSE.md +20 -0
  8. data/README.md +26 -0
  9. data/Thorfile +13 -0
  10. data/bin/rake2thor +86 -0
  11. data/bin/thor +6 -0
  12. data/lib/thor/actions/create_file.rb +105 -0
  13. data/lib/thor/actions/create_link.rb +57 -0
  14. data/lib/thor/actions/directory.rb +93 -0
  15. data/lib/thor/actions/empty_directory.rb +134 -0
  16. data/lib/thor/actions/file_manipulation.rb +270 -0
  17. data/lib/thor/actions/inject_into_file.rb +109 -0
  18. data/lib/thor/actions.rb +314 -0
  19. data/lib/thor/base.rb +598 -0
  20. data/lib/thor/core_ext/file_binary_read.rb +9 -0
  21. data/lib/thor/core_ext/hash_with_indifferent_access.rb +75 -0
  22. data/lib/thor/core_ext/ordered_hash.rb +100 -0
  23. data/lib/thor/error.rb +30 -0
  24. data/lib/thor/group.rb +276 -0
  25. data/lib/thor/invocation.rb +168 -0
  26. data/lib/thor/parser/argument.rb +67 -0
  27. data/lib/thor/parser/arguments.rb +165 -0
  28. data/lib/thor/parser/option.rb +120 -0
  29. data/lib/thor/parser/options.rb +181 -0
  30. data/lib/thor/parser.rb +4 -0
  31. data/lib/thor/rake_compat.rb +70 -0
  32. data/lib/thor/runner.rb +309 -0
  33. data/lib/thor/shell/basic.rb +302 -0
  34. data/lib/thor/shell/color.rb +108 -0
  35. data/lib/thor/shell/html.rb +121 -0
  36. data/lib/thor/shell.rb +88 -0
  37. data/lib/thor/task.rb +129 -0
  38. data/lib/thor/util.rb +229 -0
  39. data/lib/thor/version.rb +3 -0
  40. data/lib/thor.rb +336 -0
  41. data/spec/actions/create_file_spec.rb +170 -0
  42. data/spec/actions/directory_spec.rb +136 -0
  43. data/spec/actions/empty_directory_spec.rb +98 -0
  44. data/spec/actions/file_manipulation_spec.rb +317 -0
  45. data/spec/actions/inject_into_file_spec.rb +135 -0
  46. data/spec/actions_spec.rb +322 -0
  47. data/spec/base_spec.rb +274 -0
  48. data/spec/core_ext/hash_with_indifferent_access_spec.rb +43 -0
  49. data/spec/core_ext/ordered_hash_spec.rb +115 -0
  50. data/spec/fixtures/application.rb +2 -0
  51. data/spec/fixtures/bundle/execute.rb +6 -0
  52. data/spec/fixtures/bundle/main.thor +1 -0
  53. data/spec/fixtures/doc/%file_name%.rb.tt +1 -0
  54. data/spec/fixtures/doc/README +3 -0
  55. data/spec/fixtures/doc/block_helper.rb +3 -0
  56. data/spec/fixtures/doc/components/.empty_directory +0 -0
  57. data/spec/fixtures/doc/config.rb +1 -0
  58. data/spec/fixtures/doc/config.yaml.tt +1 -0
  59. data/spec/fixtures/group.thor +114 -0
  60. data/spec/fixtures/invoke.thor +112 -0
  61. data/spec/fixtures/path with spaces +0 -0
  62. data/spec/fixtures/script.thor +184 -0
  63. data/spec/fixtures/task.thor +10 -0
  64. data/spec/group_spec.rb +216 -0
  65. data/spec/invocation_spec.rb +100 -0
  66. data/spec/parser/argument_spec.rb +47 -0
  67. data/spec/parser/arguments_spec.rb +65 -0
  68. data/spec/parser/option_spec.rb +202 -0
  69. data/spec/parser/options_spec.rb +329 -0
  70. data/spec/rake_compat_spec.rb +72 -0
  71. data/spec/register_spec.rb +92 -0
  72. data/spec/runner_spec.rb +210 -0
  73. data/spec/shell/basic_spec.rb +223 -0
  74. data/spec/shell/color_spec.rb +41 -0
  75. data/spec/shell/html_spec.rb +27 -0
  76. data/spec/shell_spec.rb +47 -0
  77. data/spec/spec_helper.rb +54 -0
  78. data/spec/task_spec.rb +74 -0
  79. data/spec/thor_spec.rb +362 -0
  80. data/spec/util_spec.rb +163 -0
  81. data/thor.gemspec +25 -0
  82. metadata +241 -0
metadata ADDED
@@ -0,0 +1,241 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: millisami-thor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.14.6
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Yehuda Katz
9
+ - José Valim
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2011-07-06 00:00:00.000000000 +05:45
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: bundler
18
+ requirement: &2157622720 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: '1.0'
24
+ type: :development
25
+ prerelease: false
26
+ version_requirements: *2157622720
27
+ - !ruby/object:Gem::Dependency
28
+ name: fakeweb
29
+ requirement: &2157622020 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: '1.3'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: *2157622020
38
+ - !ruby/object:Gem::Dependency
39
+ name: rake
40
+ requirement: &2157621460 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0.8'
46
+ type: :development
47
+ prerelease: false
48
+ version_requirements: *2157621460
49
+ - !ruby/object:Gem::Dependency
50
+ name: rdoc
51
+ requirement: &2157620880 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ~>
55
+ - !ruby/object:Gem::Version
56
+ version: '2.5'
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: *2157620880
60
+ - !ruby/object:Gem::Dependency
61
+ name: rspec
62
+ requirement: &2157614280 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: '2.3'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: *2157614280
71
+ - !ruby/object:Gem::Dependency
72
+ name: simplecov
73
+ requirement: &2157613760 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ version: '0.4'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: *2157613760
82
+ description: A scripting framework that replaces rake, sake and rubigen
83
+ email: ruby-thor@googlegroups.com
84
+ executables:
85
+ - rake2thor
86
+ - thor
87
+ extensions: []
88
+ extra_rdoc_files:
89
+ - CHANGELOG.rdoc
90
+ - LICENSE.md
91
+ - README.md
92
+ - Thorfile
93
+ files:
94
+ - .autotest
95
+ - .gemtest
96
+ - .gitignore
97
+ - .rspec
98
+ - CHANGELOG.rdoc
99
+ - Gemfile
100
+ - LICENSE.md
101
+ - README.md
102
+ - Thorfile
103
+ - bin/rake2thor
104
+ - bin/thor
105
+ - lib/thor.rb
106
+ - lib/thor/actions.rb
107
+ - lib/thor/actions/create_file.rb
108
+ - lib/thor/actions/create_link.rb
109
+ - lib/thor/actions/directory.rb
110
+ - lib/thor/actions/empty_directory.rb
111
+ - lib/thor/actions/file_manipulation.rb
112
+ - lib/thor/actions/inject_into_file.rb
113
+ - lib/thor/base.rb
114
+ - lib/thor/core_ext/file_binary_read.rb
115
+ - lib/thor/core_ext/hash_with_indifferent_access.rb
116
+ - lib/thor/core_ext/ordered_hash.rb
117
+ - lib/thor/error.rb
118
+ - lib/thor/group.rb
119
+ - lib/thor/invocation.rb
120
+ - lib/thor/parser.rb
121
+ - lib/thor/parser/argument.rb
122
+ - lib/thor/parser/arguments.rb
123
+ - lib/thor/parser/option.rb
124
+ - lib/thor/parser/options.rb
125
+ - lib/thor/rake_compat.rb
126
+ - lib/thor/runner.rb
127
+ - lib/thor/shell.rb
128
+ - lib/thor/shell/basic.rb
129
+ - lib/thor/shell/color.rb
130
+ - lib/thor/shell/html.rb
131
+ - lib/thor/task.rb
132
+ - lib/thor/util.rb
133
+ - lib/thor/version.rb
134
+ - spec/actions/create_file_spec.rb
135
+ - spec/actions/directory_spec.rb
136
+ - spec/actions/empty_directory_spec.rb
137
+ - spec/actions/file_manipulation_spec.rb
138
+ - spec/actions/inject_into_file_spec.rb
139
+ - spec/actions_spec.rb
140
+ - spec/base_spec.rb
141
+ - spec/core_ext/hash_with_indifferent_access_spec.rb
142
+ - spec/core_ext/ordered_hash_spec.rb
143
+ - spec/fixtures/application.rb
144
+ - spec/fixtures/bundle/execute.rb
145
+ - spec/fixtures/bundle/main.thor
146
+ - spec/fixtures/doc/%file_name%.rb.tt
147
+ - spec/fixtures/doc/README
148
+ - spec/fixtures/doc/block_helper.rb
149
+ - spec/fixtures/doc/components/.empty_directory
150
+ - spec/fixtures/doc/config.rb
151
+ - spec/fixtures/doc/config.yaml.tt
152
+ - spec/fixtures/group.thor
153
+ - spec/fixtures/invoke.thor
154
+ - spec/fixtures/path with spaces
155
+ - spec/fixtures/script.thor
156
+ - spec/fixtures/task.thor
157
+ - spec/group_spec.rb
158
+ - spec/invocation_spec.rb
159
+ - spec/parser/argument_spec.rb
160
+ - spec/parser/arguments_spec.rb
161
+ - spec/parser/option_spec.rb
162
+ - spec/parser/options_spec.rb
163
+ - spec/rake_compat_spec.rb
164
+ - spec/register_spec.rb
165
+ - spec/runner_spec.rb
166
+ - spec/shell/basic_spec.rb
167
+ - spec/shell/color_spec.rb
168
+ - spec/shell/html_spec.rb
169
+ - spec/shell_spec.rb
170
+ - spec/spec_helper.rb
171
+ - spec/task_spec.rb
172
+ - spec/thor_spec.rb
173
+ - spec/util_spec.rb
174
+ - thor.gemspec
175
+ has_rdoc: true
176
+ homepage: http://github.com/wycats/thor
177
+ licenses: []
178
+ post_install_message:
179
+ rdoc_options:
180
+ - --charset=UTF-8
181
+ require_paths:
182
+ - lib
183
+ required_ruby_version: !ruby/object:Gem::Requirement
184
+ none: false
185
+ requirements:
186
+ - - ! '>='
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ none: false
191
+ requirements:
192
+ - - ! '>='
193
+ - !ruby/object:Gem::Version
194
+ version: 1.3.6
195
+ requirements: []
196
+ rubyforge_project:
197
+ rubygems_version: 1.6.2
198
+ signing_key:
199
+ specification_version: 3
200
+ summary: A scripting framework that replaces rake, sake and rubigen
201
+ test_files:
202
+ - spec/actions/create_file_spec.rb
203
+ - spec/actions/directory_spec.rb
204
+ - spec/actions/empty_directory_spec.rb
205
+ - spec/actions/file_manipulation_spec.rb
206
+ - spec/actions/inject_into_file_spec.rb
207
+ - spec/actions_spec.rb
208
+ - spec/base_spec.rb
209
+ - spec/core_ext/hash_with_indifferent_access_spec.rb
210
+ - spec/core_ext/ordered_hash_spec.rb
211
+ - spec/fixtures/application.rb
212
+ - spec/fixtures/bundle/execute.rb
213
+ - spec/fixtures/bundle/main.thor
214
+ - spec/fixtures/doc/%file_name%.rb.tt
215
+ - spec/fixtures/doc/README
216
+ - spec/fixtures/doc/block_helper.rb
217
+ - spec/fixtures/doc/components/.empty_directory
218
+ - spec/fixtures/doc/config.rb
219
+ - spec/fixtures/doc/config.yaml.tt
220
+ - spec/fixtures/group.thor
221
+ - spec/fixtures/invoke.thor
222
+ - spec/fixtures/path with spaces
223
+ - spec/fixtures/script.thor
224
+ - spec/fixtures/task.thor
225
+ - spec/group_spec.rb
226
+ - spec/invocation_spec.rb
227
+ - spec/parser/argument_spec.rb
228
+ - spec/parser/arguments_spec.rb
229
+ - spec/parser/option_spec.rb
230
+ - spec/parser/options_spec.rb
231
+ - spec/rake_compat_spec.rb
232
+ - spec/register_spec.rb
233
+ - spec/runner_spec.rb
234
+ - spec/shell/basic_spec.rb
235
+ - spec/shell/color_spec.rb
236
+ - spec/shell/html_spec.rb
237
+ - spec/shell_spec.rb
238
+ - spec/spec_helper.rb
239
+ - spec/task_spec.rb
240
+ - spec/thor_spec.rb
241
+ - spec/util_spec.rb