native-package-installer 1.1.8 → 1.1.9
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: bc477741b9c25e2c086c44ae179746419fb06a1967d033904291398e3b501f1a
|
4
|
+
data.tar.gz: f56f3339582e753d3965ad6ca935da794b4df759bbf721dd0285a57dd561b485
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 949666110b72b830371016e9e1f200a2ed099dcf7438f43584d4915a2f19c7764067133cb760bdcf56f5b162b32764658908e717d23a3b9d80846c5727b87012
|
7
|
+
data.tar.gz: 5604dd3a6843882f05b12e9b6800a97d88bd815f133da0d6a3ff6beb05505075d95d5684d2f6ef29f9ad681775eb50310928e0acbd532558ce3d29d2e26b81b3
|
data/doc/text/news.md
CHANGED
@@ -0,0 +1,41 @@
|
|
1
|
+
# Copyright (C) 2023 Ruby-GNOME Project Team
|
2
|
+
#
|
3
|
+
# This library is free software: you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
5
|
+
# the Free Software Foundation, either version 3 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This program is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public License
|
14
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
|
+
|
16
|
+
class NativePackageInstaller
|
17
|
+
module Platform
|
18
|
+
class AlpineLinux
|
19
|
+
Platform.register(self)
|
20
|
+
|
21
|
+
class << self
|
22
|
+
def current_platform?
|
23
|
+
os_release = OSRelease.new
|
24
|
+
os_release.id == "alpine"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def package(spec)
|
29
|
+
spec[:alpine_linux]
|
30
|
+
end
|
31
|
+
|
32
|
+
def install_command
|
33
|
+
"apk add"
|
34
|
+
end
|
35
|
+
|
36
|
+
def need_super_user_priviledge?
|
37
|
+
true
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
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.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
Users need to install native packages to install an extension library
|
@@ -33,6 +33,7 @@ files:
|
|
33
33
|
- lib/native-package-installer/executable-finder.rb
|
34
34
|
- lib/native-package-installer/os-release.rb
|
35
35
|
- lib/native-package-installer/platform.rb
|
36
|
+
- lib/native-package-installer/platform/alpine-linux.rb
|
36
37
|
- lib/native-package-installer/platform/alt-linux.rb
|
37
38
|
- lib/native-package-installer/platform/amazon-linux-2.rb
|
38
39
|
- lib/native-package-installer/platform/amazon-linux-2023.rb
|
@@ -70,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
71
|
- !ruby/object:Gem::Version
|
71
72
|
version: '0'
|
72
73
|
requirements: []
|
73
|
-
rubygems_version: 3.5.
|
74
|
+
rubygems_version: 3.5.1
|
74
75
|
signing_key:
|
75
76
|
specification_version: 4
|
76
77
|
summary: native-package-installer helps to install native packages on "gem install"
|