simple_table 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module SimpleTable
2
- VERSION = '0.0.10'
2
+ VERSION = '0.0.11'
3
3
  end
data/lib/simple_table.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'action_view'
1
2
  require 'active_support/core_ext/module/attribute_accessors'
2
3
 
3
4
  module SimpleTable
@@ -21,3 +22,5 @@ module SimpleTable
21
22
  Table.new(self, collection, options, &block).render.html_safe
22
23
  end
23
24
  end
25
+
26
+ ActionView::Base.send(:include, SimpleTable)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_table
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 10
10
- version: 0.0.10
9
+ - 11
10
+ version: 0.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-03 00:00:00 +01:00
19
+ date: 2010-11-07 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency