dm-constraints 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -71,7 +71,7 @@
71
71
  source 'http://rubygems.org'
72
72
 
73
73
  DATAMAPPER = 'git://github.com/datamapper'
74
- DM_VERSION = '~> 1.0.0.rc1'
74
+ DM_VERSION = '~> 1.0.0.rc2'
75
75
 
76
76
  group :runtime do # Runtime dependencies (as in the gemspec)
77
77
 
@@ -96,8 +96,8 @@ end
96
96
  group :quality do # These gems contain rake tasks that check the quality of the source code
97
97
 
98
98
  gem 'metric_fu', '~> 1.3'
99
- gem 'rcov', '~> 0.9.7'
100
- gem 'reek', '~> 1.2.7'
99
+ gem 'rcov', '~> 0.9.8'
100
+ gem 'reek', '~> 1.2.8'
101
101
  gem 'roodi', '~> 2.1'
102
102
  gem 'yard', '~> 0.5'
103
103
  gem 'yardstick', '~> 0.1'
@@ -111,7 +111,7 @@ group :datamapper do # We need this because we want to pin these dependencies to
111
111
 
112
112
  unless adapters.empty?
113
113
 
114
- DO_VERSION = '~> 0.10.2'
114
+ DO_VERSION = '~> 0.10.3'
115
115
  DM_DO_ADAPTERS = %w[sqlite postgres mysql oracle sqlserver]
116
116
 
117
117
  gem 'data_objects', DO_VERSION, :git => "#{DATAMAPPER}/do.git"
data/Rakefile CHANGED
@@ -15,8 +15,8 @@ begin
15
15
 
16
16
  gem.rubyforge_project = 'datamapper'
17
17
 
18
- gem.add_dependency 'dm-core', '~> 1.0.0.rc1'
19
- gem.add_dependency 'dm-migrations', '~> 1.0.0.rc1'
18
+ gem.add_dependency 'dm-core', '~> 1.0.0.rc2'
19
+ gem.add_dependency 'dm-migrations', '~> 1.0.0.rc2'
20
20
 
21
21
  gem.add_development_dependency 'rspec', '~> 1.3'
22
22
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.rc1
1
+ 1.0.0.rc2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-constraints}
8
- s.version = "1.0.0.rc1"
8
+ s.version = "1.0.0.rc2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dirkjan Bussink"]
@@ -53,7 +53,7 @@ Gem::Specification.new do |s|
53
53
  s.rdoc_options = ["--charset=UTF-8"]
54
54
  s.require_paths = ["lib"]
55
55
  s.rubyforge_project = %q{datamapper}
56
- s.rubygems_version = %q{1.3.6}
56
+ s.rubygems_version = %q{1.3.7}
57
57
  s.summary = %q{DataMapper plugin constraining relationships}
58
58
  s.test_files = [
59
59
  "spec/integration/constraints_spec.rb",
@@ -67,18 +67,18 @@ Gem::Specification.new do |s|
67
67
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
68
68
  s.specification_version = 3
69
69
 
70
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
71
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0.rc1"])
72
- s.add_runtime_dependency(%q<dm-migrations>, ["~> 1.0.0.rc1"])
70
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
71
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0.rc2"])
72
+ s.add_runtime_dependency(%q<dm-migrations>, ["~> 1.0.0.rc2"])
73
73
  s.add_development_dependency(%q<rspec>, ["~> 1.3"])
74
74
  else
75
- s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc1"])
76
- s.add_dependency(%q<dm-migrations>, ["~> 1.0.0.rc1"])
75
+ s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc2"])
76
+ s.add_dependency(%q<dm-migrations>, ["~> 1.0.0.rc2"])
77
77
  s.add_dependency(%q<rspec>, ["~> 1.3"])
78
78
  end
79
79
  else
80
- s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc1"])
81
- s.add_dependency(%q<dm-migrations>, ["~> 1.0.0.rc1"])
80
+ s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc2"])
81
+ s.add_dependency(%q<dm-migrations>, ["~> 1.0.0.rc2"])
82
82
  s.add_dependency(%q<rspec>, ["~> 1.3"])
83
83
  end
84
84
  end
@@ -4,7 +4,7 @@ shared_examples_for "require 'dm-constraints'" do
4
4
  DataMapper::Model.respond_to?(:auto_migrate_down_constraints!, true).should be_true
5
5
  DataMapper::Model.respond_to?(:auto_migrate_up_constraints!, true).should be_true
6
6
  end
7
-
7
+
8
8
  it "should include the constraint api into the adapter" do
9
9
  @adapter.respond_to?(:constraint_exists? ).should be_true
10
10
  @adapter.respond_to?(:create_relationship_constraint ).should be_true
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-constraints
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 977940575
4
5
  prerelease: true
5
6
  segments:
6
7
  - 1
7
8
  - 0
8
9
  - 0
9
- - rc1
10
- version: 1.0.0.rc1
10
+ - rc2
11
+ version: 1.0.0.rc2
11
12
  platform: ruby
12
13
  authors:
13
14
  - Dirkjan Bussink
@@ -22,39 +23,45 @@ dependencies:
22
23
  name: dm-core
23
24
  prerelease: false
24
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
25
27
  requirements:
26
28
  - - ~>
27
29
  - !ruby/object:Gem::Version
30
+ hash: 977940575
28
31
  segments:
29
32
  - 1
30
33
  - 0
31
34
  - 0
32
- - rc1
33
- version: 1.0.0.rc1
35
+ - rc2
36
+ version: 1.0.0.rc2
34
37
  type: :runtime
35
38
  version_requirements: *id001
36
39
  - !ruby/object:Gem::Dependency
37
40
  name: dm-migrations
38
41
  prerelease: false
39
42
  requirement: &id002 !ruby/object:Gem::Requirement
43
+ none: false
40
44
  requirements:
41
45
  - - ~>
42
46
  - !ruby/object:Gem::Version
47
+ hash: 977940575
43
48
  segments:
44
49
  - 1
45
50
  - 0
46
51
  - 0
47
- - rc1
48
- version: 1.0.0.rc1
52
+ - rc2
53
+ version: 1.0.0.rc2
49
54
  type: :runtime
50
55
  version_requirements: *id002
51
56
  - !ruby/object:Gem::Dependency
52
57
  name: rspec
53
58
  prerelease: false
54
59
  requirement: &id003 !ruby/object:Gem::Requirement
60
+ none: false
55
61
  requirements:
56
62
  - - ~>
57
63
  - !ruby/object:Gem::Version
64
+ hash: 9
58
65
  segments:
59
66
  - 1
60
67
  - 3
@@ -112,16 +119,20 @@ rdoc_options:
112
119
  require_paths:
113
120
  - lib
114
121
  required_ruby_version: !ruby/object:Gem::Requirement
122
+ none: false
115
123
  requirements:
116
124
  - - ">="
117
125
  - !ruby/object:Gem::Version
126
+ hash: 3
118
127
  segments:
119
128
  - 0
120
129
  version: "0"
121
130
  required_rubygems_version: !ruby/object:Gem::Requirement
131
+ none: false
122
132
  requirements:
123
133
  - - ">"
124
134
  - !ruby/object:Gem::Version
135
+ hash: 25
125
136
  segments:
126
137
  - 1
127
138
  - 3
@@ -130,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
141
  requirements: []
131
142
 
132
143
  rubyforge_project: datamapper
133
- rubygems_version: 1.3.6
144
+ rubygems_version: 1.3.7
134
145
  signing_key:
135
146
  specification_version: 3
136
147
  summary: DataMapper plugin constraining relationships