dm-rails 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.
- data/Gemfile +19 -25
- data/README.rdoc +4 -4
- data/VERSION +1 -1
- data/dm-rails.gemspec +5 -14
- metadata +12 -45
data/Gemfile
CHANGED
@@ -2,21 +2,16 @@ require 'pathname'
|
|
2
2
|
|
3
3
|
source 'http://rubygems.org'
|
4
4
|
|
5
|
-
SOURCE
|
6
|
-
REPO_POSTFIX
|
7
|
-
DATAMAPPER
|
8
|
-
DM_VERSION
|
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 ]
|
9
11
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
gem 'activesupport', '~> 3.0.4', :require => 'active_support'
|
14
|
-
gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
|
15
|
-
gem 'dm-active_model', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-active_model#{REPO_POSTFIX}"
|
16
|
-
gem 'i18n', '~> 0.5.0'
|
17
|
-
gem 'railties', '~> 3.0.4', :require => 'rails'
|
18
|
-
|
19
|
-
end
|
12
|
+
gem 'actionpack', '~> 3.0.4', :require => 'action_pack'
|
13
|
+
gem 'dm-active_model', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-active_model#{REPO_POSTFIX}"
|
14
|
+
gem 'railties', '~> 3.0.4', :require => 'rails'
|
20
15
|
|
21
16
|
group :development do
|
22
17
|
|
@@ -26,30 +21,29 @@ group :development do
|
|
26
21
|
|
27
22
|
end
|
28
23
|
|
29
|
-
|
24
|
+
platforms :mri_18 do
|
25
|
+
group :quality do
|
30
26
|
|
31
|
-
|
32
|
-
|
33
|
-
|
27
|
+
gem 'rcov', '~> 0.9.9'
|
28
|
+
gem 'yard', '~> 0.6'
|
29
|
+
gem 'yardstick', '~> 0.2'
|
34
30
|
|
31
|
+
end
|
35
32
|
end
|
36
33
|
|
37
34
|
group :datamapper do
|
38
35
|
adapters = ENV['ADAPTER'] || ENV['ADAPTERS']
|
39
36
|
adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
|
40
37
|
|
41
|
-
DO_VERSION = '~> 0.10.2'
|
42
|
-
DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
|
43
|
-
|
44
38
|
if (do_adapters = DM_DO_ADAPTERS & adapters).any?
|
45
|
-
|
46
|
-
|
39
|
+
do_options = {}
|
40
|
+
do_options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
|
47
41
|
|
48
|
-
gem 'data_objects', DO_VERSION,
|
42
|
+
gem 'data_objects', DO_VERSION, do_options.dup
|
49
43
|
|
50
44
|
do_adapters.each do |adapter|
|
51
45
|
adapter = 'sqlite3' if adapter == 'sqlite'
|
52
|
-
gem "do_#{adapter}", DO_VERSION,
|
46
|
+
gem "do_#{adapter}", DO_VERSION, do_options.dup
|
53
47
|
end
|
54
48
|
|
55
49
|
gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
|
data/README.rdoc
CHANGED
@@ -90,16 +90,16 @@ Using {bundler}[http://github.com/carlhuda/bundler] it's really easy to get an a
|
|
90
90
|
|
91
91
|
source 'http://rubygems.org'
|
92
92
|
|
93
|
-
RAILS_VERSION = '~> 3.0.
|
94
|
-
DM_VERSION = '~> 1.0.
|
95
|
-
RSPEC_VERSION = '~> 2.
|
93
|
+
RAILS_VERSION = '~> 3.0.4'
|
94
|
+
DM_VERSION = '~> 1.1.0.rc2'
|
95
|
+
RSPEC_VERSION = '~> 2.5.0'
|
96
96
|
|
97
97
|
gem 'activesupport', RAILS_VERSION, :require => 'active_support'
|
98
98
|
gem 'actionpack', RAILS_VERSION, :require => 'action_pack'
|
99
99
|
gem 'actionmailer', RAILS_VERSION, :require => 'action_mailer'
|
100
100
|
gem 'railties', RAILS_VERSION, :require => 'rails'
|
101
101
|
|
102
|
-
gem 'dm-rails', '~> 1.1.0.
|
102
|
+
gem 'dm-rails', '~> 1.1.0.rc2'
|
103
103
|
gem 'dm-sqlite-adapter', DM_VERSION
|
104
104
|
|
105
105
|
# You can use any of the other available database adapters.
|
data/VERSION
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
1.1.0.
|
1
|
+
1.1.0.rc2
|
2
2
|
|
data/dm-rails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dm-rails}
|
8
|
-
s.version = "1.1.0.
|
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 = ["Martin Gamsjaeger (snusnu)", "Dan Kubb"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-03-01}
|
13
13
|
s.description = %q{Integrate DataMapper with Rails 3}
|
14
14
|
s.email = %q{gamsnjaga@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -73,20 +73,14 @@ Gem::Specification.new do |s|
|
|
73
73
|
|
74
74
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
75
75
|
s.add_runtime_dependency(%q<actionpack>, ["~> 3.0.4"])
|
76
|
-
s.add_runtime_dependency(%q<
|
77
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.2"])
|
78
|
-
s.add_runtime_dependency(%q<dm-active_model>, ["~> 1.0.2"])
|
79
|
-
s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
|
76
|
+
s.add_runtime_dependency(%q<dm-active_model>, ["~> 1.1.0.rc2"])
|
80
77
|
s.add_runtime_dependency(%q<railties>, ["~> 3.0.4"])
|
81
78
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
82
79
|
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
83
80
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
84
81
|
else
|
85
82
|
s.add_dependency(%q<actionpack>, ["~> 3.0.4"])
|
86
|
-
s.add_dependency(%q<
|
87
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
|
88
|
-
s.add_dependency(%q<dm-active_model>, ["~> 1.0.2"])
|
89
|
-
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
83
|
+
s.add_dependency(%q<dm-active_model>, ["~> 1.1.0.rc2"])
|
90
84
|
s.add_dependency(%q<railties>, ["~> 3.0.4"])
|
91
85
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
92
86
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
@@ -94,10 +88,7 @@ Gem::Specification.new do |s|
|
|
94
88
|
end
|
95
89
|
else
|
96
90
|
s.add_dependency(%q<actionpack>, ["~> 3.0.4"])
|
97
|
-
s.add_dependency(%q<
|
98
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
|
99
|
-
s.add_dependency(%q<dm-active_model>, ["~> 1.0.2"])
|
100
|
-
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
91
|
+
s.add_dependency(%q<dm-active_model>, ["~> 1.1.0.rc2"])
|
101
92
|
s.add_dependency(%q<railties>, ["~> 3.0.4"])
|
102
93
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
103
94
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dm-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.1.0.
|
5
|
+
version: 1.1.0.rc2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Martin Gamsjaeger (snusnu)
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-
|
14
|
+
date: 2011-03-01 00:00:00 -08:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
@@ -26,52 +26,19 @@ dependencies:
|
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: *id001
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: dm-active_model
|
30
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: 1.1.0.rc2
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
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.0.2
|
47
|
-
type: :runtime
|
48
|
-
prerelease: false
|
49
|
-
version_requirements: *id003
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: dm-active_model
|
52
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
|
-
requirements:
|
55
|
-
- - ~>
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: 1.0.2
|
58
|
-
type: :runtime
|
59
|
-
prerelease: false
|
60
|
-
version_requirements: *id004
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: i18n
|
63
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
64
|
-
none: false
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.5.0
|
69
|
-
type: :runtime
|
70
|
-
prerelease: false
|
71
|
-
version_requirements: *id005
|
72
39
|
- !ruby/object:Gem::Dependency
|
73
40
|
name: railties
|
74
|
-
requirement: &
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
75
42
|
none: false
|
76
43
|
requirements:
|
77
44
|
- - ~>
|
@@ -79,10 +46,10 @@ dependencies:
|
|
79
46
|
version: 3.0.4
|
80
47
|
type: :runtime
|
81
48
|
prerelease: false
|
82
|
-
version_requirements: *
|
49
|
+
version_requirements: *id003
|
83
50
|
- !ruby/object:Gem::Dependency
|
84
51
|
name: jeweler
|
85
|
-
requirement: &
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
86
53
|
none: false
|
87
54
|
requirements:
|
88
55
|
- - ~>
|
@@ -90,10 +57,10 @@ dependencies:
|
|
90
57
|
version: 1.5.2
|
91
58
|
type: :development
|
92
59
|
prerelease: false
|
93
|
-
version_requirements: *
|
60
|
+
version_requirements: *id004
|
94
61
|
- !ruby/object:Gem::Dependency
|
95
62
|
name: rake
|
96
|
-
requirement: &
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
97
64
|
none: false
|
98
65
|
requirements:
|
99
66
|
- - ~>
|
@@ -101,10 +68,10 @@ dependencies:
|
|
101
68
|
version: 0.8.7
|
102
69
|
type: :development
|
103
70
|
prerelease: false
|
104
|
-
version_requirements: *
|
71
|
+
version_requirements: *id005
|
105
72
|
- !ruby/object:Gem::Dependency
|
106
73
|
name: rspec
|
107
|
-
requirement: &
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
108
75
|
none: false
|
109
76
|
requirements:
|
110
77
|
- - ~>
|
@@ -112,7 +79,7 @@ dependencies:
|
|
112
79
|
version: 1.3.1
|
113
80
|
type: :development
|
114
81
|
prerelease: false
|
115
|
-
version_requirements: *
|
82
|
+
version_requirements: *id006
|
116
83
|
description: Integrate DataMapper with Rails 3
|
117
84
|
email: gamsnjaga@gmail.com
|
118
85
|
executables: []
|