swapus 1.0.0 → 1.0.1

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.
Files changed (7) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -2
  3. data/README.md +19 -1
  4. data/VERSION +1 -1
  5. data/bin/swapus +16 -0
  6. data/swapus.gemspec +1 -1
  7. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6afd21538495a4f1726a3328237c33862304409a
4
- data.tar.gz: 3dd7c28f487e2aa87d244b9e71d4550ecf37e2b6
3
+ metadata.gz: 26e3d01060b648dbb90a40a718c9c391b662136c
4
+ data.tar.gz: b870379263609bb788609cdbf35b3784186008f8
5
5
  SHA512:
6
- metadata.gz: 40e781e20cae1687ef230e902a6554bca3eb4484db622a839bf2a0e438c1fffee6eac1aea0a5dcc877cbde6ef0b78acb150f952e8c5a77860010aa6e0aa7c692
7
- data.tar.gz: 2aa71291c431b1054d28d273eb8105ccf6387e5e25e08186f82b8451117a057a5de7e4051b7ed0f1e9162391cf95aba8346e7db1a9d1e636b6d1d9c19283295b
6
+ metadata.gz: 128538fe103af350af5fc58cbef0eafc86a3eb4d3341f3aa66b40c4e4d302bf367ac79d8e7c8d1f9e808d6ab95ec514eefc36248f8d339b81b9f324c3a2f51d5
7
+ data.tar.gz: 8cf5b4465fa891581ec301352483d385475d91498d346c68b4e888242be629acae2b328835bf1281f0d4256dd98c654f64c576e54b58547081c8c2ecc7a571a0
data/.travis.yml CHANGED
@@ -3,8 +3,6 @@ dist: precise
3
3
  rvm:
4
4
  - 2.4.2
5
5
  - 2.3.5
6
- - 2.2.8
7
- - 2.1.10
8
6
  install:
9
7
  - bundle install
10
8
  - gem build swapus.gemspec
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Swapus
2
- [![Version](https://img.shields.io/badge/latest_version-1.0.0-green.svg)](https://github.com/nishiki/swapus/releases)
2
+ [![Version](https://img.shields.io/badge/latest_version-1.0.1-green.svg)](https://github.com/nishiki/swapus/releases)
3
3
  [![Build Status](https://travis-ci.org/nishiki/swapus.svg?branch=master)](https://travis-ci.org/nishiki/swapus)
4
4
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/nishiki/swapus/blob/master/LICENSE)
5
5
 
@@ -28,3 +28,21 @@ Output with the swap usage, pid and the command:
28
28
  1088 kB [3253] irssi
29
29
  1716 kB [275] /lib/systemd/systemd-udevd
30
30
  ```
31
+
32
+ ## License
33
+
34
+ ```
35
+ Copyright (c) 2017 Adrien Waksberg
36
+
37
+ Licensed under the Apache License, Version 2.0 (the "License");
38
+ you may not use this file except in compliance with the License.
39
+ You may obtain a copy of the License at
40
+
41
+ http://www.apache.org/licenses/LICENSE-2.0
42
+
43
+ Unless required by applicable law or agreed to in writing, software
44
+ distributed under the License is distributed on an "AS IS" BASIS,
45
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46
+ See the License for the specific language governing permissions and
47
+ limitations under the License.
48
+ ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
data/bin/swapus CHANGED
@@ -1,4 +1,20 @@
1
1
  #!/usr/bin/env ruby
2
+ # Licensed to the Apache Software Foundation (ASF) under one
3
+ # or more contributor license agreements. See the NOTICE file
4
+ # distributed with this work for additional information
5
+ # regarding copyright ownership. The ASF licenses this file
6
+ # to you under the Apache License, Version 2.0 (the
7
+ # "License"); you may not use this file except in compliance
8
+ # with the License. You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing,
13
+ # software distributed under the License is distributed on an
14
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ # KIND, either express or implied. See the License for the
16
+ # specific language governing permissions and limitations
17
+ # under the License.
2
18
 
3
19
  class SwapUsage
4
20
  def initialize
data/swapus.gemspec CHANGED
@@ -15,5 +15,5 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ['lib']
17
17
 
18
- spec.required_ruby_version = '>= 2.1'
18
+ spec.required_ruby_version = '>= 2.3'
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swapus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Waksberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2017-11-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -39,7 +39,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: '2.1'
42
+ version: '2.3'
43
43
  required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  requirements: []
49
49
  rubyforge_project:
50
- rubygems_version: 2.6.11
50
+ rubygems_version: 2.6.12
51
51
  signing_key:
52
52
  specification_version: 4
53
53
  summary: Swapus is a little software to get processes who use swap.