kishu 1.0.3 → 1.0.4
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 +4 -4
- data/Gemfile.lock +55 -22
- data/lib/kishu/report.rb +5 -3
- data/lib/kishu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c5039a4c501c6311316782d1b5b994c9c03a3ead5235b8a87f521cc46923ef4
|
|
4
|
+
data.tar.gz: a9c5025acaa1aeb4850d790462cb9a20d6eb13adc13da487ed8ecfed7aa4a2d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b61501641cf236fe67b9758eeb150a0ac352689a6fdff8f944fbf0dff4cf3b9025867584ff2fef0ed2e6bf1232cbf122bdf07a56c9851e4cd2dbd86ee30ba67
|
|
7
|
+
data.tar.gz: 4ac23048f6b775c3c3ed5be60a64d62fe19a8e6bf28de85042aad999123300a148c8e4feb6a56db96229814d73f8d861749aecc22d3cca1b5e90d3356c973fce
|
data/Gemfile.lock
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
kishu (0.
|
|
4
|
+
kishu (1.0.4)
|
|
5
5
|
bolognese (~> 0.9, >= 0.10)
|
|
6
6
|
builder (~> 3.2, >= 3.2.2)
|
|
7
7
|
dotenv (~> 2.1, >= 2.1.1)
|
|
8
8
|
elasticsearch (~> 6.1.0)
|
|
9
9
|
faraday (~> 0.15.3)
|
|
10
10
|
faraday_middleware-aws-sigv4 (~> 0.2.4)
|
|
11
|
+
guard (~> 2.15.0)
|
|
11
12
|
maremma (>= 4.1, < 5)
|
|
12
13
|
sucker_punch (~> 2.0)
|
|
13
14
|
thor (~> 0.19)
|
|
@@ -15,14 +16,16 @@ PATH
|
|
|
15
16
|
GEM
|
|
16
17
|
remote: https://rubygems.org/
|
|
17
18
|
specs:
|
|
18
|
-
activesupport (5.2.
|
|
19
|
+
activesupport (5.2.3)
|
|
19
20
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
20
21
|
i18n (>= 0.7, < 2)
|
|
21
22
|
minitest (~> 5.1)
|
|
22
23
|
tzinfo (~> 1.1)
|
|
23
|
-
addressable (2.
|
|
24
|
+
addressable (2.6.0)
|
|
24
25
|
public_suffix (>= 2.0.2, < 4.0)
|
|
25
|
-
aws-
|
|
26
|
+
aws-eventstream (1.0.3)
|
|
27
|
+
aws-sigv4 (1.1.0)
|
|
28
|
+
aws-eventstream (~> 1.0, >= 1.0.2)
|
|
26
29
|
benchmark_methods (0.7)
|
|
27
30
|
bibtex-ruby (4.4.7)
|
|
28
31
|
latex-decode (~> 0.0)
|
|
@@ -54,8 +57,9 @@ GEM
|
|
|
54
57
|
citeproc-ruby (1.1.10)
|
|
55
58
|
citeproc (~> 1.0, >= 1.0.9)
|
|
56
59
|
csl (~> 1.5)
|
|
60
|
+
coderay (1.1.2)
|
|
57
61
|
colorize (0.8.1)
|
|
58
|
-
concurrent-ruby (1.1.
|
|
62
|
+
concurrent-ruby (1.1.5)
|
|
59
63
|
crack (0.4.3)
|
|
60
64
|
safe_yaml (~> 1.0.0)
|
|
61
65
|
crass (1.0.4)
|
|
@@ -65,7 +69,7 @@ GEM
|
|
|
65
69
|
csl (~> 1.0)
|
|
66
70
|
diff-lcs (1.3)
|
|
67
71
|
docile (1.1.5)
|
|
68
|
-
dotenv (2.
|
|
72
|
+
dotenv (2.7.2)
|
|
69
73
|
ebnf (1.1.3)
|
|
70
74
|
rdf (~> 3.0)
|
|
71
75
|
sxp (~> 1.0)
|
|
@@ -79,7 +83,7 @@ GEM
|
|
|
79
83
|
elasticsearch-transport (6.1.0)
|
|
80
84
|
faraday
|
|
81
85
|
multi_json
|
|
82
|
-
excon (0.
|
|
86
|
+
excon (0.64.0)
|
|
83
87
|
factory_bot (4.11.1)
|
|
84
88
|
activesupport (>= 3.0.0)
|
|
85
89
|
faraday (0.15.4)
|
|
@@ -91,19 +95,30 @@ GEM
|
|
|
91
95
|
faraday_middleware-aws-sigv4 (0.2.4)
|
|
92
96
|
aws-sigv4 (~> 1.0)
|
|
93
97
|
faraday (>= 0.9)
|
|
98
|
+
ffi (1.10.0)
|
|
99
|
+
formatador (0.2.5)
|
|
94
100
|
gender_detector (0.1.2)
|
|
95
101
|
unicode_utils (>= 1.3.0)
|
|
102
|
+
guard (2.15.0)
|
|
103
|
+
formatador (>= 0.2.4)
|
|
104
|
+
listen (>= 2.7, < 4.0)
|
|
105
|
+
lumberjack (>= 1.0.12, < 2.0)
|
|
106
|
+
nenv (~> 0.1)
|
|
107
|
+
notiffany (~> 0.0)
|
|
108
|
+
pry (>= 0.9.12)
|
|
109
|
+
shellany (~> 0.0)
|
|
110
|
+
thor (>= 0.18.1)
|
|
96
111
|
haml (5.0.4)
|
|
97
112
|
temple (>= 0.8.0)
|
|
98
113
|
tilt
|
|
99
114
|
hamster (3.0.0)
|
|
100
115
|
concurrent-ruby (~> 1.0)
|
|
101
|
-
hashdiff (0.3.
|
|
116
|
+
hashdiff (0.3.9)
|
|
102
117
|
htmlentities (4.3.4)
|
|
103
|
-
i18n (1.
|
|
118
|
+
i18n (1.6.0)
|
|
104
119
|
concurrent-ruby (~> 1.0)
|
|
105
120
|
iso8601 (0.9.1)
|
|
106
|
-
json (2.
|
|
121
|
+
json (2.2.0)
|
|
107
122
|
json-ld (2.2.1)
|
|
108
123
|
multi_json (~> 1.12)
|
|
109
124
|
rdf (>= 2.2.8, < 4.0)
|
|
@@ -112,10 +127,15 @@ GEM
|
|
|
112
127
|
trollop (~> 2)
|
|
113
128
|
latex-decode (0.3.1)
|
|
114
129
|
link_header (0.0.8)
|
|
130
|
+
listen (3.1.5)
|
|
131
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
132
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
|
133
|
+
ruby_dep (~> 1.2)
|
|
115
134
|
loofah (2.2.3)
|
|
116
135
|
crass (~> 1.0.2)
|
|
117
136
|
nokogiri (>= 1.5.9)
|
|
118
|
-
|
|
137
|
+
lumberjack (1.0.13)
|
|
138
|
+
maremma (4.2.1)
|
|
119
139
|
activesupport (>= 4.2.5, < 6)
|
|
120
140
|
addressable (>= 2.3.6)
|
|
121
141
|
builder (~> 3.2, >= 3.2.2)
|
|
@@ -126,24 +146,35 @@ GEM
|
|
|
126
146
|
multi_json (~> 1.12)
|
|
127
147
|
nokogiri (~> 1.8.1)
|
|
128
148
|
oj (>= 2.8.3)
|
|
149
|
+
method_source (0.9.2)
|
|
129
150
|
mini_portile2 (2.3.0)
|
|
130
151
|
minitest (5.11.3)
|
|
131
152
|
multi_json (1.13.1)
|
|
132
153
|
multipart-post (2.0.0)
|
|
133
154
|
namae (1.0.1)
|
|
155
|
+
nenv (0.3.0)
|
|
134
156
|
nokogiri (1.8.5)
|
|
135
157
|
mini_portile2 (~> 2.3.0)
|
|
158
|
+
notiffany (0.1.1)
|
|
159
|
+
nenv (~> 0.1)
|
|
160
|
+
shellany (~> 0.0)
|
|
136
161
|
oj (2.18.5)
|
|
137
|
-
postrank-uri (1.0.
|
|
138
|
-
addressable (>= 2.
|
|
139
|
-
nokogiri (>= 1.
|
|
162
|
+
postrank-uri (1.0.24)
|
|
163
|
+
addressable (>= 2.4.0)
|
|
164
|
+
nokogiri (>= 1.8.0)
|
|
140
165
|
public_suffix (>= 2.0.0, < 2.1)
|
|
166
|
+
pry (0.12.2)
|
|
167
|
+
coderay (~> 1.1.0)
|
|
168
|
+
method_source (~> 0.9.0)
|
|
141
169
|
public_suffix (2.0.5)
|
|
142
|
-
rack (2.0.
|
|
170
|
+
rack (2.0.7)
|
|
143
171
|
rack-test (0.8.3)
|
|
144
172
|
rack (>= 1.0, < 3)
|
|
145
173
|
rake (10.5.0)
|
|
146
|
-
|
|
174
|
+
rb-fsevent (0.10.3)
|
|
175
|
+
rb-inotify (0.10.0)
|
|
176
|
+
ffi (~> 1.0)
|
|
177
|
+
rdf (3.0.12)
|
|
147
178
|
hamster (~> 3.0)
|
|
148
179
|
link_header (~> 0.0, >= 0.0.8)
|
|
149
180
|
rdf-aggregate-repo (2.2.1)
|
|
@@ -170,14 +201,16 @@ GEM
|
|
|
170
201
|
rspec-mocks (~> 3.8.0)
|
|
171
202
|
rspec-core (3.8.0)
|
|
172
203
|
rspec-support (~> 3.8.0)
|
|
173
|
-
rspec-expectations (3.8.
|
|
204
|
+
rspec-expectations (3.8.3)
|
|
174
205
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
175
206
|
rspec-support (~> 3.8.0)
|
|
176
207
|
rspec-mocks (3.8.0)
|
|
177
208
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
178
209
|
rspec-support (~> 3.8.0)
|
|
179
210
|
rspec-support (3.8.0)
|
|
180
|
-
|
|
211
|
+
ruby_dep (1.5.0)
|
|
212
|
+
safe_yaml (1.0.5)
|
|
213
|
+
shellany (0.0.1)
|
|
181
214
|
simplecov (0.14.1)
|
|
182
215
|
docile (~> 1.1.0)
|
|
183
216
|
json (>= 1.8, < 3)
|
|
@@ -185,9 +218,9 @@ GEM
|
|
|
185
218
|
simplecov-html (0.10.2)
|
|
186
219
|
sucker_punch (2.1.1)
|
|
187
220
|
concurrent-ruby (~> 1.0)
|
|
188
|
-
sxp (1.0.
|
|
189
|
-
rdf (
|
|
190
|
-
temple (0.8.
|
|
221
|
+
sxp (1.0.2)
|
|
222
|
+
rdf (~> 3.0)
|
|
223
|
+
temple (0.8.1)
|
|
191
224
|
thor (0.20.3)
|
|
192
225
|
thread_safe (0.3.6)
|
|
193
226
|
tilt (2.0.9)
|
|
@@ -196,7 +229,7 @@ GEM
|
|
|
196
229
|
thread_safe (~> 0.1)
|
|
197
230
|
unicode_utils (1.4.0)
|
|
198
231
|
vcr (3.0.3)
|
|
199
|
-
webmock (3.
|
|
232
|
+
webmock (3.5.1)
|
|
200
233
|
addressable (>= 2.3.6)
|
|
201
234
|
crack (>= 0.3.2)
|
|
202
235
|
hashdiff
|
data/lib/kishu/report.rb
CHANGED
|
@@ -142,15 +142,17 @@ module Kishu
|
|
|
142
142
|
headers: headers,
|
|
143
143
|
timeout: 100)
|
|
144
144
|
|
|
145
|
-
puts body
|
|
146
|
-
puts headers
|
|
145
|
+
# puts body
|
|
146
|
+
# puts headers
|
|
147
147
|
|
|
148
148
|
@uid = request.body.dig("data","report","id")
|
|
149
149
|
@logger.info "#{LOGS_TAG} Hub response #{request.status} for Report finishing in #{@after}"
|
|
150
150
|
@logger.info "#{LOGS_TAG} Hub response #{@uid} for Report finishing in #{@after}"
|
|
151
151
|
n += 1
|
|
152
152
|
break if request.status == 201
|
|
153
|
-
|
|
153
|
+
@logger.info "#{LOGS_TAG} Too many attempts were tried to push this report in #{@after}"
|
|
154
|
+
# fail "#{LOGS_TAG} Too many attempts were tried to push this report" if n > 1
|
|
155
|
+
break if n > 1
|
|
154
156
|
sleep 1
|
|
155
157
|
end
|
|
156
158
|
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.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kristian Garza
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|