fastlane-plugin-aws_device_farm 0.3.2.pre.alpha.pre.53 → 0.3.2

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: 371f2f48d54439bee42d85fe721834196bb544e1
4
- data.tar.gz: 699679eedacb55a78f8b2f366145748bb58b6cf1
3
+ metadata.gz: b0e97c59d285bbbc22c874bb4d8e2a76e4f1fba1
4
+ data.tar.gz: 5845b322e5d801c0b27206ad865b752e7aff74a4
5
5
  SHA512:
6
- metadata.gz: 3beb7c96782da810f80d9d9a74a60326a423abdd3f6f19d9638d16d57eb075580a54479ffb213996e6b3e0ea785e10b8a4fd3b321aada170f902b8cd3c1d7484
7
- data.tar.gz: 5cb8270c58bc5799c4faceb8e172d5022df01149a90fc8fd8c932d8b0350b77d3505b8a29bd60b63e57536bbdb0348ebc81766c04abb2fa952dd029ce2631b73
6
+ metadata.gz: 3b9bd3cfb4b3813cf4ef23a02b9472867458a6d1f4220b4474a9406fc32758a559caa93afba9c84de1d330d37537255869a38bd0458161cf2ded9a09ef06343d
7
+ data.tar.gz: fd31cf1f48eada8be45f52e965ddd2dfec7cf6bbd8a77b4579a56743aa1bb68da19bc7f15a5b9101e390771f4f9848d2ff37f0d5f869c331e6593964207b0c95
@@ -2,24 +2,22 @@ module Fastlane
2
2
  module Actions
3
3
  class AwsDeviceFarmPackageAction < Action
4
4
  def self.run(params)
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|
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|
9
7
  if app.include? 'Runner'
10
8
 
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 .;"
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 .;"
14
12
 
15
- ENV['FL_AWS_DEVICE_FARM_TEST_PATH'] = "#{packages_dir}/runner.ipa"
13
+ ENV['FL_AWS_DEVICE_FARM_TEST_PATH'] = "#{File.expand_path(params[:derrived_data_path])}/packages/runner.ipa"
16
14
  else
17
15
 
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 .;"
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 .;"
21
19
 
22
- ENV['FL_AWS_DEVICE_FARM_PATH'] = "#{packages_dir}/app.ipa"
20
+ ENV['FL_AWS_DEVICE_FARM_PATH'] = "#{File.expand_path(params[:derrived_data_path])}/packages/app.ipa"
23
21
 
24
22
  end
25
23
  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.pre.alpha.pre.53
4
+ version: 0.3.2
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-09-04 00:00:00.000000000 Z
11
+ date: 2017-08-03 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: 1.3.1
141
+ version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.6.13
144
+ rubygems_version: 2.6.11
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Run UI Tests on AWS Devicefarm