data_mapper 0.10.2 → 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ pkg
2
+ doc
@@ -0,0 +1,40 @@
1
+ === 0.11.0 / (pending)
2
+
3
+ * Added dependency on dm-transactions since that has been extracted from dm-core
4
+
5
+ === 0.10.1 / 2009-09-30
6
+
7
+ * 1 minor enhancement:
8
+
9
+ * Updated gem dependencies to 0.10.1
10
+
11
+ === 0.10.0 / 2009-09-15
12
+
13
+ * 2 major enhancements:
14
+
15
+ * Updated gem dependencies to 0.10.0
16
+ * Updated gems to include in meta-gem
17
+
18
+ === 0.9.11 / 2009-03-29
19
+
20
+ * 1 minor enhancement:
21
+
22
+ * Updated gem dependencies to 0.9.11
23
+
24
+ === 0.9.10 / 2009-01-19
25
+
26
+ * 1 minor enhancement:
27
+
28
+ * Updated gem dependencies to 0.9.10
29
+
30
+ === 0.9.9 / 2009-01-04
31
+
32
+ * 1 minor enhancement:
33
+
34
+ * Updated gem dependencies to 0.9.9
35
+
36
+ === 0.9.8 / 2008-12-07
37
+
38
+ * 1 minor enhancement:
39
+
40
+ * Updated gem dependencies to 0.9.8
@@ -0,0 +1,6 @@
1
+ .gitignore
2
+ History.txt
3
+ Manifest.txt
4
+ README.txt
5
+ Rakefile
6
+ lib/data_mapper.rb
@@ -1,14 +1,14 @@
1
1
  = data_mapper
2
2
 
3
- data_mapper is a meta gem which requires and includes dm-core and
4
- the most commonly used gems from dm-more.
3
+ data_mapper is a meta gem which requires and includes the most
4
+ commonly used gems from dm-core, dm-more, and others.
5
5
 
6
6
  Included gems are:
7
-
8
7
  * dm-core
9
8
  * dm-aggregates
10
9
  * dm-constraints
11
10
  * dm-migrations
11
+ * dm-transactions
12
12
  * dm-serializer
13
13
  * dm-timestamps
14
14
  * dm-validations
@@ -0,0 +1,80 @@
1
+ #!/usr/bin/env ruby
2
+ require 'pathname'
3
+ require 'rubygems'
4
+ require 'rake'
5
+
6
+ gems = %w[
7
+ dm-core
8
+ dm-aggregates
9
+ dm-constraints
10
+ dm-migrations
11
+ dm-transactions
12
+ dm-serializer
13
+ dm-timestamps
14
+ dm-validations
15
+ dm-types
16
+ ]
17
+
18
+ AUTHOR = 'Dan Kubb'
19
+ EMAIL = 'dan.kubb@gmail.com'
20
+ GEM_NAME = 'data_mapper'
21
+ GEM_VERSION = '1.0.0.rc1'
22
+ GEM_DEPENDENCIES = [['dm-core', GEM_VERSION], *gems.collect { |g| [g, GEM_VERSION] }]
23
+ GEM_CLEAN = %w[ **/*.{gem,DS_Store} *.db doc/rdoc .config **/coverage cache ]
24
+ GEM_EXTRAS = { :has_rdoc => false }
25
+
26
+ PROJECT_NAME = 'datamapper'
27
+ PROJECT_URL = 'http://datamapper.org'
28
+ PROJECT_DESCRIPTION = 'Faster, Better, Simpler.'
29
+ PROJECT_SUMMARY = 'An Object/Relational Mapper for Ruby'
30
+
31
+
32
+ WINDOWS = (RUBY_PLATFORM =~ /win32|mingw|bccwin|cygwin/) rescue nil
33
+ SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])
34
+
35
+ desc "Install #{GEM_NAME}"
36
+ task :install => :package do
37
+ sh %{#{SUDO} gem install --local pkg/#{GEM_NAME}-#{GEM_VERSION}}
38
+ end
39
+
40
+ ## HOE TASKS
41
+
42
+ require 'hoe'
43
+
44
+ @config_file = '~/.rubyforge/user-config.yml'
45
+ @config = nil
46
+ RUBYFORGE_USERNAME = 'unknown'
47
+ def rubyforge_username
48
+ unless @config
49
+ begin
50
+ @config = YAML.load(File.read(File.expand_path(@config_file)))
51
+ rescue
52
+ puts <<-EOS
53
+ ERROR: No rubyforge config file found: #{@config_file}
54
+ Run 'rubyforge setup' to prepare your env for access to Rubyforge
55
+ - See http://newgem.rubyforge.org/rubyforge.html for more details
56
+ EOS
57
+ exit
58
+ end
59
+ end
60
+ RUBYFORGE_USERNAME.replace @config['username']
61
+ end
62
+
63
+ hoe = Hoe.new(GEM_NAME, GEM_VERSION) do |p|
64
+
65
+ p.developer(AUTHOR, EMAIL)
66
+
67
+ p.description = PROJECT_DESCRIPTION
68
+ p.summary = PROJECT_SUMMARY
69
+ p.url = PROJECT_URL
70
+
71
+ p.rubyforge_name = PROJECT_NAME if PROJECT_NAME
72
+
73
+ p.clean_globs |= GEM_CLEAN
74
+ p.spec_extras = GEM_EXTRAS if GEM_EXTRAS
75
+
76
+ GEM_DEPENDENCIES.each do |dep|
77
+ p.extra_deps << dep
78
+ end
79
+
80
+ end
@@ -1,9 +1,18 @@
1
- ### AUTOMATICALLY GENERATED. DO NOT EDIT.
2
- require 'dm-core'
3
- require 'dm-aggregates'
4
- require 'dm-constraints'
5
- require 'dm-migrations'
6
- require 'dm-serializer'
7
- require 'dm-timestamps'
8
- require 'dm-validations'
9
- require 'dm-types'
1
+ require 'rubygems'
2
+
3
+ DEPENDENCIES = %w[
4
+ dm-core
5
+ dm-aggregates
6
+ dm-constraints
7
+ dm-migrations
8
+ dm-transactions
9
+ dm-serializer
10
+ dm-timestamps
11
+ dm-validations
12
+ dm-types
13
+ ]
14
+
15
+ DEPENDENCIES.each do |lib|
16
+ gem lib, '1.0.0.rc1'
17
+ require lib
18
+ end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_mapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ prerelease: true
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 0
9
+ - rc1
10
+ version: 1.0.0.rc1
5
11
  platform: ruby
6
12
  authors:
7
13
  - Dan Kubb
@@ -9,126 +15,235 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-12-11 00:00:00 -08:00
18
+ date: 2010-05-19 00:00:00 -07:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: dm-core
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 0
31
+ - 0
32
+ - rc1
33
+ version: 1.0.0.rc1
17
34
  type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: dm-core
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
20
40
  requirements:
21
- - - ~>
41
+ - - "="
22
42
  - !ruby/object:Gem::Version
23
- version: 0.10.2
24
- version:
43
+ segments:
44
+ - 1
45
+ - 0
46
+ - 0
47
+ - rc1
48
+ version: 1.0.0.rc1
49
+ type: :runtime
50
+ version_requirements: *id002
25
51
  - !ruby/object:Gem::Dependency
26
52
  name: dm-aggregates
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
30
55
  requirements:
31
- - - ~>
56
+ - - "="
32
57
  - !ruby/object:Gem::Version
33
- version: 0.10.2
34
- version:
58
+ segments:
59
+ - 1
60
+ - 0
61
+ - 0
62
+ - rc1
63
+ version: 1.0.0.rc1
64
+ type: :runtime
65
+ version_requirements: *id003
35
66
  - !ruby/object:Gem::Dependency
36
67
  name: dm-constraints
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
40
70
  requirements:
41
- - - ~>
71
+ - - "="
42
72
  - !ruby/object:Gem::Version
43
- version: 0.10.2
44
- version:
73
+ segments:
74
+ - 1
75
+ - 0
76
+ - 0
77
+ - rc1
78
+ version: 1.0.0.rc1
79
+ type: :runtime
80
+ version_requirements: *id004
45
81
  - !ruby/object:Gem::Dependency
46
82
  name: dm-migrations
83
+ prerelease: false
84
+ requirement: &id005 !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "="
87
+ - !ruby/object:Gem::Version
88
+ segments:
89
+ - 1
90
+ - 0
91
+ - 0
92
+ - rc1
93
+ version: 1.0.0.rc1
47
94
  type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
95
+ version_requirements: *id005
96
+ - !ruby/object:Gem::Dependency
97
+ name: dm-transactions
98
+ prerelease: false
99
+ requirement: &id006 !ruby/object:Gem::Requirement
50
100
  requirements:
51
- - - ~>
101
+ - - "="
52
102
  - !ruby/object:Gem::Version
53
- version: 0.10.2
54
- version:
103
+ segments:
104
+ - 1
105
+ - 0
106
+ - 0
107
+ - rc1
108
+ version: 1.0.0.rc1
109
+ type: :runtime
110
+ version_requirements: *id006
55
111
  - !ruby/object:Gem::Dependency
56
112
  name: dm-serializer
57
- type: :runtime
58
- version_requirement:
59
- version_requirements: !ruby/object:Gem::Requirement
113
+ prerelease: false
114
+ requirement: &id007 !ruby/object:Gem::Requirement
60
115
  requirements:
61
- - - ~>
116
+ - - "="
62
117
  - !ruby/object:Gem::Version
63
- version: 0.10.2
64
- version:
118
+ segments:
119
+ - 1
120
+ - 0
121
+ - 0
122
+ - rc1
123
+ version: 1.0.0.rc1
124
+ type: :runtime
125
+ version_requirements: *id007
65
126
  - !ruby/object:Gem::Dependency
66
127
  name: dm-timestamps
67
- type: :runtime
68
- version_requirement:
69
- version_requirements: !ruby/object:Gem::Requirement
128
+ prerelease: false
129
+ requirement: &id008 !ruby/object:Gem::Requirement
70
130
  requirements:
71
- - - ~>
131
+ - - "="
72
132
  - !ruby/object:Gem::Version
73
- version: 0.10.2
74
- version:
133
+ segments:
134
+ - 1
135
+ - 0
136
+ - 0
137
+ - rc1
138
+ version: 1.0.0.rc1
139
+ type: :runtime
140
+ version_requirements: *id008
75
141
  - !ruby/object:Gem::Dependency
76
142
  name: dm-validations
77
- type: :runtime
78
- version_requirement:
79
- version_requirements: !ruby/object:Gem::Requirement
143
+ prerelease: false
144
+ requirement: &id009 !ruby/object:Gem::Requirement
80
145
  requirements:
81
- - - ~>
146
+ - - "="
82
147
  - !ruby/object:Gem::Version
83
- version: 0.10.2
84
- version:
148
+ segments:
149
+ - 1
150
+ - 0
151
+ - 0
152
+ - rc1
153
+ version: 1.0.0.rc1
154
+ type: :runtime
155
+ version_requirements: *id009
85
156
  - !ruby/object:Gem::Dependency
86
157
  name: dm-types
158
+ prerelease: false
159
+ requirement: &id010 !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - "="
162
+ - !ruby/object:Gem::Version
163
+ segments:
164
+ - 1
165
+ - 0
166
+ - 0
167
+ - rc1
168
+ version: 1.0.0.rc1
87
169
  type: :runtime
88
- version_requirement:
89
- version_requirements: !ruby/object:Gem::Requirement
170
+ version_requirements: *id010
171
+ - !ruby/object:Gem::Dependency
172
+ name: rubyforge
173
+ prerelease: false
174
+ requirement: &id011 !ruby/object:Gem::Requirement
90
175
  requirements:
91
- - - ~>
176
+ - - ">="
92
177
  - !ruby/object:Gem::Version
93
- version: 0.10.2
94
- version:
178
+ segments:
179
+ - 2
180
+ - 0
181
+ - 4
182
+ version: 2.0.4
183
+ type: :development
184
+ version_requirements: *id011
185
+ - !ruby/object:Gem::Dependency
186
+ name: hoe
187
+ prerelease: false
188
+ requirement: &id012 !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ segments:
193
+ - 2
194
+ - 6
195
+ - 0
196
+ version: 2.6.0
197
+ type: :development
198
+ version_requirements: *id012
95
199
  description: Faster, Better, Simpler.
96
- email: dan.kubb [a] gmail [d] com
200
+ email:
201
+ - dan.kubb@gmail.com
97
202
  executables: []
98
203
 
99
204
  extensions: []
100
205
 
101
- extra_rdoc_files: []
102
-
206
+ extra_rdoc_files:
207
+ - History.txt
208
+ - Manifest.txt
209
+ - README.txt
103
210
  files:
104
- - LICENSE
105
- - README.rdoc
211
+ - .gitignore
212
+ - History.txt
213
+ - Manifest.txt
214
+ - README.txt
215
+ - Rakefile
106
216
  - lib/data_mapper.rb
107
- has_rdoc: true
108
- homepage: http://github.com/datamapper/data_mapper/
217
+ has_rdoc: false
218
+ homepage: http://datamapper.org
109
219
  licenses: []
110
220
 
111
221
  post_install_message:
112
- rdoc_options: []
113
-
222
+ rdoc_options:
223
+ - --main
224
+ - README.txt
114
225
  require_paths:
115
226
  - lib
116
227
  required_ruby_version: !ruby/object:Gem::Requirement
117
228
  requirements:
118
229
  - - ">="
119
230
  - !ruby/object:Gem::Version
231
+ segments:
232
+ - 0
120
233
  version: "0"
121
- version:
122
234
  required_rubygems_version: !ruby/object:Gem::Requirement
123
235
  requirements:
124
- - - ">="
236
+ - - ">"
125
237
  - !ruby/object:Gem::Version
126
- version: "0"
127
- version:
238
+ segments:
239
+ - 1
240
+ - 3
241
+ - 1
242
+ version: 1.3.1
128
243
  requirements: []
129
244
 
130
245
  rubyforge_project: datamapper
131
- rubygems_version: 1.3.5
246
+ rubygems_version: 1.3.6
132
247
  signing_key:
133
248
  specification_version: 3
134
249
  summary: An Object/Relational Mapper for Ruby
data/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2009 Dan Kubb
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.