qed 2.9.0 → 2.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/.index +69 -0
  2. data/.yardopts +3 -2
  3. data/{HISTORY.rdoc → HISTORY.md} +44 -32
  4. data/LICENSE.txt +25 -0
  5. data/{README.rdoc → README.md} +60 -51
  6. data/{qed/01_demos.rdoc → demo/01_demos.md} +3 -3
  7. data/{qed/02_advice.rdoc → demo/02_advice.md} +17 -17
  8. data/{qed/03_helpers.rdoc → demo/03_helpers.md} +10 -10
  9. data/{qed/04_samples.rdoc → demo/04_samples.md} +5 -5
  10. data/{qed/05_quote.rdoc → demo/05_quote.md} +7 -7
  11. data/{qed/07_toplevel.rdoc → demo/07_toplevel.md} +11 -11
  12. data/{qed/08_cross_script.rdoc → demo/08_cross_script.md} +9 -9
  13. data/{qed/09_cross_script.rdoc → demo/09_cross_script.md} +13 -14
  14. data/demo/10_constant_lookup.md +16 -0
  15. data/{qed/11_embedded_rules.rdoc → demo/11_embedded_rules.md} +13 -13
  16. data/{qed/99_issues/02_topcode.rdoc → demo/99_issues/02_topcode.md} +0 -0
  17. data/{qed → demo}/applique/ae.rb +0 -0
  18. data/{qed → demo}/applique/constant.rb +0 -0
  19. data/{qed → demo}/applique/env.rb +0 -0
  20. data/{qed → demo}/applique/fileutils.rb +0 -0
  21. data/{qed → demo}/applique/markup.rb +0 -0
  22. data/demo/applique/quote.md +8 -0
  23. data/{qed → demo}/applique/toplevel.rb +0 -0
  24. data/{qed → demo}/helpers/advice.rb +0 -0
  25. data/{qed → demo}/helpers/toplevel.rb +0 -0
  26. data/{qed → demo}/samples/data.txt +0 -0
  27. data/{qed → demo}/samples/table.yml +0 -0
  28. data/lib/qed.yml +41 -42
  29. data/lib/qed/cli.rb +2 -4
  30. data/lib/qed/cli/qed.rb +30 -3
  31. data/lib/qed/evaluator.rb +4 -1
  32. data/lib/qed/reporter/abstract.rb +1 -1
  33. data/lib/qed/session.rb +9 -2
  34. data/lib/qed/settings.rb +6 -122
  35. data/lib/qed/utils.rb +125 -0
  36. metadata +80 -56
  37. data/.config.rb +0 -24
  38. data/.ruby +0 -70
  39. data/COPYING.rdoc +0 -31
  40. data/lib/qed/rc.rb +0 -12
  41. data/qed/10_constant_lookup.rdoc +0 -16
  42. data/qed/applique/quote.rdoc +0 -8
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.9.1
5
5
  prerelease:
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-05-20 00:00:00.000000000 Z
12
+ date: 2013-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ansi
16
- requirement: &25076880 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *25076880
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: brass
27
- requirement: &25074880 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *25074880
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: facets
38
- requirement: &25073040 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,21 +53,15 @@ dependencies:
43
53
  version: '2.8'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *25073040
47
- - !ruby/object:Gem::Dependency
48
- name: courtier
49
- requirement: &25071080 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
50
57
  none: false
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
- version: '0'
55
- type: :development
56
- prerelease: false
57
- version_requirements: *25071080
61
+ version: '2.8'
58
62
  - !ruby/object:Gem::Dependency
59
63
  name: blankslate
60
- requirement: &25068100 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
61
65
  none: false
62
66
  requirements:
63
67
  - - ! '>='
@@ -65,10 +69,15 @@ dependencies:
65
69
  version: '0'
66
70
  type: :development
67
71
  prerelease: false
68
- version_requirements: *25068100
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: ae
71
- requirement: &25065100 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
72
81
  none: false
73
82
  requirements:
74
83
  - - ! '>='
@@ -76,10 +85,15 @@ dependencies:
76
85
  version: '0'
77
86
  type: :development
78
87
  prerelease: false
79
- version_requirements: *25065100
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
80
94
  - !ruby/object:Gem::Dependency
81
95
  name: detroit
82
- requirement: &25062600 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
83
97
  none: false
84
98
  requirements:
85
99
  - - ! '>='
@@ -87,10 +101,15 @@ dependencies:
87
101
  version: '0'
88
102
  type: :development
89
103
  prerelease: false
90
- version_requirements: *25062600
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
91
110
  - !ruby/object:Gem::Dependency
92
- name: fire
93
- requirement: &25059820 !ruby/object:Gem::Requirement
111
+ name: ergo
112
+ requirement: !ruby/object:Gem::Requirement
94
113
  none: false
95
114
  requirements:
96
115
  - - ! '>='
@@ -98,7 +117,12 @@ dependencies:
98
117
  version: '0'
99
118
  type: :development
100
119
  prerelease: false
101
- version_requirements: *25059820
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
102
126
  description: ! 'QED (Quality Ensured Demonstrations) is a TDD/BDD framework
103
127
 
104
128
  utilizing Literate Programming techniques.'
@@ -109,15 +133,36 @@ executables:
109
133
  - qed
110
134
  extensions: []
111
135
  extra_rdoc_files:
112
- - HISTORY.rdoc
113
- - README.rdoc
114
- - COPYING.rdoc
136
+ - LICENSE.txt
137
+ - HISTORY.md
138
+ - README.md
115
139
  files:
116
- - .config.rb
117
- - .ruby
140
+ - .index
118
141
  - .yardopts
119
142
  - bin/qed
120
143
  - bin/qedoc
144
+ - demo/01_demos.md
145
+ - demo/02_advice.md
146
+ - demo/03_helpers.md
147
+ - demo/04_samples.md
148
+ - demo/05_quote.md
149
+ - demo/07_toplevel.md
150
+ - demo/08_cross_script.md
151
+ - demo/09_cross_script.md
152
+ - demo/10_constant_lookup.md
153
+ - demo/11_embedded_rules.md
154
+ - demo/99_issues/02_topcode.md
155
+ - demo/applique/ae.rb
156
+ - demo/applique/constant.rb
157
+ - demo/applique/env.rb
158
+ - demo/applique/fileutils.rb
159
+ - demo/applique/markup.rb
160
+ - demo/applique/quote.md
161
+ - demo/applique/toplevel.rb
162
+ - demo/helpers/advice.rb
163
+ - demo/helpers/toplevel.rb
164
+ - demo/samples/data.txt
165
+ - demo/samples/table.yml
121
166
  - lib/qed/applique.rb
122
167
  - lib/qed/cli/qed.rb
123
168
  - lib/qed/cli/qedoc.rb
@@ -134,7 +179,6 @@ files:
134
179
  - lib/qed/helpers/shell_session.rb
135
180
  - lib/qed/parser.rb
136
181
  - lib/qed/qparser.rb
137
- - lib/qed/rc.rb
138
182
  - lib/qed/reporter/abstract.rb
139
183
  - lib/qed/reporter/dotprogress.rb
140
184
  - lib/qed/reporter/html.rb
@@ -145,33 +189,12 @@ files:
145
189
  - lib/qed/session.rb
146
190
  - lib/qed/settings.rb
147
191
  - lib/qed/step.rb
192
+ - lib/qed/utils.rb
148
193
  - lib/qed.rb
149
194
  - lib/qed.yml
150
- - qed/01_demos.rdoc
151
- - qed/02_advice.rdoc
152
- - qed/03_helpers.rdoc
153
- - qed/04_samples.rdoc
154
- - qed/05_quote.rdoc
155
- - qed/07_toplevel.rdoc
156
- - qed/08_cross_script.rdoc
157
- - qed/09_cross_script.rdoc
158
- - qed/10_constant_lookup.rdoc
159
- - qed/11_embedded_rules.rdoc
160
- - qed/99_issues/02_topcode.rdoc
161
- - qed/applique/ae.rb
162
- - qed/applique/constant.rb
163
- - qed/applique/env.rb
164
- - qed/applique/fileutils.rb
165
- - qed/applique/markup.rb
166
- - qed/applique/quote.rdoc
167
- - qed/applique/toplevel.rb
168
- - qed/helpers/advice.rb
169
- - qed/helpers/toplevel.rb
170
- - qed/samples/data.txt
171
- - qed/samples/table.yml
172
- - HISTORY.rdoc
173
- - README.rdoc
174
- - COPYING.rdoc
195
+ - LICENSE.txt
196
+ - HISTORY.md
197
+ - README.md
175
198
  homepage: http://rubyworks.github.com/qed
176
199
  licenses:
177
200
  - BSD-2-Clause
@@ -193,8 +216,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
216
  version: '0'
194
217
  requirements: []
195
218
  rubyforge_project:
196
- rubygems_version: 1.8.11
219
+ rubygems_version: 1.8.24
197
220
  signing_key:
198
221
  specification_version: 3
199
222
  summary: Quod Erat Demonstrandum
200
223
  test_files: []
