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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78fa1f869dab90234212ccdbcae12cd565baad8a061049de2486feb7dc5f5124
4
- data.tar.gz: 77636201b6581d8175d9d9d9b7953999e3d18c274225dfc0aa1afce7c21facaa
3
+ metadata.gz: 6293b6a2f22310c72541366bf812eb455f22db3307afefba4ffb67e0a056a7fc
4
+ data.tar.gz: fec64406a61766a15878a45f6d5cf7acbc36a9e45760230370f3f9deaa8bb965
5
5
  SHA512:
6
- metadata.gz: 892e3ff496fe17124a6efdb9a99adfbbb35d699957f5869869437acf8bb7b46c94691c074fdcf9be7e966fa0989c3a8a21307934dcbef7a186d336f9509df421
7
- data.tar.gz: 540a46301521eb28c04f343273c9a48385c07e96fe60c6139e13cb6c5345be01b7f7bf665e0f96c61895408109fee7d5e271a385b9614865bb68ba012169286e
6
+ metadata.gz: 994efa80463cb79dce5962677a2854a2ef2541576d3d95d86a32ad4353bb66673328416c6e701594051979aa573d07d4a2976c38bfcca4cd70613161fd5309be
7
+ data.tar.gz: b82c6361b15d71aa4c4e4f8a96d19d35653409309ae80f0c115cedbb5ee776f66143fd52152270b7b3dc0bb25d86b2767a2cb7ce6fbecf65fc786d00b6a16482
@@ -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"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pinject
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinject
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyama