active_list 6.9.2 → 6.9.3

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: 19d2ab03026d988917f89129c6b30e231575aa61
4
- data.tar.gz: f11050e05a4272429f469da1c05d165eb07cb05e
3
+ metadata.gz: 1d974ce0487a1daa388beac4ddbb5ff08a6c6c2c
4
+ data.tar.gz: f9b308f405d8a88365bd1ecb457f189c1f79e12b
5
5
  SHA512:
6
- metadata.gz: df9a228e2170d291e42465b246edf06de056482877682805580ddb2edbca4c72679126a45f5d0b968771ed665eb7bad325f8744f27696a52dcc7616c11f6db87
7
- data.tar.gz: 5a62e044889dc68c1ba168e38c600630c1c18878c6b041736fde9d4698fa18b1b442375a32ec6865857d35f75161a91f969cde40dbc5980834cad3e36e8ab610
6
+ metadata.gz: f2ef81730abf3d78093f164e899c2f0b7fc632058e634da3b4736c34ff4fe47d9e3e0688841d0a120b2aa80498e192d43018675fcc3cfc258573172743be71ae
7
+ data.tar.gz: 973afbb44c55421b312fd2f8e6c78be04e7db128a581cb10173a4de0ae57c3b70c8020e70f0f5541765aaf36fdb5aa29f6f6b89c53d31af4dd40ebb3c573fb37
@@ -22,11 +22,11 @@ module ActiveList
22
22
  currency = currency_for(record)
23
23
  datum = "(#{datum}.nil? ? '' : #{datum}.l(#{'currency: ' + currency.inspect if currency}))"
24
24
  elsif @name.to_s.match(/(^|\_)currency$/) && datatype == :string
25
- datum = "(Nomen::Currencies[#{datum}] ? Nomen::Currencies[#{datum}].human_name : '')"
25
+ datum = "(Nomen::Currency[#{datum}] ? Nomen::Currency[#{datum}].human_name : '')"
26
26
  elsif @name.to_s.match(/(^|\_)country$/) && datatype == :string
27
- datum = "(Nomen::Countries[#{datum}] ? Nomen::Countries[#{datum}].human_name : '')"
27
+ datum = "(Nomen::Country[#{datum}] ? Nomen::Country[#{datum}].human_name : '')"
28
28
  elsif @name.to_s.match(/(^|\_)language$/) && datatype == :string
29
- datum = "(Nomen::Languages[#{datum}] ? Nomen::Languages[#{datum}].human_name : '')"
29
+ datum = "(Nomen::Language[#{datum}] ? Nomen::Language[#{datum}].human_name : '')"
30
30
  elsif enumerize?
31
31
  datum = "(#{datum}.nil? ? '' : #{datum}.text)"
32
32
  end
@@ -200,11 +200,11 @@ module ActiveList
200
200
  elsif column.label_method == :color
201
201
  value_code = "content_tag(:div, #{column.datum_code(record)}, style: 'background: #'+" + column.datum_code(record) + ')'
202
202
  elsif column.label_method.to_s.match(/(^|\_)currency$/) && column.datatype == :string
203
- value_code = "(Nomen::Currencies[#{value_code}] ? Nomen::Currencies[#{value_code}].human_name : #{value_code})"
203
+ value_code = "(Nomen::Currency[#{value_code}] ? Nomen::Currency[#{value_code}].human_name : #{value_code})"
204
204
  elsif column.label_method.to_s.match(/(^|\_)language$/) && column.datatype == :string
205
- value_code = "(Nomen::Languages[#{value_code}] ? Nomen::Languages[#{value_code}].human_name : #{value_code})"
205
+ value_code = "(Nomen::Language[#{value_code}] ? Nomen::Language[#{value_code}].human_name : #{value_code})"
206
206
  elsif column.label_method.to_s.match(/(^|\_)country$/) && column.datatype == :string
207
- value_code = "(Nomen::Countries[#{value_code}] ? (image_tag('countries/' + #{value_code}.to_s + '.png') + ' ' + Nomen::Countries[#{value_code}].human_name).html_safe : #{value_code})"
207
+ value_code = "(Nomen::Country[#{value_code}] ? (image_tag('countries/' + #{value_code}.to_s + '.png') + ' ' + Nomen::Country[#{value_code}].human_name).html_safe : #{value_code})"
208
208
  else # if column.datatype == :string
209
209
  value_code = "h(#{value_code}.to_s)"
210
210
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveList
2
- VERSION = '6.9.2'.freeze
2
+ VERSION = '6.9.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.9.2
4
+ version: 6.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Texier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-14 00:00:00.000000000 Z
11
+ date: 2017-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  requirements: []
230
230
  rubyforge_project:
231
- rubygems_version: 2.5.2
231
+ rubygems_version: 2.4.5.2
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: Simple interactive tables for Rails app