cotcube-level 0.3.4.2 → 0.3.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bbf4fc1b2edf64ffee60a29ffe7d72a71a4c0f8fb99b889026dce9dbca7399f
4
- data.tar.gz: 59469c2431a20e9e1f07a99e0af61a4fed59ca276a02d654a2f2bd28a8543c04
3
+ metadata.gz: 7a77d2be53fcf299f94403671818d6b31a8f0a3bf5bf59e24ac2ab55986fca91
4
+ data.tar.gz: 84f71776307891edfee1a60fed2c8ae20def673f698becf7b6ad64b817f19971
5
5
  SHA512:
6
- metadata.gz: 78a4cb1a3bc80de5086befc5e927cafc86c38ef62410c4fc9d61e716e929f3847ad4a6ac870d30b94168e10dd72d22267aba8d4d4ae2f52a5e7170454a6864f5
7
- data.tar.gz: 79ed8087a1936cef86257e24c9909f8923902be09e43868ce29deb5b178d03c2d3bbb2700f2bb76f67b2a58a51df930b3bdd41c4134922ed90bd6b2a1f0990ad
6
+ metadata.gz: 0f8620c5666ace4d7cea949f0b3cb28a73acfc9ba3167f4d14742e8637daccb5edf50e37aa62008f966941c36ddd7c3167dd88cb9937e7d4500980affcdd77e4
7
+ data.tar.gz: e63bb887f9b6616aa3f43b7704541094334f79e2398f76c95d7751df58961a844378f5462d2ff3096bc7bf061a3dc98b34355c608d8784f215e0b08b436c2415
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.3.4.3 (December 23, 2021)
2
+ - gemspec: raised activesupport to v7
3
+ - intraday_stencil: changed naming scheme for cachefile
4
+ - eod_stencil: added :timezone to self.provide_eod_stencil
5
+
1
6
  ## 0.3.4.2 (November 28, 2021)
2
7
  - added 2 executables to bin to display eod- and intraday-swaps
3
8
  - helpers: adding ignorance to load_swaps and other, adding .mark_ignored
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4.2
1
+ 0.3.4.3
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
27
  spec.require_paths = ['lib']
28
28
 
29
- spec.add_dependency 'activesupport', '~> 6'
29
+ spec.add_dependency 'activesupport', '~> 7'
30
30
  spec.add_dependency 'colorize', '~> 0.8'
31
31
  spec.add_dependency 'cotcube-helpers', '~> 0.1'
32
32
  spec.add_dependency 'yaml', '~> 0.1'
@@ -58,7 +58,7 @@ module Cotcube
58
58
  measure.call "Starting initialization for asset '#{asset}' "
59
59
 
60
60
  const = "RAW_INTRA_STENCIL_#{@shiftset[:nr]}_#{interval.in_minutes.to_i}_#{weeks}_#{future}".to_sym
61
- cachefile = "/var/cotcube/level/stencils/cache/#{swap_type.to_s}_#{interval}_#{@datetime.strftime('%Y-%m-%d-%H-%M')}.json"
61
+ cachefile = "/var/cotcube/level/stencils/cache/#{asset.to_s}_#{swap_type.to_s}_#{interval}_#{@datetime.strftime('%Y-%m-%d-%H-%M')}.json"
62
62
 
63
63
  if Object.const_defined? const
64
64
  measure.call 'getting cached base from memory'
@@ -175,7 +175,7 @@ module Cotcube
175
175
  end
176
176
 
177
177
  def zero
178
- @zero ||= @base.find{|b| b[:x].zero? }
178
+ index(0)
179
179
  end
180
180
 
181
181
  def index(offset = 0)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cotcube-level
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4.2
4
+ version: 0.3.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin L. Tischendorf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-06 00:00:00.000000000 Z
11
+ date: 2021-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6'
19
+ version: '7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6'
26
+ version: '7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: colorize
29
29
  requirement: !ruby/object:Gem::Requirement