dr_nic_magic_models 0.8.0 → 0.8.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/lib/dr_nic_magic_models/version.rb +1 -1
- data/lib/rails.rb +2 -2
- data/website/index.html +1 -1
- data/website/version-raw.js +2 -2
- data/website/version-raw.txt +2 -1
- data/website/version.js +1 -1
- metadata +9 -11
- data/lib/module.rb +0 -0
- data/lib/schema_dumper.rb +0 -0
data/lib/rails.rb
CHANGED
@@ -8,12 +8,12 @@ module Dependencies #:nodoc:#
|
|
8
8
|
def require_or_load(file_name, *args)
|
9
9
|
file_name = $1 if file_name =~ /^(.*)\.rb$/
|
10
10
|
expanded = File.expand_path(file_name)
|
11
|
-
old_mechanism = mechanism
|
11
|
+
old_mechanism = Dependencies.mechanism
|
12
12
|
if expanded =~ /^#{@@models_dir}/
|
13
13
|
RAILS_DEFAULT_LOGGER.debug "*** Not reloading #{file_name}"
|
14
14
|
Dependencies.mechanism = :require
|
15
15
|
end
|
16
16
|
require_or_load_old(file_name, *args)
|
17
|
-
mechanism = old_mechanism
|
17
|
+
Dependencies.mechanism = old_mechanism
|
18
18
|
end
|
19
19
|
end
|
data/website/index.html
CHANGED
@@ -371,7 +371,7 @@ other stories and things.</p>
|
|
371
371
|
<p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a>
|
372
372
|
or via his blog at <a href="http://www.drnicwilliams.com">http://www.drnicwilliams.com</a></p>
|
373
373
|
<p class="coda">
|
374
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
374
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 21st September 2006<br>
|
375
375
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
376
376
|
</p>
|
377
377
|
</div>
|
data/website/version-raw.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
// Version JS file
|
2
|
-
var version = "0.8.
|
3
|
-
|
2
|
+
var version = "0.8.1";
|
3
|
+
MagicAnnouncement.show('magicmodels', version);
|
data/website/version-raw.txt
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
h1. Version JS file
|
1
|
+
h1. Version JS file
|
2
|
+
MagicAnnouncement.show('magicmodels', version);
|
data/website/version.js
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: dr_nic_magic_models
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.8.
|
7
|
-
date: 2006-09-
|
6
|
+
version: 0.8.1
|
7
|
+
date: 2006-09-22 00:00:00 +02:00
|
8
8
|
summary: Invisible validations, assocations and Active Record models themselves!
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -35,9 +35,7 @@ files:
|
|
35
35
|
- lib/dr_nic_magic_models
|
36
36
|
- lib/connection_adapters
|
37
37
|
- lib/dr_nic_magic_models.rb
|
38
|
-
- lib/module.rb
|
39
38
|
- lib/base.rb
|
40
|
-
- lib/schema_dumper.rb
|
41
39
|
- lib/rails.rb
|
42
40
|
- lib/dr_nic_magic_models/validations.rb
|
43
41
|
- lib/dr_nic_magic_models/schema.rb
|
@@ -54,24 +52,24 @@ files:
|
|
54
52
|
- test/foreign_keys_test.rb
|
55
53
|
- test/invisible_model_access_test.rb
|
56
54
|
- test/env_test.rb
|
55
|
+
- test/fun_user_plus.rb
|
57
56
|
- test/dummy_test.rb
|
58
57
|
- test/invisible_model_assoc_test.rb
|
59
|
-
- test/fun_user_plus.rb
|
60
|
-
- test/connections/native_mysql
|
61
58
|
- test/connections/native_postgresql
|
62
|
-
- test/connections/native_mysql
|
59
|
+
- test/connections/native_mysql
|
63
60
|
- test/connections/native_postgresql/connection.rb
|
61
|
+
- test/connections/native_mysql/connection.rb
|
64
62
|
- test/fixtures/db_definitions
|
65
63
|
- test/fixtures/groups.yml
|
64
|
+
- test/fixtures/adjectives.yml
|
66
65
|
- test/fixtures/group_tag.yml
|
67
66
|
- test/fixtures/fun_users.yml
|
68
|
-
- test/fixtures/group_memberships.yml
|
69
|
-
- test/fixtures/adjectives.yml
|
70
67
|
- test/fixtures/adjectives_fun_users.yml
|
68
|
+
- test/fixtures/group_memberships.yml
|
69
|
+
- test/fixtures/db_definitions/postgresql.sql
|
71
70
|
- test/fixtures/db_definitions/mysql.sql
|
72
|
-
- test/fixtures/db_definitions/mysql.drop.sql
|
73
71
|
- test/fixtures/db_definitions/postgresql.drop.sql
|
74
|
-
- test/fixtures/db_definitions/
|
72
|
+
- test/fixtures/db_definitions/mysql.drop.sql
|
75
73
|
- website/javascripts
|
76
74
|
- website/stylesheets
|
77
75
|
- website/template.rhtml
|
data/lib/module.rb
DELETED
File without changes
|
data/lib/schema_dumper.rb
DELETED
File without changes
|