simple_form_localized_input 1.0.3 → 1.0.4

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: f26ece8d148a30267dc3800b98deb8647175ede4
4
- data.tar.gz: 8b632471394bb605cc771fdbc8b4cd2623417b1e
3
+ metadata.gz: 8e487c8865a0da9889dd1e0f37dd5eed45979726
4
+ data.tar.gz: 54be9b9e65b04e318ebe3ff5141b2d85018e36d8
5
5
  SHA512:
6
- metadata.gz: 3f88f9786b96146e99b85a88b83408481b76ecc6b05b9177719259ca716498d1b68041ba7e567f47b5d74176b654adfbf01c77665dd510ff08ab6fecc81b2c16
7
- data.tar.gz: fdf5a9ce02f16df6e4f3fa4c55ab411e22d4995802aa01ebe10c7c6816a09340d6d4684c252137b355528fd14994e977300cef6c4bc7ca241a444ddef4d1f289
6
+ metadata.gz: a76f09f7577850e16b33880de5f6337dddcc1ce472552404a51bd487ade7b1b9036136b4d518bd495ee6bb90c797cdf6368b98cc566dd9057ac9fda5a38943e3
7
+ data.tar.gz: 7fc3780297e575bc5dbba7767f18d6ccfcbc3f380b8146daed70a0c8de804c2467692a97d9a8a4f5a313741df505f4d052f7e17d289c61b3945438886cb38d81
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+
3
+ ## 1.0.4
4
+
5
+ * display errors below all locales for a field
@@ -18,7 +18,8 @@ module SimpleFormLocalizedInput
18
18
 
19
19
  fields.input(loc.to_sym, options.merge(collection: collection, label: label, required: required))
20
20
  end.join.html_safe
21
- end
21
+ end +
22
+ error(attribute_name)
22
23
  end
23
24
  end
24
25
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleFormLocalizedInput
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_localized_input
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-24 00:00:00.000000000 Z
11
+ date: 2017-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_form
@@ -75,6 +75,7 @@ extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
77
  - ".gitignore"
78
+ - CHANGELOG.md
78
79
  - Gemfile
79
80
  - LICENSE
80
81
  - README.md
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
104
  version: '0'
104
105
  requirements: []
105
106
  rubyforge_project:
106
- rubygems_version: 2.4.5.1
107
+ rubygems_version: 2.5.2
107
108
  signing_key:
108
109
  specification_version: 4
109
110
  summary: Custom input for Simple Form that renders Mongoid fields for multiple locales.