dm-ambition 1.1.0.rc1 → 1.1.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +21 -31
- data/dm-ambition.gemspec +9 -15
- data/lib/dm-ambition/version.rb +1 -1
- metadata +20 -42
data/Gemfile
CHANGED
@@ -1,27 +1,20 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
gem 'dm-core', DM_VERSION, :git => "#{DATAMAPPER}/dm-core.git"
|
16
|
-
gem 'ParseTree', '~> 3.0.7', :platforms => :mri_18
|
17
|
-
gem 'ruby2ruby', '~> 1.2.5'
|
18
|
-
gem 'sourcify', '~> 0.4.2'
|
19
|
-
|
20
|
-
end
|
3
|
+
SOURCE = ENV.fetch('SOURCE', :git).to_sym
|
4
|
+
REPO_POSTFIX = SOURCE == :path ? '' : '.git'
|
5
|
+
DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
|
6
|
+
DM_VERSION = '~> 1.1.0.rc3'
|
7
|
+
DO_VERSION = '~> 0.10.2'
|
8
|
+
DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
|
9
|
+
|
10
|
+
gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
|
11
|
+
gem 'ParseTree', '~> 3.0.7', :platforms => :mri_18
|
12
|
+
gem 'ruby2ruby', '~> 1.2.5'
|
13
|
+
gem 'sourcify', '~> 0.4.2'
|
21
14
|
|
22
15
|
group :development do
|
23
16
|
|
24
|
-
gem 'dm-migrations', DM_VERSION,
|
17
|
+
gem 'dm-migrations', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-migrations#{REPO_POSTFIX}"
|
25
18
|
gem 'jeweler', '~> 1.5.2'
|
26
19
|
gem 'rake', '~> 0.8.7'
|
27
20
|
gem 'rspec', '~> 1.3.1'
|
@@ -31,10 +24,10 @@ end
|
|
31
24
|
platforms :mri_18 do
|
32
25
|
group :quality do
|
33
26
|
|
34
|
-
gem 'metric_fu', '~> 1.
|
27
|
+
gem 'metric_fu', '~> 2.1.0'
|
35
28
|
gem 'rcov', '~> 0.9.9'
|
36
29
|
gem 'reek', '~> 1.2.8'
|
37
|
-
gem 'roodi', '~> 2.1'
|
30
|
+
gem 'roodi', '~> 2.1.0'
|
38
31
|
gem 'yard', '~> 0.6'
|
39
32
|
gem 'yardstick', '~> 0.2'
|
40
33
|
|
@@ -46,32 +39,29 @@ group :datamapper do
|
|
46
39
|
adapters = ENV['ADAPTER'] || ENV['ADAPTERS']
|
47
40
|
adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
|
48
41
|
|
49
|
-
DO_VERSION = '~> 0.10.2'
|
50
|
-
DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
|
51
|
-
|
52
42
|
if (do_adapters = DM_DO_ADAPTERS & adapters).any?
|
53
|
-
|
54
|
-
|
43
|
+
do_options = {}
|
44
|
+
do_options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
|
55
45
|
|
56
|
-
gem 'data_objects', DO_VERSION,
|
46
|
+
gem 'data_objects', DO_VERSION, do_options.dup
|
57
47
|
|
58
48
|
do_adapters.each do |adapter|
|
59
49
|
adapter = 'sqlite3' if adapter == 'sqlite'
|
60
|
-
gem "do_#{adapter}", DO_VERSION,
|
50
|
+
gem "do_#{adapter}", DO_VERSION, do_options.dup
|
61
51
|
end
|
62
52
|
|
63
|
-
gem 'dm-do-adapter', DM_VERSION,
|
53
|
+
gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
|
64
54
|
end
|
65
55
|
|
66
56
|
adapters.each do |adapter|
|
67
|
-
gem "dm-#{adapter}-adapter", DM_VERSION,
|
57
|
+
gem "dm-#{adapter}-adapter", DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}"
|
68
58
|
end
|
69
59
|
|
70
60
|
plugins = ENV['PLUGINS'] || ENV['PLUGIN']
|
71
61
|
plugins = plugins.to_s.tr(',', ' ').split.push('dm-migrations').uniq
|
72
62
|
|
73
63
|
plugins.each do |plugin|
|
74
|
-
gem plugin, DM_VERSION,
|
64
|
+
gem plugin, DM_VERSION, SOURCE => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}"
|
75
65
|
end
|
76
66
|
|
77
67
|
end
|
data/dm-ambition.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dm-ambition}
|
8
|
-
s.version = "1.1.0.
|
8
|
+
s.version = "1.1.0.rc3"
|
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 = ["Dan Kubb"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-03-10}
|
13
13
|
s.description = %q{DataMapper plugin providing an Ambition-like API}
|
14
14
|
s.email = %q{dan.kubb@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -52,7 +52,7 @@ Gem::Specification.new do |s|
|
|
52
52
|
s.require_paths = ["lib"]
|
53
53
|
s.required_ruby_version = Gem::Requirement.new("~> 1.8.7")
|
54
54
|
s.rubyforge_project = %q{dm-ambition}
|
55
|
-
s.rubygems_version = %q{1.
|
55
|
+
s.rubygems_version = %q{1.6.2}
|
56
56
|
s.summary = %q{DataMapper plugin providing an Ambition-like API}
|
57
57
|
s.test_files = [
|
58
58
|
"spec/public/collection_spec.rb",
|
@@ -66,36 +66,30 @@ Gem::Specification.new do |s|
|
|
66
66
|
s.specification_version = 3
|
67
67
|
|
68
68
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
69
|
-
s.add_runtime_dependency(%q<
|
70
|
-
s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
|
71
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.2"])
|
69
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
72
70
|
s.add_runtime_dependency(%q<ParseTree>, ["~> 3.0.7"])
|
73
71
|
s.add_runtime_dependency(%q<ruby2ruby>, ["~> 1.2.5"])
|
74
72
|
s.add_runtime_dependency(%q<sourcify>, ["~> 0.4.2"])
|
75
|
-
s.add_development_dependency(%q<dm-migrations>, ["~> 1.0.
|
73
|
+
s.add_development_dependency(%q<dm-migrations>, ["~> 1.1.0.rc3"])
|
76
74
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
77
75
|
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
78
76
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
79
77
|
else
|
80
|
-
s.add_dependency(%q<
|
81
|
-
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
82
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
|
78
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
83
79
|
s.add_dependency(%q<ParseTree>, ["~> 3.0.7"])
|
84
80
|
s.add_dependency(%q<ruby2ruby>, ["~> 1.2.5"])
|
85
81
|
s.add_dependency(%q<sourcify>, ["~> 0.4.2"])
|
86
|
-
s.add_dependency(%q<dm-migrations>, ["~> 1.0.
|
82
|
+
s.add_dependency(%q<dm-migrations>, ["~> 1.1.0.rc3"])
|
87
83
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
88
84
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
89
85
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
90
86
|
end
|
91
87
|
else
|
92
|
-
s.add_dependency(%q<
|
93
|
-
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
94
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
|
88
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
95
89
|
s.add_dependency(%q<ParseTree>, ["~> 3.0.7"])
|
96
90
|
s.add_dependency(%q<ruby2ruby>, ["~> 1.2.5"])
|
97
91
|
s.add_dependency(%q<sourcify>, ["~> 0.4.2"])
|
98
|
-
s.add_dependency(%q<dm-migrations>, ["~> 1.0.
|
92
|
+
s.add_dependency(%q<dm-migrations>, ["~> 1.1.0.rc3"])
|
99
93
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
100
94
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
101
95
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
data/lib/dm-ambition/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dm-ambition
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.1.0.
|
5
|
+
version: 1.1.0.rc3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Dan Kubb
|
@@ -10,45 +10,23 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-03-10 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
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:
|
23
|
+
version: 1.1.0.rc3
|
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.0.2
|
46
|
-
type: :runtime
|
47
|
-
prerelease: false
|
48
|
-
version_requirements: *id003
|
49
27
|
- !ruby/object:Gem::Dependency
|
50
28
|
name: ParseTree
|
51
|
-
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: 3.0.7
|
57
35
|
type: :runtime
|
58
36
|
prerelease: false
|
59
|
-
version_requirements: *
|
37
|
+
version_requirements: *id002
|
60
38
|
- !ruby/object:Gem::Dependency
|
61
39
|
name: ruby2ruby
|
62
|
-
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: 1.2.5
|
68
46
|
type: :runtime
|
69
47
|
prerelease: false
|
70
|
-
version_requirements: *
|
48
|
+
version_requirements: *id003
|
71
49
|
- !ruby/object:Gem::Dependency
|
72
50
|
name: sourcify
|
73
|
-
requirement: &
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
74
52
|
none: false
|
75
53
|
requirements:
|
76
54
|
- - ~>
|
@@ -78,21 +56,21 @@ dependencies:
|
|
78
56
|
version: 0.4.2
|
79
57
|
type: :runtime
|
80
58
|
prerelease: false
|
81
|
-
version_requirements: *
|
59
|
+
version_requirements: *id004
|
82
60
|
- !ruby/object:Gem::Dependency
|
83
61
|
name: dm-migrations
|
84
|
-
requirement: &
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
85
63
|
none: false
|
86
64
|
requirements:
|
87
65
|
- - ~>
|
88
66
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.
|
67
|
+
version: 1.1.0.rc3
|
90
68
|
type: :development
|
91
69
|
prerelease: false
|
92
|
-
version_requirements: *
|
70
|
+
version_requirements: *id005
|
93
71
|
- !ruby/object:Gem::Dependency
|
94
72
|
name: jeweler
|
95
|
-
requirement: &
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
96
74
|
none: false
|
97
75
|
requirements:
|
98
76
|
- - ~>
|
@@ -100,10 +78,10 @@ dependencies:
|
|
100
78
|
version: 1.5.2
|
101
79
|
type: :development
|
102
80
|
prerelease: false
|
103
|
-
version_requirements: *
|
81
|
+
version_requirements: *id006
|
104
82
|
- !ruby/object:Gem::Dependency
|
105
83
|
name: rake
|
106
|
-
requirement: &
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
107
85
|
none: false
|
108
86
|
requirements:
|
109
87
|
- - ~>
|
@@ -111,10 +89,10 @@ dependencies:
|
|
111
89
|
version: 0.8.7
|
112
90
|
type: :development
|
113
91
|
prerelease: false
|
114
|
-
version_requirements: *
|
92
|
+
version_requirements: *id007
|
115
93
|
- !ruby/object:Gem::Dependency
|
116
94
|
name: rspec
|
117
|
-
requirement: &
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
118
96
|
none: false
|
119
97
|
requirements:
|
120
98
|
- - ~>
|
@@ -122,7 +100,7 @@ dependencies:
|
|
122
100
|
version: 1.3.1
|
123
101
|
type: :development
|
124
102
|
prerelease: false
|
125
|
-
version_requirements: *
|
103
|
+
version_requirements: *id008
|
126
104
|
description: DataMapper plugin providing an Ambition-like API
|
127
105
|
email: dan.kubb@gmail.com
|
128
106
|
executables: []
|
@@ -187,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
165
|
requirements: []
|
188
166
|
|
189
167
|
rubyforge_project: dm-ambition
|
190
|
-
rubygems_version: 1.
|
168
|
+
rubygems_version: 1.6.2
|
191
169
|
signing_key:
|
192
170
|
specification_version: 3
|
193
171
|
summary: DataMapper plugin providing an Ambition-like API
|