six-updater-web 0.23.0 → 0.23.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.
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/testtask'
7
7
 
8
8
  spec = Gem::Specification.new do |s|
9
9
  s.name = 'six-updater-web'
10
- s.version = '0.23.0'
10
+ s.version = '0.23.1'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -67,6 +67,8 @@ class SystemSetting < ActiveRecord::Base
67
67
  def sync
68
68
  self.synchronized_at = Time.now
69
69
  self.save
70
+ Mod.delete_all("type IS NULL or name IS NULL")
71
+ Appsetting.delete_all("type IS NULL or name IS NULL")
70
72
  content = nil
71
73
  l = self.synchronize
72
74
  if l.size > 0
@@ -74,6 +76,8 @@ class SystemSetting < ActiveRecord::Base
74
76
  else
75
77
  content = "WARNING: No objects received, possibly issue with connection (timeout?), or server site"
76
78
  end
79
+ Mod.delete_all("type IS NULL or name IS NULL")
80
+ Appsetting.delete_all("type IS NULL or name IS NULL")
77
81
  content
78
82
  end
79
83
  end
@@ -22,7 +22,7 @@ case RUBY_VERSION
22
22
  end
23
23
 
24
24
  module SixUpdaterWeb
25
- VERSION = "0.23.0"
25
+ VERSION = "0.23.1"
26
26
  COMPONENT = "six-updater-web"
27
27
 
28
28
  DEFAULT_IP = "127.0.0.1" unless defined?(DEFAULT_IP)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 23
8
- - 0
9
- version: 0.23.0
8
+ - 1
9
+ version: 0.23.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy