dm-transactions 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 +6 -5
  2. data/VERSION +1 -1
  3. data/dm-transactions.gemspec +5 -5
  4. metadata +19 -19
data/Gemfile CHANGED
@@ -5,11 +5,12 @@ 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.6'
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
 
@@ -45,18 +46,18 @@ group :datamapper do
45
46
  gem "do_#{adapter}", DO_VERSION, do_options.dup
46
47
  end
47
48
 
48
- gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
49
+ gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
49
50
  end
50
51
 
51
52
  adapters.each do |adapter|
52
- gem "dm-#{adapter}-adapter", DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}"
53
+ gem "dm-#{adapter}-adapter", DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
53
54
  end
54
55
 
55
56
  plugins = ENV['PLUGINS'] || ENV['PLUGIN']
56
57
  plugins = plugins.to_s.tr(',', ' ').split.push('dm-migrations').uniq
57
58
 
58
59
  plugins.each do |plugin|
59
- gem plugin, DM_VERSION, SOURCE => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}"
60
+ gem plugin, DM_VERSION, SOURCE => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
60
61
  end
61
62
 
62
63
  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-transactions"
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 = ["Dirkjan Bussink (dbussink)", "Dan Kubb (dkubb)"]
12
- s.date = "2011-09-09"
12
+ s.date = "2011-09-14"
13
13
  s.description = "Makes transaction support available for adapters that support them"
14
14
  s.email = "gamsnjaga@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -52,18 +52,18 @@ Gem::Specification.new do |s|
52
52
  s.specification_version = 3
53
53
 
54
54
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
55
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
55
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
56
56
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
57
57
  s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
58
58
  s.add_development_dependency(%q<rspec>, ["~> 1.3.2"])
59
59
  else
60
- s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
60
+ s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
61
61
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
62
62
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
63
63
  s.add_dependency(%q<rspec>, ["~> 1.3.2"])
64
64
  end
65
65
  else
66
- s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
66
+ s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
67
67
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
68
68
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
69
69
  s.add_dependency(%q<rspec>, ["~> 1.3.2"])
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-transactions
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
  - Dirkjan Bussink (dbussink)
@@ -18,29 +18,30 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-09-09 00:00:00 Z
21
+ date: 2011-09-21 00:00:00 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  type: :runtime
25
- version_requirements: &id001 !ruby/object:Gem::Requirement
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
26
27
  none: false
27
28
  requirements:
28
29
  - - ~>
29
30
  - !ruby/object:Gem::Version
30
- hash: 15424023
31
+ hash: 15424017
31
32
  segments:
32
33
  - 1
33
34
  - 2
34
35
  - 0
35
36
  - rc
36
- - 1
37
- version: 1.2.0.rc1
38
- prerelease: false
39
- requirement: *id001
37
+ - 2
38
+ version: 1.2.0.rc2
39
+ version_requirements: *id001
40
40
  name: dm-core
41
41
  - !ruby/object:Gem::Dependency
42
42
  type: :development
43
- version_requirements: &id002 !ruby/object:Gem::Requirement
43
+ prerelease: false
44
+ requirement: &id002 !ruby/object:Gem::Requirement
44
45
  none: false
45
46
  requirements:
46
47
  - - ~>
@@ -51,12 +52,12 @@ dependencies:
51
52
  - 6
52
53
  - 4
53
54
  version: 1.6.4
54
- prerelease: false
55
- requirement: *id002
55
+ version_requirements: *id002
56
56
  name: jeweler
57
57
  - !ruby/object:Gem::Dependency
58
58
  type: :development
59
- version_requirements: &id003 !ruby/object:Gem::Requirement
59
+ prerelease: false
60
+ requirement: &id003 !ruby/object:Gem::Requirement
60
61
  none: false
61
62
  requirements:
62
63
  - - ~>
@@ -67,12 +68,12 @@ dependencies:
67
68
  - 9
68
69
  - 2
69
70
  version: 0.9.2
70
- prerelease: false
71
- requirement: *id003
71
+ version_requirements: *id003
72
72
  name: rake
73
73
  - !ruby/object:Gem::Dependency
74
74
  type: :development
75
- version_requirements: &id004 !ruby/object:Gem::Requirement
75
+ prerelease: false
76
+ requirement: &id004 !ruby/object:Gem::Requirement
76
77
  none: false
77
78
  requirements:
78
79
  - - ~>
@@ -83,8 +84,7 @@ dependencies:
83
84
  - 3
84
85
  - 2
85
86
  version: 1.3.2
86
- prerelease: false
87
- requirement: *id004
87
+ version_requirements: *id004
88
88
  name: rspec
89
89
  description: Makes transaction support available for adapters that support them
90
90
  email: gamsnjaga@gmail.com