long-command-runner 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -5
- data/lib/long-command-runner/version.rb +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c81f9423187a8ffcf126f665330c0daf10e5686ebd40a2e30d7f955af89e6784
|
4
|
+
data.tar.gz: 64e6855be58d092184bf72a46e07f9cddefad72c26c026571b19755455b7b140
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b9a23c663fe33ec19d02f073664daf7934a5a37bec97862638b487e5e14875b28fdfd6d8175f1a71a55e2997c2df2d17c73132984e628f06f4641a3d6953474
|
7
|
+
data.tar.gz: 27d4338cd2917ac6a057ce89042f9070933eec582fd4de57f6224c288114efeb5377a5dc9f481afd42c6e9ca35bffcdc57197eb1508245dcb8c4413e5ee6bf28
|
data/README.md
CHANGED
@@ -1,10 +1,34 @@
|
|
1
1
|
# Long Command Runner
|
2
2
|
|
3
|
-
|
3
|
+
[![pipeline status](https://gitlab.com/rol_public/long-command-runner/badges/master/pipeline.svg)](https://gitlab.com/rol_public/long-command-runner/commits/master)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/long-command-runner.svg)](https://badge.fury.io/rb/long-command-runner)
|
5
|
+
[![coverage report](https://gitlab.com/rol_public/long-command-runner/badges/master/coverage.svg)](https://gitlab.com/rol_public/long-command-runner/commits/master)
|
6
|
+
|
7
|
+
This lib aims to follow a terminal command that is long to execute and monitor
|
8
|
+
the CPU usage and the progression of the program.
|
9
|
+
|
10
|
+
# Current state and goal
|
11
|
+
|
12
|
+
## Currently (what we have)
|
13
|
+
- monitoring of the progression of the application through the output of the app
|
14
|
+
(I don't think that we can do better)
|
15
|
+
- get the real/user/sys time usage of the application by using the output of the `time` `bash` function.
|
16
|
+
(This make it incompatible with system that doesn't support ouput redirections and bash itself)
|
17
|
+
|
18
|
+
## v1 goal
|
19
|
+
|
20
|
+
- Make it pure ruby solution not depending on `bash`
|
21
|
+
- Realtime mesure of cputime usage
|
4
22
|
|
5
23
|
# Install and usage
|
6
24
|
|
7
|
-
|
25
|
+
Install on your system:
|
26
|
+
|
27
|
+
gem install long-command-runner
|
28
|
+
|
29
|
+
Install through bundler:
|
30
|
+
|
31
|
+
gem 'long-command-runner', , '~> 0.1'
|
8
32
|
|
9
33
|
To use the library:
|
10
34
|
|
@@ -27,6 +51,6 @@ puts 'program ended !'
|
|
27
51
|
|
28
52
|
Here some links:
|
29
53
|
|
30
|
-
- [The documentation](https://
|
31
|
-
- [The coverage](https://
|
32
|
-
- [The code quality report](https://
|
54
|
+
- [The documentation](https://rol-public.gitlab.io/long-command-runner/)
|
55
|
+
- [The coverage](https://rol-public.gitlab.io/long-command-runner/coverage)
|
56
|
+
- [The code quality report](https://rol-public.gitlab.io/long-command-runner/rubycritic/overview.html)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: long-command-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roland Laurès
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -108,8 +108,8 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.9'
|
111
|
-
description: This lib aims to follow a terminal command that is long to execute
|
112
|
-
|
111
|
+
description: This lib aims to follow a terminal command that is long to execute and
|
112
|
+
monitorthe CPU usage and the progression of the program.
|
113
113
|
email: roland@rlaures.pro
|
114
114
|
executables: []
|
115
115
|
extensions: []
|
@@ -122,10 +122,16 @@ files:
|
|
122
122
|
- lib/long-command-runner/runner.rb
|
123
123
|
- lib/long-command-runner/version.rb
|
124
124
|
- lib/long_command_runner.rb
|
125
|
-
homepage: https://
|
125
|
+
homepage: https://gitlab.com/rol-public/long-command-runner
|
126
126
|
licenses:
|
127
127
|
- GNU GPLv3
|
128
|
-
metadata:
|
128
|
+
metadata:
|
129
|
+
bug_tracker_uri: https://gitlab.com/rol-public/long-command-runner/issues
|
130
|
+
documentation_uri: https://rol-public.gitlab.io/long-command-runner
|
131
|
+
homepage_uri: https://gitlab.com/rol-public/long-command-runner
|
132
|
+
mailing_list_uri: https://gitlab.com/rol-public/long-command-runner/issues/service_desk
|
133
|
+
source_code_uri: https://gitlab.com/rol-public/long-command-runner/tree/master
|
134
|
+
wiki_uri: https://gitlab.com/rol-public/long-command-runner/wikis/home
|
129
135
|
post_install_message:
|
130
136
|
rdoc_options: []
|
131
137
|
require_paths:
|