action-hero 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/action_hero/rails/controller.rb +3 -3
- data/lib/action_hero/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32264444a3ccc88f2509f38722b795150b42ee9d
|
4
|
+
data.tar.gz: 84ba7d8fc6d212cad3670e4d8069f514895f2b4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96a64fc1c7762ab7d7f9db48c225e74f05e1aa31d0b250c813cd6f90b8392e521a76d08b5d245256f26d897da4db7b5b642fdca274b2597ab2f6b201ae63bbd2
|
7
|
+
data.tar.gz: eac2d1846698614fcc95d328fc4d928a3b8989a6907f35f4da6ea6426cd1387cd5f1ae11823f0cf367cca66eb66017d060cfe70a3fa63b8062c25f5801802adf
|
@@ -6,8 +6,6 @@ module ActionHero
|
|
6
6
|
|
7
7
|
extend ActiveSupport::Concern
|
8
8
|
|
9
|
-
protected
|
10
|
-
|
11
9
|
def expose( *args )
|
12
10
|
name = args.first.is_a?( Symbol ) ? args.first : (raise NotImplementedError)
|
13
11
|
value = args.last
|
@@ -17,6 +15,8 @@ module ActionHero
|
|
17
15
|
value
|
18
16
|
end
|
19
17
|
|
18
|
+
protected
|
19
|
+
|
20
20
|
def action_missing( name, *args, &block )
|
21
21
|
begin
|
22
22
|
action_class
|
@@ -26,7 +26,7 @@ module ActionHero
|
|
26
26
|
raise
|
27
27
|
rescue NameError => ex
|
28
28
|
raise ActionNotFound,
|
29
|
-
"The action #{action_class_name} nor #{self.class.name}##{name} could be found",
|
29
|
+
"The action #{action_class_name} nor #{self.class.name}##{name} could be found, INNER EXCEPTION: #{ex.message}",
|
30
30
|
ex.backtrace
|
31
31
|
end
|
32
32
|
prepend_view_path "#{::Rails.root}/app/views/#{params[:controller]}"
|
data/lib/action_hero/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action-hero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C. Jason Harrelson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|