data_mapper 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
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.
@@ -1,9 +1,10 @@
1
1
  = data_mapper
2
2
 
3
- data_mapper is a meta gem which requires and includes the most
4
- commonly used gems from dm-core, dm-more, and others.
3
+ data_mapper is a meta gem which requires and includes dm-core and
4
+ the most commonly used gems from dm-more.
5
5
 
6
6
  Included gems are:
7
+
7
8
  * dm-core
8
9
  * dm-aggregates
9
10
  * dm-constraints
data/lib/data_mapper.rb CHANGED
@@ -1,8 +1,9 @@
1
- require 'rubygems'
2
-
3
- DEPENDENCIES = %w[ dm-core dm-aggregates dm-constraints dm-migrations dm-serializer dm-timestamps dm-validations dm-types ]
4
-
5
- DEPENDENCIES.each do |lib|
6
- gem lib, '0.10.1'
7
- require lib
8
- end
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_mapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Kubb
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-30 00:00:00 -07:00
12
+ date: 2009-12-11 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -18,19 +18,9 @@ dependencies:
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - "="
21
+ - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 0.10.1
24
- version:
25
- - !ruby/object:Gem::Dependency
26
- name: dm-core
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "="
32
- - !ruby/object:Gem::Version
33
- version: 0.10.1
23
+ version: 0.10.2
34
24
  version:
35
25
  - !ruby/object:Gem::Dependency
36
26
  name: dm-aggregates
@@ -38,9 +28,9 @@ dependencies:
38
28
  version_requirement:
39
29
  version_requirements: !ruby/object:Gem::Requirement
40
30
  requirements:
41
- - - "="
31
+ - - ~>
42
32
  - !ruby/object:Gem::Version
43
- version: 0.10.1
33
+ version: 0.10.2
44
34
  version:
45
35
  - !ruby/object:Gem::Dependency
46
36
  name: dm-constraints
@@ -48,9 +38,9 @@ dependencies:
48
38
  version_requirement:
49
39
  version_requirements: !ruby/object:Gem::Requirement
50
40
  requirements:
51
- - - "="
41
+ - - ~>
52
42
  - !ruby/object:Gem::Version
53
- version: 0.10.1
43
+ version: 0.10.2
54
44
  version:
55
45
  - !ruby/object:Gem::Dependency
56
46
  name: dm-migrations
@@ -58,9 +48,9 @@ dependencies:
58
48
  version_requirement:
59
49
  version_requirements: !ruby/object:Gem::Requirement
60
50
  requirements:
61
- - - "="
51
+ - - ~>
62
52
  - !ruby/object:Gem::Version
63
- version: 0.10.1
53
+ version: 0.10.2
64
54
  version:
65
55
  - !ruby/object:Gem::Dependency
66
56
  name: dm-serializer
@@ -68,9 +58,9 @@ dependencies:
68
58
  version_requirement:
69
59
  version_requirements: !ruby/object:Gem::Requirement
70
60
  requirements:
71
- - - "="
61
+ - - ~>
72
62
  - !ruby/object:Gem::Version
73
- version: 0.10.1
63
+ version: 0.10.2
74
64
  version:
75
65
  - !ruby/object:Gem::Dependency
76
66
  name: dm-timestamps
@@ -78,9 +68,9 @@ dependencies:
78
68
  version_requirement:
79
69
  version_requirements: !ruby/object:Gem::Requirement
80
70
  requirements:
81
- - - "="
71
+ - - ~>
82
72
  - !ruby/object:Gem::Version
83
- version: 0.10.1
73
+ version: 0.10.2
84
74
  version:
85
75
  - !ruby/object:Gem::Dependency
86
76
  name: dm-validations
@@ -88,9 +78,9 @@ dependencies:
88
78
  version_requirement:
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
80
  requirements:
91
- - - "="
81
+ - - ~>
92
82
  - !ruby/object:Gem::Version
93
- version: 0.10.1
83
+ version: 0.10.2
94
84
  version:
95
85
  - !ruby/object:Gem::Dependency
96
86
  name: dm-types
@@ -98,46 +88,29 @@ dependencies:
98
88
  version_requirement:
99
89
  version_requirements: !ruby/object:Gem::Requirement
100
90
  requirements:
101
- - - "="
91
+ - - ~>
102
92
  - !ruby/object:Gem::Version
103
- version: 0.10.1
104
- version:
105
- - !ruby/object:Gem::Dependency
106
- name: hoe
107
- type: :development
108
- version_requirement:
109
- version_requirements: !ruby/object:Gem::Requirement
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- version: 2.3.3
93
+ version: 0.10.2
114
94
  version:
115
95
  description: Faster, Better, Simpler.
116
- email:
117
- - dan.kubb@gmail.com
96
+ email: dan.kubb [a] gmail [d] com
118
97
  executables: []
119
98
 
120
99
  extensions: []
121
100
 
122
- extra_rdoc_files:
123
- - History.txt
124
- - Manifest.txt
125
- - README.txt
101
+ extra_rdoc_files: []
102
+
126
103
  files:
127
- - .gitignore
128
- - History.txt
129
- - Manifest.txt
130
- - README.txt
131
- - Rakefile
104
+ - LICENSE
105
+ - README.rdoc
132
106
  - lib/data_mapper.rb
133
- has_rdoc: false
134
- homepage: http://datamapper.org
107
+ has_rdoc: true
108
+ homepage: http://github.com/datamapper/data_mapper/
135
109
  licenses: []
136
110
 
137
111
  post_install_message:
138
- rdoc_options:
139
- - --main
140
- - README.txt
112
+ rdoc_options: []
113
+
141
114
  require_paths:
142
115
  - lib
143
116
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- pkg
2
- doc
data/History.txt DELETED
@@ -1,36 +0,0 @@
1
- === 0.10.1 / 2009-09-30
2
-
3
- * 1 minor enhancement:
4
-
5
- * Updated gem dependencies to 0.10.1
6
-
7
- === 0.10.0 / 2009-09-15
8
-
9
- * 2 major enhancements:
10
-
11
- * Updated gem dependencies to 0.10.0
12
- * Updated gems to include in meta-gem
13
-
14
- === 0.9.11 / 2009-03-29
15
-
16
- * 1 minor enhancement:
17
-
18
- * Updated gem dependencies to 0.9.11
19
-
20
- === 0.9.10 / 2009-01-19
21
-
22
- * 1 minor enhancement:
23
-
24
- * Updated gem dependencies to 0.9.10
25
-
26
- === 0.9.9 / 2009-01-04
27
-
28
- * 1 minor enhancement:
29
-
30
- * Updated gem dependencies to 0.9.9
31
-
32
- === 0.9.8 / 2008-12-07
33
-
34
- * 1 minor enhancement:
35
-
36
- * Updated gem dependencies to 0.9.8
data/Manifest.txt DELETED
@@ -1,6 +0,0 @@
1
- .gitignore
2
- History.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- lib/data_mapper.rb
data/Rakefile DELETED
@@ -1,70 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'pathname'
3
- require 'rubygems'
4
- require 'rake'
5
-
6
- gems = %w[ dm-core dm-aggregates dm-constraints dm-migrations dm-serializer dm-timestamps dm-validations dm-types ]
7
-
8
- AUTHOR = 'Dan Kubb'
9
- EMAIL = 'dan.kubb@gmail.com'
10
- GEM_NAME = 'data_mapper'
11
- GEM_VERSION = '0.10.1'
12
- GEM_DEPENDENCIES = [['dm-core', GEM_VERSION], *gems.collect { |g| [g, GEM_VERSION] }]
13
- GEM_CLEAN = %w[ **/*.{gem,DS_Store} *.db doc/rdoc .config **/coverage cache ]
14
- GEM_EXTRAS = { :has_rdoc => false }
15
-
16
- PROJECT_NAME = 'datamapper'
17
- PROJECT_URL = 'http://datamapper.org'
18
- PROJECT_DESCRIPTION = 'Faster, Better, Simpler.'
19
- PROJECT_SUMMARY = 'An Object/Relational Mapper for Ruby'
20
-
21
-
22
- WINDOWS = (RUBY_PLATFORM =~ /win32|mingw|bccwin|cygwin/) rescue nil
23
- SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])
24
-
25
- desc "Install #{GEM_NAME}"
26
- task :install => :package do
27
- sh %{#{SUDO} gem install --local pkg/#{GEM_NAME}-#{GEM_VERSION}}
28
- end
29
-
30
- ## HOE TASKS
31
-
32
- require 'hoe'
33
-
34
- @config_file = '~/.rubyforge/user-config.yml'
35
- @config = nil
36
- RUBYFORGE_USERNAME = 'unknown'
37
- def rubyforge_username
38
- unless @config
39
- begin
40
- @config = YAML.load(File.read(File.expand_path(@config_file)))
41
- rescue
42
- puts <<-EOS
43
- ERROR: No rubyforge config file found: #{@config_file}
44
- Run 'rubyforge setup' to prepare your env for access to Rubyforge
45
- - See http://newgem.rubyforge.org/rubyforge.html for more details
46
- EOS
47
- exit
48
- end
49
- end
50
- RUBYFORGE_USERNAME.replace @config['username']
51
- end
52
-
53
- hoe = Hoe.new(GEM_NAME, GEM_VERSION) do |p|
54
-
55
- p.developer(AUTHOR, EMAIL)
56
-
57
- p.description = PROJECT_DESCRIPTION
58
- p.summary = PROJECT_SUMMARY
59
- p.url = PROJECT_URL
60
-
61
- p.rubyforge_name = PROJECT_NAME if PROJECT_NAME
62
-
63
- p.clean_globs |= GEM_CLEAN
64
- p.spec_extras = GEM_EXTRAS if GEM_EXTRAS
65
-
66
- GEM_DEPENDENCIES.each do |dep|
67
- p.extra_deps << dep
68
- end
69
-
70
- end