fastlane-plugin-aws_device_farm 0.3.2 → 0.3.3.pre.alpha.pre.54

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
  SHA1:
3
- metadata.gz: b0e97c59d285bbbc22c874bb4d8e2a76e4f1fba1
4
- data.tar.gz: 5845b322e5d801c0b27206ad865b752e7aff74a4
3
+ metadata.gz: 9e399d981a249d34fc7144ca742744f36572d94d
4
+ data.tar.gz: 638ef45eda078e045d08fa73cb8b4d32298191af
5
5
  SHA512:
6
- metadata.gz: 3b9bd3cfb4b3813cf4ef23a02b9472867458a6d1f4220b4474a9406fc32758a559caa93afba9c84de1d330d37537255869a38bd0458161cf2ded9a09ef06343d
7
- data.tar.gz: fd31cf1f48eada8be45f52e965ddd2dfec7cf6bbd8a77b4579a56743aa1bb68da19bc7f15a5b9101e390771f4f9848d2ff37f0d5f869c331e6593964207b0c95
6
+ metadata.gz: a963e424097356e16ad18507c17fefb6cc3a60b968609c8c4e20676c10e3ffca151b4ece952b2a4ca4b8923f2945550c94830017382711ac96e0cf1c4cef6bda
7
+ data.tar.gz: 44ddebb1563d58d9055a605f1afd44ebf6371183a2e0e1f30190338ca9f142637b3cf61abf7ad54e1af5f62254ab53d21adb47440517c1062e9f4c0feb03ba5a
@@ -2,22 +2,24 @@ module Fastlane
2
2
  module Actions
3
3
  class AwsDeviceFarmPackageAction < Action
4
4
  def self.run(params)
5
- FileUtils.rm_rf "#{File.expand_path(params[:derrived_data_path])}/packages"
6
- Dir["#{File.expand_path(params[:derrived_data_path])}/Build/Products/#{params[:configuration]}-iphoneos/*.app"].each do |app|
5
+ derrived_data_dir = File.expand_path(params[:derrived_data_path])
6
+ packages_dir = "#{derrived_data_dir}/packages"
7
+ FileUtils.rm_rf packages_dir
8
+ Dir["#{derrived_data_dir}/Build/Products/#{params[:configuration]}-iphoneos/*.app"].each do |app|
7
9
  if app.include? 'Runner'
8
10
 
9
- FileUtils.mkdir_p "#{File.expand_path(params[:derrived_data_path])}/packages/runner/Payload"
10
- FileUtils.cp_r app, "#{File.expand_path(params[:derrived_data_path])}/packages/runner/Payload"
11
- Actions.sh "cd #{File.expand_path(params[:derrived_data_path])}/packages/runner/; zip --recurse-paths -D --quiet #{File.expand_path(params[:derrived_data_path])}/packages/runner.ipa .;"
11
+ FileUtils.mkdir_p "#{packages_dir}/runner/Payload"
12
+ FileUtils.cp_r app, "#{packages_dir}/runner/Payload"
13
+ Actions.sh "cd #{packages_dir}/runner/; zip --recurse-paths -D --quiet #{packages_dir}/runner.ipa .;"
12
14
 
13
- ENV['FL_AWS_DEVICE_FARM_TEST_PATH'] = "#{File.expand_path(params[:derrived_data_path])}/packages/runner.ipa"
15
+ ENV['FL_AWS_DEVICE_FARM_TEST_PATH'] = "#{packages_dir}/runner.ipa"
14
16
  else
15
17
 
16
- FileUtils.mkdir_p "#{File.expand_path(params[:derrived_data_path])}/packages/app/Payload"
17
- FileUtils.cp_r app, "#{File.expand_path(params[:derrived_data_path])}/packages/app/Payload"
18
- Actions.sh "cd #{File.expand_path(params[:derrived_data_path])}/packages/app/; zip --recurse-paths -D --quiet #{File.expand_path(params[:derrived_data_path])}/packages/app.ipa .;"
18
+ FileUtils.mkdir_p "#{packages_dir}/app/Payload"
19
+ FileUtils.cp_r app, "#{packages_dir}/app/Payload"
20
+ Actions.sh "cd #{packages_dir}/app/; zip --recurse-paths -D --quiet #{packages_dir}/app.ipa .;"
19
21
 
20
- ENV['FL_AWS_DEVICE_FARM_PATH'] = "#{File.expand_path(params[:derrived_data_path])}/packages/app.ipa"
22
+ ENV['FL_AWS_DEVICE_FARM_PATH'] = "#{packages_dir}/app.ipa"
21
23
 
22
24
  end
23
25
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AwsDeviceFarm
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-aws_device_farm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3.pre.alpha.pre.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-03 00:00:00.000000000 Z
11
+ date: 2017-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -136,12 +136,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - ">="
139
+ - - ">"
140
140
  - !ruby/object:Gem::Version
141
- version: '0'
141
+ version: 1.3.1
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.6.11
144
+ rubygems_version: 2.6.13
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Run UI Tests on AWS Devicefarm