trusty-cms 3.0.2 → 3.0.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: a95869ca80b7bdebfe34f3298e39374179934ae6
4
- data.tar.gz: 352a9a9808037a12359c46bab63f1f651aacc2e7
3
+ metadata.gz: c9e4f995406218ebaf5b186e1554155de63af486
4
+ data.tar.gz: b05eccd5495b9362ce5399ce140cbf50077324d3
5
5
  SHA512:
6
- metadata.gz: a91ac5d6b161a44b1caade9d94b91ec84a222cd7d77670ec226ff5bfca9087a83d6c6338daa345ad80138a7b1d966d22c123530eafc2027c8c8e4d6a276650a8
7
- data.tar.gz: bfc329ef2ee4d31f06848494c970b495be70d8dece58304c653372a65a2f73b0fffbdac4464dc0e3bb23919e12e09b72cf4675b37b2d62643d0287ac9962de17
6
+ metadata.gz: b73b301a774b3f4fbd162126f182756f06db34525b46e0debc2a707682fd920709f595a974675e7eb8a7674eb5c626d99f9ae013939a6822d9b17fca3531a2c0
7
+ data.tar.gz: 7b3c6c26369df0fc75bd1b4cfe29b2a559c73e63029611d3e89a1e0ee25ff266eed15860dd2c49848b81bc22f9ae81e4c9f745233d72c609ba5b3bb94c8dd9e8
data/Gemfile.lock CHANGED
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- trusty-cms (3.0.2)
11
+ trusty-cms (3.0.3)
12
12
  RedCloth (~> 4.3.2)
13
13
  acts_as_tree (~> 2.6.1)
14
14
  bundler (~> 1.7)
@@ -219,8 +219,8 @@ GEM
219
219
  thor (>= 0.18.1, < 2.0)
220
220
  rake (10.5.0)
221
221
  rb-fsevent (0.9.8)
222
- rb-inotify (0.9.8)
223
- ffi (>= 0.5.0)
222
+ rb-inotify (0.9.10)
223
+ ffi (>= 0.5.0, < 2)
224
224
  rdoc (5.1.0)
225
225
  ref (2.0.0)
226
226
  rspec-core (3.6.0)
@@ -20,7 +20,7 @@ module Admin::ConfigurationHelper
20
20
  html << content_tag(:span, value, :id => domkey, :class => options[:class])
21
21
  end
22
22
  html << content_tag(:span, " #{t("units.#{setting.units}")}", :class => 'units') if setting.units
23
- html << content_tag(:span, " #{t('warning')}: #{[setting.errors[:value]].flatten.first}", :class => 'warning') if setting.errors
23
+ html << content_tag(:span, " #{t('warning')}: #{[setting.errors[:value]].flatten.first}", :class => 'warning') if setting.errors.messages[:value].present?
24
24
  Rails.logger.error(html)
25
25
  html.html_safe
26
26
  end
data/lib/trusty_cms.rb CHANGED
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = "3.0.2"
5
+ VERSION = "3.0.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TrustyCms CMS dev team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-19 00:00:00.000000000 Z
11
+ date: 2017-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo