relaton-index 0.2.6 → 0.2.7

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: 5c6f43554b0c62821e94d987ba3d9f9fab5be724206b33bb076062bc95ac2784
4
- data.tar.gz: a0173e701a42f1ddb9851817471454598f9b60106c238fb6fc65100190ebb6b2
3
+ metadata.gz: bf7b77a3f6cba821dfa2cff1ebed3ac0462c13620387f6498f6bf85603cc8224
4
+ data.tar.gz: dd0ff5e5da00c7797f71323b65728b80c7d70ed7f348c59ba7d06d59d89e57eb
5
5
  SHA512:
6
- metadata.gz: 51016e19a53b7a161112ad5a041af0d80d01b06cda5a304fad3786a024136ab77ddf66de95cdbcba6f69f6ba9bd9dc4b1cf5df020fbd93a59ab34163d6d0a566
7
- data.tar.gz: 6a47dd6e50f542aea778755cbfb7dbdfb40364cdf7ef95fbea862ec058914d216dc3e3566dd100f75e3cae6f59444edab4517fd0b59fb3acd7cb436156021f86
6
+ metadata.gz: a6aeaa0052cd0c80ccef916c6c56aa09d6aea73f814630a7b0f57a3f267538a636a05e572cff8130571ee34b37f59b0851d07f3940ea0496aa13d823c978aa02
7
+ data.tar.gz: e5e91870084bd6062faac4a8f705fbd74379353e759cf00eeebd93b0200ff0bf92124c2ef0c5144da00323b62eed30f086e42019a83782d4bc2cecab7a41a581
@@ -113,11 +113,11 @@ module Relaton
113
113
  end
114
114
 
115
115
  def warn_local_index_error(reason)
116
- warn "[relaton] #{reason} file #{file}"
116
+ warn "[relaton-#{@dir}] #{reason} file #{file}"
117
117
  if url.is_a? String
118
- warn "[relaton] Considering #{file} file corrupt, re-downloading from #{url}"
118
+ warn "[relaton-#{@dir}] Considering #{file} file corrupt, re-downloading from #{url}"
119
119
  else
120
- warn "[relaton] Considering #{file} file corrupt, removing it."
120
+ warn "[relaton-#{@dir}] Considering #{file} file corrupt, removing it."
121
121
  remove
122
122
  end
123
123
  end
@@ -133,7 +133,7 @@ module Relaton
133
133
  entry = zip.get_next_entry
134
134
  index = YAML.safe_load(entry.get_input_stream.read, permitted_classes: [Symbol])
135
135
  save index
136
- warn "[relaton] Downloaded index from #{url}"
136
+ warn "[relaton-#{@dir}] Downloaded index from #{url}"
137
137
  return index if check_format index
138
138
 
139
139
  warn_remote_index_error "Wrong structure of"
@@ -142,7 +142,7 @@ module Relaton
142
142
  end
143
143
 
144
144
  def warn_remote_index_error(reason)
145
- warn "[relaton] #{reason} newly downloaded file " \
145
+ warn "[relaton-#{@dir}] #{reason} newly downloaded file " \
146
146
  "at #{file} #{url}, the remote index seems to be invalid." \
147
147
  "Please report this issue at https://github.com/relaton/relaton-cli."
148
148
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Relaton
4
4
  module Index
5
- VERSION = "0.2.6"
5
+ VERSION = "0.2.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-index
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-16 00:00:00.000000000 Z
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip