html_tables 0.2 → 0.2.1

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: d90de7f04ac8fbf6077c5c10e04e2575aea14b5a
4
- data.tar.gz: 887eab17839295574b46cd92b4894fb2e94ae7f1
3
+ metadata.gz: dae7c1f09725b2d7e926119247cb5d3c63486448
4
+ data.tar.gz: 901e4fcc378d10d0529783ef7cdddcfc617b9e3d
5
5
  SHA512:
6
- metadata.gz: 2cb9d0da574be5552abe574c7d2964c5c57e363df94e89ad9728536e6ea846fc7de04ab65312386c8e5f3748c00aa1b53fbc01cefe6697eb8c522373d7bb306c
7
- data.tar.gz: 207ce3941a027aeb990f9088bc27c7ab312fb0bd44aede7a699fd16e0b67b2cfbc2eec0bf991a6ac5393616c6428d4a1849eacfaccd6454673bdd284b0ec981f
6
+ metadata.gz: 7d85c93b084a9022ee811ade10b9126519a1dd1a94604b963855696b734a4614ee5f59ff412d9fb061b7ff021e4f874cc3acb5300d96318a499ed9082a56981a
7
+ data.tar.gz: 1669b8562ee453dbc95368506de0f361a37b6a3c69abfb5c295d0ce98e22fd63de458d5c2cfa4859af5c5b7fe17b33ef69fc3bc752ab3b4a7e8f329281b66c92
@@ -52,8 +52,8 @@ module HtmlTables
52
52
  return @builder.content_tag(:i, nil, class: 'icon-check') if columns[column_id][:checkbox]
53
53
  v ||= I18n.t(column_id, scope: [:tables, options[:name] || :default], raise: true) rescue nil
54
54
  v ||= I18n.t(column_id, scope: [:tables, :default], raise: true) rescue nil
55
- v ||= I18n.t(column_id, scope: [:activerecord, :attributes, model_name.underscore], raise: true) rescue nil
56
- v ||= I18n.t(column_id, scope: [:mongoid, :attributes, model_name.underscore], raise: true) rescue nil
55
+ v ||= I18n.t(column_id, scope: [:activerecord, :attributes, model_name.i18n_key], raise: true) rescue nil
56
+ v ||= I18n.t(column_id, scope: [:mongoid, :attributes, model_name.i18n_key], raise: true) rescue nil
57
57
  v ||= I18n.t(column_id, scope: [:attributes], raise: true) rescue nil
58
58
  v ||= model_columns[column_id].human_name rescue nil
59
59
 
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  module HtmlTables
4
- VERSION = '0.2'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_tables
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fábio David Batista
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-08 00:00:00.000000000 Z
11
+ date: 2014-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n