tabledata-rails 0.1.2 → 0.1.3
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 +4 -4
- data/lib/tabledata/rails/version.rb +1 -1
- data/lib/tabledata/rails/view_helpers.rb +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a609cdba55b4c6f10beea3cba48f8bddc8149cd4
|
|
4
|
+
data.tar.gz: e07bd5ed0bfc8d8a1acae9fe3200acf7bb817561
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abdf55b5738eee3d224e49e01cfe7ced4dc7d0fca5a9c9465b33eeaef246742d31db691f209758823ca6c14c7e749cdc147c6ce67c431a36326a11d1e9de7fb0
|
|
7
|
+
data.tar.gz: 0e6e0619e0a40a837bf2c3d2bcdba02c5e9d88ebc20a40723af4d137dceed668e988fc2f5c3446a51ff43acb04bb3599f6b268e49bc267effb58e7eb2c8e08a5
|
|
@@ -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
|
-
|
|
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.
|
|
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-
|
|
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:
|