magic_multi_connections 1.0.0
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 +3 -0
- data/Manifest.txt +32 -0
- data/README.txt +3 -0
- data/Rakefile +103 -0
- data/lib/ext_active_record/connection_specification.rb +24 -0
- data/lib/magic_multi_connections/connected.rb +29 -0
- data/lib/magic_multi_connections/module.rb +26 -0
- data/lib/magic_multi_connections/version.rb +9 -0
- data/lib/magic_multi_connections.rb +21 -0
- data/scripts/txt2html +67 -0
- data/scripts/txt2js +59 -0
- data/setup.rb +1585 -0
- data/test/connections/native_postgresql/connection.rb +20 -0
- data/test/fixtures/contact_repository.rb +3 -0
- data/test/fixtures/db_definitions/postgresql.sql +7 -0
- data/test/fixtures/people.yml +5 -0
- data/test/fixtures/person.rb +2 -0
- data/test/test_helper.rb +71 -0
- data/test/test_magic_multi_connections.rb +26 -0
- data/test/test_parent_module.rb +18 -0
- data/test/test_preexisting_module.rb +39 -0
- data/website/index.html +340 -0
- data/website/index.txt +223 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +138 -0
- data/website/template.js +3 -0
- data/website/template.rhtml +53 -0
- data/website/version-raw.js +3 -0
- data/website/version-raw.txt +2 -0
- data/website/version.js +4 -0
- data/website/version.txt +3 -0
- metadata +80 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
+
<title>
|
8
|
+
<%= title %>
|
9
|
+
</title>
|
10
|
+
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
|
11
|
+
<style>
|
12
|
+
|
13
|
+
</style>
|
14
|
+
<script type="text/javascript">
|
15
|
+
window.onload = function() {
|
16
|
+
settings = {
|
17
|
+
tl: { radius: 10 },
|
18
|
+
tr: { radius: 10 },
|
19
|
+
bl: { radius: 10 },
|
20
|
+
br: { radius: 10 },
|
21
|
+
antiAlias: true,
|
22
|
+
autoPad: true,
|
23
|
+
validTags: ["div"]
|
24
|
+
}
|
25
|
+
var versionBox = new curvyCorners(settings, document.getElementById("version"));
|
26
|
+
versionBox.applyCornersToAll();
|
27
|
+
}
|
28
|
+
</script>
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="main">
|
32
|
+
<p><a href="/">↩ More Magic</a></p>
|
33
|
+
<h1 class=primary><%= title %></h1>
|
34
|
+
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
|
35
|
+
Get Version
|
36
|
+
<a href="<%= download %>" class="numbers"><%= version %></a>
|
37
|
+
</div>
|
38
|
+
<%= body %>
|
39
|
+
<p class="coda">
|
40
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, <%= modified.pretty %><br>
|
41
|
+
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
42
|
+
</p>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
46
|
+
</script>
|
47
|
+
<script type="text/javascript">
|
48
|
+
_uacct = "UA-567811-2";
|
49
|
+
urchinTracker();
|
50
|
+
</script>
|
51
|
+
|
52
|
+
</body>
|
53
|
+
</html>
|
data/website/version.js
ADDED
data/website/version.txt
ADDED
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.2
|
3
|
+
specification_version: 1
|
4
|
+
name: magic_multi_connections
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 1.0.0
|
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:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
29
|
+
authors:
|
30
|
+
- nicwilliams
|
31
|
+
files:
|
32
|
+
- CHANGELOG.txt
|
33
|
+
- History.txt
|
34
|
+
- Manifest.txt
|
35
|
+
- README.txt
|
36
|
+
- Rakefile
|
37
|
+
- lib/ext_active_record/connection_specification.rb
|
38
|
+
- lib/magic_multi_connections.rb
|
39
|
+
- lib/magic_multi_connections/connected.rb
|
40
|
+
- lib/magic_multi_connections/module.rb
|
41
|
+
- lib/magic_multi_connections/version.rb
|
42
|
+
- scripts/txt2html
|
43
|
+
- scripts/txt2js
|
44
|
+
- setup.rb
|
45
|
+
- test/connections/native_postgresql/connection.rb
|
46
|
+
- test/fixtures/contact_repository.rb
|
47
|
+
- test/fixtures/db_definitions/postgresql.sql
|
48
|
+
- test/fixtures/people.yml
|
49
|
+
- test/fixtures/person.rb
|
50
|
+
- test/test_helper.rb
|
51
|
+
- test/test_magic_multi_connections.rb
|
52
|
+
- test/test_parent_module.rb
|
53
|
+
- test/test_preexisting_module.rb
|
54
|
+
- website/index.html
|
55
|
+
- website/index.txt
|
56
|
+
- website/javascripts/rounded_corners_lite.inc.js
|
57
|
+
- website/stylesheets/screen.css
|
58
|
+
- website/template.js
|
59
|
+
- website/template.rhtml
|
60
|
+
- website/version-raw.js
|
61
|
+
- website/version-raw.txt
|
62
|
+
- website/version.js
|
63
|
+
- website/version.txt
|
64
|
+
test_files:
|
65
|
+
- test/test_helper.rb
|
66
|
+
- test/test_magic_multi_connections.rb
|
67
|
+
- test/test_parent_module.rb
|
68
|
+
- 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
|
+
|