dm-core 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 +29 -33
- data/VERSION +1 -1
- data/dm-core.gemspec +5 -5
- data/lib/dm-core/version.rb +1 -1
- metadata +3 -3
data/Gemfile
CHANGED
@@ -2,24 +2,22 @@ require 'pathname'
|
|
2
2
|
|
3
3
|
source 'http://rubygems.org'
|
4
4
|
|
5
|
-
SOURCE
|
6
|
-
REPO_POSTFIX
|
7
|
-
DATAMAPPER
|
8
|
-
DM_VERSION
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
end
|
18
|
-
|
19
|
-
gem 'addressable', '~> 2.2'
|
20
|
-
|
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 ]
|
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'
|
21
17
|
end
|
22
18
|
|
19
|
+
gem 'addressable', '~> 2.2.4'
|
20
|
+
|
23
21
|
group :development do
|
24
22
|
|
25
23
|
gem 'jeweler', '~> 1.5.2'
|
@@ -28,42 +26,40 @@ group :development do
|
|
28
26
|
|
29
27
|
end
|
30
28
|
|
31
|
-
|
29
|
+
platforms :mri_18 do
|
30
|
+
group :quality do
|
32
31
|
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
gem 'rcov', '~> 0.9.9'
|
33
|
+
gem 'yard', '~> 0.6'
|
34
|
+
gem 'yardstick', '~> 0.2'
|
36
35
|
|
36
|
+
end
|
37
37
|
end
|
38
38
|
|
39
39
|
group :datamapper do
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
adapters = ENV['ADAPTERS'] || ENV['ADAPTER'] || 'in_memory'
|
44
|
-
adapters = adapters.to_s.tr(',', ' ').split.uniq
|
41
|
+
# Make ourself available to the adapters
|
42
|
+
gem 'dm-core', DM_VERSION, :path => File.dirname(__FILE__)
|
45
43
|
|
46
|
-
|
47
|
-
|
44
|
+
adapters = ENV['ADAPTERS'] || ENV['ADAPTER']
|
45
|
+
adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
|
48
46
|
|
49
47
|
if (do_adapters = DM_DO_ADAPTERS & adapters).any?
|
50
|
-
|
51
|
-
|
48
|
+
do_options = {}
|
49
|
+
do_options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
|
52
50
|
|
53
|
-
gem 'data_objects', DO_VERSION,
|
51
|
+
gem 'data_objects', DO_VERSION, do_options.dup
|
54
52
|
|
55
53
|
do_adapters.each do |adapter|
|
56
54
|
adapter = 'sqlite3' if adapter == 'sqlite'
|
57
|
-
gem "do_#{adapter}", DO_VERSION,
|
55
|
+
gem "do_#{adapter}", DO_VERSION, do_options.dup
|
58
56
|
end
|
59
57
|
|
60
58
|
gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
|
61
59
|
end
|
62
60
|
|
63
61
|
adapters.each do |adapter|
|
64
|
-
|
65
|
-
gem "dm-#{adapter}-adapter", DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}"
|
66
|
-
end
|
62
|
+
gem "dm-#{adapter}-adapter", DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}"
|
67
63
|
end
|
68
64
|
|
69
65
|
plugins = ENV['PLUGINS'] || ENV['PLUGIN']
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.0.
|
1
|
+
1.1.0.rc2
|
data/dm-core.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dm-core}
|
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 = ["Dan Kubb"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-03-01}
|
13
13
|
s.description = %q{Faster, Better, Simpler.}
|
14
14
|
s.email = %q{dan.kubb@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -411,14 +411,14 @@ Gem::Specification.new do |s|
|
|
411
411
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
412
412
|
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.4"])
|
413
413
|
s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
|
414
|
-
s.add_runtime_dependency(%q<addressable>, ["~> 2.2"])
|
414
|
+
s.add_runtime_dependency(%q<addressable>, ["~> 2.2.4"])
|
415
415
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
416
416
|
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
417
417
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
418
418
|
else
|
419
419
|
s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
|
420
420
|
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
421
|
-
s.add_dependency(%q<addressable>, ["~> 2.2"])
|
421
|
+
s.add_dependency(%q<addressable>, ["~> 2.2.4"])
|
422
422
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
423
423
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
424
424
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
@@ -426,7 +426,7 @@ Gem::Specification.new do |s|
|
|
426
426
|
else
|
427
427
|
s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
|
428
428
|
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
429
|
-
s.add_dependency(%q<addressable>, ["~> 2.2"])
|
429
|
+
s.add_dependency(%q<addressable>, ["~> 2.2.4"])
|
430
430
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
431
431
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
432
432
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
data/lib/dm-core/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dm-core
|
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
|
- Dan Kubb
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-03-01 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 2.2.4
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: *id003
|