magic_multi_connections 1.0.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.txt +0 -0
- data/History.txt +0 -0
- data/Manifest.txt +43 -32
- data/README.txt +0 -0
- data/Rakefile +21 -15
- data/lib/ext_active_record/association_extensions.rb +90 -0
- data/lib/ext_active_record/connection_specification.rb +0 -0
- data/lib/magic_multi_connections.rb +22 -21
- data/lib/magic_multi_connections/connected.rb +91 -29
- data/lib/magic_multi_connections/module.rb +27 -26
- data/lib/magic_multi_connections/version.rb +9 -9
- data/scripts/txt2html +0 -0
- data/scripts/txt2js +1 -1
- data/setup.rb +0 -0
- data/test/connections/native_mysql/connection.rb +24 -0
- data/test/connections/native_postgresql/connection.rb +0 -0
- data/test/fixtures/address.rb +3 -0
- data/test/fixtures/addresses.yml +4 -0
- data/test/fixtures/assignment.rb +7 -0
- data/test/fixtures/classified.rb +5 -0
- data/test/fixtures/contact_repository.rb +2 -2
- data/test/fixtures/db_definitions/mysql.sql +19 -0
- data/test/fixtures/db_definitions/postgresql.sql +7 -1
- data/test/fixtures/habit.rb +3 -0
- data/test/fixtures/paycheck.rb +3 -0
- data/test/fixtures/people.yml +0 -0
- data/test/fixtures/person.rb +3 -1
- data/test/fixtures/soldier.rb +8 -0
- data/test/test_helper.rb +71 -71
- data/test/test_magic_multi_connections.rb +27 -26
- data/test/test_mmc_associations.rb +46 -0
- data/test/test_parent_module.rb +0 -0
- data/test/test_preexisting_module.rb +0 -0
- data/website/index.html +354 -340
- data/website/index.txt +286 -223
- data/website/javascripts/rounded_corners_lite.inc.js +0 -0
- data/website/stylesheets/screen.css +0 -0
- data/website/template.js +0 -0
- data/website/template.rhtml +0 -0
- data/website/version-raw.js +2 -2
- data/website/version-raw.txt +1 -1
- data/website/version.js +1 -1
- data/website/version.txt +0 -0
- metadata +63 -37
File without changes
|
File without changes
|
data/website/template.js
CHANGED
File without changes
|
data/website/template.rhtml
CHANGED
File without changes
|
data/website/version-raw.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
// Announcement JS file
|
2
|
-
var version = "1.
|
3
|
-
MagicAnnouncement.show('
|
2
|
+
var version = "1.2.0";
|
3
|
+
MagicAnnouncement.show('magic_multi_connections', version);
|
data/website/version-raw.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
h1. Announcement JS file
|
2
|
-
MagicAnnouncement.show('
|
2
|
+
MagicAnnouncement.show('magic_multi_connections', version);
|
data/website/version.js
CHANGED
data/website/version.txt
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,39 +1,39 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.2
|
3
|
-
specification_version: 1
|
4
2
|
name: magic_multi_connections
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.
|
7
|
-
date: 2007-04-10 00:00:00 +02:00
|
8
|
-
summary: Your ActiveRecord classes can be accessed within multiple modules, each which targets a different DB connection
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: drnicwilliams@gmail.com
|
12
|
-
homepage: http://magicmodels.rubyforge.org
|
13
|
-
rubyforge_project: magicmodels
|
14
|
-
description: Your ActiveRecord classes can be accessed within multiple modules, each which targets a different DB connection
|
15
|
-
autorequire:
|
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: 1.2.1
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
|
-
-
|
7
|
+
- Dr Nic Williams
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-02-15 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Your ActiveRecord classes can be accessed within multiple modules, each which targets a different DB connection
|
17
|
+
email: drnicwilliams@gmail.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- CHANGELOG.txt
|
24
|
+
- History.txt
|
25
|
+
- Manifest.txt
|
26
|
+
- README.txt
|
27
|
+
- website/index.txt
|
28
|
+
- website/version-raw.txt
|
29
|
+
- website/version.txt
|
31
30
|
files:
|
32
31
|
- CHANGELOG.txt
|
33
32
|
- History.txt
|
34
33
|
- Manifest.txt
|
35
34
|
- README.txt
|
36
35
|
- Rakefile
|
36
|
+
- lib/ext_active_record/association_extensions.rb
|
37
37
|
- lib/ext_active_record/connection_specification.rb
|
38
38
|
- lib/magic_multi_connections.rb
|
39
39
|
- lib/magic_multi_connections/connected.rb
|
@@ -42,13 +42,23 @@ files:
|
|
42
42
|
- scripts/txt2html
|
43
43
|
- scripts/txt2js
|
44
44
|
- setup.rb
|
45
|
+
- test/connections/native_mysql/connection.rb
|
45
46
|
- test/connections/native_postgresql/connection.rb
|
47
|
+
- test/fixtures/address.rb
|
48
|
+
- test/fixtures/addresses.yml
|
49
|
+
- test/fixtures/assignment.rb
|
50
|
+
- test/fixtures/classified.rb
|
46
51
|
- test/fixtures/contact_repository.rb
|
52
|
+
- test/fixtures/db_definitions/mysql.sql
|
47
53
|
- test/fixtures/db_definitions/postgresql.sql
|
54
|
+
- test/fixtures/habit.rb
|
55
|
+
- test/fixtures/paycheck.rb
|
48
56
|
- test/fixtures/people.yml
|
49
57
|
- test/fixtures/person.rb
|
58
|
+
- test/fixtures/soldier.rb
|
50
59
|
- test/test_helper.rb
|
51
60
|
- test/test_magic_multi_connections.rb
|
61
|
+
- test/test_mmc_associations.rb
|
52
62
|
- test/test_parent_module.rb
|
53
63
|
- test/test_preexisting_module.rb
|
54
64
|
- website/index.html
|
@@ -61,20 +71,36 @@ files:
|
|
61
71
|
- website/version-raw.txt
|
62
72
|
- website/version.js
|
63
73
|
- website/version.txt
|
74
|
+
has_rdoc: true
|
75
|
+
homepage: http://magicmodels.rubyforge.org
|
76
|
+
post_install_message:
|
77
|
+
rdoc_options:
|
78
|
+
- --main
|
79
|
+
- README.txt
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: "0"
|
87
|
+
version:
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: "0"
|
93
|
+
version:
|
94
|
+
requirements: []
|
95
|
+
|
96
|
+
rubyforge_project: magicmodels
|
97
|
+
rubygems_version: 1.0.1
|
98
|
+
signing_key:
|
99
|
+
specification_version: 2
|
100
|
+
summary: Your ActiveRecord classes can be accessed within multiple modules, each which targets a different DB connection
|
64
101
|
test_files:
|
65
102
|
- test/test_helper.rb
|
66
103
|
- test/test_magic_multi_connections.rb
|
104
|
+
- test/test_mmc_associations.rb
|
67
105
|
- test/test_parent_module.rb
|
68
106
|
- test/test_preexisting_module.rb
|
69
|
-
rdoc_options: []
|
70
|
-
|
71
|
-
extra_rdoc_files: []
|
72
|
-
|
73
|
-
executables: []
|
74
|
-
|
75
|
-
extensions: []
|
76
|
-
|
77
|
-
requirements: []
|
78
|
-
|
79
|
-
dependencies: []
|
80
|
-
|