openc3-cosmos-cfdp 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a1ac89a99cdc040f8e53d176140dacbfd149764c97c16622d8d08dc1523c4b2
4
- data.tar.gz: e4fc3910126cf90dc8c046f76949e2f88f3b2f3b2f0256be283176fa55979159
3
+ metadata.gz: 13e88f3556a631c2f165f5960429dea0b8ebe9d5f6984fc9de89fb1e1f4d3a74
4
+ data.tar.gz: e8a0e0b293c80d55508b3e1be3435eecb1d9de0e17127df7a5077c1fe7a53e2d
5
5
  SHA512:
6
- metadata.gz: 9279b10d783a7752adff1dbaf10e58b435cd1361f8a67e9c79b23682a8e54110ee4e32a055ae7af08b0d4d5ce1431a8321fdd28ffa4fb568db9ee1815945d07e
7
- data.tar.gz: c4082c2b4a770300579aba7bcd4f88b9114a88d7bd4ab291f3dcfb2aaafe0812a3171d3c3bfca33e61a860be11aa4a326b8512df7301c0d91137497e2ca773c3
6
+ metadata.gz: c115f598a06588d99ef63ab97d6d85277472de273f8212af2f93b6972769cfc1faaa23303e1695d3ab77fadb206154578cd1410d5bf264b9c3e962c65e68ea2e
7
+ data.tar.gz: ed1b6971ceb621525768fe60f3a0c326bcd2e1ed59a310cd615d71e4788056bc7d23df0ee6b99000ebe1f19eddc974a5e8fc02413ec1e41f6b171f4855ada68a
data/lib/cfdp_api.rb CHANGED
@@ -23,25 +23,26 @@ require 'openc3/io/json_api'
23
23
  #
24
24
  # In ScriptRunner:
25
25
  # require 'cfdp_api'
26
- # api = CfdpApi.new
26
+ # api = CfdpApi.new()
27
27
  # api.put(...)
28
28
  #
29
29
  # Outside cluster - Open Source:
30
- # require 'cfdp_api'
31
30
  # $openc3_scope = 'DEFAULT'
32
31
  # ENV['OPENC3_API_PASSWORD'] = 'password'
33
- # api = CfdpApi.new(hostname: '127.0.0.1', port: 2900)
32
+ # require 'cfdp_api'
33
+ # api = CfdpApi.new(url: "http://127.0.0.1:2900/cfdp")
34
34
  # api.put(...)
35
35
  #
36
36
  # Outside cluster - Enterprise
37
- # require 'cfdp_api'
38
37
  # $openc3_scope = 'DEFAULT'
39
- # ENV['OPENC3_KEYCLOAK_URL'] = '127.0.0.1:2900'
38
+ # ENV['OPENC3_KEYCLOAK_URL'] = 'http://127.0.0.1:2900/auth'
40
39
  # ENV['OPENC3_API_USER'] = 'operator'
41
40
  # ENV['OPENC3_API_PASSWORD'] = 'operator'
42
- # api = CfdpApi.new(hostname: '127.0.0.1', port: 2900)
41
+ # require 'cfdp_api'
42
+ # api = CfdpApi.new(url: "http://127.0.0.1:2900/cfdp")
43
43
  # api.put(...)
44
44
  #
45
+
45
46
  class CfdpApi < OpenC3::JsonApi
46
47
  def put(
47
48
  destination_entity_id:,
@@ -21,7 +21,7 @@ group :development, :test do
21
21
  end
22
22
 
23
23
  group :test do
24
- gem 'mock_redis', '0.39'
24
+ gem 'mock_redis', '>0.39'
25
25
  end
26
26
 
27
27
  if ENV['OPENC3_DEVEL']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3-cosmos-cfdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
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-11-25 00:00:00.000000000 Z
12
+ date: 2024-06-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: " This plugin provides COSMOS Support for CFDP\n"
15
15
  email:
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubygems_version: 3.3.26
114
+ rubygems_version: 3.3.27
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: OpenC3 COSMOS CFDP