edifice 0.6.3 → 0.6.4

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.
@@ -1,3 +1,3 @@
1
1
  module Edifice
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
@@ -62,6 +62,11 @@ jQuery.noConflict();
62
62
  return str.charAt(0).toUpperCase().concat( str.substr(1) )
63
63
  }
64
64
 
65
+ // sometimes, on errors, etc these may not be set
66
+ view_path = view_path || 'no_controller';
67
+ view_name = view_name || 'no_view'
68
+ layout = layout || 'no_layout'
69
+
65
70
  hookup_once(view_path + capitalize_first_chr(view_name), methodName); // hookup the view
66
71
  hookup_once('layouts' + capitalize_first_chr(layout), methodName);
67
72
  };
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edifice
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 3
10
- version: 0.6.3
9
+ - 4
10
+ version: 0.6.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Coleman
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-06-30 00:00:00 +10:00
20
+ date: 2011-07-01 00:00:00 +10:00
21
21
  default_executable:
22
22
  dependencies: []
23
23