apotomo 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.textile +4 -0
- data/lib/apotomo/version.rb +1 -1
- data/lib/apotomo/widget.rb +2 -5
- data/test/widget_test.rb +1 -1
- metadata +3 -3
data/CHANGES.textile
CHANGED
data/lib/apotomo/version.rb
CHANGED
data/lib/apotomo/widget.rb
CHANGED
@@ -35,11 +35,8 @@ module Apotomo
|
|
35
35
|
#
|
36
36
|
# def update(evt)
|
37
37
|
# @cheese = Cheese.find evt[:cheese_id]
|
38
|
-
class Widget < Cell::
|
39
|
-
|
40
|
-
DEFAULT_VIEW_PATHS = [
|
41
|
-
File.join('app', 'widgets'),
|
42
|
-
]
|
38
|
+
class Widget < Cell::Rails
|
39
|
+
DEFAULT_VIEW_PATHS = [File.join('app', 'widgets')]
|
43
40
|
|
44
41
|
include Hooks
|
45
42
|
|
data/test/widget_test.rb
CHANGED
@@ -120,7 +120,7 @@ class WidgetTest < ActiveSupport::TestCase
|
|
120
120
|
# internal_methods:
|
121
121
|
should "not list internal methods in action_methods" do
|
122
122
|
# FIXME: puts "WTF is wrong again with AC.action_methods godamn, I HATE this magic shit!"
|
123
|
-
unless Cells.
|
123
|
+
unless Cells.rails3_1_or_more?
|
124
124
|
assert_equal [], Class.new(Apotomo::Widget).action_methods
|
125
125
|
end
|
126
126
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 1.2.
|
8
|
+
- 2
|
9
|
+
version: 1.2.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Nick Sutterer
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-12-21 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|