aspgems-redhillonrails_core 2.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +194 -0
- data/Gemfile +3 -0
- data/MIT-LICENSE +20 -0
- data/README +161 -0
- data/Rakefile +59 -0
- data/init.rb +1 -0
- data/lib/redhillonrails_core.rb +46 -0
- data/lib/redhillonrails_core/active_record/base.rb +45 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/abstract/column.rb +14 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/abstract/foreign_key_definition.rb +63 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/abstract/index_definition.rb +11 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/abstract/schema_statements.rb +23 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/abstract/table_definition.rb +27 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/abstract_adapter.rb +84 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/mysql_adapter.rb +131 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/mysql_column.rb +8 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/postgresql_adapter.rb +131 -0
- data/lib/redhillonrails_core/active_record/connection_adapters/sqlite3_adapter.rb +115 -0
- data/lib/redhillonrails_core/active_record/schema.rb +25 -0
- data/lib/redhillonrails_core/active_record/schema_dumper.rb +75 -0
- data/lib/redhillonrails_core/version.rb +3 -0
- data/lib/tasks/db/comments.rake +9 -0
- data/redhillonrails_core.gemspec +27 -0
- data/spec/connections/mysql/connection.rb +18 -0
- data/spec/connections/mysql2/connection.rb +18 -0
- data/spec/connections/postgresql/connection.rb +15 -0
- data/spec/connections/sqlite3/connection.rb +14 -0
- data/spec/foreign_key_definition_spec.rb +21 -0
- data/spec/foreign_key_spec.rb +100 -0
- data/spec/index_definition_spec.rb +145 -0
- data/spec/index_spec.rb +67 -0
- data/spec/models/comment.rb +5 -0
- data/spec/models/post.rb +6 -0
- data/spec/models/user.rb +5 -0
- data/spec/schema/schema.rb +21 -0
- data/spec/schema_dumper_spec.rb +138 -0
- data/spec/spec_helper.rb +16 -0
- data/spec/support/reference.rb +66 -0
- metadata +159 -0
metadata
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aspgems-redhillonrails_core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: 6
|
5
|
+
version: 2.0.0.beta1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- "Micha\xC5\x82 \xC5\x81omnicki"
|
9
|
+
- "Paco Guzm\xC3\xA1n"
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
|
14
|
+
date: 2011-04-26 00:00:00 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: activerecord
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: "2"
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
32
|
+
requirements:
|
33
|
+
- - ~>
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 2.5.0
|
36
|
+
type: :development
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: pg
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: "0"
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: mysql
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: "0"
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: mysql2
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: "0"
|
69
|
+
type: :development
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: sqlite3-ruby
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 1.3.1
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id006
|
82
|
+
description: Adds support in ActiveRecord for foreign_keys, complex indexes and other database-related stuff. Easily create foreign_keys, complex indexes and views.
|
83
|
+
email:
|
84
|
+
- michal.lomnicki@gmail.com
|
85
|
+
- fjguzman@aspgems.com
|
86
|
+
executables: []
|
87
|
+
|
88
|
+
extensions: []
|
89
|
+
|
90
|
+
extra_rdoc_files: []
|
91
|
+
|
92
|
+
files:
|
93
|
+
- CHANGELOG
|
94
|
+
- Gemfile
|
95
|
+
- MIT-LICENSE
|
96
|
+
- README
|
97
|
+
- Rakefile
|
98
|
+
- init.rb
|
99
|
+
- lib/redhillonrails_core.rb
|
100
|
+
- lib/redhillonrails_core/active_record/base.rb
|
101
|
+
- lib/redhillonrails_core/active_record/connection_adapters/abstract/column.rb
|
102
|
+
- lib/redhillonrails_core/active_record/connection_adapters/abstract/foreign_key_definition.rb
|
103
|
+
- lib/redhillonrails_core/active_record/connection_adapters/abstract/index_definition.rb
|
104
|
+
- lib/redhillonrails_core/active_record/connection_adapters/abstract/schema_statements.rb
|
105
|
+
- lib/redhillonrails_core/active_record/connection_adapters/abstract/table_definition.rb
|
106
|
+
- lib/redhillonrails_core/active_record/connection_adapters/abstract_adapter.rb
|
107
|
+
- lib/redhillonrails_core/active_record/connection_adapters/mysql_adapter.rb
|
108
|
+
- lib/redhillonrails_core/active_record/connection_adapters/mysql_column.rb
|
109
|
+
- lib/redhillonrails_core/active_record/connection_adapters/postgresql_adapter.rb
|
110
|
+
- lib/redhillonrails_core/active_record/connection_adapters/sqlite3_adapter.rb
|
111
|
+
- lib/redhillonrails_core/active_record/schema.rb
|
112
|
+
- lib/redhillonrails_core/active_record/schema_dumper.rb
|
113
|
+
- lib/redhillonrails_core/version.rb
|
114
|
+
- lib/tasks/db/comments.rake
|
115
|
+
- redhillonrails_core.gemspec
|
116
|
+
- spec/connections/mysql/connection.rb
|
117
|
+
- spec/connections/mysql2/connection.rb
|
118
|
+
- spec/connections/postgresql/connection.rb
|
119
|
+
- spec/connections/sqlite3/connection.rb
|
120
|
+
- spec/foreign_key_definition_spec.rb
|
121
|
+
- spec/foreign_key_spec.rb
|
122
|
+
- spec/index_definition_spec.rb
|
123
|
+
- spec/index_spec.rb
|
124
|
+
- spec/models/comment.rb
|
125
|
+
- spec/models/post.rb
|
126
|
+
- spec/models/user.rb
|
127
|
+
- spec/schema/schema.rb
|
128
|
+
- spec/schema_dumper_spec.rb
|
129
|
+
- spec/spec_helper.rb
|
130
|
+
- spec/support/reference.rb
|
131
|
+
homepage: https://github.com/aspgems/redhillonrails_core
|
132
|
+
licenses: []
|
133
|
+
|
134
|
+
post_install_message:
|
135
|
+
rdoc_options: []
|
136
|
+
|
137
|
+
require_paths:
|
138
|
+
- lib
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: "0"
|
145
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
147
|
+
requirements:
|
148
|
+
- - ">"
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 1.3.1
|
151
|
+
requirements: []
|
152
|
+
|
153
|
+
rubyforge_project:
|
154
|
+
rubygems_version: 1.7.2
|
155
|
+
signing_key:
|
156
|
+
specification_version: 3
|
157
|
+
summary: Adds support in ActiveRecord for foreign_keys, complex indexes and other database-related stuff
|
158
|
+
test_files: []
|
159
|
+
|