fastlane-plugin-download_hocky_build 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 364085079fecbe9b2ccfb9ddc5f57c0a128b55c0e2caa30b1f42330e31efbd40
|
4
|
+
data.tar.gz: e4c56737705c5a66d69215324d041a833637eed0d728b9f670015286b78272f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 751f9b5943bc82e46ea0afe5641cf0d288c6d4ed2454a46aa0c40b51038580277d2a0954a3dcfd518f1243567aa2a8fa533f6ac4bfd02c1884e88fabe727e8dc
|
7
|
+
data.tar.gz: 64b1b13d43d9fde8276cf617b8dbcc5288c1abcab5ee289fa57f06d73a94e251355c24f5c03464a27bb0acac73d916479b3b97baf33b45df0209048c2e6afeaf
|
@@ -4,6 +4,7 @@
|
|
4
4
|
require 'fastlane/action'
|
5
5
|
require 'faraday'
|
6
6
|
require 'faraday_middleware'
|
7
|
+
require 'fileutils'
|
7
8
|
require 'json'
|
8
9
|
|
9
10
|
require_relative '../helper/download_hocky_build_helper'
|
@@ -89,7 +90,7 @@ module Fastlane
|
|
89
90
|
|
90
91
|
|
91
92
|
def self.storeBuildInfo(version, output_directory, output_info_file)
|
92
|
-
|
93
|
+
FileUtils.mkdir_p(output_directory) unless File.exist?(output_directory)
|
93
94
|
path = File.join(output_directory, output_info_file)
|
94
95
|
File.open(path,"w") do |f|
|
95
96
|
f.write(version)
|
@@ -106,7 +107,7 @@ module Fastlane
|
|
106
107
|
|
107
108
|
UI.success "Start to download the build file, which may take a minute"
|
108
109
|
|
109
|
-
|
110
|
+
FileUtils.mkdir_p(output_directory) unless File.exist?(output_directory)
|
110
111
|
path = File.join(output_directory, output_file)
|
111
112
|
File.open(path, "wb") do |saved_file|
|
112
113
|
open(build_url, "rb") do |read_file|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-download_hocky_build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Morozov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
195
|
- !ruby/object:Gem::Version
|
196
196
|
version: '0'
|
197
197
|
requirements: []
|
198
|
-
rubygems_version: 3.0.
|
198
|
+
rubygems_version: 3.0.3
|
199
199
|
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: Download newest build from HockeyApp (iOS & Android)
|