extjs-mvc 0.1.12 → 0.1.13

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/extjs-mvc.rb +18 -0
  3. metadata +3 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.12
1
+ 0.1.13
data/lib/extjs-mvc.rb ADDED
@@ -0,0 +1,18 @@
1
+ module ExtJS
2
+ class MVC
3
+ @@success_property = :success
4
+ @@message_property = :message
5
+ @@root = :data
6
+ cattr_accessor :success_property
7
+ cattr_accessor :message_property
8
+ cattr_accessor :root
9
+
10
+ if defined?(ActiveRecord)
11
+ require 'active_record/model'
12
+ end
13
+ require 'action_controller/controller'
14
+ require 'action_view/helpers/store'
15
+ end
16
+ end
17
+
18
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extjs-mvc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Scott
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-30 00:00:00 -07:00
12
+ date: 2009-08-31 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -42,6 +42,7 @@ files:
42
42
  - lib/action_view/helpers/store.rb
43
43
  - lib/active_record/model.rb
44
44
  - lib/dm/model.rb
45
+ - lib/extjs-mvc.rb
45
46
  - lib/mvc.rb
46
47
  - test/mvc_test.rb
47
48
  - test/test_helper.rb