dm-constraints 0.9.5 → 0.9.6
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/lib/dm-constraints/version.rb +1 -1
- data/lib/dm-constraints.rb +1 -1
- data/tasks/ci.rb +2 -2
- data/tasks/dm.rb +3 -3
- metadata +3 -3
data/lib/dm-constraints.rb
CHANGED
data/tasks/ci.rb
CHANGED
@@ -12,7 +12,7 @@ namespace :ci do
|
|
12
12
|
|
13
13
|
Spec::Rake::SpecTask.new("spec:unit" => :prepare) do |t|
|
14
14
|
t.spec_opts = ["--format", "specdoc", "--format", "html:#{ROOT}/ci/unit_rspec_report.html", "--diff"]
|
15
|
-
t.spec_files = Pathname.glob(ROOT +
|
15
|
+
t.spec_files = Pathname.glob((ROOT + 'spec/unit/**/*_spec.rb').to_s)
|
16
16
|
unless ENV['NO_RCOV']
|
17
17
|
t.rcov = true
|
18
18
|
t.rcov_opts << '--exclude' << "spec,gems"
|
@@ -24,7 +24,7 @@ namespace :ci do
|
|
24
24
|
|
25
25
|
Spec::Rake::SpecTask.new("spec:integration" => :prepare) do |t|
|
26
26
|
t.spec_opts = ["--format", "specdoc", "--format", "html:#{ROOT}/ci/integration_rspec_report.html", "--diff"]
|
27
|
-
t.spec_files = Pathname.glob(ROOT +
|
27
|
+
t.spec_files = Pathname.glob((ROOT + 'spec/integration/**/*_spec.rb').to_s)
|
28
28
|
unless ENV['NO_RCOV']
|
29
29
|
t.rcov = true
|
30
30
|
t.rcov_opts << '--exclude' << "spec,gems"
|
data/tasks/dm.rb
CHANGED
@@ -16,7 +16,7 @@ namespace :dm do
|
|
16
16
|
def run_spec(name, files, rcov)
|
17
17
|
Spec::Rake::SpecTask.new(name) do |t|
|
18
18
|
t.spec_opts << '--colour' << '--loadby' << 'random'
|
19
|
-
t.spec_files = Pathname.glob(ENV['FILES'] || files)
|
19
|
+
t.spec_files = Pathname.glob(ENV['FILES'] || files.to_s)
|
20
20
|
t.rcov = rcov
|
21
21
|
t.rcov_opts << '--exclude' << 'spec,environment.rb'
|
22
22
|
t.rcov_opts << '--text-summary'
|
@@ -25,9 +25,9 @@ namespace :dm do
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
unit_specs
|
28
|
+
unit_specs = ROOT + 'spec/unit/**/*_spec.rb'
|
29
29
|
integration_specs = ROOT + 'spec/integration/**/*_spec.rb'
|
30
|
-
all_specs
|
30
|
+
all_specs = ROOT + 'spec/**/*_spec.rb'
|
31
31
|
|
32
32
|
desc "Run all specifications"
|
33
33
|
run_spec('spec', all_specs, false)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-constraints
|
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
|
- Dirkjan Bussink
|
@@ -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
|
description: DataMapper plugin for performing validations on data models
|
26
26
|
email:
|