mutx 0.1.60 → 0.1.61

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/documentation/repos.md +32 -0
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db64898abdd2d44ab23e6f719c1a6a3765c3e68e
4
- data.tar.gz: b398b9c30862d107bcf6d0c4aebdf6e769808b7f
3
+ metadata.gz: 575f8f64fa638fa2630e6699d30f84a91ec5a9d4
4
+ data.tar.gz: 17e4493576beeca1e93c3a9e8aac1d2a561dd152
5
5
  SHA512:
6
- metadata.gz: a723eb080b4bc7dea3bc266761d6a40245539b3da7fd95ea7d5ae627e58b4782e551e36a20f3327b9acbc604209662e5129c3aa1f1f0df398c106aebc4a7736f
7
- data.tar.gz: 7e4af75cc7e429b593a2b9400798e7d856f77579847a22371e35a26f31f3bfd8e818c4572ab78ecc473b5fc8e674ed644a8055c70b966f17bc5cdd9b5c89f154
6
+ metadata.gz: b6a63fd3e4d3be6eef7a4a6ee244faf2d502a6abb6d10476fe2064c1f82fb59b9a59cd181a784fe9509f05b0f7d812d4b6e1a8197d7d31038c7c81a03542a23d
7
+ data.tar.gz: 06109ea3161cea8dfaf4cf909616b2b90ef8277ecd877b20e1796f248136b1c57492b2474671b768509fabbcd04246702862391205ddb02843b08a7030ce3b43
@@ -0,0 +1,32 @@
1
+ How do i use the repositories feature?
2
+ =====================================
3
+
4
+ When we have some task or test that consume some information to run, we have the possibility on Mutx to save some info and use the API of repos to check it and use it.
5
+
6
+ To create an info repository
7
+ ===========================
8
+
9
+ We only need to go to the Admin bar and click on 'Repositories'. By default we can view the list of repos. If we want to create a repo, we need to click on 'New Repo', put a name of the new repo and save it, thats it.
10
+
11
+ How to save info inside a repo
12
+ =============================
13
+
14
+ When we create a repo, we have to copy the token that the new repo has (with and invalid token or repo name Mutx will reject the request). To save info we have to make a PUT to an existing repo, for example:
15
+
16
+ PATH/api/<repo_token>/<repo_name>/
17
+
18
+ The value to save must be a JSON in the body of the request, for example:
19
+
20
+ {
21
+ "id": 3,
22
+ "name": "Visa"
23
+ }
24
+
25
+ How to get the info of a repo
26
+ ============================
27
+
28
+ Using the API we can make a GET request to view the info of a repository, for example:
29
+
30
+ PATH/api/repos/<repo_name>
31
+
32
+ The result will be a json with the info of the repo. The values that we previously save will be in the 'values' field.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.60
4
+ version: 0.1.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Rodriguez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-18 00:00:00.000000000 Z
11
+ date: 2017-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -382,6 +382,7 @@ files:
382
382
  - documentation/custom_parameters.md
383
383
  - documentation/document_mutx.md
384
384
  - documentation/link.md
385
+ - documentation/repos.md
385
386
  - documentation/results.md
386
387
  - documentation/start.md
387
388
  - favicon.ico