fastlane-plugin-docker 0.2.0 → 0.3.0.pre.alpha.pre.12

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
- SHA1:
3
- metadata.gz: c9fbb2f2b0c54239a760dee88ed592ac6352ae18
4
- data.tar.gz: eb75d83bf7a65a20a00e86b8f329c0f343724a8b
2
+ SHA256:
3
+ metadata.gz: 9d7972e8eb3e667c99d8bb37e7aada2d605d5412b25a0b62358078666063a2cd
4
+ data.tar.gz: 9082c4d091551ba80f4ea86d87c05f413a33401710a2a4591ca22b9f5ede1e3e
5
5
  SHA512:
6
- metadata.gz: 7fb133cd1a2faefefcf1c97e40de43ca3074fd1bc99abc4a671e943e26cf679aab47bec4b4cc7a53f3a04cb42e427e5e401b0dcc2e0d1e6e65f3fae3f257bab0
7
- data.tar.gz: b106079a1c67d0f5633267f3faa2e1babbe9a56b892a65aea0f36c28420487ed33ba3a8464b0329e5d80bd187a23599f8032126d943bb2f0630617de45091ec4
6
+ metadata.gz: 18be87fd9989d52154bb3ae1249e5418c7cdd7e3d3ec56a1eea5dc24f239b5a3bbd972062d154caccfb79b1fe982f554a2d98b54dabc1e72666ad6c9f542297f
7
+ data.tar.gz: 9da4f60fd1436359299c65cc89796acb9f27a0aaca974dfc686ea4af87c2b143b314c35c5acfff59a0d9998b91ead24522a89d9051a17c9c5a455179cf873b6b
@@ -9,10 +9,13 @@ module Fastlane
9
9
  end
10
10
 
11
11
  def login(username, password, email: nil)
12
- cmd = "docker login --username=\"#{username}\" --password=\"#{password}\""
12
+ require 'open3'
13
+ require 'shellwords'
14
+
15
+ cmd = %W[docker login --username #{username} --password-stdin]
13
16
  cmd << "--email=\"#{email}\"" unless email.nil?
14
17
 
15
- Actions.sh cmd
18
+ Open3.capture2("cat - | " + cmd.shelljoin, stdin_data: password)
16
19
  end
17
20
 
18
21
  def push(repository, tag: nil)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Docker
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0.pre.alpha.pre.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manu Wallner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2018-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 0.49.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 0.49.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: fastlane
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -127,15 +127,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">="
130
+ - - ">"
131
131
  - !ruby/object:Gem::Version
132
- version: '0'
132
+ version: 1.3.1
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 2.6.8
135
+ rubygems_version: 2.7.4
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: fastlane Actions to support building images, logging into Docker Hub, and
139
139
  pushing those images to the Hub
140
140
  test_files: []
141
- has_rdoc: