action_widget 0.3.1 → 0.3.2
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.
- data/action_widget.gemspec +1 -1
- data/lib/action_widget/base.rb +2 -1
- metadata +2 -2
data/action_widget.gemspec
CHANGED
@@ -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.
|
13
|
+
gem.version = "0.3.2"
|
14
14
|
|
15
15
|
gem.add_dependency 'smart_properties', '~> 1.1'
|
16
16
|
end
|
data/lib/action_widget/base.rb
CHANGED
@@ -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
|
-
|
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.
|
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-
|
12
|
+
date: 2012-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: smart_properties
|