teuton-get 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +20 -26
- data/lib/teuton-get/downloader.rb +1 -1
- data/lib/teuton-get/repo/repo_data.rb +5 -1
- data/lib/teuton-get/version.rb +1 -1
- data/lib/teuton-get.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93a50919de5a737574cac82c103c752cb63b94e3f57d7c68019b8246d5f2fe02
|
4
|
+
data.tar.gz: 4bb6f76c3a50ec7fb22f4f26d0ba10c922118ef0f864e711a444258a4632f8f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d4c83773f005a8e3d3e0a5a99d6733b60792055d98ee3a975e91fd373966f3cb2c5200ddc5dfc142d098e84831fcfb073c29f67ed681b04c6851c1630b438a8
|
7
|
+
data.tar.gz: 5fd57d8636cbe9958768ecfc12d450dad75db1e15ca405d97c22078fac73b7ea945fd94e5f86fe173b8c7feacada7891cd3fceab5a2035de97185597deccde18
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
[](https://badge.fury.io/rb/teuton-get)
|
2
|
-
|
3
1
|
# Teuton-Get
|
4
2
|
|
3
|
+
[](https://badge.fury.io/rb/teuton-get)
|
4
|
+

|
5
|
+

|
6
|
+
|
5
7
|
* Find and download _Teuton Tests_ from remote or local repositories.
|
6
8
|
* Create _Teuton Test_ repository.
|
7
9
|
|
@@ -9,21 +11,15 @@
|
|
9
11
|
|
10
12
|
# Installation
|
11
13
|
|
12
|
-
|
13
|
-
1. `gem install teuton-get`, to install **teuton-get** gem.
|
14
|
-
|
15
|
-
# Use
|
14
|
+
First install Ruby, then:
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
1. `teutonget download REPONAME:TESTPATH`, download test files.
|
21
|
-
|
22
|
-
## Examples
|
16
|
+
```
|
17
|
+
gem install teuton-get
|
18
|
+
```
|
23
19
|
|
24
|
-
|
20
|
+
# Usage
|
25
21
|
|
26
|
-
*
|
22
|
+
* At first, **create config file**.
|
27
23
|
|
28
24
|
```
|
29
25
|
> teutonget init
|
@@ -33,7 +29,7 @@
|
|
33
29
|
✔ Create file : /home/quigon/.config/teuton/repos.ini
|
34
30
|
```
|
35
31
|
|
36
|
-
* Refresh repo catalog:
|
32
|
+
* **Refresh** repo catalog, from time to time:
|
37
33
|
|
38
34
|
```
|
39
35
|
> teutonget refresh
|
@@ -43,14 +39,14 @@
|
|
43
39
|
✔ Repo teuton.es (4 tests)
|
44
40
|
```
|
45
41
|
|
46
|
-
* Search test:
|
42
|
+
* **Search** test related with "usermin":
|
47
43
|
|
48
44
|
```
|
49
45
|
> teutonget search usermin
|
50
46
|
(x3) teuton.es:sistemas.3/scripting/usermin
|
51
47
|
```
|
52
48
|
|
53
|
-
*
|
49
|
+
* Take a look at **test info**:
|
54
50
|
|
55
51
|
```
|
56
52
|
> teutonget info teuton.es:sistemas.3/scripting/usermin
|
@@ -63,28 +59,26 @@ tags : script, usuario, crear, consultar, listar, eliminar
|
|
63
59
|
files : INSTALL.md, README.md, bin/docker.run, bin/up_environ.sh, config.yaml, lib/docker/consultar.rb, lib/docker/eliminar.rb, lib/docker/help.rb, lib/docker/listar.rb, lib/docker/nuevo.rb, lib/vm/consultar.rb, lib/vm/eliminar.rb, lib/vm/help.rb, lib/vm/listar.rb, lib/vm/nuevo.rb, start.rb, tt-info.yaml, vagrant/install-software.sh, vagrant/profesor.rb, vm.rb, vm.yaml
|
64
60
|
```
|
65
61
|
|
66
|
-
* Download test:
|
62
|
+
* **Download test** "teuton.es:sistemas.3/scripting/usermin":
|
67
63
|
|
68
64
|
```
|
69
65
|
> teutonget download teuton.es:sistemas.3/scripting/usermin
|
70
66
|
|
71
67
|
==> Progress [█████████████████████] 100%
|
72
|
-
==> Download
|
68
|
+
==> Download finished
|
73
69
|
```
|
74
70
|
|
75
|
-
**Example
|
76
|
-
|
77
|
-
Teuton test ID (TESTID) is `REPONAME:TESTPATH`.
|
71
|
+
**Example:** Locate TEST_ID for "debian" related tests.
|
78
72
|
|
79
73
|

|
80
74
|
|
81
|
-
# Contact
|
82
|
-
|
83
|
-
* **Email**: `teuton.software@protonmail.com`
|
84
|
-
|
85
75
|
# Documentation
|
86
76
|
|
87
77
|
* [Settings](docs/settings.md)
|
88
78
|
* [Get](docs/get.md)
|
89
79
|
* [Repository](docs/repo.md)
|
90
80
|
* [Commands](docs/commands.md)
|
81
|
+
|
82
|
+
# Contact
|
83
|
+
|
84
|
+
* **Email**: `teuton.software@protonmail.com`
|
@@ -114,7 +114,11 @@ class RepoData
|
|
114
114
|
|
115
115
|
def get_local_database(dirpath)
|
116
116
|
filepath = File.join(dirpath, Application::INDEXFILENAME)
|
117
|
-
@reader.read(filepath)
|
117
|
+
# @reader.read(filepath) # FIXME
|
118
|
+
YAML.safe_load(
|
119
|
+
File.read(filepath),
|
120
|
+
permitted_classes: [Array, Date, Hash, Symbol]
|
121
|
+
)
|
118
122
|
end
|
119
123
|
|
120
124
|
def get_remote_database(url_repo)
|
data/lib/teuton-get/version.rb
CHANGED
data/lib/teuton-get.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teuton-get
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Vargas Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inifile
|