openc3 6.2.0 → 6.3.0
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 +4 -4
- data/Gemfile +2 -3
- data/bin/openc3cli +12 -3
- data/data/config/widgets.yaml +3 -0
- data/lib/openc3/api/cmd_api.rb +5 -8
- data/lib/openc3/api/interface_api.rb +8 -4
- data/lib/openc3/api/tlm_api.rb +23 -8
- data/lib/openc3/io/json_api_object.rb +1 -1
- data/lib/openc3/io/json_drb_object.rb +1 -1
- data/lib/openc3/microservices/interface_decom_common.rb +4 -1
- data/lib/openc3/microservices/interface_microservice.rb +68 -5
- data/lib/openc3/microservices/microservice.rb +1 -0
- data/lib/openc3/microservices/multi_microservice.rb +1 -1
- data/lib/openc3/migrations/20250402000000_periodic_only_default.rb +24 -0
- data/lib/openc3/models/offline_access_model.rb +7 -6
- data/lib/openc3/models/scope_model.rb +5 -2
- data/lib/openc3/models/target_model.rb +150 -15
- data/lib/openc3/packets/commands.rb +10 -3
- data/lib/openc3/script/commands.rb +1 -1
- data/lib/openc3/script/script.rb +14 -0
- data/lib/openc3/utilities/authentication.rb +5 -5
- data/lib/openc3/utilities/local_mode.rb +5 -2
- data/lib/openc3/utilities/ruby_lex_utils.rb +114 -279
- data/lib/openc3/utilities/target_file.rb +6 -2
- data/lib/openc3/version.rb +5 -5
- data/templates/tool_angular/package.json +2 -2
- data/templates/tool_react/package.json +1 -1
- data/templates/tool_svelte/package.json +1 -1
- data/templates/tool_vue/package.json +3 -3
- data/templates/widget/package.json +2 -2
- metadata +20 -23
- data/ext/mkrf_conf.rb +0 -52
data/ext/mkrf_conf.rb
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
# encoding: ascii-8bit
|
2
|
-
|
3
|
-
# Copyright 2022 Ball Aerospace & Technologies Corp.
|
4
|
-
# All Rights Reserved.
|
5
|
-
#
|
6
|
-
# This program is free software; you can modify and/or redistribute it
|
7
|
-
# under the terms of the GNU Affero General Public License
|
8
|
-
# as published by the Free Software Foundation; version 3 with
|
9
|
-
# attribution addendums as found in the LICENSE.txt
|
10
|
-
#
|
11
|
-
# This program is distributed in the hope that it will be useful,
|
12
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
-
# GNU Affero General Public License for more details.
|
15
|
-
|
16
|
-
# Modified by OpenC3, Inc.
|
17
|
-
# All changes Copyright 2022, OpenC3, Inc.
|
18
|
-
# All Rights Reserved
|
19
|
-
#
|
20
|
-
# This file may also be used under the terms of a commercial license
|
21
|
-
# if purchased from OpenC3, Inc.
|
22
|
-
|
23
|
-
# This file gems specific to platform
|
24
|
-
|
25
|
-
require 'rubygems'
|
26
|
-
require 'rubygems/command.rb'
|
27
|
-
require 'rubygems/dependency_installer.rb'
|
28
|
-
|
29
|
-
def gem_installed?(name, version = Gem::Requirement.default)
|
30
|
-
version = Gem::Requirement.create version unless version.is_a? Gem::Requirement
|
31
|
-
Gem::Specification.each.any? { |spec| name == spec.name and version.satisfied_by? spec.version }
|
32
|
-
end
|
33
|
-
|
34
|
-
begin
|
35
|
-
Gem::Command.build_args = ARGV
|
36
|
-
rescue NoMethodError
|
37
|
-
end
|
38
|
-
inst = Gem::DependencyInstaller.new
|
39
|
-
begin
|
40
|
-
if !/mswin|mingw|cygwin/i.match?(RbConfig::CONFIG['target_os'])
|
41
|
-
unless gem_installed?("ruby-termios", ">= 0.9")
|
42
|
-
STDOUT.puts "Attempting to install ruby-termios... If this fails please manually \"gem install ruby-termios\" and try again."
|
43
|
-
inst.install "ruby-termios", ">= 0.9"
|
44
|
-
end
|
45
|
-
end
|
46
|
-
rescue
|
47
|
-
exit(1)
|
48
|
-
end
|
49
|
-
|
50
|
-
f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") # create dummy rakefile to indicate success
|
51
|
-
f.write("task :default\n")
|
52
|
-
f.close
|