theaboutbox-foreigner 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/Gemfile +8 -0
- data/MIT-LICENSE +21 -0
- data/README.textile +109 -0
- data/Rakefile +39 -0
- data/VERSION +1 -0
- data/lib/foreigner.rb +60 -0
- data/lib/foreigner/connection_adapters/abstract/schema_definitions.rb +154 -0
- data/lib/foreigner/connection_adapters/abstract/schema_statements.rb +75 -0
- data/lib/foreigner/connection_adapters/mysql_adapter.rb +48 -0
- data/lib/foreigner/connection_adapters/postgresql_adapter.rb +47 -0
- data/lib/foreigner/connection_adapters/sqlite3_adapter.rb +46 -0
- data/lib/foreigner/schema_dumper.rb +47 -0
- data/lib/foreigner/semantics/sql_2003.rb +78 -0
- data/spec/adapter_helper.rb +100 -0
- data/spec/factory_helper.rb +72 -0
- data/spec/mysql/schema_extractor_spec.rb +143 -0
- data/spec/mysql/schema_spec.rb +87 -0
- data/spec/mysql/semantics_spec.rb +75 -0
- data/spec/postgresql/schema_extractor_spec.rb +143 -0
- data/spec/postgresql/schema_spec.rb +152 -0
- data/spec/postgresql/semantics_spec.rb +75 -0
- data/spec/schema_dumper_spec.rb +96 -0
- data/spec/spec_helper.rb +51 -0
- data/spec/sqlite3/schema_spec.rb +86 -0
- data/tasks/foreigner_tasks.rake +4 -0
- data/theaboutbox-foreigner.gemspec +76 -0
- metadata +103 -0
@@ -0,0 +1,76 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{theaboutbox-foreigner}
|
8
|
+
s.version = "0.7.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Ho-Sheng Hsiao"]
|
12
|
+
s.date = %q{2010-07-23}
|
13
|
+
s.description = %q{Allows you to add foreign keys to your migrations and enforce them. Forked to fix exception on Rails 3 beta 4}
|
14
|
+
s.email = %q{hosh@sparkfly.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"README.textile"
|
17
|
+
]
|
18
|
+
s.files = [
|
19
|
+
".gitignore",
|
20
|
+
"Gemfile",
|
21
|
+
"MIT-LICENSE",
|
22
|
+
"README.textile",
|
23
|
+
"Rakefile",
|
24
|
+
"VERSION",
|
25
|
+
"lib/foreigner.rb",
|
26
|
+
"lib/foreigner/connection_adapters/abstract/schema_definitions.rb",
|
27
|
+
"lib/foreigner/connection_adapters/abstract/schema_statements.rb",
|
28
|
+
"lib/foreigner/connection_adapters/mysql_adapter.rb",
|
29
|
+
"lib/foreigner/connection_adapters/postgresql_adapter.rb",
|
30
|
+
"lib/foreigner/connection_adapters/sqlite3_adapter.rb",
|
31
|
+
"lib/foreigner/schema_dumper.rb",
|
32
|
+
"lib/foreigner/semantics/sql_2003.rb",
|
33
|
+
"spec/adapter_helper.rb",
|
34
|
+
"spec/factory_helper.rb",
|
35
|
+
"spec/mysql/schema_extractor_spec.rb",
|
36
|
+
"spec/mysql/schema_spec.rb",
|
37
|
+
"spec/mysql/semantics_spec.rb",
|
38
|
+
"spec/postgresql/schema_extractor_spec.rb",
|
39
|
+
"spec/postgresql/schema_spec.rb",
|
40
|
+
"spec/postgresql/semantics_spec.rb",
|
41
|
+
"spec/schema_dumper_spec.rb",
|
42
|
+
"spec/spec_helper.rb",
|
43
|
+
"spec/sqlite3/schema_spec.rb",
|
44
|
+
"tasks/foreigner_tasks.rake",
|
45
|
+
"theaboutbox-foreigner.gemspec"
|
46
|
+
]
|
47
|
+
s.homepage = %q{http://github.com/theaboutbox/foreigner}
|
48
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
49
|
+
s.require_paths = ["lib"]
|
50
|
+
s.rubygems_version = %q{1.3.7}
|
51
|
+
s.summary = %q{Foreign keys for Rails migrations for PostgreSQL, MySQL and Sqlite3. Based on dwilkie-foreigner}
|
52
|
+
s.test_files = [
|
53
|
+
"spec/adapter_helper.rb",
|
54
|
+
"spec/factory_helper.rb",
|
55
|
+
"spec/mysql/schema_extractor_spec.rb",
|
56
|
+
"spec/mysql/schema_spec.rb",
|
57
|
+
"spec/mysql/semantics_spec.rb",
|
58
|
+
"spec/postgresql/schema_extractor_spec.rb",
|
59
|
+
"spec/postgresql/schema_spec.rb",
|
60
|
+
"spec/postgresql/semantics_spec.rb",
|
61
|
+
"spec/schema_dumper_spec.rb",
|
62
|
+
"spec/spec_helper.rb",
|
63
|
+
"spec/sqlite3/schema_spec.rb"
|
64
|
+
]
|
65
|
+
|
66
|
+
if s.respond_to? :specification_version then
|
67
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
68
|
+
s.specification_version = 3
|
69
|
+
|
70
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
71
|
+
else
|
72
|
+
end
|
73
|
+
else
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
metadata
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: theaboutbox-foreigner
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
- 2
|
10
|
+
version: 0.7.2
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Ho-Sheng Hsiao
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-07-23 00:00:00 -06:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: Allows you to add foreign keys to your migrations and enforce them. Forked to fix exception on Rails 3 beta 4
|
23
|
+
email: hosh@sparkfly.com
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files:
|
29
|
+
- README.textile
|
30
|
+
files:
|
31
|
+
- .gitignore
|
32
|
+
- Gemfile
|
33
|
+
- MIT-LICENSE
|
34
|
+
- README.textile
|
35
|
+
- Rakefile
|
36
|
+
- VERSION
|
37
|
+
- lib/foreigner.rb
|
38
|
+
- lib/foreigner/connection_adapters/abstract/schema_definitions.rb
|
39
|
+
- lib/foreigner/connection_adapters/abstract/schema_statements.rb
|
40
|
+
- lib/foreigner/connection_adapters/mysql_adapter.rb
|
41
|
+
- lib/foreigner/connection_adapters/postgresql_adapter.rb
|
42
|
+
- lib/foreigner/connection_adapters/sqlite3_adapter.rb
|
43
|
+
- lib/foreigner/schema_dumper.rb
|
44
|
+
- lib/foreigner/semantics/sql_2003.rb
|
45
|
+
- spec/adapter_helper.rb
|
46
|
+
- spec/factory_helper.rb
|
47
|
+
- spec/mysql/schema_extractor_spec.rb
|
48
|
+
- spec/mysql/schema_spec.rb
|
49
|
+
- spec/mysql/semantics_spec.rb
|
50
|
+
- spec/postgresql/schema_extractor_spec.rb
|
51
|
+
- spec/postgresql/schema_spec.rb
|
52
|
+
- spec/postgresql/semantics_spec.rb
|
53
|
+
- spec/schema_dumper_spec.rb
|
54
|
+
- spec/spec_helper.rb
|
55
|
+
- spec/sqlite3/schema_spec.rb
|
56
|
+
- tasks/foreigner_tasks.rake
|
57
|
+
- theaboutbox-foreigner.gemspec
|
58
|
+
has_rdoc: true
|
59
|
+
homepage: http://github.com/theaboutbox/foreigner
|
60
|
+
licenses: []
|
61
|
+
|
62
|
+
post_install_message:
|
63
|
+
rdoc_options:
|
64
|
+
- --charset=UTF-8
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
hash: 3
|
82
|
+
segments:
|
83
|
+
- 0
|
84
|
+
version: "0"
|
85
|
+
requirements: []
|
86
|
+
|
87
|
+
rubyforge_project:
|
88
|
+
rubygems_version: 1.3.7
|
89
|
+
signing_key:
|
90
|
+
specification_version: 3
|
91
|
+
summary: Foreign keys for Rails migrations for PostgreSQL, MySQL and Sqlite3. Based on dwilkie-foreigner
|
92
|
+
test_files:
|
93
|
+
- spec/adapter_helper.rb
|
94
|
+
- spec/factory_helper.rb
|
95
|
+
- spec/mysql/schema_extractor_spec.rb
|
96
|
+
- spec/mysql/schema_spec.rb
|
97
|
+
- spec/mysql/semantics_spec.rb
|
98
|
+
- spec/postgresql/schema_extractor_spec.rb
|
99
|
+
- spec/postgresql/schema_spec.rb
|
100
|
+
- spec/postgresql/semantics_spec.rb
|
101
|
+
- spec/schema_dumper_spec.rb
|
102
|
+
- spec/spec_helper.rb
|
103
|
+
- spec/sqlite3/schema_spec.rb
|