usd 0.0.9 → 0.1.0

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/README.md +49 -0
  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: ac23b21df1f1eddd5b94450043859958fcf0f3ff5d6bae728a8ed6e1f2eb286d
4
- data.tar.gz: bebf1005b8fa6248f830cb2c23209a72b04dab94548b99f0e3799cd1c9fd3e94
3
+ metadata.gz: 9b9d6085759d57ba2fc8414411caae2443c7b936be7efa28078eb8e8b28f21b3
4
+ data.tar.gz: 98a5eb27eeca21188a17442f1e17392ffa5b17d837dc018200d6e2b1b22cbe6f
5
5
  SHA512:
6
- metadata.gz: ee61ab0b4aab5d2442073a1c1b78330270bf6987cd12a71860edc993b576e045590eae219f2fb4b80bc4558b128c39e93afaa2e9f4f11b1188974d293cf88d6c
7
- data.tar.gz: 76ee190df1dcb0227188e563fb53102e9e3de4087bef1af309489e83aeb2ab228d3560ef58c80d6846d93fa98684ccee0df90bee88eee16f0f53121e026ccb82
6
+ metadata.gz: b9ada977cb4500b7d5dc0442b65df4dd36d0202819c080ed78225d332f166918bc0d691a7bbd0a1191d2f14a971ade8348e5601abefa6b573d30d0aa72e0ec01
7
+ data.tar.gz: 3d0c54c51ec22b86291bd2b4696ba4102a58c822da1eaa8dfe283d422fff7c82245621bda25afb3939c32a58918f4951edecafc6708b1bbf322e1b3a4e5a4f18
data/README.md CHANGED
@@ -2,3 +2,52 @@
2
2
  # usd - Ruby Class for SDM REST-API-Calls
3
3
 
4
4
  There is a ruby class and a commandline tool rusdc.
5
+
6
+ # Installation
7
+
8
+ just install the gem:
9
+
10
+ ```
11
+ sudo gem install usd
12
+ ```
13
+
14
+ Be aware that you need some compiler-tools and the ruby headers:
15
+
16
+ ```
17
+ sudo apt-get install build-essential ruby-dev
18
+ ```
19
+
20
+ # External Tools
21
+
22
+ Some external dependencies are:
23
+
24
+ - [jq](https://stedolan.github.io/jq/) - a great tool for query and manipulate json-data
25
+ - [mlr - Miller](http://johnkerl.org/miller/doc/index.html) - a great tool for data-transforming to and from json, csv and many more
26
+
27
+ place both binaries `jq` und `mlr` in a path, which is in your PATH-Environment.
28
+
29
+ # Funktions from the commandline-tool `rusdc`
30
+
31
+ ```
32
+ rusdc
33
+ Commands:
34
+ rusdc chg_add_nr # <CO> <CI> - fügt einer CO ein CI hinzu
35
+ rusdc chg_list_nr # <CO> - listet alle CIs einer CO
36
+ rusdc create # pipe json-data to create object
37
+ rusdc field_names # field_names <object> , listet die Attribute und Beziehungen eines Objektes auf.
38
+ rusdc find # find <object> <where-clause> [fields - Komma getrennt (id,name)] - findet alle Objecte die die wc erfüllen.
39
+ rusdc get # get <object> <cn>
40
+ rusdc get_attachment_of_ci # <ci_name> <filename>
41
+ rusdc get_attachment_of_co # <co_name> <filename>
42
+ rusdc help [COMMAND] # Describe available commands or one specific command
43
+ rusdc list_attachments_of_ci # <ci_name>
44
+ rusdc list_attachments_of_co # <co_name>
45
+ rusdc nr_add_child # <nr-name> <child-name>
46
+ rusdc nr_changes # <nr> [inactive-too] - listet alle offenen Change eines nr, bei Bedarf auch inaktive
47
+ rusdc nr_childs # nr_childs <ci-name> , listet alle Childs eines CI
48
+ rusdc nr_incidents # <nr> [inactive-too] - listet alle offenen Incidents eines nr, bei Bedarf auch inaktive
49
+ rusdc nr_parents # nr_parents <ci-name> , listet alle Parents eines CI
50
+ rusdc update # pipe json-data to update object
51
+ ```
52
+
53
+ the german text will be translated soon.
data/usd.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'usd'
3
- spec.version = '0.0.9'
3
+ spec.version = '0.1.0'
4
4
  spec.date = '2019-10-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: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Gaida