dm-constraints 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module DataMapper
2
2
  module Constraints
3
- VERSION = "0.9.5"
3
+ VERSION = "0.9.6"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  require 'pathname'
4
4
 
5
5
  # Add all external dependencies for the plugin here
6
- gem 'dm-core', '=0.9.5'
6
+ gem 'dm-core', '=0.9.6'
7
7
  require 'dm-core'
8
8
 
9
9
  # Require plugin-files
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 + "spec/unit/**/*_spec.rb")
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 + "spec/integration/**/*_spec.rb")
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 = ROOT + 'spec/unit/**/*_spec.rb'
28
+ unit_specs = ROOT + 'spec/unit/**/*_spec.rb'
29
29
  integration_specs = ROOT + 'spec/integration/**/*_spec.rb'
30
- all_specs = ROOT + 'spec/**/*_spec.rb'
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.5
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-08-26 00:00:00 -05:00
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.5
23
+ version: 0.9.6
24
24
  version:
25
25
  description: DataMapper plugin for performing validations on data models
26
26
  email: