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.
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