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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37e67b912e6e03b11924e6a3f09d897843090e21
4
- data.tar.gz: 723acc43431200114f1b60e8e8d449da08740724
3
+ metadata.gz: 32264444a3ccc88f2509f38722b795150b42ee9d
4
+ data.tar.gz: 84ba7d8fc6d212cad3670e4d8069f514895f2b4a
5
5
  SHA512:
6
- metadata.gz: 14d67b3b8ace6f3b69795e38749f75fdf02fb1118b30d5bc9f2f473c1950bd98a18fbf101a04e0437bf5b8f25a53c4f7f38c6323fbbb0cd3ad660c56bdf6d4fe
7
- data.tar.gz: 6bfba48f4158314467ee2aff99aebc713a15b5de70d4d19c2f993bee07085e8fdac5fd1b933ce89bae4f586f1800dc8180e88e2944cdf82a53d5db103c2cc32c
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]}"
@@ -1,5 +1,5 @@
1
1
  module ActionHero
2
2
 
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
 
5
5
  end
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.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-03-08 00:00:00.000000000 Z
11
+ date: 2014-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler