has_calculated_fields 1.0.3.7 → 1.0.3.8

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: f6cf158f78752207c08624fc9f0a78e61fe23bce35345390c68199f8a60ed38e
4
- data.tar.gz: c5f79aacc2c41741e52f9916cfd5b7aef7196c9088d13a6c70ba122d1adcb24e
3
+ metadata.gz: fe42e86264da503a5735ff33ad72337d8ce94bb5282a1c4971983a8b9a32e030
4
+ data.tar.gz: 036c3d42cb5514e44d63a0af95176c35562f06118d0ecab261df73e322ab7637
5
5
  SHA512:
6
- metadata.gz: 7c2ccaefb0403244e27280e269078f5356024092af4c71c3d3e08b191ec583ce0717558c6cd3200c89c6d1ff505714ea560bcf1f2c7c09a634c879f210505ad4
7
- data.tar.gz: 11e1c6edd54e3d9c8d6ff9660eaaa52d660e67ea4aecb40428639936acd70b70acd3873daed4211d3abc82bb9ddf822951913a3f871c052478c0ad1c557b6117
6
+ metadata.gz: ba646c37722a97d9b92eb384022d68d6b3112a766abfa19d561bdbef0a6c02531041ec6288ca59019b3c4244150ff522e95ab1c4a8f4277d45c27ff6728bbb74
7
+ data.tar.gz: 554db6d1dab5b198f89b1231fca1ef7566ba15d250ee581c9c739662d741a5ebc259d84b6c0b1abcc5f7a26246c0eb4ae7a8b7c22ddb12c0a9cedcfc1e98eca6
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "has_calculated_fields"
6
- s.version = "1.0.3.7"
6
+ s.version = "1.0.3.8"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.author = ["Adrian Fernandez"]
9
9
  s.email = ["adrianfernandez85@gmail.com"]
@@ -218,6 +218,8 @@ module HasCalculatedFields
218
218
  end
219
219
 
220
220
  send(attr_equal, value)
221
+
222
+ true
221
223
  end
222
224
 
223
225
  def _process_date(data)
@@ -41,7 +41,6 @@ describe HasCalculatedFields do
41
41
 
42
42
  it "does not assign conditional when condition is matched" do
43
43
  obj.name = "conditional name"
44
- obj.random_attribute = "4"
45
44
 
46
45
  expect { obj.save }.not_to change {
47
46
  obj.calculated_conditional_if
@@ -60,6 +59,7 @@ describe HasCalculatedFields do
60
59
 
61
60
  it "does not assign conditional when condition is matched" do
62
61
  obj.name = "conditional name"
62
+ obj.random_attribute = "4"
63
63
 
64
64
  expect { obj.save }.not_to change {
65
65
  obj.calculated_conditional_unless
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_calculated_fields
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3.7
4
+ version: 1.0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Fernandez