224
+ has_rdoc:
data/.config.rb DELETED
@@ -1,24 +0,0 @@
1
- # Confection based configuration.
2
-
3
- config :qed do
4
- # default configuration
5
- end
6
-
7
- config :qed, :profile=>:simplecov, :preset=>true do
8
- require 'simplecov'
9
- SimpleCov.start do
10
- coverage_dir 'log/coverage'
11
- #add_group "Label", "lib/qed/directory"
12
- end
13
- end
14
-
15
- config :qed, :profile=>:example do
16
- puts ("*" * 78)
17
- puts
18
-
19
- at_exit do
20
- puts
21
- puts ("*" * 78)
22
- end
23
- end
24
-
data/.ruby DELETED
@@ -1,70 +0,0 @@
1
- ---
2
- source:
3
- - var
4
- authors:
5
- - name: Trans
6
- email: transfire@gmail.com
7
- copyrights:
8
- - holder: Thomas Sawyer, Rubyworks
9
- year: '2006'
10
- license: BSD-2-Clause
11
- requirements:
12
- - name: ansi
13
- - name: brass
14
- - name: facets
15
- version: 2.8+
16
- - name: courtier
17
- groups:
18
- - optional
19
- development: true
20
- - name: blankslate
21
- groups:
22
- - optional
23
- - test
24
- development: true
25
- - name: ae
26
- groups:
27
- - test
28
- development: true
29
- - name: detroit
30
- groups:
31
- - build
32
- development: true
33
- - name: fire
34
- groups:
35
- - build
36
- development: true
37
- dependencies: []
38
- alternatives: []
39
- conflicts: []
40
- repositories:
41
- - uri: git://github.com/rubyworks/qed.git
42
- scm: git
43
- name: upstream
44
- resources:
45
- - uri: http://rubyworks.github.com/qed
46
- name: home
47
- type: home
48
- - uri: http://github.com/rubyworks/qed
49
- name: code
50
- type: code
51
- - uri: http://groups.google.com/groups/rubyworks-mailinglist
52
- name: mail
53
- type: mail
54
- - uri: http://github.com/rubyworks/qed/issues
55
- name: bugs
56
- type: bugs
57
- extra: {}
58
- load_path:
59
- - lib
60
- revision: 0
61
- created: '2009-06-16'
62
- summary: Quod Erat Demonstrandum
63
- title: QED
64
- version: 2.9.0
65
- name: qed
66
- webcvs: http://github.com/rubyworks/qed/blob/master/
67
- description: ! 'QED (Quality Ensured Demonstrations) is a TDD/BDD framework
68
-
69
- utilizing Literate Programming techniques.'
70
- date: '2012-04-14'
@@ -1,31 +0,0 @@
1
- = COPYRIGHT NOTICES
2
-
3
- == QED
4
-
5
- Copyright:: (c) 2009 Rubyworks, Thomas Sawyer
6
- License:: BSD-2-Clause
7
- Website:: http://rubyworks.github.com/qed
8
-
9
- Copyright 2009 Rubyworks. All rights reserved.
10
-
11
- Redistribution and use in source and binary forms, with or without
12
- modification, are permitted provided that the following conditions are met:
13
-
14
- * Redistributions of source code must retain the above copyright notice,
15
- this list of conditions and the following disclaimer.
16
-
17
- * Redistributions in binary form must reproduce the above copyright notice,
18
- this list of conditions and the following disclaimer in the documentation
19
- and/or other materials provided with the distribution.
20
-
21
- THIS SOFTWARE IS PROVIDED BY Thomas Sawyer ``AS IS'' AND ANY EXPRESS
22
- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
24
- NO EVENT SHALL Thomas Sawyer OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
25
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26
- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
28
- OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
-
@@ -1,12 +0,0 @@
1
- require 'qed'
2
- require 'qed/configure'
3
-
4
- begin
5
- require 'rc/api'
6
- RC.profile_switch 'qed', '-p', '--profile'
7
- RC.configure 'qed' do |config|
8
- QED.configure(config.profile, &config)
9
- end
10
- rescue LoadError
11
- end
12
-
@@ -1,16 +0,0 @@
1
- = Missing Constant
2
-
3
- If a constant is missing it is because it was not found
4
- in either the demos scope, the applique or at the toplevel.
5
-
6
- begin
7
- UnknownConstant
8
- rescue => err
9
- # no colon means toplevel
10
- err.name.to_s.refute.include?('::')
11
- end
12
-
13
- A constant defined in the applique is visible.
14
-
15
- APPLIQUE_CONSTANT.assert = true
16
-
@@ -1,8 +0,0 @@
1
- == Applique: Quote
2
-
3
- This applique simply provide support to `quote.rdoc` demo.
4
-
5
- When "we want to make an example out of the following text" do |text|
6
- @quote_text = text
7
- end
8
-