usd 0.2.4.1 → 0.2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rusdc +4 -4
- data/change_log.md +9 -0
- data/usd.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 515503469768aad64a6610b7fc0b9e8233f0cc77aa765226503e14f9a6d22a51
|
4
|
+
data.tar.gz: ef1b76360680e68fcf1c2fc701757c40632c780be4adc9243890168f19d44a76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 271c5acb4202200f6d3cf82974307262ac99e9d8f42044c4006108001192bed71ffed0d7155ff3b60ebc4f6204f9306282a08bbafab07007cddca1227b08f2ac
|
7
|
+
data.tar.gz: 655db19bfe69c81bd94b4421e54e722012d50b566192d2fac0ef7794c5a2aeef504a40ef3b58d8ea2cddd72f823f503437e8a2ee04ea31aaa09278a3e01b71be
|
data/bin/rusdc
CHANGED
@@ -186,7 +186,7 @@ class Rusdc < Thor
|
|
186
186
|
def get_attachment_of_ci(ciname, filename)
|
187
187
|
att_nr = loadcon.search("lrel_attachments_nr",{'fields' => "attmnt","wc" => "nr.name = '#{ciname}'"})
|
188
188
|
att_nr.each do |att|
|
189
|
-
attmnt = loadcon.request("/caisd-rest/attmnt
|
189
|
+
attmnt = loadcon.request("/caisd-rest/attmnt/#{att["attmnt"]["@id"]}")["attmnt"]
|
190
190
|
if attmnt["orig_file_name"] == filename
|
191
191
|
puts loadcon.request("/caisd-rest/attmnt/#{attmnt["@id"]}/file-resource",{:unchanged => true})
|
192
192
|
end
|
@@ -198,7 +198,7 @@ class Rusdc < Thor
|
|
198
198
|
chg_id=loadcon.request("/caisd-rest/chg/COMMON_NAME-#{coname}")["chg"]["@id"]
|
199
199
|
att_nr = loadcon.search("lrel_attachments_changes",{'fields' => "attmnt","wc" => "chg = #{chg_id}"})
|
200
200
|
att_nr.each do |att|
|
201
|
-
attmnt = loadcon.request("/caisd-rest/attmnt
|
201
|
+
attmnt = loadcon.request("/caisd-rest/attmnt/#{att["attmnt"]["@id"]}")["attmnt"]
|
202
202
|
if attmnt["orig_file_name"] == filename
|
203
203
|
puts loadcon.request("/caisd-rest/attmnt/#{attmnt["@id"]}/file-resource",{:unchanged => true})
|
204
204
|
end
|
@@ -219,7 +219,7 @@ class Rusdc < Thor
|
|
219
219
|
def list_attachments_of_ci(ciname)
|
220
220
|
att_nr = loadcon.search("lrel_attachments_nr",{'fields' => "attmnt","wc" => "nr.name = '#{ciname}'"})
|
221
221
|
att_nr.each do |att|
|
222
|
-
puts loadcon.request("/caisd-rest/attmnt
|
222
|
+
puts loadcon.request("/caisd-rest/attmnt/#{att["attmnt"]["@id"]}")["attmnt"]["orig_file_name"]
|
223
223
|
end
|
224
224
|
end
|
225
225
|
|
@@ -228,7 +228,7 @@ class Rusdc < Thor
|
|
228
228
|
chg_id=loadcon.request("/caisd-rest/chg/COMMON_NAME-#{coname}")["chg"]["@id"]
|
229
229
|
att_nr = loadcon.search("lrel_attachments_changes",{'fields' => "attmnt","wc" => "chg = #{chg_id}"})
|
230
230
|
att_nr.each do |att|
|
231
|
-
puts loadcon.request("/caisd-rest/attmnt
|
231
|
+
puts loadcon.request("/caisd-rest/attmnt/#{att["attmnt"]["@id"]}")["attmnt"]["orig_file_name"]
|
232
232
|
end
|
233
233
|
end
|
234
234
|
|
data/change_log.md
CHANGED
data/usd.gemspec
CHANGED