err_merchant 0.3.0 → 0.3.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6850fb4a1684211d5c980d5eb12b86dbcc64c995
|
|
4
|
+
data.tar.gz: a8478381c4a3af623246e2b76d24351329c8c64a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee446dba8d22eeda9fe27f4ba369430755fb39bf5b823a19b2bcd4cd65cc0163a51e8f01861e9c903fa404b0c5f478ffb0a138863793b4c1721392b405233ae1
|
|
7
|
+
data.tar.gz: 0918384e242f95a2cd9a93325f5fe56c68034d3138dd79643263edbc2fd15e37f7d30a204fdd202569e9121820f98f0e3c10b70265ffc1bc0b7b06f51bc0fce4
|
data/README.rdoc
CHANGED
|
@@ -34,6 +34,10 @@ You can translate the error messages, by default they are the same as the standa
|
|
|
34
34
|
Please note that there are translations missing in development mode if you don't supply translations for your locale. In production however, +config.i18n.fallbacks+ is usually set to +true+, so the error messages for the default locale will be shown if the lookup is not successful.
|
|
35
35
|
|
|
36
36
|
== Changelog
|
|
37
|
+
=== 0.3.1 (2014-11-08)
|
|
38
|
+
* works with `pundit` now
|
|
39
|
+
* show error messages raw
|
|
40
|
+
|
|
37
41
|
=== 0.3.0 (2014-10-24)
|
|
38
42
|
* compatible with rails 4
|
|
39
43
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<div class='err_merchant'>
|
|
2
|
-
<h2><%= I18n.t(:"err_merchant.#{status_code}.title", :default => :"err_merchant.500.title") %></h2>
|
|
3
|
-
<p><%= I18n.t(:"err_merchant.#{status_code}.description", :default => :"err_merchant.500.description") %></p>
|
|
4
|
-
</div>
|
|
2
|
+
<h2><%= raw I18n.t(:"err_merchant.#{status_code}.title", :default => :"err_merchant.500.title") %></h2>
|
|
3
|
+
<p><%= raw I18n.t(:"err_merchant.#{status_code}.description", :default => :"err_merchant.500.description") %></p>
|
|
4
|
+
</div>
|
data/lib/err_merchant/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: err_merchant
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fabian Schwahn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
151
151
|
version: '0'
|
|
152
152
|
requirements: []
|
|
153
153
|
rubyforge_project:
|
|
154
|
-
rubygems_version: 2.
|
|
154
|
+
rubygems_version: 2.4.2
|
|
155
155
|
signing_key:
|
|
156
156
|
specification_version: 4
|
|
157
157
|
summary: Rails Engine for rendering error pages
|