extjs-mvc 0.4.0.a → 0.4.0.b

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0.a
1
+ 0.4.0.b
@@ -34,10 +34,12 @@ module ExtJS
34
34
  end
35
35
  end
36
36
 
37
- class AppNotFound < Error; status_code(1) ; end
38
- class AppAlreadyExists < Error; status_code(2) ; end
39
- class FileExists < Error; status_code(3) ; end
40
- class BuilderError < Error; status_code(4) ; end
37
+ class ArgumentError < Error; status_code(1) ; end
38
+ class AppNotFound < Error; status_code(2) ; end
39
+ class AppAlreadyExists < Error; status_code(3) ; end
40
+ class FileExists < Error; status_code(4) ; end
41
+ class BuilderError < Error; status_code(5) ; end
42
+
41
43
 
42
44
 
43
45
 
@@ -16,7 +16,7 @@ module ExtJS
16
16
  def self.dispatch(generator, *params)
17
17
 
18
18
  unless @@generators.include?(generator)
19
- raise ArgumentError.new("Must use one of the following: " + @@generators.join(", ").downcase)
19
+ raise MVC::ArgumentError.new("Must use one of the following: " + @@generators.join(", ").downcase)
20
20
  end
21
21
 
22
22
  name = params.shift
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 4
8
8
  - 0
9
- - a
10
- version: 0.4.0.a
9
+ - b
10
+ version: 0.4.0.b
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ed Spencer and Chris Scott