usd 1.0 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rusdc +1 -1
  3. data/usd.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3d2a11346d32e1cd5810370fb50b4dbb4d4da9f36375a27cb26cf39325142b9
4
- data.tar.gz: 00c0893c1b33408e16619aeaaeae67f6396da165d30aefc85bd6b645cbf11482
3
+ metadata.gz: 34c19bfe569d436235dd61b312a9f7edcb191c3598daf05f77c94664efda6a5a
4
+ data.tar.gz: 1e84341f1befdb3eb2dab78e2a0516f7b21b55413e6635da588deefd889d3ce8
5
5
  SHA512:
6
- metadata.gz: 4da79eee6164891fe192dd639d83a28d89593b81f1c816942964991587308299bd1d28a6ced8755c203f8750354ba192615babba1861374bad25b47d0e3bf2b5
7
- data.tar.gz: 193d05f6931a377fe1cd8fd3d5cd3a8cb65296719b58ab2717a7711599c005700bd83d5116d434be68232f90d85b13a84931ef087394fb4e723f4802e0ee6a91
6
+ metadata.gz: 80fa09424ea66980cee551c30dcdc337237c25c125ea66105a43f1672e5da297d9fc64730f4d1e2650ecf2c3692408c22566a447cd3d729a018c2f065276afff
7
+ data.tar.gz: 19172f70b81b7ede21f11639c6469a3f5d85137499e4611b065a3a6042529b3a1aa213d943114dc7ad86024fb2644b5557c9610b6363c6347c0e90505c845df3
data/bin/rusdc CHANGED
@@ -404,7 +404,7 @@ class Rusdc < Thor
404
404
  })
405
405
  data = loadcon.update({:type => "json", :data => json})
406
406
  if data.class == RestClient::BadRequest
407
- puts "direkte Ausführung bekommt einen BadRequest, versuche Update über IDs. #{Usd::CN[obj]}"
407
+ puts "BadRequest-Response from USD-API, try to update via IDs. be aware to specify a ref_obj if it's not nr."
408
408
  cn_id = loadcon.search(obj,{'fields' => "@id","wc" => "#{Usd::CN[obj]} = '#{cn}' and delete_flag = 0"})[0]["@id"]
409
409
  value_id = loadcon.search(ref_obj,{'fields' => "@id","wc" => "#{Usd::CN[obj]} = '#{v}' and delete_flag = 0"})[0]["@id"]
410
410
  invoke "update_ref_attr_by_id", [obj, cn_id, k, value_id]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'usd'
3
- spec.version = '1.0'
3
+ spec.version = '1.1'
4
4
  spec.date = '2020-08-31'
5
5
  spec.summary = "SDM REST-API-Calls"
6
6
  spec.description = "a Ruby class and a commandlinetool for SDM REST-API-Calls"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usd
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Gaida