myg 2.3.4 → 2.3.5

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: 22eb5330f686391a704daeccd669341323016f8ed6757210758bf6fff0919e9b
4
- data.tar.gz: eeaf3018cd7fb3327aa824ee1b2d07ab4b640909c7c511f0272473df4a801da6
3
+ metadata.gz: dea8b4c35e4e3d82ff2e5ca79ebf08c14287143102242c866d7abe2e7605be2d
4
+ data.tar.gz: 5699c91ff79e4f88b00e684ccabc733fcf1c228e7f11691282d2a0185c4e7765
5
5
  SHA512:
6
- metadata.gz: 5398eda9570a0d0e4c88fad1186d0361f3aed43f92d5c0ff31049b80d57257b4b98bc3228ad3eba9230830c43918963d59a5cb6f371bf881bef7f9c003c6084f
7
- data.tar.gz: 78d5f27865f246200b201b7e238082de2d78ba207248f8cbc8fe25aaa733a0d71db550d3109ae66117eb2948c2de279b49be8b615b0f298fd037976e19225ff1
6
+ metadata.gz: a2a399681f7183b69e88f5aec2c01ebf1d3b812c926966768db50c7e215426ce907d71f1ed8df7443ee0ef6c103a5673de0922ed686d338a1980bd74d1dd04fe
7
+ data.tar.gz: 34b2227c54772837c2fbd08d48170b05278cb44a22861f2f7462b46ab92242f8ada20fe266ffecf000a127351e1f0c70d5fc2c5b145c6a551031b704ef84020c
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
+ ### 2.3.5 - 2018/02/25
8
+
9
+ * bugfixes
10
+ * fixed input automatic type detection for attributes named `'email'` or `'password'`
11
+
7
12
  ### 2.3.4 - 2018/02/25
8
13
 
9
14
  * bugfixes
@@ -8,7 +8,7 @@
8
8
  id: id
9
9
  } %>
10
10
  <% defaults = {
11
- type: (attribute == 'email' || attribute == 'password' ? attribute : 'text')
11
+ type: (attribute.to_s == 'email' || attribute.to_s == 'password' ? attribute : 'text')
12
12
  } %>
13
13
 
14
14
  <%= tag 'input', defaults.merge(options.merge(html)) %>
data/lib/myg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Myg
2
2
 
3
- VERSION = '2.3.4'
3
+ VERSION = '2.3.5'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myg
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter