atk_toolbox 0.0.80 → 0.0.81
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atk/os.rb +1 -2
- data/lib/atk_toolbox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa93c427f045716afc9c13c6af54147817e5a9e92be7a26567d36f212345dcc1
|
4
|
+
data.tar.gz: f6cad2c61b2e5a7651e6b9c36cf2150915ec0809907d52c2d92970e411a01530
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec17b0bf01dc9296e5de6a4bf4ba81382acca92297607bad429b680217f6fcf8c098dc93eb7734cba67fbed5928775c10b1ab868c2ad12647f10296f3d3b694b
|
7
|
+
data.tar.gz: 419dc22dfa10cfabe2e74c6cbac42fa1713f61de06862d473fda7696cd54efb55d2c4070b67c873653d911d7e959033f243ba543080bfcba297e5b8615b20fe5
|
data/lib/atk/os.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require_relative './file_sys.rb'
|
2
1
|
# every OS version is a perfect heirarchy of versions and sub verisons that may or may not be chronological
|
3
2
|
# every OS gets it's own custom heirarchy since there are issues like x86 support and "student edition" etc
|
4
3
|
# the plan is to release this heirarchy on its own repo, and to get pull requests for anyone who wants to add their own OS
|
@@ -71,7 +70,7 @@ module OS
|
|
71
70
|
when 'unix'
|
72
71
|
return not( OS.is?(:windows))
|
73
72
|
when 'debian'
|
74
|
-
return
|
73
|
+
return File.file?('/etc/debian_version')
|
75
74
|
end
|
76
75
|
end
|
77
76
|
end
|
data/lib/atk_toolbox/version.rb
CHANGED