calicli 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -10
- data/lib/calicli/cli.rb +2 -2
- data/lib/calicli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abdf97de12c5f1f0c7ecac361f8955471f943fb7b5a55e0d34799e5fed316ffe
|
4
|
+
data.tar.gz: 1a17c026ee300bca76dbe2bfcee1e5d87566f0a784ad5fa859f7ac09cd2b0d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a62903c8535df9704b13bcd4e42c3684b8db20700f5cccacdef2896e2860ceb2d7c67b48706c415e96168372aec94065f8ba40ac36b459180a56d77508de60c
|
7
|
+
data.tar.gz: b787e299ece3725eb6c9680907949d4cd61a24de9b9a6f99975fa5e1d600ac20452f53074a737ba7dd3a8fd9d5540ba30d92098a580cb01c0ad96eb31da3bd87
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
calicli (
|
4
|
+
calicli (1.0.0)
|
5
5
|
activerecord (~> 5.0.0)
|
6
6
|
activesupport (~> 5.0.0)
|
7
7
|
awesome_print
|
@@ -31,25 +31,25 @@ GEM
|
|
31
31
|
arel (7.1.4)
|
32
32
|
awesome_print (1.9.2)
|
33
33
|
aws-eventstream (1.2.0)
|
34
|
-
aws-partitions (1.
|
35
|
-
aws-sdk-core (3.
|
34
|
+
aws-partitions (1.711.0)
|
35
|
+
aws-sdk-core (3.170.0)
|
36
36
|
aws-eventstream (~> 1, >= 1.0.2)
|
37
37
|
aws-partitions (~> 1, >= 1.651.0)
|
38
38
|
aws-sigv4 (~> 1.5)
|
39
39
|
jmespath (~> 1, >= 1.6.1)
|
40
|
-
aws-sdk-kms (1.
|
40
|
+
aws-sdk-kms (1.62.0)
|
41
41
|
aws-sdk-core (~> 3, >= 3.165.0)
|
42
42
|
aws-sigv4 (~> 1.1)
|
43
|
-
aws-sdk-s3 (1.
|
43
|
+
aws-sdk-s3 (1.119.1)
|
44
44
|
aws-sdk-core (~> 3, >= 3.165.0)
|
45
45
|
aws-sdk-kms (~> 1)
|
46
46
|
aws-sigv4 (~> 1.4)
|
47
|
-
aws-sdk-sqs (1.
|
47
|
+
aws-sdk-sqs (1.53.0)
|
48
48
|
aws-sdk-core (~> 3, >= 3.165.0)
|
49
49
|
aws-sigv4 (~> 1.1)
|
50
50
|
aws-sigv4 (1.5.2)
|
51
51
|
aws-eventstream (~> 1, >= 1.0.2)
|
52
|
-
concurrent-ruby (1.
|
52
|
+
concurrent-ruby (1.2.0)
|
53
53
|
domain_name (0.5.20190701)
|
54
54
|
unf (>= 0.0.5, < 1.0.0)
|
55
55
|
http-accept (1.7.0)
|
@@ -58,17 +58,17 @@ GEM
|
|
58
58
|
i18n (1.12.0)
|
59
59
|
concurrent-ruby (~> 1.0)
|
60
60
|
jmespath (1.6.2)
|
61
|
-
jwt (2.
|
61
|
+
jwt (2.6.0)
|
62
62
|
mime-types (3.4.1)
|
63
63
|
mime-types-data (~> 3.2015)
|
64
64
|
mime-types-data (3.2022.0105)
|
65
65
|
minitest (5.16.3)
|
66
66
|
mysql2 (0.5.4)
|
67
67
|
netrc (0.11.0)
|
68
|
-
nokogiri (1.
|
68
|
+
nokogiri (1.14.2-arm64-darwin)
|
69
69
|
racc (~> 1.4)
|
70
70
|
quick_store (1.0.0)
|
71
|
-
racc (1.6.
|
71
|
+
racc (1.6.2)
|
72
72
|
rake (13.0.6)
|
73
73
|
rest-client (2.1.0)
|
74
74
|
http-accept (>= 1.7.0, < 2.0)
|
data/lib/calicli/cli.rb
CHANGED
@@ -12,6 +12,7 @@ module Calicli
|
|
12
12
|
harvest_id = QuickStore.store.get(:harvest_id)
|
13
13
|
run_number =QuickStore.store.get(:run_number)
|
14
14
|
puts "Storage: harvest_id=#{harvest_id}, run_number=#{run_number}"
|
15
|
+
puts "Connection: harvest_count=#{Harvest.count}"
|
15
16
|
end
|
16
17
|
|
17
18
|
desc "clean storage", "cleans the local storage"
|
@@ -41,7 +42,6 @@ module Calicli
|
|
41
42
|
puts "Blocks: #{Block.count}"
|
42
43
|
Block.find_each do |b|
|
43
44
|
puts "#{b.iID_BLOQUE} => #{b.sDESCRIPCION}"
|
44
|
-
puts " => #{b.areas.count}"
|
45
45
|
b.areas.each do |a|
|
46
46
|
puts " => #{a.sDESCRIPCION} : area=#{a.dAREA}, dist=#{a.dDISTANCIA}"
|
47
47
|
end
|
@@ -92,7 +92,7 @@ module Calicli
|
|
92
92
|
puts "date=#{date.beginning_of_day} .... #{date.end_of_day}"
|
93
93
|
arel = arel.where(dtFECHA: date.beginning_of_day..date.end_of_day)
|
94
94
|
else last_processed
|
95
|
-
arel = arel.where("iID_ENTREGA > ?",
|
95
|
+
arel = arel.where("iID_ENTREGA > ?", last_processed)
|
96
96
|
end
|
97
97
|
|
98
98
|
if by_run
|
data/lib/calicli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calicli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josef Sauter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: '0'
|
210
210
|
requirements: []
|
211
|
-
rubygems_version: 3.
|
211
|
+
rubygems_version: 3.1.4
|
212
212
|
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: Calinda Sync Ops
|