dorian-top 1.0.0 → 1.1.0

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/bin/top +2 -3
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fcf8105bc630b9c030a57cfbc950cd0858789ea42a1a46172a17c91699f8948
4
- data.tar.gz: 6b487c3639faebcb782b1ee660f0ebe4eba50c413fa7bba1c83413ed526a7b3f
3
+ metadata.gz: 2dfe51725b10e92e5ff2fffb29517e4cfa18efa147f852ef8dff3c93f892d4c0
4
+ data.tar.gz: 2011b9062d18f0649031bc75d418f467f37857656c879887a69c3555a2e884a7
5
5
  SHA512:
6
- metadata.gz: af8d343a95eef1e202bde9ab73b965ab2f66d13aef892d936d1349fe44a714e3bdc1d71d7656327774b97f036481f2fb776e787290361739639efa74342d1c0b
7
- data.tar.gz: beb27edf337c5873d03040e86bad71be8026d83e270b42e034d979307a2518d233a77678c4e7fbff2a43c472f5e137013b312b033f7958c649faa582149b24cd
6
+ metadata.gz: c2c86fa1bc5518a31d49d36f8c0bdd4b50f157d3221206216a90531e547571f3ccca4c9e433c46abc9e61eafb48338e9861e3e10e5d763f9b97f589d0750adb6
7
+ data.tar.gz: 3a44a06ea9d35e601b8092c1db7d5f796036a792dbce70925fa76962c4153177db153e12ad44a039864fd6de7725640467135474c82f0a7ab1de4c6fdeb30d06
data/bin/top CHANGED
@@ -26,7 +26,7 @@ parsed =
26
26
  abort parsed.help if parsed.options.help
27
27
 
28
28
  if parsed.options.version
29
- abort File.read(File.expand_path("../../VERSION", __FILE__))
29
+ abort File.read(File.expand_path("../VERSION", __dir__))
30
30
  end
31
31
 
32
32
  HISTORY =
@@ -47,8 +47,7 @@ HISTORY =
47
47
 
48
48
  puts(
49
49
  HISTORY
50
- .map(&:split)
51
- .map(&:first)
50
+ .map { |line| line.split.first }
52
51
  .tally
53
52
  .to_a
54
53
  .sort_by(&:last)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-top
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-24 00:00:00.000000000 Z
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dorian-arguments
@@ -43,9 +43,9 @@ require_paths:
43
43
  - lib
44
44
  required_ruby_version: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: '0'
48
+ version: 3.3.4
49
49
  required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="