formatic 0.2.0 → 0.2.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: b769e11f1dd433a6e012b56c44e9d53656e7695a5be8993f155f24dbac724972
4
- data.tar.gz: f754250dfe1154a554bb436e6f60bf9033fcf0fdfce32fb1688d51a206795936
3
+ metadata.gz: acd5eaf99cfdff12eda33ac40015b69c122bb4af7be906de2bca87dbbd606ff5
4
+ data.tar.gz: 460f629070925fd64e831a728a8466cdd6d560dabbf63a3971de7f162ac6a7a1
5
5
  SHA512:
6
- metadata.gz: 0e390afe0bd8c0a5ca4336049a4eb9ab90ea0655e1a1e4ef161ca63598276b27db22a8e89e8df741327c6a2af352abeb00667193000b2b57a2202a0aaab2986d
7
- data.tar.gz: 10cf8c0c85ce7178117c014ab2523a933d47e2b84b97a09b63d0918e3a36d60b399755798ab659f489f0fa0197b5b1f2d27ca5a70bbc13e659017fc7d28536a7
6
+ metadata.gz: b978bfa61534335651d24f451f07faae2d302ae43716818057c38e700f02fd6cf504f7a251f794aae36bb46a9c39355455554653c0c73e1a1e0dc074bf790407
7
+ data.tar.gz: 1fd8eadfe49f43a7e6df58af8ea5f7b94dadec05f63264fdd53c285a7524bb310263cd9f1ffad5f3f2ac84c61d5a5a3ee970b5c3e50a014dc7ee98a94b770c81
@@ -51,7 +51,7 @@ module Formatic
51
51
  end
52
52
 
53
53
  def options_for_day
54
- options_for_select collection_for_day, day_value
54
+ options_for_select collection_for_day, f.object.public_send(attribute_name)&.day
55
55
  end
56
56
 
57
57
  def options_for_month
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Formatic
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - halo