native-package-installer 1.0.4 → 1.0.5
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ab9676006e47245974193589cc2dc1d7d2458ca
|
4
|
+
data.tar.gz: dfe5a5ea8d47fe26cd6846a1927917d98a93dcc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3afb0b87c15fa1568838bcebcb277a0022e027630f45ae6c3da340e5a710865328f3b581efd0d400a60dfccbd088006954c1818853251107ce7041067fd0097
|
7
|
+
data.tar.gz: e6e0dbbfb96804dc170ad408a5a96a47347c94c43841f61ed7969b3acb6328d32e8c38353f808f0646816d91cde7ac92d933c622a1775c06664057187d8a9a9e
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.0.5 - 2017-11-11
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Removed needless Packnga development dependency.
|
8
|
+
[GitHub#4][Patch by HIGUCHI Daisuke]
|
9
|
+
|
10
|
+
* Added PLD Linux support.
|
11
|
+
[GitHub#6][Patch by Elan Ruusamäe]
|
12
|
+
|
13
|
+
### Fixes
|
14
|
+
|
15
|
+
* Fixed a bug that `:redhat` package isn't used for Fedora platform.
|
16
|
+
[GitHub#5][Patch by HIGUCHI Daisuke]
|
17
|
+
|
18
|
+
### Thanks
|
19
|
+
|
20
|
+
* HIGUCHI Daisuke
|
21
|
+
|
22
|
+
* Elan Ruusamäe
|
23
|
+
|
3
24
|
## 1.0.4 - 2017-06-04
|
4
25
|
|
5
26
|
### Fixes
|
@@ -43,6 +43,7 @@ require "native-package-installer/platform/redhat"
|
|
43
43
|
require "native-package-installer/platform/suse"
|
44
44
|
require "native-package-installer/platform/alt-linux"
|
45
45
|
require "native-package-installer/platform/arch-linux"
|
46
|
+
require "native-package-installer/platform/pld-linux"
|
46
47
|
|
47
48
|
require "native-package-installer/platform/homebrew"
|
48
49
|
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Copyright (C) 2017 Ruby-GNOME2 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 PLDLinux
|
19
|
+
Platform.register(self)
|
20
|
+
|
21
|
+
class << self
|
22
|
+
def current_platform?
|
23
|
+
ExecutableFinder.exist?("poldek")
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def package(spec)
|
28
|
+
spec[:pld_linux] || spec[:arch_linux]
|
29
|
+
end
|
30
|
+
|
31
|
+
def install_command
|
32
|
+
"poldek --up -u"
|
33
|
+
end
|
34
|
+
|
35
|
+
def need_super_user_priviledge?
|
36
|
+
true
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
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.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: packnga
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
description: |-
|
70
56
|
Users need to install native packages to install an extension library
|
71
57
|
that depends on native packages. It bores users because users need to
|
@@ -96,6 +82,7 @@ files:
|
|
96
82
|
- lib/native-package-installer/platform/homebrew.rb
|
97
83
|
- lib/native-package-installer/platform/macports.rb
|
98
84
|
- lib/native-package-installer/platform/msys2.rb
|
85
|
+
- lib/native-package-installer/platform/pld-linux.rb
|
99
86
|
- lib/native-package-installer/platform/redhat.rb
|
100
87
|
- lib/native-package-installer/platform/suse.rb
|
101
88
|
- lib/native-package-installer/platform/unknown.rb
|
@@ -122,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
109
|
version: '0'
|
123
110
|
requirements: []
|
124
111
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.5.2
|
112
|
+
rubygems_version: 2.5.2.1
|
126
113
|
signing_key:
|
127
114
|
specification_version: 4
|
128
115
|
summary: native-package-installer helps to install native packages on "gem install"
|