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 CHANGED
@@ -1,3 +1,7 @@
1
+ h2. 1.2.2
2
+
3
+ * Derive @Apotomo::Widget@ from @Cell::Rails@ now to make it compatible with 3.8.
4
+
1
5
  h2. 1.2.1
2
6
 
3
7
  h3. Changes
@@ -1,3 +1,3 @@
1
1
  module Apotomo
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
@@ -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::Base
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.rails3_1?
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
- - 1
9
- version: 1.2.1
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-10-14 00:00:00 +02:00
17
+ date: 2011-12-21 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency