tabledata-rails 0.1.2 → 0.1.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: 2e7930f5b7a4bd833b263775273bfb3cf3e5cf4a
4
- data.tar.gz: 20fac8937cb6850d5fabf6c00c16bf7c9c0b7e48
3
+ metadata.gz: a609cdba55b4c6f10beea3cba48f8bddc8149cd4
4
+ data.tar.gz: e07bd5ed0bfc8d8a1acae9fe3200acf7bb817561
5
5
  SHA512:
6
- metadata.gz: c82cdb2b23bf974ce2e8edac7c78b4d759ba5a0fa8deb27bf510a8be59b60e0c8d2f9d5720c99c63af74216b843d29ee77ca4bfdacda4e2303ce744e0a1742c6
7
- data.tar.gz: 4f91ac1568954162b4e6f4c54f2191fa6144163ac4b35a667497a58aaf75af5cbf0e88b5fdb88fdee8f32ce3188624b78aded66f0eae06770f7796a6be28dc6b
6
+ metadata.gz: abdf55b5738eee3d224e49e01cfe7ced4dc7d0fca5a9c9465b33eeaef246742d31db691f209758823ca6c14c7e749cdc147c6ce67c431a36326a11d1e9de7fb0
7
+ data.tar.gz: 0e6e0619e0a40a837bf2c3d2bcdba02c5e9d88ebc20a40723af4d137dceed668e988fc2f5c3446a51ff43acb04bb3599f6b268e49bc267effb58e7eb2c8e08a5
@@ -1,5 +1,5 @@
1
1
  module Tabledata
2
2
  module Rails
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -66,7 +66,8 @@ module Tabledata
66
66
  row.column_errors[accessor].each do |key, options|
67
67
  raise options if key == :exception
68
68
 
69
- error_texts << t(i18n_error_key(accessor, key, i18n_scope), options)
69
+ opts = options || {} # options might be nil
70
+ error_texts << t(i18n_error_key(accessor, key, i18n_scope), opts)
70
71
  end
71
72
 
72
73
  error_texts.join("<br />".freeze)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabledata-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Simecek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tabledata
@@ -110,3 +110,4 @@ signing_key:
110
110
  specification_version: 4
111
111
  summary: Rails view helpers for tabledata gem.
112
112
  test_files: []
113
+ has_rdoc: