do_sqlite3 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +40 -3
- data/lib/do_sqlite3/version.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -40,7 +40,44 @@ task :uninstall => [ :clobber ] do
|
|
40
40
|
end
|
41
41
|
|
42
42
|
desc 'Run specifications'
|
43
|
-
Spec::Rake::SpecTask.new(:spec
|
44
|
-
t.spec_opts << '--
|
45
|
-
t.
|
43
|
+
Spec::Rake::SpecTask.new(:spec) do |t|
|
44
|
+
t.spec_opts << '--format' << 'specdoc' << '--colour'
|
45
|
+
t.spec_opts << '--loadby' << 'random'
|
46
|
+
t.spec_files = Pathname.glob(ENV['FILES'] || 'spec/**/*_spec.rb')
|
47
|
+
|
48
|
+
begin
|
49
|
+
t.rcov = ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true
|
50
|
+
t.rcov_opts << '--exclude' << 'spec'
|
51
|
+
t.rcov_opts << '--text-summary'
|
52
|
+
t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
|
53
|
+
rescue Exception
|
54
|
+
# rcov not installed
|
55
|
+
end
|
46
56
|
end
|
57
|
+
|
58
|
+
namespace :ci do
|
59
|
+
|
60
|
+
task :prepare do
|
61
|
+
rm_rf ROOT + "ci"
|
62
|
+
mkdir_p ROOT + "ci"
|
63
|
+
mkdir_p ROOT + "ci/doc"
|
64
|
+
mkdir_p ROOT + "ci/cyclomatic"
|
65
|
+
mkdir_p ROOT + "ci/token"
|
66
|
+
end
|
67
|
+
|
68
|
+
task :publish do
|
69
|
+
out = ENV['CC_BUILD_ARTIFACTS'] || "out"
|
70
|
+
mkdir_p out unless File.directory? out
|
71
|
+
|
72
|
+
mv "ci/rspec_report.html", "#{out}/rspec_report.html"
|
73
|
+
mv "ci/coverage", "#{out}/coverage"
|
74
|
+
end
|
75
|
+
|
76
|
+
task :spec => :prepare do
|
77
|
+
Rake::Task[:spec].invoke
|
78
|
+
mv ROOT + "coverage", ROOT + "ci/coverage"
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
|
83
|
+
task :ci => ["ci:spec"]
|
data/lib/do_sqlite3/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: do_sqlite3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernerd Schaefer
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-10-12 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.9.
|
23
|
+
version: 0.9.6
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|