dm-validations 1.2.0.rc1 → 1.2.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Gemfile +7 -6
  2. data/VERSION +1 -1
  3. data/dm-validations.gemspec +8 -8
  4. metadata +25 -25
data/Gemfile CHANGED
@@ -5,15 +5,16 @@ source 'http://rubygems.org'
5
5
  SOURCE = ENV.fetch('SOURCE', :git).to_sym
6
6
  REPO_POSTFIX = SOURCE == :path ? '' : '.git'
7
7
  DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
8
- DM_VERSION = '~> 1.2.0.rc1'
8
+ DM_VERSION = '~> 1.2.0.rc2'
9
9
  DO_VERSION = '~> 0.10.4'
10
10
  DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
11
+ CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
11
12
 
12
- gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
13
+ gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
13
14
 
14
15
  group :development do
15
16
 
16
- gem 'dm-types', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-types#{REPO_POSTFIX}"
17
+ gem 'dm-types', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-types#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
17
18
  gem 'jeweler', '~> 1.6.4'
18
19
  gem 'rake', '~> 0.9.2'
19
20
  gem 'rspec', '~> 1.3.2'
@@ -46,18 +47,18 @@ group :datamapper do
46
47
  gem "do_#{adapter}", DO_VERSION, do_options.dup
47
48
  end
48
49
 
49
- gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
50
+ gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
50
51
  end
51
52
 
52
53
  adapters.each do |adapter|
53
- gem "dm-#{adapter}-adapter", DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}"
54
+ gem "dm-#{adapter}-adapter", DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
54
55
  end
55
56
 
56
57
  plugins = ENV['PLUGINS'] || ENV['PLUGIN']
57
58
  plugins = plugins.to_s.tr(',', ' ').split.push('dm-migrations').uniq
58
59
 
59
60
  plugins.each do |plugin|
60
- gem plugin, DM_VERSION, SOURCE => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}"
61
+ gem plugin, DM_VERSION, SOURCE => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
61
62
  end
62
63
 
63
64
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0.rc1
1
+ 1.2.0.rc2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dm-validations"
8
- s.version = "1.2.0.rc1"
8
+ s.version = "1.2.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 = ["Guy van den Berg"]
12
- s.date = "2011-09-09"
12
+ s.date = "2011-09-14"
13
13
  s.description = "Library for performing validations on DM models and pure Ruby object"
14
14
  s.email = "vandenberg.guy [a] gmail [d] com"
15
15
  s.extra_rdoc_files = [
@@ -176,21 +176,21 @@ Gem::Specification.new do |s|
176
176
  s.specification_version = 3
177
177
 
178
178
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
179
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
180
- s.add_development_dependency(%q<dm-types>, ["~> 1.2.0.rc1"])
179
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
180
+ s.add_development_dependency(%q<dm-types>, ["~> 1.2.0.rc2"])
181
181
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
182
182
  s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
183
183
  s.add_development_dependency(%q<rspec>, ["~> 1.3.2"])
184
184
  else
185
- s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
186
- s.add_dependency(%q<dm-types>, ["~> 1.2.0.rc1"])
185
+ s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
186
+ s.add_dependency(%q<dm-types>, ["~> 1.2.0.rc2"])
187
187
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
188
188
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
189
189
  s.add_dependency(%q<rspec>, ["~> 1.3.2"])
190
190
  end
191
191
  else
192
- s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
193
- s.add_dependency(%q<dm-types>, ["~> 1.2.0.rc1"])
192
+ s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
193
+ s.add_dependency(%q<dm-types>, ["~> 1.2.0.rc2"])
194
194
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
195
195
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
196
196
  s.add_dependency(%q<rspec>, ["~> 1.3.2"])
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-validations
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424023
4
+ hash: 15424017
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 0
10
10
  - rc
11
- - 1
12
- version: 1.2.0.rc1
11
+ - 2
12
+ version: 1.2.0.rc2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Guy van den Berg
@@ -17,47 +17,48 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-09-09 00:00:00 Z
20
+ date: 2011-09-21 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  type: :runtime
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
25
26
  none: false
26
27
  requirements:
27
28
  - - ~>
28
29
  - !ruby/object:Gem::Version
29
- hash: 15424023
30
+ hash: 15424017
30
31
  segments:
31
32
  - 1
32
33
  - 2
33
34
  - 0
34
35
  - rc
35
- - 1
36
- version: 1.2.0.rc1
37
- prerelease: false
38
- requirement: *id001
36
+ - 2
37
+ version: 1.2.0.rc2
38
+ version_requirements: *id001
39
39
  name: dm-core
40
40
  - !ruby/object:Gem::Dependency
41
41
  type: :development
42
- version_requirements: &id002 !ruby/object:Gem::Requirement
42
+ prerelease: false
43
+ requirement: &id002 !ruby/object:Gem::Requirement
43
44
  none: false
44
45
  requirements:
45
46
  - - ~>
46
47
  - !ruby/object:Gem::Version
47
- hash: 15424023
48
+ hash: 15424017
48
49
  segments:
49
50
  - 1
50
51
  - 2
51
52
  - 0
52
53
  - rc
53
- - 1
54
- version: 1.2.0.rc1
55
- prerelease: false
56
- requirement: *id002
54
+ - 2
55
+ version: 1.2.0.rc2
56
+ version_requirements: *id002
57
57
  name: dm-types
58
58
  - !ruby/object:Gem::Dependency
59
59
  type: :development
60
- version_requirements: &id003 !ruby/object:Gem::Requirement
60
+ prerelease: false
61
+ requirement: &id003 !ruby/object:Gem::Requirement
61
62
  none: false
62
63
  requirements:
63
64
  - - ~>
@@ -68,12 +69,12 @@ dependencies:
68
69
  - 6
69
70
  - 4
70
71
  version: 1.6.4
71
- prerelease: false
72
- requirement: *id003
72
+ version_requirements: *id003
73
73
  name: jeweler
74
74
  - !ruby/object:Gem::Dependency
75
75
  type: :development
76
- version_requirements: &id004 !ruby/object:Gem::Requirement
76
+ prerelease: false
77
+ requirement: &id004 !ruby/object:Gem::Requirement
77
78
  none: false
78
79
  requirements:
79
80
  - - ~>
@@ -84,12 +85,12 @@ dependencies:
84
85
  - 9
85
86
  - 2
86
87
  version: 0.9.2
87
- prerelease: false
88
- requirement: *id004
88
+ version_requirements: *id004
89
89
  name: rake
90
90
  - !ruby/object:Gem::Dependency
91
91
  type: :development
92
- version_requirements: &id005 !ruby/object:Gem::Requirement
92
+ prerelease: false
93
+ requirement: &id005 !ruby/object:Gem::Requirement
93
94
  none: false
94
95
  requirements:
95
96
  - - ~>
@@ -100,8 +101,7 @@ dependencies:
100
101
  - 3
101
102
  - 2
102
103
  version: 1.3.2
103
- prerelease: false
104
- requirement: *id005
104
+ version_requirements: *id005
105
105
  name: rspec
106
106
  description: Library for performing validations on DM models and pure Ruby object
107
107
  email: vandenberg.guy [a] gmail [d] com