datamapper 0.3.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +0 -0
- data/Manifest.txt +5 -0
- data/README.txt +11 -0
- data/Rakefile +70 -0
- data/lib/datamapper.rb +8 -0
- metadata +152 -319
- data/CHANGELOG +0 -145
- data/FAQ +0 -96
- data/MIT-LICENSE +0 -22
- data/QUICKLINKS +0 -12
- data/README +0 -105
- data/environment.rb +0 -62
- data/example.rb +0 -156
- data/lib/data_mapper.rb +0 -88
- data/lib/data_mapper/adapters/abstract_adapter.rb +0 -43
- data/lib/data_mapper/adapters/data_object_adapter.rb +0 -480
- data/lib/data_mapper/adapters/mysql_adapter.rb +0 -72
- data/lib/data_mapper/adapters/postgresql_adapter.rb +0 -258
- data/lib/data_mapper/adapters/sql/coersion.rb +0 -134
- data/lib/data_mapper/adapters/sql/commands/load_command.rb +0 -545
- data/lib/data_mapper/adapters/sql/mappings/associations_set.rb +0 -34
- data/lib/data_mapper/adapters/sql/mappings/column.rb +0 -279
- data/lib/data_mapper/adapters/sql/mappings/conditions.rb +0 -172
- data/lib/data_mapper/adapters/sql/mappings/schema.rb +0 -60
- data/lib/data_mapper/adapters/sql/mappings/table.rb +0 -459
- data/lib/data_mapper/adapters/sql/quoting.rb +0 -24
- data/lib/data_mapper/adapters/sqlite3_adapter.rb +0 -159
- data/lib/data_mapper/associations.rb +0 -106
- data/lib/data_mapper/associations/belongs_to_association.rb +0 -160
- data/lib/data_mapper/associations/has_and_belongs_to_many_association.rb +0 -437
- data/lib/data_mapper/associations/has_many_association.rb +0 -283
- data/lib/data_mapper/associations/has_n_association.rb +0 -143
- data/lib/data_mapper/associations/reference.rb +0 -47
- data/lib/data_mapper/attributes.rb +0 -73
- data/lib/data_mapper/auto_migrations.rb +0 -36
- data/lib/data_mapper/base.rb +0 -17
- data/lib/data_mapper/callbacks.rb +0 -107
- data/lib/data_mapper/context.rb +0 -112
- data/lib/data_mapper/database.rb +0 -234
- data/lib/data_mapper/dependency_queue.rb +0 -28
- data/lib/data_mapper/embedded_value.rb +0 -145
- data/lib/data_mapper/identity_map.rb +0 -47
- data/lib/data_mapper/is/tree.rb +0 -121
- data/lib/data_mapper/migration.rb +0 -155
- data/lib/data_mapper/persistence.rb +0 -852
- data/lib/data_mapper/property.rb +0 -310
- data/lib/data_mapper/query.rb +0 -164
- data/lib/data_mapper/support/blank.rb +0 -35
- data/lib/data_mapper/support/connection_pool.rb +0 -117
- data/lib/data_mapper/support/enumerable.rb +0 -35
- data/lib/data_mapper/support/errors.rb +0 -16
- data/lib/data_mapper/support/inflector.rb +0 -265
- data/lib/data_mapper/support/object.rb +0 -54
- data/lib/data_mapper/support/serialization.rb +0 -96
- data/lib/data_mapper/support/silence.rb +0 -10
- data/lib/data_mapper/support/string.rb +0 -72
- data/lib/data_mapper/support/struct.rb +0 -7
- data/lib/data_mapper/support/symbol.rb +0 -82
- data/lib/data_mapper/support/typed_set.rb +0 -65
- data/lib/data_mapper/types/base.rb +0 -44
- data/lib/data_mapper/types/string.rb +0 -34
- data/lib/data_mapper/validatable_extensions/errors.rb +0 -12
- data/lib/data_mapper/validatable_extensions/macros.rb +0 -7
- data/lib/data_mapper/validatable_extensions/validatable_instance_methods.rb +0 -62
- data/lib/data_mapper/validatable_extensions/validation_base.rb +0 -18
- data/lib/data_mapper/validatable_extensions/validations/formats/email.rb +0 -43
- data/lib/data_mapper/validatable_extensions/validations/validates_acceptance_of.rb +0 -7
- data/lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb +0 -7
- data/lib/data_mapper/validatable_extensions/validations/validates_each.rb +0 -7
- data/lib/data_mapper/validatable_extensions/validations/validates_format_of.rb +0 -28
- data/lib/data_mapper/validatable_extensions/validations/validates_length_of.rb +0 -15
- data/lib/data_mapper/validatable_extensions/validations/validates_numericality_of.rb +0 -7
- data/lib/data_mapper/validatable_extensions/validations/validates_presence_of.rb +0 -7
- data/lib/data_mapper/validatable_extensions/validations/validates_true_for.rb +0 -7
- data/lib/data_mapper/validatable_extensions/validations/validates_uniqueness_of.rb +0 -40
- data/lib/data_mapper/validations.rb +0 -20
- data/lib/data_mapper/validations/number_validator.rb +0 -40
- data/lib/data_mapper/validations/string_validator.rb +0 -20
- data/lib/data_mapper/validations/validator.rb +0 -13
- data/performance.rb +0 -307
- data/plugins/can_has_sphinx/LICENSE +0 -23
- data/plugins/can_has_sphinx/README +0 -4
- data/plugins/can_has_sphinx/REVISION +0 -1
- data/plugins/can_has_sphinx/Rakefile +0 -22
- data/plugins/can_has_sphinx/init.rb +0 -1
- data/plugins/can_has_sphinx/install.rb +0 -1
- data/plugins/can_has_sphinx/lib/acts_as_sphinx.rb +0 -123
- data/plugins/can_has_sphinx/lib/sphinx.rb +0 -460
- data/plugins/can_has_sphinx/scripts/sphinx.sh +0 -47
- data/plugins/can_has_sphinx/tasks/acts_as_sphinx_tasks.rake +0 -41
- data/profile_data_mapper.rb +0 -40
- data/rakefile.rb +0 -159
- data/spec/acts_as_tree_spec.rb +0 -67
- data/spec/adapters/data_object_adapter_spec.rb +0 -31
- data/spec/associations/belongs_to_association_spec.rb +0 -98
- data/spec/associations/has_and_belongs_to_many_association_spec.rb +0 -377
- data/spec/associations/has_many_association_spec.rb +0 -337
- data/spec/attributes_spec.rb +0 -52
- data/spec/auto_migrations_spec.rb +0 -101
- data/spec/callbacks_spec.rb +0 -186
- data/spec/can_has_sphinx.rb +0 -5
- data/spec/coersion_spec.rb +0 -41
- data/spec/column_spec.rb +0 -114
- data/spec/count_command_spec.rb +0 -45
- data/spec/database_spec.rb +0 -18
- data/spec/dataobjects_spec.rb +0 -27
- data/spec/delete_command_spec.rb +0 -11
- data/spec/dependency_spec.rb +0 -29
- data/spec/embedded_value_spec.rb +0 -161
- data/spec/fixtures/animals.yaml +0 -33
- data/spec/fixtures/animals_exhibits.yaml +0 -2
- data/spec/fixtures/careers.yaml +0 -5
- data/spec/fixtures/comments.yaml +0 -1
- data/spec/fixtures/exhibits.yaml +0 -90
- data/spec/fixtures/fruit.yaml +0 -6
- data/spec/fixtures/people.yaml +0 -37
- data/spec/fixtures/posts.yaml +0 -3
- data/spec/fixtures/projects.yaml +0 -13
- data/spec/fixtures/sections.yaml +0 -5
- data/spec/fixtures/serializers.yaml +0 -6
- data/spec/fixtures/tasks.yaml +0 -6
- data/spec/fixtures/tasks_tasks.yaml +0 -2
- data/spec/fixtures/tomatoes.yaml +0 -1
- data/spec/fixtures/users.yaml +0 -1
- data/spec/fixtures/zoos.yaml +0 -24
- data/spec/is_a_tree_spec.rb +0 -149
- data/spec/legacy_spec.rb +0 -16
- data/spec/load_command_spec.rb +0 -322
- data/spec/magic_columns_spec.rb +0 -26
- data/spec/migration_spec.rb +0 -267
- data/spec/mock_adapter.rb +0 -20
- data/spec/models/animal.rb +0 -12
- data/spec/models/candidate.rb +0 -8
- data/spec/models/career.rb +0 -7
- data/spec/models/chain.rb +0 -8
- data/spec/models/comment.rb +0 -6
- data/spec/models/exhibit.rb +0 -14
- data/spec/models/fence.rb +0 -7
- data/spec/models/fruit.rb +0 -8
- data/spec/models/job.rb +0 -8
- data/spec/models/person.rb +0 -30
- data/spec/models/post.rb +0 -14
- data/spec/models/project.rb +0 -41
- data/spec/models/sales_person.rb +0 -5
- data/spec/models/section.rb +0 -8
- data/spec/models/serializer.rb +0 -5
- data/spec/models/task.rb +0 -9
- data/spec/models/tomato.rb +0 -27
- data/spec/models/user.rb +0 -12
- data/spec/models/zoo.rb +0 -13
- data/spec/natural_key_spec.rb +0 -36
- data/spec/paranoia_spec.rb +0 -38
- data/spec/persistence_spec.rb +0 -479
- data/spec/postgres_spec.rb +0 -96
- data/spec/property_spec.rb +0 -151
- data/spec/query_spec.rb +0 -77
- data/spec/save_command_spec.rb +0 -94
- data/spec/schema_spec.rb +0 -8
- data/spec/serialize_spec.rb +0 -19
- data/spec/single_table_inheritance_spec.rb +0 -43
- data/spec/spec_helper.rb +0 -45
- data/spec/support/blank_spec.rb +0 -8
- data/spec/support/inflector_spec.rb +0 -41
- data/spec/support/object_spec.rb +0 -9
- data/spec/support/serialization_spec.rb +0 -61
- data/spec/support/silence_spec.rb +0 -15
- data/spec/support/string_spec.rb +0 -7
- data/spec/support/struct_spec.rb +0 -12
- data/spec/support/typed_set_spec.rb +0 -66
- data/spec/symbolic_operators_spec.rb +0 -27
- data/spec/table_spec.rb +0 -79
- data/spec/types/string.rb +0 -81
- data/spec/validates_confirmation_of_spec.rb +0 -55
- data/spec/validates_format_of_spec.rb +0 -78
- data/spec/validates_length_of_spec.rb +0 -117
- data/spec/validates_uniqueness_of_spec.rb +0 -92
- data/spec/validations/number_validator.rb +0 -59
- data/spec/validations/string_validator.rb +0 -14
- data/spec/validations_spec.rb +0 -141
- data/tasks/fixtures.rb +0 -53
data/History.txt
ADDED
File without changes
|
data/Manifest.txt
ADDED
data/README.txt
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'pathname'
|
3
|
+
require 'rubygems'
|
4
|
+
require 'rake'
|
5
|
+
|
6
|
+
gems = %w(dm-core dm-aggregates dm-migrations dm-serializer dm-timestamps dm-validations dm-cli dm-is-tree dm-observer dm-types)
|
7
|
+
|
8
|
+
AUTHOR = "Sam Smoot"
|
9
|
+
EMAIL = "ssmoot@gmail.com"
|
10
|
+
GEM_NAME = "datamapper"
|
11
|
+
GEM_VERSION = "0.9.3"
|
12
|
+
GEM_DEPENDENCIES = [["dm-core", GEM_VERSION], *gems.collect { |g| [g, GEM_VERSION] }]
|
13
|
+
GEM_CLEAN = ['**/*.{gem,DS_Store}', '*.db', "doc/rdoc", ".config", "**/coverage", "cache", "lib/merb-more.rb"]
|
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
|
data/lib/datamapper.rb
ADDED
metadata
CHANGED
@@ -1,347 +1,180 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: datamapper
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.3
|
7
|
-
date: 2008-04-30 00:00:00 -07:00
|
8
|
-
summary: An Object/Relational Mapper for Ruby
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: ssmoot@gmail.com
|
12
|
-
homepage: http://datamapper.org
|
13
|
-
rubyforge_project: datamapper
|
14
|
-
description: Faster, Better, Simpler.
|
15
|
-
autorequire: data_mapper
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 0.9.3
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Sam Smoot
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
- QUICKLINKS
|
35
|
-
- CHANGELOG
|
36
|
-
- MIT-LICENSE
|
37
|
-
- environment.rb
|
38
|
-
- example.rb
|
39
|
-
- performance.rb
|
40
|
-
- profile_data_mapper.rb
|
41
|
-
- rakefile.rb
|
42
|
-
- lib/data_mapper/adapters/abstract_adapter.rb
|
43
|
-
- lib/data_mapper/adapters/data_object_adapter.rb
|
44
|
-
- lib/data_mapper/adapters/mysql_adapter.rb
|
45
|
-
- lib/data_mapper/adapters/postgresql_adapter.rb
|
46
|
-
- lib/data_mapper/adapters/sql/coersion.rb
|
47
|
-
- lib/data_mapper/adapters/sql/commands/load_command.rb
|
48
|
-
- lib/data_mapper/adapters/sql/mappings/associations_set.rb
|
49
|
-
- lib/data_mapper/adapters/sql/mappings/column.rb
|
50
|
-
- lib/data_mapper/adapters/sql/mappings/conditions.rb
|
51
|
-
- lib/data_mapper/adapters/sql/mappings/schema.rb
|
52
|
-
- lib/data_mapper/adapters/sql/mappings/table.rb
|
53
|
-
- lib/data_mapper/adapters/sql/quoting.rb
|
54
|
-
- lib/data_mapper/adapters/sqlite3_adapter.rb
|
55
|
-
- lib/data_mapper/associations/belongs_to_association.rb
|
56
|
-
- lib/data_mapper/associations/has_and_belongs_to_many_association.rb
|
57
|
-
- lib/data_mapper/associations/has_many_association.rb
|
58
|
-
- lib/data_mapper/associations/has_n_association.rb
|
59
|
-
- lib/data_mapper/associations/reference.rb
|
60
|
-
- lib/data_mapper/associations.rb
|
61
|
-
- lib/data_mapper/attributes.rb
|
62
|
-
- lib/data_mapper/auto_migrations.rb
|
63
|
-
- lib/data_mapper/base.rb
|
64
|
-
- lib/data_mapper/callbacks.rb
|
65
|
-
- lib/data_mapper/context.rb
|
66
|
-
- lib/data_mapper/database.rb
|
67
|
-
- lib/data_mapper/dependency_queue.rb
|
68
|
-
- lib/data_mapper/embedded_value.rb
|
69
|
-
- lib/data_mapper/identity_map.rb
|
70
|
-
- lib/data_mapper/is/tree.rb
|
71
|
-
- lib/data_mapper/migration.rb
|
72
|
-
- lib/data_mapper/persistence.rb
|
73
|
-
- lib/data_mapper/property.rb
|
74
|
-
- lib/data_mapper/query.rb
|
75
|
-
- lib/data_mapper/support/blank.rb
|
76
|
-
- lib/data_mapper/support/connection_pool.rb
|
77
|
-
- lib/data_mapper/support/enumerable.rb
|
78
|
-
- lib/data_mapper/support/errors.rb
|
79
|
-
- lib/data_mapper/support/inflector.rb
|
80
|
-
- lib/data_mapper/support/object.rb
|
81
|
-
- lib/data_mapper/support/serialization.rb
|
82
|
-
- lib/data_mapper/support/silence.rb
|
83
|
-
- lib/data_mapper/support/string.rb
|
84
|
-
- lib/data_mapper/support/struct.rb
|
85
|
-
- lib/data_mapper/support/symbol.rb
|
86
|
-
- lib/data_mapper/support/typed_set.rb
|
87
|
-
- lib/data_mapper/types/base.rb
|
88
|
-
- lib/data_mapper/types/string.rb
|
89
|
-
- lib/data_mapper/validatable_extensions/errors.rb
|
90
|
-
- lib/data_mapper/validatable_extensions/macros.rb
|
91
|
-
- lib/data_mapper/validatable_extensions/validatable_instance_methods.rb
|
92
|
-
- lib/data_mapper/validatable_extensions/validation_base.rb
|
93
|
-
- lib/data_mapper/validatable_extensions/validations/formats/email.rb
|
94
|
-
- lib/data_mapper/validatable_extensions/validations/validates_acceptance_of.rb
|
95
|
-
- lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb
|
96
|
-
- lib/data_mapper/validatable_extensions/validations/validates_each.rb
|
97
|
-
- lib/data_mapper/validatable_extensions/validations/validates_format_of.rb
|
98
|
-
- lib/data_mapper/validatable_extensions/validations/validates_length_of.rb
|
99
|
-
- lib/data_mapper/validatable_extensions/validations/validates_numericality_of.rb
|
100
|
-
- lib/data_mapper/validatable_extensions/validations/validates_presence_of.rb
|
101
|
-
- lib/data_mapper/validatable_extensions/validations/validates_true_for.rb
|
102
|
-
- lib/data_mapper/validatable_extensions/validations/validates_uniqueness_of.rb
|
103
|
-
- lib/data_mapper/validations/number_validator.rb
|
104
|
-
- lib/data_mapper/validations/string_validator.rb
|
105
|
-
- lib/data_mapper/validations/validator.rb
|
106
|
-
- lib/data_mapper/validations.rb
|
107
|
-
- lib/data_mapper.rb
|
108
|
-
- spec/acts_as_tree_spec.rb
|
109
|
-
- spec/adapters/data_object_adapter_spec.rb
|
110
|
-
- spec/associations/belongs_to_association_spec.rb
|
111
|
-
- spec/associations/has_and_belongs_to_many_association_spec.rb
|
112
|
-
- spec/associations/has_many_association_spec.rb
|
113
|
-
- spec/attributes_spec.rb
|
114
|
-
- spec/auto_migrations_spec.rb
|
115
|
-
- spec/callbacks_spec.rb
|
116
|
-
- spec/can_has_sphinx.rb
|
117
|
-
- spec/coersion_spec.rb
|
118
|
-
- spec/column_spec.rb
|
119
|
-
- spec/count_command_spec.rb
|
120
|
-
- spec/database_spec.rb
|
121
|
-
- spec/dataobjects_spec.rb
|
122
|
-
- spec/delete_command_spec.rb
|
123
|
-
- spec/dependency_spec.rb
|
124
|
-
- spec/embedded_value_spec.rb
|
125
|
-
- spec/is_a_tree_spec.rb
|
126
|
-
- spec/legacy_spec.rb
|
127
|
-
- spec/load_command_spec.rb
|
128
|
-
- spec/magic_columns_spec.rb
|
129
|
-
- spec/migration_spec.rb
|
130
|
-
- spec/mock_adapter.rb
|
131
|
-
- spec/models/animal.rb
|
132
|
-
- spec/models/candidate.rb
|
133
|
-
- spec/models/career.rb
|
134
|
-
- spec/models/chain.rb
|
135
|
-
- spec/models/comment.rb
|
136
|
-
- spec/models/exhibit.rb
|
137
|
-
- spec/models/fence.rb
|
138
|
-
- spec/models/fruit.rb
|
139
|
-
- spec/models/job.rb
|
140
|
-
- spec/models/person.rb
|
141
|
-
- spec/models/post.rb
|
142
|
-
- spec/models/project.rb
|
143
|
-
- spec/models/sales_person.rb
|
144
|
-
- spec/models/section.rb
|
145
|
-
- spec/models/serializer.rb
|
146
|
-
- spec/models/task.rb
|
147
|
-
- spec/models/tomato.rb
|
148
|
-
- spec/models/user.rb
|
149
|
-
- spec/models/zoo.rb
|
150
|
-
- spec/natural_key_spec.rb
|
151
|
-
- spec/paranoia_spec.rb
|
152
|
-
- spec/persistence_spec.rb
|
153
|
-
- spec/postgres_spec.rb
|
154
|
-
- spec/property_spec.rb
|
155
|
-
- spec/query_spec.rb
|
156
|
-
- spec/save_command_spec.rb
|
157
|
-
- spec/schema_spec.rb
|
158
|
-
- spec/serialize_spec.rb
|
159
|
-
- spec/single_table_inheritance_spec.rb
|
160
|
-
- spec/spec_helper.rb
|
161
|
-
- spec/support/blank_spec.rb
|
162
|
-
- spec/support/inflector_spec.rb
|
163
|
-
- spec/support/object_spec.rb
|
164
|
-
- spec/support/serialization_spec.rb
|
165
|
-
- spec/support/silence_spec.rb
|
166
|
-
- spec/support/string_spec.rb
|
167
|
-
- spec/support/struct_spec.rb
|
168
|
-
- spec/support/typed_set_spec.rb
|
169
|
-
- spec/symbolic_operators_spec.rb
|
170
|
-
- spec/table_spec.rb
|
171
|
-
- spec/types/string.rb
|
172
|
-
- spec/validates_confirmation_of_spec.rb
|
173
|
-
- spec/validates_format_of_spec.rb
|
174
|
-
- spec/validates_length_of_spec.rb
|
175
|
-
- spec/validates_uniqueness_of_spec.rb
|
176
|
-
- spec/validations/number_validator.rb
|
177
|
-
- spec/validations/string_validator.rb
|
178
|
-
- spec/validations_spec.rb
|
179
|
-
- spec/fixtures/animals.yaml
|
180
|
-
- spec/fixtures/animals_exhibits.yaml
|
181
|
-
- spec/fixtures/careers.yaml
|
182
|
-
- spec/fixtures/comments.yaml
|
183
|
-
- spec/fixtures/exhibits.yaml
|
184
|
-
- spec/fixtures/fruit.yaml
|
185
|
-
- spec/fixtures/people.yaml
|
186
|
-
- spec/fixtures/posts.yaml
|
187
|
-
- spec/fixtures/projects.yaml
|
188
|
-
- spec/fixtures/sections.yaml
|
189
|
-
- spec/fixtures/serializers.yaml
|
190
|
-
- spec/fixtures/tasks.yaml
|
191
|
-
- spec/fixtures/tasks_tasks.yaml
|
192
|
-
- spec/fixtures/tomatoes.yaml
|
193
|
-
- spec/fixtures/users.yaml
|
194
|
-
- spec/fixtures/zoos.yaml
|
195
|
-
- tasks/fixtures.rb
|
196
|
-
- plugins/can_has_sphinx
|
197
|
-
- plugins/can_has_sphinx/init.rb
|
198
|
-
- plugins/can_has_sphinx/install.rb
|
199
|
-
- plugins/can_has_sphinx/lib
|
200
|
-
- plugins/can_has_sphinx/lib/acts_as_sphinx.rb
|
201
|
-
- plugins/can_has_sphinx/lib/sphinx.rb
|
202
|
-
- plugins/can_has_sphinx/LICENSE
|
203
|
-
- plugins/can_has_sphinx/Rakefile
|
204
|
-
- plugins/can_has_sphinx/README
|
205
|
-
- plugins/can_has_sphinx/REVISION
|
206
|
-
- plugins/can_has_sphinx/scripts
|
207
|
-
- plugins/can_has_sphinx/scripts/sphinx.sh
|
208
|
-
- plugins/can_has_sphinx/tasks
|
209
|
-
- plugins/can_has_sphinx/tasks/acts_as_sphinx_tasks.rake
|
210
|
-
test_files: []
|
211
|
-
|
212
|
-
rdoc_options:
|
213
|
-
- --line-numbers
|
214
|
-
- --inline-source
|
215
|
-
- --main
|
216
|
-
- README
|
217
|
-
extra_rdoc_files:
|
218
|
-
- README
|
219
|
-
- FAQ
|
220
|
-
- QUICKLINKS
|
221
|
-
- CHANGELOG
|
222
|
-
- MIT-LICENSE
|
223
|
-
- environment.rb
|
224
|
-
- example.rb
|
225
|
-
- performance.rb
|
226
|
-
- profile_data_mapper.rb
|
227
|
-
- rakefile.rb
|
228
|
-
- lib/data_mapper/adapters/abstract_adapter.rb
|
229
|
-
- lib/data_mapper/adapters/data_object_adapter.rb
|
230
|
-
- lib/data_mapper/adapters/mysql_adapter.rb
|
231
|
-
- lib/data_mapper/adapters/postgresql_adapter.rb
|
232
|
-
- lib/data_mapper/adapters/sql/coersion.rb
|
233
|
-
- lib/data_mapper/adapters/sql/commands/load_command.rb
|
234
|
-
- lib/data_mapper/adapters/sql/mappings/associations_set.rb
|
235
|
-
- lib/data_mapper/adapters/sql/mappings/column.rb
|
236
|
-
- lib/data_mapper/adapters/sql/mappings/conditions.rb
|
237
|
-
- lib/data_mapper/adapters/sql/mappings/schema.rb
|
238
|
-
- lib/data_mapper/adapters/sql/mappings/table.rb
|
239
|
-
- lib/data_mapper/adapters/sql/quoting.rb
|
240
|
-
- lib/data_mapper/adapters/sqlite3_adapter.rb
|
241
|
-
- lib/data_mapper/associations/belongs_to_association.rb
|
242
|
-
- lib/data_mapper/associations/has_and_belongs_to_many_association.rb
|
243
|
-
- lib/data_mapper/associations/has_many_association.rb
|
244
|
-
- lib/data_mapper/associations/has_n_association.rb
|
245
|
-
- lib/data_mapper/associations/reference.rb
|
246
|
-
- lib/data_mapper/associations.rb
|
247
|
-
- lib/data_mapper/attributes.rb
|
248
|
-
- lib/data_mapper/auto_migrations.rb
|
249
|
-
- lib/data_mapper/base.rb
|
250
|
-
- lib/data_mapper/callbacks.rb
|
251
|
-
- lib/data_mapper/context.rb
|
252
|
-
- lib/data_mapper/database.rb
|
253
|
-
- lib/data_mapper/dependency_queue.rb
|
254
|
-
- lib/data_mapper/embedded_value.rb
|
255
|
-
- lib/data_mapper/identity_map.rb
|
256
|
-
- lib/data_mapper/is/tree.rb
|
257
|
-
- lib/data_mapper/migration.rb
|
258
|
-
- lib/data_mapper/persistence.rb
|
259
|
-
- lib/data_mapper/property.rb
|
260
|
-
- lib/data_mapper/query.rb
|
261
|
-
- lib/data_mapper/support/blank.rb
|
262
|
-
- lib/data_mapper/support/connection_pool.rb
|
263
|
-
- lib/data_mapper/support/enumerable.rb
|
264
|
-
- lib/data_mapper/support/errors.rb
|
265
|
-
- lib/data_mapper/support/inflector.rb
|
266
|
-
- lib/data_mapper/support/object.rb
|
267
|
-
- lib/data_mapper/support/serialization.rb
|
268
|
-
- lib/data_mapper/support/silence.rb
|
269
|
-
- lib/data_mapper/support/string.rb
|
270
|
-
- lib/data_mapper/support/struct.rb
|
271
|
-
- lib/data_mapper/support/symbol.rb
|
272
|
-
- lib/data_mapper/support/typed_set.rb
|
273
|
-
- lib/data_mapper/types/base.rb
|
274
|
-
- lib/data_mapper/types/string.rb
|
275
|
-
- lib/data_mapper/validatable_extensions/errors.rb
|
276
|
-
- lib/data_mapper/validatable_extensions/macros.rb
|
277
|
-
- lib/data_mapper/validatable_extensions/validatable_instance_methods.rb
|
278
|
-
- lib/data_mapper/validatable_extensions/validation_base.rb
|
279
|
-
- lib/data_mapper/validatable_extensions/validations/formats/email.rb
|
280
|
-
- lib/data_mapper/validatable_extensions/validations/validates_acceptance_of.rb
|
281
|
-
- lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb
|
282
|
-
- lib/data_mapper/validatable_extensions/validations/validates_each.rb
|
283
|
-
- lib/data_mapper/validatable_extensions/validations/validates_format_of.rb
|
284
|
-
- lib/data_mapper/validatable_extensions/validations/validates_length_of.rb
|
285
|
-
- lib/data_mapper/validatable_extensions/validations/validates_numericality_of.rb
|
286
|
-
- lib/data_mapper/validatable_extensions/validations/validates_presence_of.rb
|
287
|
-
- lib/data_mapper/validatable_extensions/validations/validates_true_for.rb
|
288
|
-
- lib/data_mapper/validatable_extensions/validations/validates_uniqueness_of.rb
|
289
|
-
- lib/data_mapper/validations/number_validator.rb
|
290
|
-
- lib/data_mapper/validations/string_validator.rb
|
291
|
-
- lib/data_mapper/validations/validator.rb
|
292
|
-
- lib/data_mapper/validations.rb
|
293
|
-
- lib/data_mapper.rb
|
294
|
-
- tasks/fixtures.rb
|
295
|
-
- plugins/can_has_sphinx/init.rb
|
296
|
-
- plugins/can_has_sphinx/install.rb
|
297
|
-
- plugins/can_has_sphinx/lib/acts_as_sphinx.rb
|
298
|
-
- plugins/can_has_sphinx/lib/sphinx.rb
|
299
|
-
- plugins/can_has_sphinx/LICENSE
|
300
|
-
- plugins/can_has_sphinx/Rakefile
|
301
|
-
- plugins/can_has_sphinx/README
|
302
|
-
- plugins/can_has_sphinx/REVISION
|
303
|
-
- plugins/can_has_sphinx/scripts/sphinx.sh
|
304
|
-
- plugins/can_has_sphinx/tasks/acts_as_sphinx_tasks.rake
|
305
|
-
executables: []
|
306
|
-
|
307
|
-
extensions: []
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
308
11
|
|
309
|
-
|
310
|
-
|
12
|
+
date: 2008-07-24 00:00:00 -05:00
|
13
|
+
default_executable:
|
311
14
|
dependencies:
|
312
15
|
- !ruby/object:Gem::Dependency
|
313
|
-
name:
|
16
|
+
name: dm-core
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - "="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.9.3
|
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.9.3
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: dm-aggregates
|
37
|
+
type: :runtime
|
314
38
|
version_requirement:
|
315
|
-
version_requirements: !ruby/object:Gem::
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
316
40
|
requirements:
|
317
|
-
- - "
|
41
|
+
- - "="
|
318
42
|
- !ruby/object:Gem::Version
|
319
|
-
version: 0.
|
43
|
+
version: 0.9.3
|
320
44
|
version:
|
321
45
|
- !ruby/object:Gem::Dependency
|
322
|
-
name:
|
46
|
+
name: dm-migrations
|
47
|
+
type: :runtime
|
323
48
|
version_requirement:
|
324
|
-
version_requirements: !ruby/object:Gem::
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
325
50
|
requirements:
|
326
|
-
- - "
|
51
|
+
- - "="
|
327
52
|
- !ruby/object:Gem::Version
|
328
|
-
version: 0.
|
53
|
+
version: 0.9.3
|
329
54
|
version:
|
330
55
|
- !ruby/object:Gem::Dependency
|
331
|
-
name:
|
56
|
+
name: dm-serializer
|
57
|
+
type: :runtime
|
332
58
|
version_requirement:
|
333
|
-
version_requirements: !ruby/object:Gem::
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
334
60
|
requirements:
|
335
|
-
- - "
|
61
|
+
- - "="
|
336
62
|
- !ruby/object:Gem::Version
|
337
|
-
version: 0.
|
63
|
+
version: 0.9.3
|
338
64
|
version:
|
339
65
|
- !ruby/object:Gem::Dependency
|
340
|
-
name:
|
66
|
+
name: dm-timestamps
|
67
|
+
type: :runtime
|
341
68
|
version_requirement:
|
342
|
-
version_requirements: !ruby/object:Gem::
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
343
70
|
requirements:
|
344
|
-
- - "
|
71
|
+
- - "="
|
345
72
|
- !ruby/object:Gem::Version
|
346
|
-
version: 0.
|
73
|
+
version: 0.9.3
|
347
74
|
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: dm-validations
|
77
|
+
type: :runtime
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 0.9.3
|
84
|
+
version:
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: dm-cli
|
87
|
+
type: :runtime
|
88
|
+
version_requirement:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - "="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.9.3
|
94
|
+
version:
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: dm-is-tree
|
97
|
+
type: :runtime
|
98
|
+
version_requirement:
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.9.3
|
104
|
+
version:
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: dm-observer
|
107
|
+
type: :runtime
|
108
|
+
version_requirement:
|
109
|
+
version_requirements: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 0.9.3
|
114
|
+
version:
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: dm-types
|
117
|
+
type: :runtime
|
118
|
+
version_requirement:
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 0.9.3
|
124
|
+
version:
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: hoe
|
127
|
+
type: :development
|
128
|
+
version_requirement:
|
129
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 1.7.0
|
134
|
+
version:
|
135
|
+
description: Faster, Better, Simpler.
|
136
|
+
email:
|
137
|
+
- ssmoot@gmail.com
|
138
|
+
executables: []
|
139
|
+
|
140
|
+
extensions: []
|
141
|
+
|
142
|
+
extra_rdoc_files:
|
143
|
+
- History.txt
|
144
|
+
- Manifest.txt
|
145
|
+
- README.txt
|
146
|
+
files:
|
147
|
+
- History.txt
|
148
|
+
- Manifest.txt
|
149
|
+
- README.txt
|
150
|
+
- Rakefile
|
151
|
+
- lib/datamapper.rb
|
152
|
+
has_rdoc: false
|
153
|
+
homepage: http://datamapper.org
|
154
|
+
post_install_message:
|
155
|
+
rdoc_options:
|
156
|
+
- --main
|
157
|
+
- README.txt
|
158
|
+
require_paths:
|
159
|
+
- lib
|
160
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: "0"
|
165
|
+
version:
|
166
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: "0"
|
171
|
+
version:
|
172
|
+
requirements: []
|
173
|
+
|
174
|
+
rubyforge_project: datamapper
|
175
|
+
rubygems_version: 1.2.0
|
176
|
+
signing_key:
|
177
|
+
specification_version: 2
|
178
|
+
summary: An Object/Relational Mapper for Ruby
|
179
|
+
test_files: []
|
180
|
+
|