methadone 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/bin/methadone +2 -2
  2. data/lib/methadone/cucumber.rb +6 -3
  3. data/lib/methadone/error.rb +3 -2
  4. data/lib/methadone/exit_now.rb +25 -0
  5. data/lib/methadone/main.rb +21 -10
  6. data/lib/methadone/sh.rb +19 -4
  7. data/lib/methadone/version.rb +1 -1
  8. data/lib/methadone.rb +1 -0
  9. data/templates/full/Rakefile.erb +1 -1
  10. data/templates/full/features/step_definitions/executable_steps.rb.erb +1 -1
  11. data/test/test_exit_now.rb +37 -0
  12. data/test/test_main.rb +11 -5
  13. data/test/test_sh.rb +17 -0
  14. data/tutorial/.vimrc +6 -0
  15. data/tutorial/1_intro.md +52 -0
  16. data/tutorial/2_bootstrap.md +176 -0
  17. data/tutorial/3_ui.md +349 -0
  18. data/tutorial/4_happy_path.md +437 -0
  19. data/tutorial/5_more_features.md +702 -0
  20. data/tutorial/6_refactor.md +220 -0
  21. data/tutorial/7_logging_debugging.md +304 -0
  22. data/tutorial/8_conclusion.md +11 -0
  23. data/tutorial/code/.rvmrc +1 -0
  24. data/tutorial/code/fullstop/.gitignore +5 -0
  25. data/tutorial/code/fullstop/Gemfile +4 -0
  26. data/tutorial/code/fullstop/LICENSE.txt +202 -0
  27. data/tutorial/code/fullstop/README.rdoc +23 -0
  28. data/tutorial/code/fullstop/Rakefile +31 -0
  29. data/tutorial/code/fullstop/bin/fullstop +43 -0
  30. data/tutorial/code/fullstop/features/fullstop.feature +40 -0
  31. data/tutorial/code/fullstop/features/step_definitions/fullstop_steps.rb +64 -0
  32. data/tutorial/code/fullstop/features/support/env.rb +22 -0
  33. data/tutorial/code/fullstop/fullstop.gemspec +28 -0
  34. data/tutorial/code/fullstop/lib/fullstop/repo.rb +38 -0
  35. data/tutorial/code/fullstop/lib/fullstop/version.rb +3 -0
  36. data/tutorial/code/fullstop/lib/fullstop.rb +2 -0
  37. data/tutorial/code/fullstop/test/tc_something.rb +7 -0
  38. data/tutorial/en.utf-8.add +18 -0
  39. data/tutorial/toc.md +27 -0
  40. metadata +49 -20
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: methadone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc2
4
+ version: 1.0.0.rc3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-04 00:00:00.000000000Z
12
+ date: 2012-02-19 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: &70291259020440 !ruby/object:Gem::Requirement
16
+ requirement: &70353456288360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70291259020440
24
+ version_requirements: *70353456288360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec-expectations
27
- requirement: &70291259018880 !ruby/object:Gem::Requirement
27
+ requirement: &70353456287680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2.6'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70291259018880
35
+ version_requirements: *70353456287680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70291259018280 !ruby/object:Gem::Requirement
38
+ requirement: &70353456287180 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70291259018280
46
+ version_requirements: *70353456287180
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &70291259017480 !ruby/object:Gem::Requirement
49
+ requirement: &70353456286640 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '3.9'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70291259017480
57
+ version_requirements: *70353456286640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: cucumber
60
- requirement: &70291259016720 !ruby/object:Gem::Requirement
60
+ requirement: &70353456285980 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.1.1
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70291259016720
68
+ version_requirements: *70353456285980
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: aruba
71
- requirement: &70291259016160 !ruby/object:Gem::Requirement
71
+ requirement: &70353456285520 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70291259016160
79
+ version_requirements: *70353456285520
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: simplecov
82
- requirement: &70291259015380 !ruby/object:Gem::Requirement
82
+ requirement: &70353456284800 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0.5'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70291259015380
90
+ version_requirements: *70353456284800
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: clean_test
93
- requirement: &70291259014700 !ruby/object:Gem::Requirement
93
+ requirement: &70353456284200 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0.10'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70291259014700
101
+ version_requirements: *70353456284200
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: mocha
104
- requirement: &70291259014060 !ruby/object:Gem::Requirement
104
+ requirement: &70353456283600 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,7 +109,7 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70291259014060
112
+ version_requirements: *70353456283600
113
113
  description: Methadone provides a lot of small but useful features for developing
114
114
  a command-line app, including an opinionated bootstrapping process, some helpful
115
115
  cucumber steps, and some classes to bridge logging and output into a simple, unified,
@@ -150,6 +150,7 @@ files:
150
150
  - lib/methadone/execution_strategy/open_3.rb
151
151
  - lib/methadone/execution_strategy/open_4.rb
152
152
  - lib/methadone/execution_strategy/rbx_open_4.rb
153
+ - lib/methadone/exit_now.rb
153
154
  - lib/methadone/main.rb
154
155
  - lib/methadone/sh.rb
155
156
  - lib/methadone/version.rb
@@ -175,8 +176,35 @@ files:
175
176
  - test/execution_strategy/test_rbx_open_4.rb
176
177
  - test/test_cli_logger.rb
177
178
  - test/test_cli_logging.rb
179
+ - test/test_exit_now.rb
178
180
  - test/test_main.rb
179
181
  - test/test_sh.rb
182
+ - tutorial/.vimrc
183
+ - tutorial/1_intro.md
184
+ - tutorial/2_bootstrap.md
185
+ - tutorial/3_ui.md
186
+ - tutorial/4_happy_path.md
187
+ - tutorial/5_more_features.md
188
+ - tutorial/6_refactor.md
189
+ - tutorial/7_logging_debugging.md
190
+ - tutorial/8_conclusion.md
191
+ - tutorial/code/.rvmrc
192
+ - tutorial/code/fullstop/.gitignore
193
+ - tutorial/code/fullstop/Gemfile
194
+ - tutorial/code/fullstop/LICENSE.txt
195
+ - tutorial/code/fullstop/README.rdoc
196
+ - tutorial/code/fullstop/Rakefile
197
+ - tutorial/code/fullstop/bin/fullstop
198
+ - tutorial/code/fullstop/features/fullstop.feature
199
+ - tutorial/code/fullstop/features/step_definitions/fullstop_steps.rb
200
+ - tutorial/code/fullstop/features/support/env.rb
201
+ - tutorial/code/fullstop/fullstop.gemspec
202
+ - tutorial/code/fullstop/lib/fullstop.rb
203
+ - tutorial/code/fullstop/lib/fullstop/repo.rb
204
+ - tutorial/code/fullstop/lib/fullstop/version.rb
205
+ - tutorial/code/fullstop/test/tc_something.rb
206
+ - tutorial/en.utf-8.add
207
+ - tutorial/toc.md
180
208
  homepage: http://github.com/davetron5000/methadone
181
209
  licenses: []
182
210
  post_install_message:
@@ -221,5 +249,6 @@ test_files:
221
249
  - test/execution_strategy/test_rbx_open_4.rb
222
250
  - test/test_cli_logger.rb
223
251
  - test/test_cli_logging.rb
252
+ - test/test_exit_now.rb
224
253
  - test/test_main.rb
225
254
  - test/test_sh.rb