tunable 0.1.1 → 0.1.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: 5f3e0b03aefc94040217c4c2b0b4e58da393015ea4296dee04f2efc1e13de95c
4
- data.tar.gz: 4a5d9dd43998e77b677cb5c652366e6ad3fbaab97a0e458358c2f912b1ef9ebb
3
+ metadata.gz: 0ee1f672f4e874012a7dec7f37aab3ff0ceffbea47ad1c3943a7711209446f5e
4
+ data.tar.gz: 7854d4f7f8871492b60dabe7589a9b6158ca079a3b6cfb102ca0dad94bc17c69
5
5
  SHA512:
6
- metadata.gz: e10ebb099faa035fe760a6b6c42acaabdb603513378bd4bd24c586cf1c3c872a3fa0597b2863760f715da6f8754b2671ed86a78fdf33f4f0ae6008366ddf060e
7
- data.tar.gz: '019c5b00133fcad806079acd55c5152c599e70bda44474fcb904769399e1d54d8e8ee9403970a7b026510890f071973975757c7d9e416aabadc0922075d880da'
6
+ metadata.gz: 20dcacdea0c8ddf6375d6c4301e325e50da5d7179f13808c779f10c1449baa8f1ab4ae7a98adf06f478359b13640721b725142c5943e655ec529ca21f8f9e61d
7
+ data.tar.gz: 35780c6cb907862d323ab12bd57b3b0f9d3288008d34a3d7026e60bf7e49840e01a31111330314eaea06e13a0fa4c5d7d7fcd4bc435f010dbe08e6a174ba8687
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # specified in gemspec
4
4
  gemspec
@@ -26,7 +26,7 @@ module Tunable
26
26
 
27
27
  hash.each do |context, fields|
28
28
  fields.each do |key, val|
29
- if val.blank? && !object.settings_context(context.to_sym)[key.to_sym].nil?
29
+ if (val.nil? || val == '') && !object.settings_context(context.to_sym)[key.to_sym].nil?
30
30
 
31
31
  # setting was present and now deleted
32
32
  object.queue_setting_for_deletion(context, key)
@@ -1,3 +1,3 @@
1
1
  module Tunable
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tunable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-22 00:00:00.000000000 Z
11
+ date: 2025-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord