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.
@@ -2,7 +2,7 @@ module DrNicMagicModels #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 8
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -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
@@ -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>, 20th September 2006<br>
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>
@@ -1,3 +1,3 @@
1
1
  // Version JS file
2
- var version = "0.8.0";
3
-
2
+ var version = "0.8.1";
3
+ MagicAnnouncement.show('magicmodels', version);
@@ -1 +1,2 @@
1
- h1. Version JS file
1
+ h1. Version JS file
2
+ MagicAnnouncement.show('magicmodels', version);
@@ -1,4 +1,4 @@
1
1
  // Version JS file
2
- var version = "0.8.0";
2
+ var version = "0.8.1";
3
3
 
4
4
  document.write(" - " + version);
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.0
7
- date: 2006-09-20 00:00:00 +02:00
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/connection.rb
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/postgresql.sql
72
+ - test/fixtures/db_definitions/mysql.drop.sql
75
73
  - website/javascripts
76
74
  - website/stylesheets
77
75
  - website/template.rhtml
File without changes
File without changes