tramway-core 1.9.6 → 1.9.6.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
  SHA256:
3
- metadata.gz: 848fee8743dca926b0b6d7f5e138ab4d036d0445f0ed421488b6d9486c7ee35b
4
- data.tar.gz: f22269bf242497324516822a8bac7c205dcd1e4346a363b71559fab6cc4a6333
3
+ metadata.gz: 567ea16b9b30c8c03180a8300f7a63d95723a04702eb764b0e79c6aab6394d16
4
+ data.tar.gz: b9732ea5536fc2315b2dfa42184e972250a9884052225b0138c0b234be565843
5
5
  SHA512:
6
- metadata.gz: 376b13caabda4e7d3a24714a4c72598e6ee8fa5c7a39ba1c96e1edc811afc6c9d52525dd027aa01ebcdf6430037c5a0d1b98acf91455c1575a75020383a989be
7
- data.tar.gz: d7e2a4dcbdc7f26d8d86b162088de730991e81fa375b7179c92512b7e7ee3a1513823e4a1f0c31b238fd07a213f03c38fd71a2911dad49c58a0d1f66f48c81ea
6
+ metadata.gz: 953394c484dd89b2f26f6274beff2ad5423bd532d250f3f219444785c7f02e41ab0321f2d875d8887ac71e122a469865031b989c3468a9f8cb56c4964c16fd76
7
+ data.tar.gz: 848e488753cb7cdd250b8af7268f0bacd5c1b9dae684990d085fc8772896dc31f70f9ae94019f1db60a5c3927caeb4d6a0e4ffd322e64aaf4ab3485b8879e512
@@ -106,7 +106,7 @@ class Tramway::Core::ApplicationDecorator
106
106
  end
107
107
 
108
108
  def yes_no(boolean_attr)
109
- boolean_attr ? I18n.t('helpers.yes') : I18n.t('helpers.no')
109
+ boolean_attr.to_s == 'true' ? I18n.t('helpers.yes') : I18n.t('helpers.no')
110
110
  end
111
111
 
112
112
  protected
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Core
3
- VERSION = '1.9.6'
3
+ VERSION = '1.9.6.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.6
4
+ version: 1.9.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov