lemon 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/.config/cucumber.yml +3 -0
  2. data/.gitignore +8 -0
  3. data/.reap/digest +678 -0
  4. data/.reap/test.reap +7 -0
  5. data/.ruby +42 -45
  6. data/Assembly +43 -0
  7. data/HISTORY.rdoc +10 -0
  8. data/MANIFEST +65 -0
  9. data/PROFILE +9 -6
  10. data/Rakefile +14 -0
  11. data/VERSION +1 -1
  12. data/lemon.gemspec +152 -0
  13. data/lib/lemon.yml +42 -45
  14. data/lib/lemon/cli.rb +4 -2
  15. data/lib/lemon/controller/test_runner.rb +4 -0
  16. data/lib/lemon/model/test_case.rb +122 -40
  17. data/notes/2010-05-05-coverage.rdoc +47 -0
  18. data/notes/2010-05-06-files_not_classes.rdoc +19 -0
  19. data/notes/2010-07-11-acid_testing.rdoc +52 -0
  20. data/notes/2010-08-02-enforcing-the-unit.md +68 -0
  21. data/notes/2010-08-03-new-api.md +37 -0
  22. data/site/.rsync-filter +8 -0
  23. data/site/assets/images/cut-lemon.png +0 -0
  24. data/site/assets/images/forkme.png +0 -0
  25. data/site/assets/images/github-logo.png +0 -0
  26. data/site/assets/images/lemon.jpg +0 -0
  27. data/site/assets/images/lemon.svg +39 -0
  28. data/site/assets/images/lemons-are-good.png +0 -0
  29. data/site/assets/images/opensource.png +0 -0
  30. data/site/assets/images/ruby-logo.png +0 -0
  31. data/site/assets/images/skin.jpg +0 -0
  32. data/site/assets/images/skin1.jpg +0 -0
  33. data/site/assets/images/tap.png +0 -0
  34. data/site/assets/images/title.png +0 -0
  35. data/site/assets/styles/class.css +6 -0
  36. data/site/assets/styles/reset.css +17 -0
  37. data/site/assets/styles/site.css +33 -0
  38. data/site/index.html +217 -0
  39. data/work/deprecated/command/abstract.rb +29 -0
  40. data/work/deprecated/command/coverage.rb +115 -0
  41. data/work/deprecated/command/generate.rb +124 -0
  42. data/work/deprecated/command/test.rb +112 -0
  43. data/work/reference/dsl2.rb +136 -0
  44. data/work/reference/dynamic_constant_lookup.rb +76 -0
  45. data/work/sandbox/lib/sample.rb +13 -0
  46. data/work/sandbox/test/sample_case.rb +12 -0
  47. data/work/trash/example-cover.rb +5 -0
  48. data/work/trash/example.rb +16 -0
  49. metadata +134 -101
  50. data/.yardopts +0 -7
  51. data/QED.rdoc +0 -1
@@ -0,0 +1,13 @@
1
+ class X
2
+
3
+ def a; "a"; end
4
+ def b; "b"; end
5
+ def c; "c"; end
6
+
7
+ end
8
+
9
+ class Y
10
+
11
+ def q; "q"; end
12
+
13
+ end
@@ -0,0 +1,12 @@
1
+ Covers 'sample'
2
+
3
+ TestCase X do
4
+
5
+ Unit :a => "Returns a String" do
6
+ end
7
+
8
+ Unit :b => "Returns a String" do
9
+ end
10
+
11
+ end
12
+
@@ -0,0 +1,5 @@
1
+ require 'lemon/aid/example'
2
+
3
+ ex = Example.new
4
+ ex.f(1,2)
5
+
@@ -0,0 +1,16 @@
1
+ class Example
2
+
3
+ def self.m(a,b)
4
+ a * b
5
+ end
6
+
7
+ def q(x,y)
8
+ x % y
9
+ end
10
+
11
+ def f(x,y)
12
+ x + y
13
+ end
14
+
15
+ end
16
+
metadata CHANGED
@@ -1,105 +1,118 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: lemon
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.5
4
5
  prerelease:
5
- version: 0.8.4
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Thomas Sawyer
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-11 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-07-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: ae
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &20838840 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: ansi
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *20838840
25
+ - !ruby/object:Gem::Dependency
26
+ name: ansi
27
+ requirement: &21079500 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "1.3"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '1.3'
35
33
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: detroit
39
34
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *21079500
36
+ - !ruby/object:Gem::Dependency
37
+ name: detroit
38
+ requirement: &21077760 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
46
44
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: reap
50
45
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *21077760
47
+ - !ruby/object:Gem::Dependency
48
+ name: reap
49
+ requirement: &21076220 !ruby/object:Gem::Requirement
52
50
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
57
55
  type: :development
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: qed
61
56
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *21076220
58
+ - !ruby/object:Gem::Dependency
59
+ name: qed
60
+ requirement: &21075560 !ruby/object:Gem::Requirement
63
61
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
68
66
  type: :development
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
71
- name: cucumber
72
67
  prerelease: false
73
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *21075560
69
+ - !ruby/object:Gem::Dependency
70
+ name: cucumber
71
+ requirement: &21074540 !ruby/object:Gem::Requirement
74
72
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
79
77
  type: :development
80
- version_requirements: *id006
81
- - !ruby/object:Gem::Dependency
82
- name: aruba
83
78
  prerelease: false
84
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *21074540
80
+ - !ruby/object:Gem::Dependency
81
+ name: aruba
82
+ requirement: &21073840 !ruby/object:Gem::Requirement
85
83
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
90
88
  type: :development
91
- version_requirements: *id007
92
- description: Lemon is a unit testing framework that tightly correlates class to test case and method to test unit.
93
- email: transfire@gmail.com
94
- executables:
89
+ prerelease: false
90
+ version_requirements: *21073840
91
+ description: Lemon is a unit testing framework that tightly correlates class to test
92
+ case and method to test unit.
93
+ email:
94
+ - transfire@gmail.com
95
+ executables:
95
96
  - lemon
96
97
  extensions: []
97
-
98
- extra_rdoc_files:
98
+ extra_rdoc_files:
99
+ - HISTORY.rdoc
99
100
  - README.rdoc
100
- files:
101
- - .yardopts
101
+ - COPYING.rdoc
102
+ files:
103
+ - .config/cucumber.yml
104
+ - .gitignore
105
+ - .reap/digest
106
+ - .reap/test.reap
102
107
  - .ruby
108
+ - Assembly
109
+ - COPYING.rdoc
110
+ - HISTORY.rdoc
111
+ - MANIFEST
112
+ - PROFILE
113
+ - README.rdoc
114
+ - Rakefile
115
+ - VERSION
103
116
  - bin/lemon
104
117
  - demo/case_example_error.rb
105
118
  - demo/case_example_fail.rb
@@ -114,6 +127,9 @@ files:
114
127
  - features/support/ae.rb
115
128
  - features/support/aruba.rb
116
129
  - features/test.feature
130
+ - lemon.gemspec
131
+ - lib/lemon.rb
132
+ - lib/lemon.yml
117
133
  - lib/lemon/cli.rb
118
134
  - lib/lemon/controller/coverage_analyzer.rb
119
135
  - lib/lemon/controller/scaffold_generator.rb
@@ -142,12 +158,32 @@ files:
142
158
  - lib/lemon/view/test_reports/tapj.rb
143
159
  - lib/lemon/view/test_reports/tapy.rb
144
160
  - lib/lemon/view/test_reports/verbose.rb
145
- - lib/lemon.rb
146
- - lib/lemon.yml
161
+ - notes/2010-05-05-coverage.rdoc
162
+ - notes/2010-05-06-files_not_classes.rdoc
163
+ - notes/2010-07-11-acid_testing.rdoc
164
+ - notes/2010-08-02-enforcing-the-unit.md
165
+ - notes/2010-08-03-new-api.md
147
166
  - qed/applique/fs.rb
148
167
  - qed/coverage/01_complete.rdoc
149
168
  - qed/coverage/02_incomplete.rdoc
150
169
  - qed/coverage/03_extensions.rdoc
170
+ - site/.rsync-filter
171
+ - site/assets/images/cut-lemon.png
172
+ - site/assets/images/forkme.png
173
+ - site/assets/images/github-logo.png
174
+ - site/assets/images/lemon.jpg
175
+ - site/assets/images/lemon.svg
176
+ - site/assets/images/lemons-are-good.png
177
+ - site/assets/images/opensource.png
178
+ - site/assets/images/ruby-logo.png
179
+ - site/assets/images/skin.jpg
180
+ - site/assets/images/skin1.jpg
181
+ - site/assets/images/tap.png
182
+ - site/assets/images/title.png
183
+ - site/assets/styles/class.css
184
+ - site/assets/styles/reset.css
185
+ - site/assets/styles/site.css
186
+ - site/index.html
151
187
  - test/case_coverage_analyzer.rb
152
188
  - test/case_test_case_dsl.rb
153
189
  - test/fixtures/case_complete.rb
@@ -156,41 +192,38 @@ files:
156
192
  - test/fixtures/example.rb
157
193
  - test/fixtures/helper.rb
158
194
  - test/runner
159
- - HISTORY.rdoc
160
- - PROFILE
161
- - README.rdoc
162
- - QED.rdoc
163
- - VERSION
164
- - COPYING.rdoc
165
- homepage: http://proutils.github.com/lemon
166
- licenses:
167
- - Apache 2.0
195
+ - work/deprecated/command/abstract.rb
196
+ - work/deprecated/command/coverage.rb
197
+ - work/deprecated/command/generate.rb
198
+ - work/deprecated/command/test.rb
199
+ - work/reference/dsl2.rb
200
+ - work/reference/dynamic_constant_lookup.rb
201
+ - work/sandbox/lib/sample.rb
202
+ - work/sandbox/test/sample_case.rb
203
+ - work/trash/example-cover.rb
204
+ - work/trash/example.rb
205
+ homepage: http://rubyworks.github.com/lemon
206
+ licenses: []
168
207
  post_install_message:
169
- rdoc_options:
170
- - --title
171
- - Lemon API
172
- - --main
173
- - README.rdoc
174
- require_paths:
208
+ rdoc_options: []
209
+ require_paths:
175
210
  - lib
176
- required_ruby_version: !ruby/object:Gem::Requirement
211
+ required_ruby_version: !ruby/object:Gem::Requirement
177
212
  none: false
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- version: "0"
182
- required_rubygems_version: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ! '>='
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ required_rubygems_version: !ruby/object:Gem::Requirement
183
218
  none: false
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: "0"
219
+ requirements:
220
+ - - ! '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
188
223
  requirements: []
189
-
190
- rubyforge_project: lemon
191
- rubygems_version: 1.8.2
224
+ rubyforge_project:
225
+ rubygems_version: 1.8.5
192
226
  signing_key:
193
227
  specification_version: 3
194
228
  summary: Pucker-tight Unit Testing
195
229
  test_files: []
196
-
data/.yardopts DELETED
@@ -1,7 +0,0 @@
1
- --output-dir doc
2
- --private
3
- --protected
4
- lib/
5
- -
6
- [A-Z][A-Z]*
7
- log/*.rdoc
data/QED.rdoc DELETED
@@ -1 +0,0 @@
1
-