-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathopenc3.gemspec
More file actions
139 lines (127 loc) · 6.11 KB
/
openc3.gemspec
File metadata and controls
139 lines (127 loc) · 6.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# encoding: ascii-8bit
# Copyright 2022 Ball Aerospace & Technologies Corp.
# All Rights Reserved.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See LICENSE.md for more details.
# Modified by OpenC3, Inc.
# All changes Copyright 2026, OpenC3, Inc.
# All Rights Reserved
#
# This file may also be used under the terms of a commercial license
# if purchased from OpenC3, Inc.
require 'rbconfig'
# Create the overall gemspec
spec = Gem::Specification.new do |s|
s.name = 'openc3'
s.summary = 'OpenC3'
s.description = <<-EOF
OpenC3 provides all the functionality needed to send
commands to and receive data from one or more embedded systems
referred to as "targets". Out of the box functionality includes:
Telemetry Display, Telemetry Graphing, Operational and Test Scripting,
Command Sending, Logging, and more.
EOF
s.authors = ['Ryan Melton', 'Jason Thomas']
s.email = ['ryan@openc3.com', 'jason@openc3.com']
s.homepage = 'https://github.com/OpenC3/cosmos'
if RUBY_ENGINE == 'ruby'
s.platform = Gem::Platform::RUBY
elsif RUBY_ENGINE == 'jruby'
s.platform = "java"
else
s.platform = Gem::Platform::CURRENT
end
s.required_ruby_version = '>= 3.0'
s.version = '7.0.0.pre.rc4'
s.license = "OpenC3"
# Executables
s.executables << 'openc3cli'
s.executables << 'cstol_converter'
if RUBY_ENGINE == 'ruby'
# Ruby C Extensions - MRI Only
s.extensions << 'ext/openc3/ext/array/extconf.rb'
s.extensions << 'ext/openc3/ext/buffered_file/extconf.rb'
s.extensions << 'ext/openc3/ext/burst_protocol/extconf.rb'
s.extensions << 'ext/openc3/ext/config_parser/extconf.rb'
s.extensions << 'ext/openc3/ext/openc3_io/extconf.rb'
s.extensions << 'ext/openc3/ext/crc/extconf.rb'
s.extensions << 'ext/openc3/ext/packet/extconf.rb'
s.extensions << 'ext/openc3/ext/platform/extconf.rb'
s.extensions << 'ext/openc3/ext/polynomial_conversion/extconf.rb'
s.extensions << 'ext/openc3/ext/string/extconf.rb'
s.extensions << 'ext/openc3/ext/tabbed_plots_config/extconf.rb'
s.extensions << 'ext/openc3/ext/telemetry/extconf.rb'
end
# Files are defined in Manifest.txt
s.files = Dir.glob("{bin,data,ext,lib,spec,tasks,templates,test}/**/*", File::FNM_DOTMATCH) + %w(Gemfile Guardfile LICENSE.md Rakefile README.md)
# Runtime Dependencies
s.add_runtime_dependency 'erb', '~> 6.0'
s.add_runtime_dependency 'pg', '~> 1.5'
s.add_runtime_dependency 'csv', '~> 3.3'
s.add_runtime_dependency 'hiredis-client', '~> 0.22'
s.add_runtime_dependency 'fiddle', '~> 1.1'
s.add_runtime_dependency 'json', '~> 2.14' # Breaking change in 2.14 for require 'json/add/string'
s.add_runtime_dependency 'matrix', '~> 0.4'
s.add_runtime_dependency 'nokogiri', '~> 1.14'
s.add_runtime_dependency 'ostruct', '~> 0.6'
s.add_runtime_dependency 'prism', '~> 1.3'
s.add_runtime_dependency 'psych', '~> 5.0'
s.add_runtime_dependency 'puma', '~> 7.0'
s.add_runtime_dependency 'rack', '~> 3.1'
s.add_runtime_dependency 'rackup', '~> 2.1'
s.add_runtime_dependency 'rake', '~> 13.0'
s.add_runtime_dependency 'rdoc', '~> 7.0'
s.add_runtime_dependency 'redis', '~> 5.4'
s.add_runtime_dependency 'rubyzip', '~> 3.0'
s.add_runtime_dependency 'uuidtools', '~> 3.0'
s.add_runtime_dependency 'yard', '~> 0.9'
s.add_runtime_dependency 'argon2', '~> 2.3'
# faraday includes faraday-net_http as the default adapter
s.add_runtime_dependency 'aws-sdk-s3', '< 2'
s.add_runtime_dependency 'cbor', '~> 0.5.10'
s.add_runtime_dependency 'childprocess', '~> 5.0'
s.add_runtime_dependency 'connection_pool', '~> 3.0'
s.add_runtime_dependency 'faraday', '~> 2.7'
s.add_runtime_dependency 'faraday-follow_redirects', '~> 0.3'
s.add_runtime_dependency 'faraday-multipart', '~> 1.0'
s.add_runtime_dependency 'ffi', '~> 1.15' # Required by childprocess on Windows
s.add_runtime_dependency 'jsonpath', '~> 1.1'
s.add_runtime_dependency 'mqtt', '~> 0.7'
s.add_runtime_dependency 'opentelemetry-exporter-otlp', '~> 0.24'
s.add_runtime_dependency 'opentelemetry-instrumentation-action_pack', '~> 0.2'
s.add_runtime_dependency 'opentelemetry-instrumentation-aws_sdk', '~> 0.3'
s.add_runtime_dependency 'opentelemetry-instrumentation-faraday', '~> 0.23'
s.add_runtime_dependency 'opentelemetry-instrumentation-rack', '~> 0.21'
s.add_runtime_dependency 'opentelemetry-instrumentation-redis', '~> 0.24'
s.add_runtime_dependency 'opentelemetry-sdk', '~> 1.2'
s.add_runtime_dependency 'resolv-replace', '~> 0.2'
s.add_runtime_dependency 'rufus-scheduler', '~> 3.8'
s.add_runtime_dependency 'tzinfo-data', '~> 1.2023'
s.add_runtime_dependency 'webrick', '~> 1.8'
s.add_runtime_dependency 'websocket', '~> 1.2'
s.add_runtime_dependency 'websocket-native', '~> 1.0'
s.add_runtime_dependency 'listen', '~> 3.9'
# Development Dependencies
s.add_development_dependency 'benchmark-ips', '~> 2.9'
s.add_development_dependency 'faraday-follow_redirects', '~> 0.3'
s.add_development_dependency 'flay', '~> 2.12'
s.add_development_dependency 'flog', '~> 4.6'
s.add_development_dependency 'equivalent-xml', '~> 0.6.0'
s.add_development_dependency 'listen', '~> 3.7'
s.add_development_dependency 'mock_redis', '~> 0.47'
s.add_development_dependency 'reek', '~> 6.0'
s.add_development_dependency 'rspec', '~> 3.10'
s.add_development_dependency 'rspec-rails', '~> 8.0'
s.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
s.add_development_dependency 'ruby-prof', '~> 2.0' if RUBY_ENGINE == 'ruby' # MRI Only
s.add_development_dependency 'simplecov', '~> 0.22'
s.add_development_dependency 'rexml', '3.4.4' # 3.4.2 throws an error. See https://github.com/ruby/rexml/issues/287
s.add_development_dependency 'simplecov-cobertura', '~> 3.0'
# simplecov_json_formatter formatter supports SonarQube
# s.add_development_dependency 'simplecov_json_formatter', '~> 0.1'
s.post_install_message = "Thanks for installing OpenC3!\n"
s.metadata['rubygems_mfa_required'] = 'true'
end