sal-engine 0.0.3 → 0.0.4
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/app/helpers/sal/application_helper.rb +1 -1
- data/config/locales/de.yml +2 -0
- data/config/locales/en.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/fr.yml +2 -0
- data/config/locales/it.yml +2 -0
- data/config/locales/pt.yml +2 -0
- data/lib/sal/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b96829266c56813153134128efe562fd8d0c0cf
|
|
4
|
+
data.tar.gz: 8789169e581cfa3bd04df9fc44d5cc4676dac48d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 996a338bafd96bc0a2a68d248f5adeadd349692cbd1b230ff4946ccc21f8d85d8664c06959db2a903ce6f4b4bc7f3ef61bc3c67ce90c374ee8478b8e832cc541
|
|
7
|
+
data.tar.gz: 9af8344760b3f572e6252cdcddfbad630d4e3e6c5a7a6a3fdabc4784275127065d1129649b450412ffc6a52c83d1a85acf970c501a3e3af2f512ce9cdac859e3
|
|
@@ -4,7 +4,7 @@ module Sal
|
|
|
4
4
|
entities = Array(entities)
|
|
5
5
|
|
|
6
6
|
if entities.detect { |entity| entity.errors.any? }
|
|
7
|
-
content_tag :div,
|
|
7
|
+
content_tag :div, t(:errors_bar_message), class: 'alert alert-danger'
|
|
8
8
|
end
|
|
9
9
|
end
|
|
10
10
|
|
data/lib/sal/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sal-engine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Cruz Horts
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -106,6 +106,12 @@ files:
|
|
|
106
106
|
- app/helpers/sal/application_helper.rb
|
|
107
107
|
- app/views/layouts/sal/application.html.erb
|
|
108
108
|
- config/initializers/error_span.rb
|
|
109
|
+
- config/locales/de.yml
|
|
110
|
+
- config/locales/en.yml
|
|
111
|
+
- config/locales/es.yml
|
|
112
|
+
- config/locales/fr.yml
|
|
113
|
+
- config/locales/it.yml
|
|
114
|
+
- config/locales/pt.yml
|
|
109
115
|
- config/routes.rb
|
|
110
116
|
- lib/generators/rails/helperless_scaffold_controller/helperless_scaffold_controller_generator.rb
|
|
111
117
|
- lib/generators/rails/helperless_scaffold_controller/templates/controller.rb
|