fastlane-plugin-fivethree_ionic 0.1.7 → 0.1.8

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: c61dffaec4876ce432134ef4208c112a376b2a49
4
- data.tar.gz: f47a028cf51ba7d668f93c81a5c89206a813022e
3
+ metadata.gz: e024e7f927d1041cb0f6a156387d0277576eba71
4
+ data.tar.gz: 43a8ceaa9cdf6e8a785358990410403f359b5de4
5
5
  SHA512:
6
- metadata.gz: ee6aaebc8e3b5b3830cb31e10d918c3516c6d9decd9b96b2e05d608742bcea489fdea8c120919af7a742876fdf481ee44d1abcf206bac49b609019d2f606aac4
7
- data.tar.gz: 89c33b884621e8a89ad4eb4ef11f850bc8865870da05762d8440f66e1e4a520d76d561221437206146d8d1aa5722512df910113b22a224cb44fed1ff2ec4f110
6
+ metadata.gz: 2249223d80698cb4a9311ddb988d108393a2cb4d4d430a6a3f374ed3b8f59d63e8a909d8570a0120ed4ac0a18fe9bfd67120e5b62bc38691a26607789e1ab1ba
7
+ data.tar.gz: bb80659d82209e4b0ade71b1097207d99977f87fc682ca7bd80fc1d4fb89ceb6f81b0b5b610d4b9e5d91ea3df3e89e7fe5504b59189226a9ce11e9349990cf9d
@@ -0,0 +1,69 @@
1
+ module Fastlane
2
+ module Actions
3
+ module SharedValues
4
+ FIV_BUILD_IONIC_ANDROID_CUSTOM_VALUE = :FIV_BUILD_IONIC_ANDROID_CUSTOM_VALUE
5
+ end
6
+
7
+ class FivTakeScreenshotsAction < Action
8
+ def self.run(params)
9
+ UI.header "Taking Screenshots..."
10
+
11
+ sh "ionic cordova run browser --prod && #{params[:cypress]} run -s #{params[:spec]} -b chrome"
12
+ UI.success "Successfully finished taking screenshots"
13
+ end
14
+
15
+ #####################################################
16
+ # @!group Documentation
17
+ #####################################################
18
+
19
+ def self.description
20
+ "A short description with <= 80 characters of what this action does"
21
+ end
22
+
23
+ def self.details
24
+ # Optional:
25
+ # this is your chance to provide a more detailed description of this action
26
+ "You can use this action to do cool things..."
27
+ end
28
+
29
+ def self.available_options
30
+ # Define all options your action supports.
31
+
32
+ # Below a few examples
33
+ [
34
+ FastlaneCore::ConfigItem.new(key: :cypress,
35
+ env_name: "FIV_BUILD_IONIC_ANDROID_IS_PROD",
36
+ description: "Dev or Prod build",
37
+ optional: false,
38
+ type: String),
39
+ FastlaneCore::ConfigItem.new(key: :spec,
40
+ env_name: "FIV_BUILD_IONIC_ANDROID_IS_PROD",
41
+ description: "Dev or Prod build",
42
+ optional: false,
43
+ type: String)
44
+ ]
45
+ end
46
+
47
+ def self.output
48
+ # Define the shared values you are going to provide
49
+ # Example
50
+ [
51
+ ['FIV_BUILD_IONIC_ANDROID_CUSTOM_VALUE', 'A description of what this value contains']
52
+ ]
53
+ end
54
+
55
+ def self.return_value
56
+ # If your method provides a return value, you can describe here what it does
57
+ end
58
+
59
+ def self.authors
60
+ # So no one will ever forget your contribution to fastlane :) You are awesome btw!
61
+ ["Your GitHub/Twitter Name"]
62
+ end
63
+
64
+ def self.is_supported?(platform)
65
+ platform == :android
66
+ end
67
+ end
68
+ end
69
+ end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FivethreeIonic
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-fivethree_ionic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Stammerjohann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-01 00:00:00.000000000 Z
11
+ date: 2018-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -153,6 +153,7 @@ files:
153
153
  - lib/fastlane/plugin/fivethree_ionic/actions/fiv_increment_build_no.rb
154
154
  - lib/fastlane/plugin/fivethree_ionic/actions/fiv_ionic.rb
155
155
  - lib/fastlane/plugin/fivethree_ionic/actions/fiv_sign_android.rb
156
+ - lib/fastlane/plugin/fivethree_ionic/actions/fiv_take_screenshots.rb
156
157
  - lib/fastlane/plugin/fivethree_ionic/actions/fiv_update_version.rb
157
158
  - lib/fastlane/plugin/fivethree_ionic/actions/fiv_update_version_and_build_no.rb
158
159
  - lib/fastlane/plugin/fivethree_ionic/actions/fiv_version.rb