pinject 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pinject/docker.rb +4 -0
- data/lib/pinject/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: 6293b6a2f22310c72541366bf812eb455f22db3307afefba4ffb67e0a056a7fc
|
4
|
+
data.tar.gz: fec64406a61766a15878a45f6d5cf7acbc36a9e45760230370f3f9deaa8bb965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 994efa80463cb79dce5962677a2854a2ef2541576d3d95d86a32ad4353bb66673328416c6e701594051979aa573d07d4a2976c38bfcca4cd70613161fd5309be
|
7
|
+
data.tar.gz: b82c6361b15d71aa4c4e4f8a96d19d35653409309ae80f0c115cedbb5ee776f66143fd52152270b7b3dc0bb25d86b2767a2cb7ce6fbecf65fc786d00b6a16482
|
data/lib/pinject/docker.rb
CHANGED
@@ -125,6 +125,10 @@ module Pinject
|
|
125
125
|
elif [ -f /etc/alpine-release ]; then
|
126
126
|
OS=alpine
|
127
127
|
VER=`cat /etc/alpine-release | awk -F. '{ print $1 }'`
|
128
|
+
elif [ -f /etc/os-release]; then
|
129
|
+
. /etc/os-release
|
130
|
+
OS=$ID
|
131
|
+
VER=`echo $VERSION_ID | sed -e 's/"//g'`
|
128
132
|
else
|
129
133
|
OS="other"
|
130
134
|
VER="unknown"
|
data/lib/pinject/version.rb
CHANGED