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: 8f0d7cabf8cf4b73c8798add76d628fd27379623909865fd89a5df68769260f9
4
- data.tar.gz: 4c386c8a33a2dd6b4e649313c00aa5f5edd279e40a0a4cc1dc847297540de273
3
+ metadata.gz: 364085079fecbe9b2ccfb9ddc5f57c0a128b55c0e2caa30b1f42330e31efbd40
4
+ data.tar.gz: e4c56737705c5a66d69215324d041a833637eed0d728b9f670015286b78272f2
5
5
  SHA512:
6
- metadata.gz: a0cc5630749005da939b875c985a668f2a41649feb63304a29859e7a3ab143a6dfe6febe52f144af74ac1f5256f02a29e7bb63d09839379aec60be41a6e1a33b
7
- data.tar.gz: f3a44456e0174abbe0b4659759778e3359b9bd43001c0315ecf5b2d644dbd436bce4bc306cd12ef23f219cc560e9400cfbb91a401d27bd9ef9b12c95f34427f1
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
- Dir.mkdir(output_directory) unless File.exists?(output_directory)
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
- Dir.mkdir(output_directory) unless File.exists?(output_directory)
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|
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module DownloadHockyBuild
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
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.3
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-04-09 00:00:00.000000000 Z
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.2
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)