rools 0.3 → 0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +4 -0
- data/RAKEFILE +12 -4
- data/lib/rools/facts.rb +1 -1
- data/lib/rools/rule_set.rb +1 -1
- data/lib/rools/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/RAKEFILE
CHANGED
@@ -71,6 +71,7 @@ ws = Rote::DocTask.new(:doc) do |site|
|
|
71
71
|
site.res.include('**/*.gif')
|
72
72
|
site.res.include('**/*.jpg')
|
73
73
|
site.res.include('**/*.css')
|
74
|
+
site.res.include('**/examples/*')
|
74
75
|
end
|
75
76
|
|
76
77
|
# Add rdoc deps to doc task
|
@@ -191,20 +192,20 @@ end
|
|
191
192
|
# Check Rools specifications using rspec
|
192
193
|
Spec::Rake::SpecTask.new('specs') do |t|
|
193
194
|
t.spec_opts = ['--format', 'specdoc']
|
194
|
-
t.spec_files = FileList['
|
195
|
+
t.spec_files = FileList['spec/**/*.rb']
|
195
196
|
end
|
196
197
|
|
197
198
|
Spec::Rake::SpecTask.new('spec_coverage') do |t|
|
198
199
|
t.spec_opts = ['--format', 'specdoc']
|
199
|
-
t.spec_files = FileList['
|
200
|
+
t.spec_files = FileList['spec/**/*.rb']
|
200
201
|
t.rcov = true
|
201
202
|
t.rcov_dir = './html/output/coverage'
|
202
|
-
t.rcov_opts = ['--exclude', '
|
203
|
+
t.rcov_opts = ['--exclude', 'spec']
|
203
204
|
end
|
204
205
|
|
205
206
|
desc "Run all specs and store html output in html/output/report.html"
|
206
207
|
Spec::Rake::SpecTask.new('spec_html') do |t|
|
207
|
-
t.spec_files = FileList['
|
208
|
+
t.spec_files = FileList['spec/**/*_spec.rb']
|
208
209
|
t.spec_opts = ['--format html:html/output/rspec_report.html','--backtrace']
|
209
210
|
end
|
210
211
|
|
@@ -214,3 +215,10 @@ RCov::VerifyTask.new(:verify_rcov => :spec_coverage) do |t|
|
|
214
215
|
end
|
215
216
|
|
216
217
|
task :rcov => [:verify_rcov, :spec_html]
|
218
|
+
|
219
|
+
namespace :spec do
|
220
|
+
task :autotest do
|
221
|
+
require './spec/rspec_autotest'
|
222
|
+
RspecAutotest.run
|
223
|
+
end
|
224
|
+
end
|
data/lib/rools/facts.rb
CHANGED
data/lib/rools/rule_set.rb
CHANGED
data/lib/rools/version.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rools
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "0.
|
7
|
-
date: 2007-
|
6
|
+
version: "0.4"
|
7
|
+
date: 2007-11-05 00:00:00 -05:00
|
8
8
|
summary: A Rules Engine written in Ruby
|
9
9
|
require_paths:
|
10
10
|
- lib
|