my_forum 0.0.1.beta39 → 0.0.1.beta40

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: 56c06afb2fe442843d3c6e8c064f9aa64121e5be
4
- data.tar.gz: c47fce1bb43220e3c37a5188ec4c1cb92914c1c1
3
+ metadata.gz: 5c4055ac34872842e3d3f36d0fd082daccef16bd
4
+ data.tar.gz: 4f8f8d5020a6a96a1adb3b2c88a554bdf53f13de
5
5
  SHA512:
6
- metadata.gz: e080e35d185c6d13db970af4b4ca763eb78bf909b1ce3ad6b6f23d603be973056a9042cfc093eb8a539821facd33306cbfda4beae223c561bb92068a51f0c2c9
7
- data.tar.gz: ab79704bed2bf2eb934cc5bfc41f35609076af93faa992ae53d26082556da7d6a655af0cf332305e417c2a2d3f45d7bbea9a914895f80c3fd613db61e30952d3
6
+ metadata.gz: f33157779996ac5b43fb00fbe4cdac5edd8b0dbf94b6a3b6b02876f2a1b1f5b9bed3e7b8f06e1ff1bfedf3d8018ecbfeb1125ec5bcc977749bcace82f6636876
7
+ data.tar.gz: 63279e078cc7a6b97ffbd1b686b5957f67eb9180680b713c221acb8e94e8cf1d6f8c62a1f3b374240a4b84a260f6f0e0f77a968b48fb92ea82c6f1d1f9099087
@@ -35,8 +35,7 @@ module MyForum
35
35
  def #{attr}=(value)
36
36
  self.additional_info ||= {}
37
37
  self.additional_info[:#{attr}] = value
38
- end
39
- "
38
+ end"
40
39
  end
41
40
  end
42
41
 
@@ -31,6 +31,6 @@
31
31
  .col-md-4
32
32
  = form_for current_user, url: user_path(current_user), role: 'form' do |form|
33
33
  - additional_info_attrs.each do |attr|
34
- .form-group= form.text_field attr, class: 'name form-control', placeholder: t("my_forum.additional_info.#{attr.to_s}")
34
+ .form-group= form.text_field attr, value: current_user.send(attr), class: 'name form-control', placeholder: t("my_forum.additional_info.#{attr.to_s}")
35
35
 
36
36
  = form.submit t('.update'), class: 'btn btn-primary btn-sm'
@@ -1,3 +1,3 @@
1
1
  module MyForum
2
- VERSION = "0.0.1.beta39"
2
+ VERSION = "0.0.1.beta40"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_forum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta39
4
+ version: 0.0.1.beta40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko