dm-types 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 +23 -33
- data/VERSION +1 -1
- data/dm-types.gemspec +20 -26
- metadata +23 -45
data/Gemfile
CHANGED
@@ -2,28 +2,19 @@ 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
|
-
|
18
|
-
|
19
|
-
gem 'bcrypt-ruby', '~> 2.1.4'
|
20
|
-
gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
|
21
|
-
gem 'fastercsv', '~> 1.5.3'
|
22
|
-
gem 'json', '~> 1.5.1'
|
23
|
-
gem 'stringex', '~> 1.1.0'
|
24
|
-
gem 'uuidtools', '~> 2.1.1'
|
25
|
-
|
26
|
-
end
|
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
|
+
gem 'bcrypt-ruby', '~> 2.1.4'
|
13
|
+
gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
|
14
|
+
gem 'fastercsv', '~> 1.5.4'
|
15
|
+
gem 'json', '~> 1.4.6'
|
16
|
+
gem 'stringex', '~> 1.2.0'
|
17
|
+
gem 'uuidtools', '~> 2.1.2'
|
27
18
|
|
28
19
|
group :development do
|
29
20
|
|
@@ -34,12 +25,14 @@ group :development do
|
|
34
25
|
|
35
26
|
end
|
36
27
|
|
37
|
-
|
28
|
+
platforms :mri_18 do
|
29
|
+
group :quality do
|
38
30
|
|
39
|
-
|
40
|
-
|
41
|
-
|
31
|
+
gem 'rcov', '~> 0.9.9'
|
32
|
+
gem 'yard', '~> 0.6'
|
33
|
+
gem 'yardstick', '~> 0.2'
|
42
34
|
|
35
|
+
end
|
43
36
|
end
|
44
37
|
|
45
38
|
group :datamapper do
|
@@ -47,18 +40,15 @@ group :datamapper do
|
|
47
40
|
adapters = ENV['ADAPTER'] || ENV['ADAPTERS']
|
48
41
|
adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
|
49
42
|
|
50
|
-
DO_VERSION = '~> 0.10.2'
|
51
|
-
DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
|
52
|
-
|
53
43
|
if (do_adapters = DM_DO_ADAPTERS & adapters).any?
|
54
|
-
|
55
|
-
|
44
|
+
do_options = {}
|
45
|
+
do_options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
|
56
46
|
|
57
|
-
gem 'data_objects', DO_VERSION,
|
47
|
+
gem 'data_objects', DO_VERSION, do_options.dup
|
58
48
|
|
59
49
|
do_adapters.each do |adapter|
|
60
50
|
adapter = 'sqlite3' if adapter == 'sqlite'
|
61
|
-
gem "do_#{adapter}", DO_VERSION,
|
51
|
+
gem "do_#{adapter}", DO_VERSION, do_options.dup
|
62
52
|
end
|
63
53
|
|
64
54
|
gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.0.
|
1
|
+
1.1.0.rc2
|
data/dm-types.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dm-types}
|
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{DataMapper plugin providing extra data types}
|
14
14
|
s.email = %q{dan.kubb [a] gmail [d] com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -132,42 +132,36 @@ Gem::Specification.new do |s|
|
|
132
132
|
s.specification_version = 3
|
133
133
|
|
134
134
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
135
|
-
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.4"])
|
136
|
-
s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
|
137
135
|
s.add_runtime_dependency(%q<bcrypt-ruby>, ["~> 2.1.4"])
|
138
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.
|
139
|
-
s.add_runtime_dependency(%q<fastercsv>, ["~> 1.5.
|
140
|
-
s.add_runtime_dependency(%q<json>, ["~> 1.
|
141
|
-
s.add_runtime_dependency(%q<stringex>, ["~> 1.
|
142
|
-
s.add_runtime_dependency(%q<uuidtools>, ["~> 2.1.
|
143
|
-
s.add_development_dependency(%q<dm-validations>, ["~> 1.1.0.
|
136
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
|
137
|
+
s.add_runtime_dependency(%q<fastercsv>, ["~> 1.5.4"])
|
138
|
+
s.add_runtime_dependency(%q<json>, ["~> 1.4.6"])
|
139
|
+
s.add_runtime_dependency(%q<stringex>, ["~> 1.2.0"])
|
140
|
+
s.add_runtime_dependency(%q<uuidtools>, ["~> 2.1.2"])
|
141
|
+
s.add_development_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
|
144
142
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
145
143
|
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
146
144
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
147
145
|
else
|
148
|
-
s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
|
149
|
-
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
150
146
|
s.add_dependency(%q<bcrypt-ruby>, ["~> 2.1.4"])
|
151
|
-
s.add_dependency(%q<dm-core>, ["~> 1.1.0.
|
152
|
-
s.add_dependency(%q<fastercsv>, ["~> 1.5.
|
153
|
-
s.add_dependency(%q<json>, ["~> 1.
|
154
|
-
s.add_dependency(%q<stringex>, ["~> 1.
|
155
|
-
s.add_dependency(%q<uuidtools>, ["~> 2.1.
|
156
|
-
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.
|
147
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
|
148
|
+
s.add_dependency(%q<fastercsv>, ["~> 1.5.4"])
|
149
|
+
s.add_dependency(%q<json>, ["~> 1.4.6"])
|
150
|
+
s.add_dependency(%q<stringex>, ["~> 1.2.0"])
|
151
|
+
s.add_dependency(%q<uuidtools>, ["~> 2.1.2"])
|
152
|
+
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
|
157
153
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
158
154
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
159
155
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
160
156
|
end
|
161
157
|
else
|
162
|
-
s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
|
163
|
-
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
164
158
|
s.add_dependency(%q<bcrypt-ruby>, ["~> 2.1.4"])
|
165
|
-
s.add_dependency(%q<dm-core>, ["~> 1.1.0.
|
166
|
-
s.add_dependency(%q<fastercsv>, ["~> 1.5.
|
167
|
-
s.add_dependency(%q<json>, ["~> 1.
|
168
|
-
s.add_dependency(%q<stringex>, ["~> 1.
|
169
|
-
s.add_dependency(%q<uuidtools>, ["~> 2.1.
|
170
|
-
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.
|
159
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
|
160
|
+
s.add_dependency(%q<fastercsv>, ["~> 1.5.4"])
|
161
|
+
s.add_dependency(%q<json>, ["~> 1.4.6"])
|
162
|
+
s.add_dependency(%q<stringex>, ["~> 1.2.0"])
|
163
|
+
s.add_dependency(%q<uuidtools>, ["~> 2.1.2"])
|
164
|
+
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
|
171
165
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
172
166
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
173
167
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dm-types
|
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,111 +10,89 @@ 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
|
17
|
-
name:
|
17
|
+
name: bcrypt-ruby
|
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: 2.1.4
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: dm-core
|
29
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: 1.1.0.rc2
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
39
|
+
name: fastercsv
|
40
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 1.5.4
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: *id003
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
|
-
name:
|
50
|
+
name: json
|
51
51
|
requirement: &id004 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ~>
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 1.
|
56
|
+
version: 1.4.6
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: *id004
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
|
-
name:
|
61
|
+
name: stringex
|
62
62
|
requirement: &id005 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ~>
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.
|
67
|
+
version: 1.2.0
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: *id005
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
|
-
name:
|
72
|
+
name: uuidtools
|
73
73
|
requirement: &id006 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ~>
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: 1.
|
78
|
+
version: 2.1.2
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: *id006
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: stringex
|
84
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
|
-
requirements:
|
87
|
-
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.1.0
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: *id007
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: uuidtools
|
95
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
|
-
requirements:
|
98
|
-
- - ~>
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 2.1.1
|
101
|
-
type: :runtime
|
102
|
-
prerelease: false
|
103
|
-
version_requirements: *id008
|
104
82
|
- !ruby/object:Gem::Dependency
|
105
83
|
name: dm-validations
|
106
|
-
requirement: &
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
107
85
|
none: false
|
108
86
|
requirements:
|
109
87
|
- - ~>
|
110
88
|
- !ruby/object:Gem::Version
|
111
|
-
version: 1.1.0.
|
89
|
+
version: 1.1.0.rc2
|
112
90
|
type: :development
|
113
91
|
prerelease: false
|
114
|
-
version_requirements: *
|
92
|
+
version_requirements: *id007
|
115
93
|
- !ruby/object:Gem::Dependency
|
116
94
|
name: jeweler
|
117
|
-
requirement: &
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
118
96
|
none: false
|
119
97
|
requirements:
|
120
98
|
- - ~>
|
@@ -122,10 +100,10 @@ dependencies:
|
|
122
100
|
version: 1.5.2
|
123
101
|
type: :development
|
124
102
|
prerelease: false
|
125
|
-
version_requirements: *
|
103
|
+
version_requirements: *id008
|
126
104
|
- !ruby/object:Gem::Dependency
|
127
105
|
name: rake
|
128
|
-
requirement: &
|
106
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
129
107
|
none: false
|
130
108
|
requirements:
|
131
109
|
- - ~>
|
@@ -133,10 +111,10 @@ dependencies:
|
|
133
111
|
version: 0.8.7
|
134
112
|
type: :development
|
135
113
|
prerelease: false
|
136
|
-
version_requirements: *
|
114
|
+
version_requirements: *id009
|
137
115
|
- !ruby/object:Gem::Dependency
|
138
116
|
name: rspec
|
139
|
-
requirement: &
|
117
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
140
118
|
none: false
|
141
119
|
requirements:
|
142
120
|
- - ~>
|
@@ -144,7 +122,7 @@ dependencies:
|
|
144
122
|
version: 1.3.1
|
145
123
|
type: :development
|
146
124
|
prerelease: false
|
147
|
-
version_requirements: *
|
125
|
+
version_requirements: *id010
|
148
126
|
description: DataMapper plugin providing extra data types
|
149
127
|
email: dan.kubb [a] gmail [d] com
|
150
128
|
executables: []
|