fastlane-plugin-applivery 0.2.1 → 0.3.0

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
  SHA1:
3
- metadata.gz: 19991d24a0b79d928010cc1fb8603b0bc451fb70
4
- data.tar.gz: 295cd428cf1fc7a1b1edfb440056d6ac8d067084
3
+ metadata.gz: 34bc7ce507e9017a09e08f8915aefbef62e13ada
4
+ data.tar.gz: f3c659440ee2c53d470cab5b269dad9757981e3e
5
5
  SHA512:
6
- metadata.gz: f34089d06ef119648bf98eec434a84db16e68cba678ab27c9c905afd2b2fe864dd18f1daa18cd63c4de4ea3727da07a41b69e59c3eef634d3527240bc0fc38a3
7
- data.tar.gz: e48fb3f4617b98ad54fe87f57bcf37dc565f683c2e9dddcbaa62ba88e6b94d74d3f44701231ac2ca000c15d7454f80dad6694682ed19bb04257619c8e9e9da07
6
+ metadata.gz: be3361f1fadb75ad7780e55fe63f1b80325496072530635bab9c7c0e836de0afbb0797e1b378d65b4c2d6a3df13379e80b57ad18d4fa9cb81ae6d1537ae682e4
7
+ data.tar.gz: 440a0458a7fe618999bad104d26e8edfdf1d6e165da771dd93ea57bd96329489c2dd991eb608d5874eba7bcd3567e9846fb8cb7c587859d9afa51ef8fcd721af
@@ -8,6 +8,7 @@ module Fastlane
8
8
  notes = params[:notes]
9
9
  tags = params[:tags]
10
10
  build_path = params[:build_path]
11
+ notify = params[:notify]
11
12
 
12
13
  platform = Actions.lane_context[Actions::SharedValues::PLATFORM_NAME]
13
14
 
@@ -24,7 +25,7 @@ module Fastlane
24
25
  command += " -F app=\"#{app_id}\""
25
26
  command += " -F versionName=\"#{name}\""
26
27
  command += " -F notes=\"#{notes}\""
27
- command += " -F notify=true"
28
+ command += " -F notify=#{notify}"
28
29
  command += " -F os=#{os}"
29
30
  command += " -F tags=\"#{tags}\""
30
31
  command += " -F package=@\"#{build_path}\""
@@ -43,40 +44,48 @@ module Fastlane
43
44
  def self.available_options
44
45
  [
45
46
  FastlaneCore::ConfigItem.new(key: :app_id,
46
- env_name: "APPLIVERY_APP_ID",
47
- description: "Your application identifier",
48
- optional: false,
49
- type: String),
47
+ env_name: "APPLIVERY_APP_ID",
48
+ description: "Your application identifier",
49
+ optional: false,
50
+ type: String),
50
51
 
51
52
  FastlaneCore::ConfigItem.new(key: :api_key,
52
- env_name: "APPLIVERY_API_KEY",
53
- description: "Your developer key",
54
- optional: false,
55
- type: String),
53
+ env_name: "APPLIVERY_API_KEY",
54
+ description: "Your developer key",
55
+ optional: false,
56
+ type: String),
56
57
 
57
58
  FastlaneCore::ConfigItem.new(key: :name,
58
- env_name: "APPLIVERY_BUILD_NAME",
59
- description: "Your build name",
60
- optional: false,
61
- type: String),
59
+ env_name: "APPLIVERY_BUILD_NAME",
60
+ description: "Your build name",
61
+ optional: false,
62
+ type: String),
62
63
 
63
64
  FastlaneCore::ConfigItem.new(key: :notes,
64
- env_name: "APPLIVERY_BUILD_NOTES",
65
- description: "Your build notes",
66
- optional: false,
67
- type: String),
65
+ env_name: "APPLIVERY_BUILD_NOTES",
66
+ description: "Your build notes",
67
+ default_value: "Uploaded automatically with fastlane plugin",
68
+ optional: true,
69
+ type: String),
68
70
 
69
71
  FastlaneCore::ConfigItem.new(key: :tags,
70
- env_name: "APPLIVERY_BUILD_TAGS",
71
- description: "Your build tags",
72
- optional: false,
73
- type: String),
72
+ env_name: "APPLIVERY_BUILD_TAGS",
73
+ description: "Your build tags",
74
+ optional: true,
75
+ type: String),
74
76
 
75
77
  FastlaneCore::ConfigItem.new(key: :build_path,
76
- env_name: "APPLIVERY_BUILD_PATH",
77
- description: "Your build path",
78
- optional: false,
79
- type: String)
78
+ env_name: "APPLIVERY_BUILD_PATH",
79
+ description: "Your build path",
80
+ default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
81
+ optional: true,
82
+ type: String),
83
+
84
+ FastlaneCore::ConfigItem.new(key: :notify,
85
+ env_name: "APPLIVERY_NOTIFY",
86
+ description: "Send an email to your users",
87
+ default_value: true,
88
+ optional: true)
80
89
  ]
81
90
  end
82
91
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Applivery
3
- VERSION = "0.2.1"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-applivery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Jimenez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-28 00:00:00.000000000 Z
11
+ date: 2016-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry