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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b58cdc805d08c5b444d626a401039c17f29bed21a8a84e6355768a22d8c0ab49
4
- data.tar.gz: 4c0388e03084edd23bff68ee44e3e51be53953049ee6683bb9b9dd2a60baf062
3
+ metadata.gz: c81f9423187a8ffcf126f665330c0daf10e5686ebd40a2e30d7f955af89e6784
4
+ data.tar.gz: 64e6855be58d092184bf72a46e07f9cddefad72c26c026571b19755455b7b140
5
5
  SHA512:
6
- metadata.gz: 3c940d567c3b55d8ed5d81c042d9afbc0536d7ad3f986ba6bf9424e7473a5408ef562798e78de845140cccb4dd65434363a524f928fbab7ae58edc41e893e01e
7
- data.tar.gz: 5588ed15d88d98cb1cb0e2dd8871889ef06d62f98a932e9a50333130cc10efc9c38ef1ea5368a19a535bab1a493af6530f68d2640a5bb71c91e4f137908fcddd
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
- This lib aims to follow a terminal command that is long to execute. It will monitor the CPU usage and the progression of the program (given by its output).
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
- gem install long-command-runner
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://rol_public.gitlab.io/long-command-runner/master/)
31
- - [The coverage](https://rol_public.gitlab.io/long-command-runner/master/coverage)
32
- - [The code quality report](https://rol_public.gitlab.io/long-command-runner/master/rubycritic/overview.html)
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)
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LCR
4
4
  # Version of the library.
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
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.0
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-07 00:00:00.000000000 Z
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. It
112
- will monitor the CPU usage and the progression of the program (given by its output).
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://octopuslab.science/
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: