fastlane-plugin-aws_device_farm 0.1.3.pre.alpha.pre.11 → 0.1.3

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: 5a4c1d6428720081d0784910ecc7b106f596c8fe
4
- data.tar.gz: e063ce84ae9f4b2942c6eba792805f31295c0e3c
3
+ metadata.gz: ed41b953f7ece8191d9980ebf17cc033673f15f9
4
+ data.tar.gz: 379f1f4196582f80f2d4ae4cebb7bd064efda6a3
5
5
  SHA512:
6
- metadata.gz: 3947ad50e75021afedc6eca28b46ccd1c804d3eece4e99b5009bdf218b5bc637e8611506bebec8ec3a8d56ba4ab8bec3e355af9e5e5290a71e04e89add5fbc11
7
- data.tar.gz: cc5ed1d2d7f41248a6ade6510e02576c1e7a6d30173e2dc16c547b44847acffe45dbd40b45f916fd481a0c9471ce5124d72e8f0f238b6d2a4ce9b68e7dfe2ab7
6
+ metadata.gz: 3a133bbc9dae58e4d9d7d7707dc1ceb2f600b48cf869aa7d83adf90a9d082defb9e1027c97cb6bff0a54ac82b8f051a4b2b8b969f414f74de4403181ba9c8ed4
7
+ data.tar.gz: 814aa704720f206ee02ab96ba9d9c34a3bdf40c2f41226364605c51b2421d752b43fef42f34d7b6ff73a60f8e1d421955cf96df241e54928474557ce4074d5fa
data/README.md CHANGED
@@ -42,13 +42,12 @@ lane :aws_device_run_ios do
42
42
  destination: 'generic/platform=iOS',
43
43
  configuration: 'Development',
44
44
  derivedDataPath: 'aws',
45
- xcargs: "GCC_PREPROCESSOR_DEFINITIONS='AWS_UI_TEST' ENABLE_BITCODE=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO build-for-testing"
45
+ xcargs: "GCC_PREPROCESSOR_DEFINITIONS='AWS_UI_TEST' ENABLE_BITCODE=NO build-for-testing"
46
46
  )
47
47
  # Transform .app into AWS compatible IPA
48
48
  aws_device_farm_package(
49
49
  derrived_data_path: "aws"
50
50
  )
51
- # RUN tests on AWS Device Farm
52
51
  aws_device_farm
53
52
  end
54
53
  ```
@@ -93,6 +92,10 @@ end
93
92
  | Option | Default | Description | Type |
94
93
  |---|---|---|---|
95
94
  | derrived_data_path | | Derrived Data Path, containing a `build-for-testing` derrived-data folder | String |
95
+ | binary_path | | Path to App Binary | String |
96
+ | test_binary_path | | Path to App Binary | String |
97
+ | device_pool | IOS | AWS Device Farm Device Pool | String |
98
+ | wait_for_completion | true | Wait for Test-Run to be completed | Boolean |
96
99
 
97
100
 
98
101
 
@@ -96,6 +96,7 @@ module Fastlane
96
96
  is_string: true,
97
97
  optional: false,
98
98
  verify_block: proc do |value|
99
+
99
100
  raise "Application binary not found at path '#{value}'. 🙈".red unless File.exist?(File.expand_path(value))
100
101
  end
101
102
  ),
@@ -106,9 +107,10 @@ module Fastlane
106
107
  is_string: true,
107
108
  optional: true,
108
109
  verify_block: proc do |value|
110
+
109
111
  raise "Test binary not found at path '#{value}'. 🙈".red unless File.exist?(File.expand_path(value))
110
112
  end
111
-
113
+
112
114
  ),
113
115
  FastlaneCore::ConfigItem.new(
114
116
  key: :path,
@@ -3,22 +3,23 @@ module Fastlane
3
3
  class AwsDeviceFarmPackageAction < Action
4
4
  def self.run(params)
5
5
  FileUtils.rm_rf "#{File.expand_path(params[:derrived_data_path])}/packages"
6
- Dir["#{File.expand_path(params[:derrived_data_path])}/Build/Products/Development-iphoneos/*.app"].each do |app|
6
+ Dir["#{File.expand_path(params[:derrived_data_path])}/Build/Intermediates/CodeCoverage/Products/Development-iphoneos/*.app"].each do |app|
7
7
  if app.include? 'Runner'
8
-
8
+
9
9
  FileUtils.mkdir_p "#{File.expand_path(params[:derrived_data_path])}/packages/runner/Payload"
10
10
  FileUtils.cp_r app, "#{File.expand_path(params[:derrived_data_path])}/packages/runner/Payload"
11
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 .;"
12
-
12
+
13
13
  ENV['FL_AWS_DEVICE_FARM_TEST_PATH'] = "#{File.expand_path(params[:derrived_data_path])}/packages/runner.ipa"
14
14
  else
15
-
15
+
16
16
  FileUtils.mkdir_p "#{File.expand_path(params[:derrived_data_path])}/packages/app/Payload"
17
17
  FileUtils.cp_r app, "#{File.expand_path(params[:derrived_data_path])}/packages/app/Payload"
18
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 .;"
19
-
19
+
20
+
20
21
  ENV['FL_AWS_DEVICE_FARM_PATH'] = "#{File.expand_path(params[:derrived_data_path])}/packages/app.ipa"
21
-
22
+
22
23
  end
23
24
  end
24
25
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-aws_device_farm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.pre.alpha.pre.11
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-24 00:00:00.000000000 Z
11
+ date: 2016-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
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
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: fastlane
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: 1.105.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.105.0
111
111
  description:
@@ -114,13 +114,13 @@ executables: []
114
114
  extensions: []
115
115
  extra_rdoc_files: []
116
116
  files:
117
- - LICENSE
118
- - README.md
119
- - lib/fastlane/plugin/aws_device_farm.rb
120
117
  - lib/fastlane/plugin/aws_device_farm/actions/aws_device_farm_action.rb
121
118
  - lib/fastlane/plugin/aws_device_farm/actions/aws_device_farm_package.rb
122
119
  - lib/fastlane/plugin/aws_device_farm/helper/aws_device_farm_helper.rb
123
120
  - lib/fastlane/plugin/aws_device_farm/version.rb
121
+ - lib/fastlane/plugin/aws_device_farm.rb
122
+ - README.md
123
+ - LICENSE
124
124
  homepage: https://github.com/hjanuschka/fastlane-plugin-aws_device_farm
125
125
  licenses:
126
126
  - MIT
@@ -131,17 +131,17 @@ require_paths:
131
131
  - lib
132
132
  required_ruby_version: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - ">="
134
+ - - '>='
135
135
  - !ruby/object:Gem::Version
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.4.8
144
+ rubygems_version: 2.0.14.1
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Run UI Tests on AWS Devicefarm