action_widget 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
11
11
  gem.name = "action_widget"
12
12
  gem.require_paths = ["lib"]
13
- gem.version = "0.3.1"
13
+ gem.version = "0.3.2"
14
14
 
15
15
  gem.add_dependency 'smart_properties', '~> 1.1'
16
16
  end
@@ -23,7 +23,8 @@ module ActionWidget
23
23
  def method_missing(method, *args, &block)
24
24
  view.send(method, *args, &block)
25
25
  rescue NoMethodError
26
- super
26
+ # Double check - the NoMethodError might have occurred somewhere else.
27
+ view.respond_to?(method) ? raise : super
27
28
  end
28
29
 
29
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-19 00:00:00.000000000 Z
12
+ date: 2012-10-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: smart_properties