attributes_for 0.5.0 → 0.5.1

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: 21f33333a9b99cbf9570de9a631293eed058d910
4
- data.tar.gz: 221fa4a21ec0f980e1b6b20237e555868ca1fdc3
3
+ metadata.gz: f98de193663ad21fdd67e034913e20de7fc7380e
4
+ data.tar.gz: 08fe95989514035be3989bfdec0d55de83f13e08
5
5
  SHA512:
6
- metadata.gz: b6a6bd76ba365bbd95278722adb7fcfd3eb89e34a7b1236609275c803f7d62cfea97f35ff03a655bc2901aac931cbb7f9fb0e2254be1faffa5c66147398d9f51
7
- data.tar.gz: 9d5868db7a235f928d47ba5a2d7750bc59120f14b5c60abb851003a6eb195cbb3c421824aa7cd5a33aa764bb166a0ea87c5f67cd9fd674016e4fa29f425a1a9b
6
+ metadata.gz: 7083887afbaee2cd6b45f1cf4985bc0748a24d9a1b839724662f7c61f29fa36b50a69b39ce54221fe76b3800c15ba379c36c9917b3ff7f2b958af525bc139be1
7
+ data.tar.gz: 42d54c78a05cc5835cb9d97bccb102068547818cf18c1dc0b35c44d7118681c4975d4433d348a6ae4e0e418db85f98f4e264be6e25bad3bab75719a401ee02f2
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.1] - 2015-12-10
4
+ ### Fixed
5
+ - `attribute` helper explicitly casts integer to string.
6
+
3
7
  ## [0.5.0] - 2015-21-09
4
8
  ### Fixed
5
9
  - Use font-awesome-rails `fa_icon` helper to handle icons. Icons are now
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- attributes_for (0.5.0)
4
+ attributes_for (0.5.1)
5
5
  chronic_duration (~> 0.10)
6
6
  font-awesome-rails (~> 4.0)
7
7
  phony (~> 2.0)
@@ -57,7 +57,7 @@ module AttributesFor
57
57
  when :url
58
58
  link_to(value, value, title: human_name(attribute_name))
59
59
  else
60
- value
60
+ value.to_s
61
61
  end
62
62
  end
63
63
  end
@@ -1,3 +1,3 @@
1
1
  module AttributesFor
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attributes_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ole J. Rosendahl
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails