dm-is-versioned 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-is-versioned.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-is-versioned}
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 = ["Bernerd Schaefer"]
12
- s.date = %q{2011-02-28}
12
+ s.date = %q{2011-03-01}
13
13
  s.description = %q{DataMapper plugin enabling simple versioning of models}
14
14
  s.email = %q{bernerd [a] wieck [d] com}
15
15
  s.extra_rdoc_files = [
@@ -47,24 +47,18 @@ Gem::Specification.new do |s|
47
47
  s.specification_version = 3
48
48
 
49
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.4"])
51
- s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
52
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
50
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
53
51
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
54
52
  s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
55
53
  s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
56
54
  else
57
- s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
58
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
59
- s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
55
+ s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
60
56
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
61
57
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
62
58
  s.add_dependency(%q<rspec>, ["~> 1.3.1"])
63
59
  end
64
60
  else
65
- s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
66
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
67
- s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
61
+ s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
68
62
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
69
63
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
70
64
  s.add_dependency(%q<rspec>, ["~> 1.3.1"])
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dm-is-versioned
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
  - Bernerd Schaefer
@@ -10,45 +10,23 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-28 00:00:00 -08:00
13
+ date: 2011-03-01 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
- name: activesupport
17
+ name: dm-core
18
18
  requirement: &id001 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 3.0.4
23
+ version: 1.1.0.rc2
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: i18n
29
- requirement: &id002 !ruby/object:Gem::Requirement
30
- none: false
31
- requirements:
32
- - - ~>
33
- - !ruby/object:Gem::Version
34
- version: 0.5.0
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: dm-core
40
- requirement: &id003 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 1.1.0.rc1
46
- type: :runtime
47
- prerelease: false
48
- version_requirements: *id003
49
27
  - !ruby/object:Gem::Dependency
50
28
  name: jeweler
51
- requirement: &id004 !ruby/object:Gem::Requirement
29
+ requirement: &id002 !ruby/object:Gem::Requirement
52
30
  none: false
53
31
  requirements:
54
32
  - - ~>
@@ -56,10 +34,10 @@ dependencies:
56
34
  version: 1.5.2
57
35
  type: :development
58
36
  prerelease: false
59
- version_requirements: *id004
37
+ version_requirements: *id002
60
38
  - !ruby/object:Gem::Dependency
61
39
  name: rake
62
- requirement: &id005 !ruby/object:Gem::Requirement
40
+ requirement: &id003 !ruby/object:Gem::Requirement
63
41
  none: false
64
42
  requirements:
65
43
  - - ~>
@@ -67,10 +45,10 @@ dependencies:
67
45
  version: 0.8.7
68
46
  type: :development
69
47
  prerelease: false
70
- version_requirements: *id005
48
+ version_requirements: *id003
71
49
  - !ruby/object:Gem::Dependency
72
50
  name: rspec
73
- requirement: &id006 !ruby/object:Gem::Requirement
51
+ requirement: &id004 !ruby/object:Gem::Requirement
74
52
  none: false
75
53
  requirements:
76
54
  - - ~>
@@ -78,7 +56,7 @@ dependencies:
78
56
  version: 1.3.1
79
57
  type: :development
80
58
  prerelease: false
81
- version_requirements: *id006
59
+ version_requirements: *id004
82
60
  description: DataMapper plugin enabling simple versioning of models
83
61
  email: bernerd [a] wieck [d] com
84
62
  executables: []