kishu 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kishu/s3.rb +4 -1
- data/lib/kishu/sushi.rb +4 -2
- data/lib/kishu/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9a72d0115d177b245a1847cd6b3707b8a7b20d552666e8a2e1d005f41aada1d
|
4
|
+
data.tar.gz: 868fb97bbedb22d01d46bd11559268d102d09eaf01c897e686f84b87084fea18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d11de678ce4948956207bf7fe8e481ab90f5d69b1098c8faa9de7fb0988672c2f2c942dd38a2497e7f85c9d90ca9e81c5747c2e8a077935b34b07281f7656be3
|
7
|
+
data.tar.gz: 8eeaf42007bea19d16990c0c8551ab361a84ed61e6349a37f2b958a6d1c046f84d0cbec26737e7924122290b2b892a4b5554440bb7fa3b5a4b9458b2fe071b93
|
data/lib/kishu/s3.rb
CHANGED
data/lib/kishu/sushi.rb
CHANGED
@@ -69,8 +69,10 @@ module Kishu
|
|
69
69
|
|
70
70
|
desc "is ES running", "check es is working"
|
71
71
|
def elasticsearch_results
|
72
|
-
es = Client.
|
73
|
-
|
72
|
+
es = Client.new()
|
73
|
+
es = es.get({aggs_size: 10, after_key: ""})
|
74
|
+
puts es.dig("hits","total")
|
75
|
+
puts "Aggregations:" + es.fetch("aggregations",[]).first.to_s
|
74
76
|
end
|
75
77
|
|
76
78
|
end
|
data/lib/kishu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kishu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kristian Garza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -386,8 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
386
386
|
- !ruby/object:Gem::Version
|
387
387
|
version: '0'
|
388
388
|
requirements: []
|
389
|
-
|
390
|
-
rubygems_version: 2.7.8
|
389
|
+
rubygems_version: 3.0.0
|
391
390
|
signing_key:
|
392
391
|
specification_version: 4
|
393
392
|
summary: Client for DOI Resolution Logs processing pipeline
|