pinject 0.1.4 → 0.1.5

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: 6293b6a2f22310c72541366bf812eb455f22db3307afefba4ffb67e0a056a7fc
4
- data.tar.gz: fec64406a61766a15878a45f6d5cf7acbc36a9e45760230370f3f9deaa8bb965
3
+ metadata.gz: 3b9e9f711a85a5ed50b33b9c493c96331ba3ffeaa0df0a44ef488514f753ca2d
4
+ data.tar.gz: 2f6a58a3d500f26aead0cd1a499929a6175389f4990a6b157dbbdf98441a1afa
5
5
  SHA512:
6
- metadata.gz: 994efa80463cb79dce5962677a2854a2ef2541576d3d95d86a32ad4353bb66673328416c6e701594051979aa573d07d4a2976c38bfcca4cd70613161fd5309be
7
- data.tar.gz: b82c6361b15d71aa4c4e4f8a96d19d35653409309ae80f0c115cedbb5ee776f66143fd52152270b7b3dc0bb25d86b2767a2cb7ce6fbecf65fc786d00b6a16482
6
+ metadata.gz: 46f011748ced9a35caf7a704a69c36b06ec5e8a1c06626e565980daed4bad8d5ec2506c6cb865dcc0fe86a73cad9484c6ae4a915fe32930faeb56f7214b3759b
7
+ data.tar.gz: 18fc8bdde9eeaa4eb618b5b244bb7de20da92886d13459bb0806e5318dcefe04a1105cf026bd2d516baaf43ab531bd78e5fc0b37f0744b4c21e4f16a2b4126a3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pinject (0.1.2)
4
+ pinject (0.1.4)
5
5
  docker-api
6
6
 
7
7
  GEM
@@ -7,6 +7,12 @@ module Pinject
7
7
  class Docker
8
8
  attr_reader :log
9
9
 
10
+ ::Docker.authenticate!(
11
+ 'username' => ENV['DOCKER_USER'],
12
+ 'password' => ENV['DOCKER_PASSWORD'],
13
+ 'serveraddress' => ENV['DOCKER_REGISTRY']
14
+ ) if %w(DOCKER_USER DOCKER_PASSWORD DOCKER_REGISTRY).all? {|a| ENV[a] }
15
+
10
16
  def initialize(image_name, log: false)
11
17
  @image_name = image_name
12
18
  @log = log
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pinject
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyama