cosmos 5.0.2.pre.beta2 → 5.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: 3d4390bab17eaae8211e4f962d86736d5c3a421a019c5111f977fc223c7389ef
4
- data.tar.gz: bdda929cc3e78a3ba006dec4cc125cd90a666adb986ac64581d4106cb73f470a
3
+ metadata.gz: f94954d88cfda8c83f25e5f9a073360d2cf2f7ca9ec359212d3aa6c1bce5a909
4
+ data.tar.gz: ab1f28afba922389b69d3c5527944d9e53d8ceca45ebe25746ef1517a44b54b8
5
5
  SHA512:
6
- metadata.gz: '009d045601a68a022b85e0e6c691640c3c796f3276608b0cd749f4ff5cedda2629990b36a2e5aefb6360f05a6874b0587a90579dcf6c5d4919e0b8d913de40d8'
7
- data.tar.gz: e68942874d1957d51f6ab7f355c24220edbdf082aa8b3b441d20997e6fb7f870c5837026cb1a75c8e2a43ff5e7044094c78887c5e24632e053cdeadfb2d51a44
6
+ metadata.gz: 3b5ed0b4186b705cd0360caabbed8f04daac8eaedf9872b8e22fb147c43a0a748fe98afc1b88a8fc99d15d6bd4b3bb9208c1497bb7732f4ef031b856735c6ea7
7
+ data.tar.gz: 9353b73975d3d6c0f84560b388e2d175a70c2cd4d6c03dbe2f92a650368007c6c0b44cb8b114292180284bb1b8cd465e8e680fd4d6da85c125fc6fe853bf7156
@@ -358,10 +358,14 @@ module Cosmos
358
358
  # Request the path by calling the key method. Returns something like this:
359
359
  # DEFAULT/decom_logs/tlm/INST2/MECH/20220104/20220104165449021942700__20220104170449148642700__DEFAULT__INST2__MECH__rt__decom.bin
360
360
  # Thus we split and take the start date/time part of the filename
361
- start = list[0].key.split('/')[-1].split('__')[0]
362
- # Format as YYYY-MM-DD HH:MM:SS for use by the frontend
363
- # utc_time = Time.utc(start[0,4], start[4,2], start[6,2], start[8,2], start[10,2], start[12,2])
364
- return "#{start[0,4]}-#{start[4,2]}-#{start[6,2]} #{start[8,2]}:#{start[10,2]}:#{start[12,2]}"
361
+ if list and list[0]
362
+ start = list[0].key.split('/')[-1].split('__')[0]
363
+ # Format as YYYY-MM-DD HH:MM:SS for use by the frontend
364
+ # utc_time = Time.utc(start[0,4], start[4,2], start[6,2], start[8,2], start[10,2], start[12,2])
365
+ return "#{start[0,4]}-#{start[4,2]}-#{start[6,2]} #{start[8,2]}:#{start[10,2]}:#{start[12,2]}"
366
+ else
367
+ return Time.now.utc.to_s[0..18]
368
+ end
365
369
  end
366
370
 
367
371
  # PRIVATE
@@ -1,13 +1,13 @@
1
1
  # encoding: ascii-8bit
2
2
 
3
- COSMOS_VERSION = '5.0.2-beta2'
3
+ COSMOS_VERSION = '5.0.2'
4
4
  module Cosmos
5
5
  module Version
6
6
  MAJOR = '5'
7
7
  MINOR = '0'
8
8
  PATCH = '2'
9
- OTHER = 'beta2'
10
- BUILD = '86e4fc1b82d7941b7f77e9257ecafafeff9fe3fd'
9
+ OTHER = ''
10
+ BUILD = 'ce01db297de2695bdb78b542c428ca244144d59a'
11
11
  end
12
- VERSION = '5.0.2-beta2'
12
+ VERSION = '5.0.2'
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cosmos
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2.pre.beta2
4
+ version: 5.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
@@ -833,9 +833,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
833
833
  version: '2.7'
834
834
  required_rubygems_version: !ruby/object:Gem::Requirement
835
835
  requirements:
836
- - - ">"
836
+ - - ">="
837
837
  - !ruby/object:Gem::Version
838
- version: 1.3.1
838
+ version: '0'
839
839
  requirements: []
840
840
  rubygems_version: 3.3.5
841
841
  signing_key: