action_widget 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/action_widget.gemspec +1 -1
- data/lib/action_widget/view_helper.rb +2 -2
- metadata +10 -14
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b0064d71b6d2394b297e64a6fa7dcbe74de2c8bb
|
4
|
+
data.tar.gz: 84ced9363a9d26829c241ec189d18d318609be25
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 72f994bbf840c022f8c6c0038e26b78c9454a7e816806e9b6a7826e72de5ed187bddf9fa6597dfc0f66af6c619e57d6fbf025cf442bcb5b31382e7911fdb0025
|
7
|
+
data.tar.gz: 58a3598ec1cfef5167831f3657a44db4c6c3f01080e6a6579b7f7f576ab93ec49041cf03a6a086fd23d558f4418127ad4c146fd6cefb5d71b2f7fba96c29cb83
|
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.5.
|
13
|
+
gem.version = "0.5.1"
|
14
14
|
|
15
15
|
gem.add_dependency 'smart_properties', '~> 1.1'
|
16
16
|
end
|
@@ -2,12 +2,12 @@ module ActionWidget
|
|
2
2
|
module ViewHelper
|
3
3
|
|
4
4
|
def method_missing(name, *args, &block)
|
5
|
-
super unless name =~ /_widget$/
|
5
|
+
return super unless name =~ /_widget$/
|
6
6
|
|
7
7
|
klass = begin
|
8
8
|
"#{name.to_s.camelcase}".constantize
|
9
9
|
rescue NameError, LoadError
|
10
|
-
super
|
10
|
+
return super
|
11
11
|
end
|
12
12
|
|
13
13
|
ActionWidget::ViewHelper.module_eval <<-RUBY
|
metadata
CHANGED
@@ -1,32 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.5.0
|
4
|
+
version: 0.5.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Konstantin Tennhard
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-08-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
14
|
+
name: smart_properties
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.1'
|
20
|
-
none: false
|
21
|
-
name: smart_properties
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
23
|
requirements:
|
26
24
|
- - ~>
|
27
25
|
- !ruby/object:Gem::Version
|
28
26
|
version: '1.1'
|
29
|
-
none: false
|
30
27
|
description:
|
31
28
|
email:
|
32
29
|
- me@t6d.de
|
@@ -52,27 +49,26 @@ files:
|
|
52
49
|
- support/templates/widget_spec.rb.erb
|
53
50
|
homepage: http://github.com/t6d/action_widget
|
54
51
|
licenses: []
|
52
|
+
metadata: {}
|
55
53
|
post_install_message:
|
56
54
|
rdoc_options: []
|
57
55
|
require_paths:
|
58
56
|
- lib
|
59
57
|
required_ruby_version: !ruby/object:Gem::Requirement
|
60
58
|
requirements:
|
61
|
-
- -
|
59
|
+
- - '>='
|
62
60
|
- !ruby/object:Gem::Version
|
63
61
|
version: '0'
|
64
|
-
none: false
|
65
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
63
|
requirements:
|
67
|
-
- -
|
64
|
+
- - '>='
|
68
65
|
- !ruby/object:Gem::Version
|
69
66
|
version: '0'
|
70
|
-
none: false
|
71
67
|
requirements: []
|
72
68
|
rubyforge_project:
|
73
|
-
rubygems_version:
|
69
|
+
rubygems_version: 2.0.6
|
74
70
|
signing_key:
|
75
|
-
specification_version:
|
71
|
+
specification_version: 4
|
76
72
|
summary: Reusable view components for your Ruby web application
|
77
73
|
test_files: []
|
78
74
|
has_rdoc:
|