autotable 0.0.1 → 0.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f50b55c974f1603e1267871010f759b3b47422f
4
- data.tar.gz: 966428bb7a0fefb2a8ff1edae05038a43701678a
3
+ metadata.gz: ce373a57023f49243a0bcf76cf51049c00d5195c
4
+ data.tar.gz: 099a9dd17554b8c4c5825f4327f607b34ffc1957
5
5
  SHA512:
6
- metadata.gz: dfdd24e673fb1449772c425a359b68b787f5874dfd889207db5f4b71b120ebe9f6f870545bbbf0d32304242a8edebf36b62f3d8bc312fe8268ae797aac45c167
7
- data.tar.gz: 538f38df425ee7b8fb2673247cb2611b8deb72fd5896c3ad459f2763fd720470c01c135075636428f74667ad8c1986fcfbd3cfdf85a2df8c953277780af30196
6
+ metadata.gz: b56903d0e76b5f1eab7b692c7c466a6686a17314c2dafaf7f09435ef9525e301636c363804b88026404ae0936f07b33149028c4ff907a7b50d53ffac4492c74e
7
+ data.tar.gz: d6a4b39b029f3fd55c6ac1a409f6da9ea098d9dcf62d5e85e672c686b9b24546cfacfa52e37693c33b07c0fe5e2e2058e59ea0f48255b83946c38e66da1b3757
@@ -68,7 +68,7 @@ module Autotable
68
68
  html << "<th>#{h(c[:title])}</th>\n"
69
69
  end
70
70
 
71
- html << "<th>Actions</th>\n"
71
+ html << "<th class='actions'>Actions</th>\n"
72
72
  html << "</tr>\n"
73
73
  html << "</thead>\n"
74
74
  html
@@ -109,13 +109,13 @@ module Autotable
109
109
  action_class = @options[:action_class] + ' '
110
110
  action_class << (a[:class] || 'btn-default')
111
111
 
112
- link_options = a.slice(:confirm, :method, :remote)
112
+ link_options = a.slice(:confirm, :method, :remote, :data)
113
113
  link_options[:class] = action_class
114
114
 
115
115
  @template.link_to(text.html_safe, url, link_options)
116
116
  }.join(' ')
117
117
 
118
- html << "<td>#{actions}</td>"
118
+ html << "<td class='actions'>#{actions}</td>"
119
119
 
120
120
  html << "</tr>\n"
121
121
  end
@@ -1,3 +1,3 @@
1
1
  module Autotable
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Frame
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-22 00:00:00.000000000 Z
11
+ date: 2013-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sqlite3