timely 0.4.1 → 0.4.2

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: 382904d08678605d938cd0d941705332863f14a1d4c35b2cb8b32e392512ebed
4
- data.tar.gz: 4b3fe1a94eb20f44f5d7936ee74b2c6a318876842941802d1dc21730ebf9601b
3
+ metadata.gz: 9ad5b5230c51dc3ab72192b82882b333fe9fc72b49fb2e8324881e7a6b7fd269
4
+ data.tar.gz: 1de47a9da2ee6f3708c049f85fed2654e7ec4900935056f80dbe42db2842cf7b
5
5
  SHA512:
6
- metadata.gz: afff189e47475c6735567715412ed9b18bdfcda0d3e18d47a1380e5638fe4761ca1e557258bdd94524d2de8c416b9fe6af2e5d1e0da7b345300263b8ef991165
7
- data.tar.gz: 7992375af6e06869b694094b4219b7e59ce47cb902c9c4347d894d90eb9f208e44cb8d57addaa9797258c0b014520e7a5817a59c9b54535f1646ba586f6c5f97
6
+ metadata.gz: 8d9bde900b4005fdcf26cc826e53858eb47067f6ccd6e01c633861efb305970d37ceddfd7bc1d70b2c68bae1a53abccc178ca1b95f20fc5ae5032cc8ef0e3e11
7
+ data.tar.gz: 8d1145ecf55ee9deb075d459e9f2399ec28bf0da6519f60b47cf1fddd679312383c6df4d9e83d8f6222e2aa89c7791b25927efb1705260e880ad54682b4b8037
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.2
4
+
5
+ * [TT-5794] Fix belongs_to associations are not explicitly marked optional
6
+
3
7
  ## 0.4.1
4
8
 
5
9
  * [TT-5674] Make multi year date format friendlier
@@ -1,6 +1,6 @@
1
1
  module Timely
2
2
  class DateGroup < ActiveRecord::Base
3
- belongs_to :season, :class_name => 'Timely::Season'
3
+ belongs_to :season, :class_name => 'Timely::Season', optional: true
4
4
 
5
5
  weekdays_field :weekdays
6
6
 
@@ -14,7 +14,7 @@ module Timely
14
14
  end
15
15
 
16
16
  def acts_as_seasonal
17
- belongs_to :season, :class_name => 'Timely::Season'
17
+ belongs_to :season, :class_name => 'Timely::Season', optional: true
18
18
  accepts_nested_attributes_for :season
19
19
  validates_associated :season
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Timely
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-28 00:00:00.000000000 Z
11
+ date: 2019-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler