native-package-installer 1.0.9 → 1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aa12c4733223ecb4697821c92e0eaba5112bbfae5a555bfd1c3210d056f5395
|
4
|
+
data.tar.gz: ba2f24290c5a26fe092925136dd29965f9cc8bd803e9c18ad28343b01928f0ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39a5ed187c1f0a687216ccdc18035c9e7ff9f13a963e788831d17c4d9667227cb8aa6e51d3948f08d10f4331c872879e9b8288bca86ea5331abe5e050458279a
|
7
|
+
data.tar.gz: 502a728e427413d0e41f747bad0b6ab4bd4ae0c4ab1578db3ac8c4daa86feaf893446aaaa29b1e6d529572795a3084d4300e375b00ed96bdc41dafc51ec14b69
|
data/README.md
CHANGED
@@ -1,9 +1,16 @@
|
|
1
|
-
#
|
1
|
+
# native-package-installer
|
2
2
|
|
3
|
-
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/native-package-installer.svg)](https://badge.fury.io/rb/native-package-installer)
|
4
|
+
|
5
|
+
Users need to install native packages to install an extension library
|
6
|
+
that depends on native packages. It bores users because users need to
|
7
|
+
install native packages and an extension library separately.
|
8
|
+
native-package-installer helps to install native packages on "gem install".
|
9
|
+
Users can install both native packages and an extension library by one action,
|
10
|
+
"gem install".
|
4
11
|
|
5
12
|
## License
|
6
13
|
|
7
|
-
Copyright (C) 2013-
|
14
|
+
Copyright (C) 2013-2020 Ruby-GNOME Project Team
|
8
15
|
|
9
16
|
LGPL-3 or later. See doc/text/lgpl-3.txt for details.
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.1.1 - 2021-01-17
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* [CentOS 8] Followed the powertools repository name change.
|
8
|
+
|
9
|
+
## 1.1.0 - 2020-04-12
|
10
|
+
|
11
|
+
### Improvements
|
12
|
+
|
13
|
+
* Updated README.
|
14
|
+
[GitHub#11][Patch by kojix2]
|
15
|
+
|
16
|
+
* Added support for Raspbian.
|
17
|
+
[GitHub#12][Patch by xetum]
|
18
|
+
|
19
|
+
### Thanks
|
20
|
+
|
21
|
+
* kojix2
|
22
|
+
|
23
|
+
* xetum
|
24
|
+
|
3
25
|
## 1.0.9 - 2019-12-10
|
4
26
|
|
5
27
|
### Improvements
|
@@ -21,9 +21,15 @@ class NativePackageInstaller
|
|
21
21
|
class << self
|
22
22
|
def current_platform?
|
23
23
|
return false unless File.exist?("/etc/os-release")
|
24
|
-
File.readlines("/etc/os-release").
|
25
|
-
line.chomp
|
24
|
+
File.readlines("/etc/os-release").each do |line|
|
25
|
+
case line.chomp
|
26
|
+
when "ID=debian"
|
27
|
+
return true
|
28
|
+
when "ID=raspbian"
|
29
|
+
return true
|
30
|
+
end
|
26
31
|
end
|
32
|
+
return false
|
27
33
|
end
|
28
34
|
end
|
29
35
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2013-
|
1
|
+
# Copyright (C) 2013-2021 Ruby-GNOME Project Team
|
2
2
|
#
|
3
3
|
# This library is free software: you can redistribute it and/or modify
|
4
4
|
# it under the terms of the GNU Lesser General Public License as published by
|
@@ -14,5 +14,5 @@
|
|
14
14
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
16
|
class NativePackageInstaller
|
17
|
-
VERSION = "1.
|
17
|
+
VERSION = "1.1.1"
|
18
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: native-package-installer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -109,8 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
|
-
|
113
|
-
rubygems_version: 2.7.6.2
|
112
|
+
rubygems_version: 3.3.0.dev
|
114
113
|
signing_key:
|
115
114
|
specification_version: 4
|
116
115
|
summary: native-package-installer helps to install native packages on "gem install"
|