ct_table_for 0.1.9.beta → 0.1.10.beta

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18715667af7e66131a79917e3212cc9bae3330bb
4
- data.tar.gz: a174050bd85ba6436d4bd0c6b0de84ac97a8b97f
3
+ metadata.gz: 52100b153a2d16f55cb1834c38bb45b2775c15cc
4
+ data.tar.gz: 8733db9951e3813d1a6575924c654406c6cf90d7
5
5
  SHA512:
6
- metadata.gz: eece23729a5e9c4721e90797a7c49a44361caae2239a3f368671a68e34b651a83f05a40cdf4753ebcada81db76f4ac8dd34ee39c58a3a62bf8d26257c2dbc3d5
7
- data.tar.gz: 0989b2dd8e6ec29e9c114a299823b5513558ace5dbeed45e8c7c5917aca255649e2ee6523facda673cb3a24564cd2d2e86666fc7ec9d81c8c538b91b86682ac3
6
+ metadata.gz: 7b34690e68907e264230852281ddba97f94e3c4d8ae36020ca2b2f5e991eb66355bcb67037ade27b4f353f594e93ba58a3e3f66019694b311ac207cf534793c4
7
+ data.tar.gz: 0e15d6c34095047a9e8895f409f11c6b4215bcf473a116e596e7a4d44d5865209a652ae3f44f5be16813dd49bbf275e6f876f5c7598c0270b08212d2180171d8
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Rails Responsive Table
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/ct_table_for.svg)](https://badge.fury.io/rb/ct_table_for)
4
+
3
5
  **[Rails Responsive Table](https://github.com/CodiTramuntana/ct_table_for)** is a rails table builder for an ActiveRecord collection.
4
6
 
5
7
  ## Optional gems
@@ -14,7 +16,7 @@
14
16
 
15
17
  Add it to your Gemfile:
16
18
 
17
- `gem 'ct_table_for', '~> 0.1.8'`
19
+ `gem 'ct_table_for'`
18
20
 
19
21
  Then:
20
22
 
@@ -130,7 +130,7 @@ module CtTableFor
130
130
  html = ""
131
131
  size = cell_options.select{ |opt| ["thumb", "original", "small", "medium"].include? opt }.first || "thumb"
132
132
 
133
- html << image_tag(record.send(attribute).url(size), class: CtTableFor.table_for_numeric_percent_precision, style: "max-height: 100px;")
133
+ html << image_tag(record.send(attribute).url(size), class: CtTableFor.table_for_cell_for_image_image_class, style: "max-height: 100px;")
134
134
  html.html_safe
135
135
  end
136
136
 
@@ -1,3 +1,3 @@
1
1
  module CtTableFor
2
- VERSION = '0.1.9.beta'
2
+ VERSION = '0.1.10.beta'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ct_table_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9.beta
4
+ version: 0.1.10.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustí B.R.