openc3 5.6.0 → 5.6.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of openc3 might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aec8c77fa13a1d046d9a6a75b0ab2854a5c130a9ea967dc7b9164ae3840ca4a1
|
4
|
+
data.tar.gz: 9071d947cf90051add2c714a74c40ab54b359b4a16861029e93e290cd68b05bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 399787f9f75cf2d66d340662e9dbfb57feb700ea6661f0e93668a88e0b327dead2f1ca76a910da7d604ffce64ec627e8a177997d4c6c5292c281c8e410510516
|
7
|
+
data.tar.gz: bae872d3fef6e8e2014d116b461b4685e56222e9d2ac31c5c1ee2720733affa3ae5cb0b482dfc5c30488d34809063e97a352b69c8afb1bb2cb5c8e5eabe4abb6
|
@@ -2,10 +2,11 @@ require 'openc3/utilities/migration'
|
|
2
2
|
require 'openc3/models/scope_model'
|
3
3
|
|
4
4
|
module OpenC3
|
5
|
-
class
|
5
|
+
class LogStuff < Migration
|
6
6
|
def self.run
|
7
7
|
ScopeModel.names.each do |scope|
|
8
8
|
# Get all existing InterfaceModels and change json for log_raw to log_stream
|
9
|
+
# Also remove the log key
|
9
10
|
interface_models = InterfaceModel.all(scope: scope)
|
10
11
|
interface_models.each do |key, model_hash|
|
11
12
|
if model_hash.has_key?('log_raw')
|
@@ -14,6 +15,9 @@ module OpenC3
|
|
14
15
|
else
|
15
16
|
model_hash['log_stream'] = nil
|
16
17
|
end
|
18
|
+
if model_hash.has_key?('log')
|
19
|
+
model_hash.delete('log')
|
20
|
+
end
|
17
21
|
model_hash.delete('log_raw')
|
18
22
|
InterfaceModel.from_json(model_hash, scope: scope).update
|
19
23
|
end
|
@@ -26,6 +30,9 @@ module OpenC3
|
|
26
30
|
else
|
27
31
|
model_hash['log_stream'] = nil
|
28
32
|
end
|
33
|
+
if model_hash.has_key?('log')
|
34
|
+
model_hash.delete('log')
|
35
|
+
end
|
29
36
|
model_hash.delete('log_raw')
|
30
37
|
RouterModel.from_json(model_hash, scope: scope).update
|
31
38
|
end
|
@@ -36,5 +43,5 @@ module OpenC3
|
|
36
43
|
end
|
37
44
|
|
38
45
|
unless ENV['OPENC3_NO_MIGRATE']
|
39
|
-
OpenC3::
|
46
|
+
OpenC3::LogStuff.run
|
40
47
|
end
|
data/lib/openc3/version.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# encoding: ascii-8bit
|
2
2
|
|
3
|
-
OPENC3_VERSION = '5.6.
|
3
|
+
OPENC3_VERSION = '5.6.1'
|
4
4
|
module OpenC3
|
5
5
|
module Version
|
6
6
|
MAJOR = '5'
|
7
7
|
MINOR = '6'
|
8
|
-
PATCH = '
|
8
|
+
PATCH = '1'
|
9
9
|
OTHER = ''
|
10
|
-
BUILD = '
|
10
|
+
BUILD = '86a8498603e3f90548f20613cb5b596c906f2a9e'
|
11
11
|
end
|
12
|
-
VERSION = '5.6.
|
13
|
-
GEM_VERSION = '5.6.
|
12
|
+
VERSION = '5.6.1'
|
13
|
+
GEM_VERSION = '5.6.1'
|
14
14
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "widget",
|
3
|
-
"version": "5.6.
|
3
|
+
"version": "5.6.1",
|
4
4
|
"private": true,
|
5
5
|
"scripts": {
|
6
6
|
"build": "vue-cli-service build --target lib --dest tools/widgets/<%= widget_name %> --formats umd-min <%= widget_path %> --name <%= widget_name %>"
|
7
7
|
},
|
8
8
|
"dependencies": {
|
9
|
-
"@openc3/tool-common": "5.6.
|
9
|
+
"@openc3/tool-common": "5.6.1",
|
10
10
|
"vue": "2.7.14",
|
11
11
|
"vuetify": "2.6.14"
|
12
12
|
},
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openc3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.6.
|
4
|
+
version: 5.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Melton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-04-
|
12
|
+
date: 2023-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -872,10 +872,9 @@ files:
|
|
872
872
|
- lib/openc3/microservices/text_log_microservice.rb
|
873
873
|
- lib/openc3/microservices/timeline_microservice.rb
|
874
874
|
- lib/openc3/microservices/trigger_group_microservice.rb
|
875
|
+
- lib/openc3/migrations/20220420190000_log_stuff.rb
|
875
876
|
- lib/openc3/migrations/20221202214600_add_target_names.rb
|
876
877
|
- lib/openc3/migrations/20221210174900_convert_to_multi.rb
|
877
|
-
- lib/openc3/migrations/20230319154100_log_stream.rb
|
878
|
-
- lib/openc3/migrations/20230413101100_remove_log.rb
|
879
878
|
- lib/openc3/models/activity_model.rb
|
880
879
|
- lib/openc3/models/auth_model.rb
|
881
880
|
- lib/openc3/models/cvt_model.rb
|
@@ -1,30 +0,0 @@
|
|
1
|
-
require 'openc3/utilities/migration'
|
2
|
-
require 'openc3/models/scope_model'
|
3
|
-
|
4
|
-
module OpenC3
|
5
|
-
class RemoveLog < Migration
|
6
|
-
def self.run
|
7
|
-
ScopeModel.names.each do |scope|
|
8
|
-
# Get all existing InterfaceModels and remove log from json
|
9
|
-
interface_models = InterfaceModel.all(scope: scope)
|
10
|
-
interface_models.each do |key, model_hash|
|
11
|
-
if model_hash.has_key?('log')
|
12
|
-
model_hash.delete('log')
|
13
|
-
InterfaceModel.from_json(model_hash, scope: scope).update
|
14
|
-
end
|
15
|
-
end
|
16
|
-
router_models = RouterModel.all(scope: scope)
|
17
|
-
router_models.each do |key, model_hash|
|
18
|
-
if model_hash.has_key?('log')
|
19
|
-
model_hash.delete('log')
|
20
|
-
RouterModel.from_json(model_hash, scope: scope).update
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
unless ENV['OPENC3_NO_MIGRATE']
|
29
|
-
OpenC3::RemoveLog.run
|
30
|
-
end
|