ass_launcher 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +3 -0
- data/lib/ass_launcher/support/linux.rb +4 -4
- data/lib/ass_launcher/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 373d693ca8f89ef9add4bd3509c4b33db81bd15a
|
4
|
+
data.tar.gz: cb0139e84f94d44a6aafa883749f1f4135e0b9fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b35f33f8eba865b49c417126ce452f3bed61f21e4d18b67789c23224503f38de52a5516a0d3d8cb3145e88b8f6bbc7fdb31adff584f1a65c0b99b7db1c684bfa
|
7
|
+
data.tar.gz: b2216677d4547f9d1b46ff5f7d0e02d719a8fb6f0c5efd52caedd5db9bd6cbb39571c1b5a70026a338904beb83debc069ef51d0ebbe9ccd646d7eaa399dc8633
|
data/.codeclimate.yml
ADDED
@@ -35,14 +35,14 @@ module AssLauncher
|
|
35
35
|
# (see Rpm.version)
|
36
36
|
def self.version(file)
|
37
37
|
pkg = pkg(file)
|
38
|
-
|
39
|
-
|
40
|
-
Gem::Version.new(
|
38
|
+
return if pkg.to_s.empty?
|
39
|
+
out = `dpkg-query --showformat '${Version}' --show #{pkg}`.strip
|
40
|
+
Gem::Version.new(out.gsub('-', '.'))
|
41
41
|
end
|
42
42
|
|
43
43
|
# (see Rpm.version)
|
44
44
|
def self.pkg(file)
|
45
|
-
`dpkg -S #{file}`.strip.split(':')[0]
|
45
|
+
out = `dpkg -S #{file}`.strip.split(': ')[0]
|
46
46
|
end
|
47
47
|
|
48
48
|
# (see Rpm.manager?)
|
data/lib/ass_launcher/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ass_launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonid Vlasov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inifile
|
@@ -200,6 +200,7 @@ executables:
|
|
200
200
|
extensions: []
|
201
201
|
extra_rdoc_files: []
|
202
202
|
files:
|
203
|
+
- ".codeclimate.yml"
|
203
204
|
- ".gitignore"
|
204
205
|
- ".rubocop.yml"
|
205
206
|
- ".simplecov"
|