dm-transactions 1.1.0.rc1 → 1.1.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 +17 -27
  2. data/VERSION +1 -1
  3. data/dm-transactions.gemspec +5 -11
  4. metadata +10 -32
data/Gemfile CHANGED
@@ -2,23 +2,14 @@ require 'pathname'
2
2
 
3
3
  source 'http://rubygems.org'
4
4
 
5
- SOURCE = ENV.fetch('SOURCE', :git).to_sym
6
- REPO_POSTFIX = SOURCE == :path ? '' : '.git'
7
- DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
8
- DM_VERSION = '~> 1.1.0.rc1'
9
-
10
- group :runtime do
11
-
12
- if ENV['EXTLIB']
13
- gem 'extlib', '~> 0.9.15', SOURCE => "#{DATAMAPPER}/extlib#{REPO_POSTFIX}", :require => nil
14
- else
15
- gem 'activesupport', '~> 3.0.4', :require => nil
16
- gem 'i18n', '~> 0.5.0'
17
- end
18
-
19
- gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
5
+ SOURCE = ENV.fetch('SOURCE', :git).to_sym
6
+ REPO_POSTFIX = SOURCE == :path ? '' : '.git'
7
+ DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
8
+ DM_VERSION = '~> 1.1.0.rc2'
9
+ DO_VERSION = '~> 0.10.2'
10
+ DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
20
11
 
21
- end
12
+ gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
22
13
 
23
14
  group :development do
24
15
 
@@ -28,12 +19,14 @@ group :development do
28
19
 
29
20
  end
30
21
 
31
- group :quality do
22
+ platforms :mri_18 do
23
+ group :quality do
32
24
 
33
- gem 'rcov', '~> 0.9.9', :platforms => :mri_18
34
- gem 'yard', '~> 0.6'
35
- gem 'yardstick', '~> 0.2'
25
+ gem 'rcov', '~> 0.9.9'
26
+ gem 'yard', '~> 0.6'
27
+ gem 'yardstick', '~> 0.2'
36
28
 
29
+ end
37
30
  end
38
31
 
39
32
  group :datamapper do
@@ -41,18 +34,15 @@ group :datamapper do
41
34
  adapters = ENV['ADAPTER'] || ENV['ADAPTERS']
42
35
  adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
43
36
 
44
- DO_VERSION = '~> 0.10.2'
45
- DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
46
-
47
37
  if (do_adapters = DM_DO_ADAPTERS & adapters).any?
48
- options = {}
49
- options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
38
+ do_options = {}
39
+ do_options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
50
40
 
51
- gem 'data_objects', DO_VERSION, options.dup
41
+ gem 'data_objects', DO_VERSION, do_options.dup
52
42
 
53
43
  do_adapters.each do |adapter|
54
44
  adapter = 'sqlite3' if adapter == 'sqlite'
55
- gem "do_#{adapter}", DO_VERSION, options.dup
45
+ gem "do_#{adapter}", DO_VERSION, do_options.dup
56
46
  end
57
47
 
58
48
  gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0.rc1
1
+ 1.1.0.rc2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-transactions}
8
- s.version = "1.1.0.rc1"
8
+ s.version = "1.1.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 = %q{2011-02-28}
12
+ s.date = %q{2011-03-01}
13
13
  s.description = %q{Makes transaction support available for adapters that support them}
14
14
  s.email = %q{gamsnjaga@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -59,24 +59,18 @@ Gem::Specification.new do |s|
59
59
  s.specification_version = 3
60
60
 
61
61
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
62
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.4"])
63
- s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
64
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
62
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
65
63
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
66
64
  s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
67
65
  s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
68
66
  else
69
- s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
70
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
71
- s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
67
+ s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
72
68
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
73
69
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
74
70
  s.add_dependency(%q<rspec>, ["~> 1.3.1"])
75
71
  end
76
72
  else
77
- s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
78
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
79
- s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
73
+ s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
80
74
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
81
75
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
82
76
  s.add_dependency(%q<rspec>, ["~> 1.3.1"])
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dm-transactions
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 1.1.0.rc1
5
+ version: 1.1.0.rc2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dirkjan Bussink (dbussink)
@@ -11,45 +11,23 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-02-28 00:00:00 -08:00
14
+ date: 2011-03-01 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
- name: activesupport
18
+ name: dm-core
19
19
  requirement: &id001 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 3.0.4
24
+ version: 1.1.0.rc2
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: *id001
28
- - !ruby/object:Gem::Dependency
29
- name: i18n
30
- requirement: &id002 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ~>
34
- - !ruby/object:Gem::Version
35
- version: 0.5.0
36
- type: :runtime
37
- prerelease: false
38
- version_requirements: *id002
39
- - !ruby/object:Gem::Dependency
40
- name: dm-core
41
- requirement: &id003 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ~>
45
- - !ruby/object:Gem::Version
46
- version: 1.1.0.rc1
47
- type: :runtime
48
- prerelease: false
49
- version_requirements: *id003
50
28
  - !ruby/object:Gem::Dependency
51
29
  name: jeweler
52
- requirement: &id004 !ruby/object:Gem::Requirement
30
+ requirement: &id002 !ruby/object:Gem::Requirement
53
31
  none: false
54
32
  requirements:
55
33
  - - ~>
@@ -57,10 +35,10 @@ dependencies:
57
35
  version: 1.5.2
58
36
  type: :development
59
37
  prerelease: false
60
- version_requirements: *id004
38
+ version_requirements: *id002
61
39
  - !ruby/object:Gem::Dependency
62
40
  name: rake
63
- requirement: &id005 !ruby/object:Gem::Requirement
41
+ requirement: &id003 !ruby/object:Gem::Requirement
64
42
  none: false
65
43
  requirements:
66
44
  - - ~>
@@ -68,10 +46,10 @@ dependencies:
68
46
  version: 0.8.7
69
47
  type: :development
70
48
  prerelease: false
71
- version_requirements: *id005
49
+ version_requirements: *id003
72
50
  - !ruby/object:Gem::Dependency
73
51
  name: rspec
74
- requirement: &id006 !ruby/object:Gem::Requirement
52
+ requirement: &id004 !ruby/object:Gem::Requirement
75
53
  none: false
76
54
  requirements:
77
55
  - - ~>
@@ -79,7 +57,7 @@ dependencies:
79
57
  version: 1.3.1
80
58
  type: :development
81
59
  prerelease: false
82
- version_requirements: *id006
60
+ version_requirements: *id004
83
61
  description: Makes transaction support available for adapters that support them
84
62
  email: gamsnjaga@gmail.com
85
63
  executables: []