methadone 0.5.1 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +1 -0
- data/README.rdoc +59 -1
- data/Rakefile +2 -2
- data/bin/methadone +7 -5
- data/features/bootstrap.feature +1 -0
- data/features/step_definitions/bootstrap_steps.rb +9 -0
- data/features/step_definitions/version_steps.rb +1 -1
- data/features/support/env.rb +5 -0
- data/features/version.feature +0 -1
- data/lib/methadone.rb +7 -0
- data/lib/methadone/error.rb +12 -0
- data/lib/methadone/execution_strategy/base.rb +37 -0
- data/lib/methadone/execution_strategy/jvm.rb +30 -0
- data/lib/methadone/execution_strategy/mri.rb +14 -0
- data/lib/methadone/execution_strategy/open_3.rb +11 -0
- data/lib/methadone/execution_strategy/open_4.rb +16 -0
- data/lib/methadone/execution_strategy/rbx_open_4.rb +10 -0
- data/lib/methadone/sh.rb +143 -0
- data/lib/methadone/version.rb +1 -1
- data/methadone.gemspec +1 -0
- data/test/command_for_tests.rb +5 -0
- data/test/execution_strategy/test_base.rb +24 -0
- data/test/execution_strategy/test_jvm.rb +77 -0
- data/test/execution_strategy/test_mri.rb +32 -0
- data/test/execution_strategy/test_open_3.rb +47 -0
- data/test/execution_strategy/test_open_4.rb +57 -0
- data/test/execution_strategy/test_rbx_open_4.rb +25 -0
- data/test/test_sh.rb +269 -0
- metadata +171 -84
metadata
CHANGED
@@ -1,115 +1,167 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: methadone
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1276957477555352091
|
5
|
+
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
- rc
|
11
|
+
- 1
|
12
|
+
version: 1.0.0.rc1
|
6
13
|
platform: ruby
|
7
|
-
authors:
|
14
|
+
authors:
|
8
15
|
- davetron5000
|
9
16
|
autorequire:
|
10
17
|
bindir: bin
|
11
18
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
19
|
+
|
20
|
+
date: 2012-01-22 00:00:00 -05:00
|
21
|
+
default_executable:
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
15
24
|
name: bundler
|
16
|
-
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
27
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 3
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
version: "0"
|
22
35
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
26
38
|
name: rspec-expectations
|
27
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
41
|
none: false
|
29
|
-
requirements:
|
42
|
+
requirements:
|
30
43
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 15
|
46
|
+
segments:
|
47
|
+
- 2
|
48
|
+
- 6
|
49
|
+
version: "2.6"
|
33
50
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
37
53
|
name: rake
|
38
|
-
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
56
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 3
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
version: "0"
|
44
64
|
type: :development
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
48
67
|
name: rdoc
|
49
|
-
|
68
|
+
prerelease: false
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
70
|
none: false
|
51
|
-
requirements:
|
71
|
+
requirements:
|
52
72
|
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 21
|
75
|
+
segments:
|
76
|
+
- 3
|
77
|
+
- 9
|
78
|
+
version: "3.9"
|
55
79
|
type: :development
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
80
|
+
version_requirements: *id004
|
81
|
+
- !ruby/object:Gem::Dependency
|
59
82
|
name: cucumber
|
60
|
-
|
83
|
+
prerelease: false
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
85
|
none: false
|
62
|
-
requirements:
|
86
|
+
requirements:
|
63
87
|
- - ~>
|
64
|
-
- !ruby/object:Gem::Version
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
hash: 17
|
90
|
+
segments:
|
91
|
+
- 1
|
92
|
+
- 1
|
93
|
+
- 1
|
65
94
|
version: 1.1.1
|
66
95
|
type: :development
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
96
|
+
version_requirements: *id005
|
97
|
+
- !ruby/object:Gem::Dependency
|
70
98
|
name: aruba
|
71
|
-
|
99
|
+
prerelease: false
|
100
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
72
101
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
hash: 3
|
106
|
+
segments:
|
107
|
+
- 0
|
108
|
+
version: "0"
|
77
109
|
type: :development
|
78
|
-
|
79
|
-
|
80
|
-
- !ruby/object:Gem::Dependency
|
110
|
+
version_requirements: *id006
|
111
|
+
- !ruby/object:Gem::Dependency
|
81
112
|
name: simplecov
|
82
|
-
|
113
|
+
prerelease: false
|
114
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
83
115
|
none: false
|
84
|
-
requirements:
|
116
|
+
requirements:
|
85
117
|
- - ~>
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
hash: 1
|
120
|
+
segments:
|
121
|
+
- 0
|
122
|
+
- 5
|
123
|
+
version: "0.5"
|
88
124
|
type: :development
|
89
|
-
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
125
|
+
version_requirements: *id007
|
126
|
+
- !ruby/object:Gem::Dependency
|
92
127
|
name: clean_test
|
93
|
-
|
128
|
+
prerelease: false
|
129
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
94
130
|
none: false
|
95
|
-
requirements:
|
131
|
+
requirements:
|
96
132
|
- - ~>
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
hash: 31
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
- 10
|
138
|
+
version: "0.10"
|
99
139
|
type: :development
|
140
|
+
version_requirements: *id008
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: mocha
|
100
143
|
prerelease: false
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
144
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
hash: 3
|
150
|
+
segments:
|
151
|
+
- 0
|
152
|
+
version: "0"
|
153
|
+
type: :development
|
154
|
+
version_requirements: *id009
|
155
|
+
description: Methadone provides a lot of small but useful features for developing a command-line app, including an opinionated bootstrapping process, some helpful cucumber steps, and some classes to bridge logging and output into a simple, unified, interface
|
156
|
+
email:
|
107
157
|
- davetron5000 at gmail.com
|
108
|
-
executables:
|
158
|
+
executables:
|
109
159
|
- methadone
|
110
160
|
extensions: []
|
161
|
+
|
111
162
|
extra_rdoc_files: []
|
112
|
-
|
163
|
+
|
164
|
+
files:
|
113
165
|
- .gitignore
|
114
166
|
- .rvmrc
|
115
167
|
- .travis.yml
|
@@ -133,7 +185,14 @@ files:
|
|
133
185
|
- lib/methadone/cli_logging.rb
|
134
186
|
- lib/methadone/cucumber.rb
|
135
187
|
- lib/methadone/error.rb
|
188
|
+
- lib/methadone/execution_strategy/base.rb
|
189
|
+
- lib/methadone/execution_strategy/jvm.rb
|
190
|
+
- lib/methadone/execution_strategy/mri.rb
|
191
|
+
- lib/methadone/execution_strategy/open_3.rb
|
192
|
+
- lib/methadone/execution_strategy/open_4.rb
|
193
|
+
- lib/methadone/execution_strategy/rbx_open_4.rb
|
136
194
|
- lib/methadone/main.rb
|
195
|
+
- lib/methadone/sh.rb
|
137
196
|
- lib/methadone/version.rb
|
138
197
|
- methadone.gemspec
|
139
198
|
- templates/full/.gitignore.erb
|
@@ -148,34 +207,54 @@ files:
|
|
148
207
|
- templates/full/mit_LICENSE.txt.erb
|
149
208
|
- templates/full/test/tc_something.rb.erb
|
150
209
|
- test/base_test.rb
|
210
|
+
- test/command_for_tests.rb
|
211
|
+
- test/execution_strategy/test_base.rb
|
212
|
+
- test/execution_strategy/test_jvm.rb
|
213
|
+
- test/execution_strategy/test_mri.rb
|
214
|
+
- test/execution_strategy/test_open_3.rb
|
215
|
+
- test/execution_strategy/test_open_4.rb
|
216
|
+
- test/execution_strategy/test_rbx_open_4.rb
|
151
217
|
- test/test_cli_logger.rb
|
152
218
|
- test/test_cli_logging.rb
|
153
219
|
- test/test_main.rb
|
220
|
+
- test/test_sh.rb
|
221
|
+
has_rdoc: true
|
154
222
|
homepage: http://github.com/davetron5000/methadone
|
155
223
|
licenses: []
|
224
|
+
|
156
225
|
post_install_message:
|
157
226
|
rdoc_options: []
|
158
|
-
|
227
|
+
|
228
|
+
require_paths:
|
159
229
|
- lib
|
160
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
230
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
161
231
|
none: false
|
162
|
-
requirements:
|
163
|
-
- -
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
|
166
|
-
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
hash: 3
|
236
|
+
segments:
|
237
|
+
- 0
|
238
|
+
version: "0"
|
239
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
240
|
none: false
|
168
|
-
requirements:
|
169
|
-
- -
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
|
241
|
+
requirements:
|
242
|
+
- - ">"
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
hash: 25
|
245
|
+
segments:
|
246
|
+
- 1
|
247
|
+
- 3
|
248
|
+
- 1
|
249
|
+
version: 1.3.1
|
172
250
|
requirements: []
|
251
|
+
|
173
252
|
rubyforge_project: methadone
|
174
|
-
rubygems_version: 1.
|
253
|
+
rubygems_version: 1.5.2
|
175
254
|
signing_key:
|
176
255
|
specification_version: 3
|
177
256
|
summary: Kick the bash habit and start your command-line apps off right
|
178
|
-
test_files:
|
257
|
+
test_files:
|
179
258
|
- features/bootstrap.feature
|
180
259
|
- features/license.feature
|
181
260
|
- features/readme.feature
|
@@ -186,6 +265,14 @@ test_files:
|
|
186
265
|
- features/support/env.rb
|
187
266
|
- features/version.feature
|
188
267
|
- test/base_test.rb
|
268
|
+
- test/command_for_tests.rb
|
269
|
+
- test/execution_strategy/test_base.rb
|
270
|
+
- test/execution_strategy/test_jvm.rb
|
271
|
+
- test/execution_strategy/test_mri.rb
|
272
|
+
- test/execution_strategy/test_open_3.rb
|
273
|
+
- test/execution_strategy/test_open_4.rb
|
274
|
+
- test/execution_strategy/test_rbx_open_4.rb
|
189
275
|
- test/test_cli_logger.rb
|
190
276
|
- test/test_cli_logging.rb
|
191
277
|
- test/test_main.rb
|
278
|
+
- test/test_sh.rb
|