fastlane 2.90.0.beta.20180405050125 → 2.90.0.beta.20180406050006
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e83e6221deb31b160fe501fe3c94cf6a5f622bd
|
4
|
+
data.tar.gz: bf0e5d519559c4b9aea89a3d0efad45f26181b72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bac574d6740b99eb1b96faac2067c6a369046d950c5203af805d0079a5c177aa8cba0a7af13d9b8a10d9497ca57dbaeae09b0ff046919386daf5dc8df4cb26aa
|
7
|
+
data.tar.gz: c13fce4c712dde866da21d906345097fb7ac8aeef7a672d7d0c6c7aca4f37594666eeb64dbab5f493b1f4c66560a7c189a13c3c3a5496564b44e26592e6e6c9a
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'fastlane_core/core_ext/cfpropertylist'
|
2
|
+
|
1
3
|
module Fastlane
|
2
4
|
module Actions
|
3
5
|
class ClearDerivedDataAction < Action
|
@@ -8,6 +10,16 @@ module Fastlane
|
|
8
10
|
UI.success("Successfully cleared Derived Data ♻️")
|
9
11
|
end
|
10
12
|
|
13
|
+
# Helper Methods
|
14
|
+
def self.xcode_preferences
|
15
|
+
file = File.expand_path("~/Library/Preferences/com.apple.dt.Xcode.plist")
|
16
|
+
if File.exist?(file)
|
17
|
+
plist = CFPropertyList::List.new(file: file).value
|
18
|
+
return CFPropertyList.native_types(plist) unless plist.nil?
|
19
|
+
end
|
20
|
+
return nil
|
21
|
+
end
|
22
|
+
|
11
23
|
#####################################################
|
12
24
|
# @!group Documentation
|
13
25
|
#####################################################
|
@@ -17,15 +29,18 @@ module Fastlane
|
|
17
29
|
end
|
18
30
|
|
19
31
|
def self.details
|
20
|
-
"Deletes the Derived Data from
|
32
|
+
"Deletes the Derived Data from path set on Xcode or a supplied path"
|
21
33
|
end
|
22
34
|
|
23
35
|
def self.available_options
|
36
|
+
path = xcode_preferences ? xcode_preferences['IDECustomDerivedDataLocation'] : nil
|
37
|
+
path ||= "~/Library/Developer/Xcode/DerivedData"
|
24
38
|
[
|
25
39
|
FastlaneCore::ConfigItem.new(key: :derived_data_path,
|
26
40
|
env_name: "DERIVED_DATA_PATH",
|
27
41
|
description: "Custom path for derivedData",
|
28
|
-
|
42
|
+
default_value_dynamic: true,
|
43
|
+
default_value: path)
|
29
44
|
]
|
30
45
|
end
|
31
46
|
|
@@ -16,6 +16,7 @@ module Fastlane
|
|
16
16
|
app_name = params[:app_name]
|
17
17
|
apns_p12_password = params[:apns_p12_password]
|
18
18
|
android_token = params[:android_token]
|
19
|
+
android_gcm_sender_id = params[:android_gcm_sender_id]
|
19
20
|
|
20
21
|
payload = {}
|
21
22
|
payload['name'] = app_name
|
@@ -30,6 +31,7 @@ module Fastlane
|
|
30
31
|
end
|
31
32
|
|
32
33
|
payload["gcm_key"] = android_token unless android_token.nil?
|
34
|
+
payload["android_gcm_sender_id"] = android_gcm_sender_id unless android_gcm_sender_id.nil?
|
33
35
|
|
34
36
|
# here's the actual lifting - POST to OneSignal
|
35
37
|
|
@@ -92,6 +94,12 @@ module Fastlane
|
|
92
94
|
sensitive: true,
|
93
95
|
optional: true),
|
94
96
|
|
97
|
+
FastlaneCore::ConfigItem.new(key: :android_gcm_sender_id,
|
98
|
+
env_name: "ANDROID_GCM_SENDER_ID",
|
99
|
+
description: "GCM SENDER ID",
|
100
|
+
sensitive: true,
|
101
|
+
optional: true),
|
102
|
+
|
95
103
|
FastlaneCore::ConfigItem.new(key: :apns_p12,
|
96
104
|
env_name: "APNS_P12",
|
97
105
|
description: "APNS P12 File (in .p12 format)",
|
@@ -123,7 +131,7 @@ module Fastlane
|
|
123
131
|
end
|
124
132
|
|
125
133
|
def self.is_supported?(platform)
|
126
|
-
|
134
|
+
[:ios, :android].include?(platform)
|
127
135
|
end
|
128
136
|
|
129
137
|
def self.example_code
|
@@ -132,6 +140,7 @@ module Fastlane
|
|
132
140
|
auth_token: "Your OneSignal Auth Token",
|
133
141
|
app_name: "Name for OneSignal App",
|
134
142
|
android_token: "Your Android GCM key (optional)",
|
143
|
+
android_gcm_sender_id: "Your Android GCM Sender ID (optional)",
|
135
144
|
apns_p12: "Path to Apple .p12 file (optional)",
|
136
145
|
apns_p12_password: "Password for .p12 file (optional)",
|
137
146
|
apns_env: "production/sandbox (defaults to production)"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.90.0.beta.
|
2
|
+
VERSION = '2.90.0.beta.20180406050006'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.90.0.beta.
|
4
|
+
version: 2.90.0.beta.20180406050006
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manu Wallner
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-04-
|
30
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1622,24 +1622,24 @@ metadata:
|
|
1622
1622
|
post_install_message:
|
1623
1623
|
rdoc_options: []
|
1624
1624
|
require_paths:
|
1625
|
-
- sigh/lib
|
1626
|
-
- frameit/lib
|
1627
|
-
- precheck/lib
|
1628
|
-
- scan/lib
|
1629
|
-
- match/lib
|
1630
|
-
- deliver/lib
|
1631
|
-
- produce/lib
|
1632
|
-
- supply/lib
|
1633
1625
|
- screengrab/lib
|
1634
|
-
- spaceship/lib
|
1635
|
-
- pilot/lib
|
1636
|
-
- cert/lib
|
1637
1626
|
- fastlane/lib
|
1638
|
-
-
|
1639
|
-
-
|
1627
|
+
- pem/lib
|
1628
|
+
- supply/lib
|
1640
1629
|
- snapshot/lib
|
1630
|
+
- produce/lib
|
1631
|
+
- spaceship/lib
|
1632
|
+
- precheck/lib
|
1633
|
+
- frameit/lib
|
1634
|
+
- credentials_manager/lib
|
1635
|
+
- match/lib
|
1641
1636
|
- fastlane_core/lib
|
1642
|
-
-
|
1637
|
+
- cert/lib
|
1638
|
+
- gym/lib
|
1639
|
+
- pilot/lib
|
1640
|
+
- sigh/lib
|
1641
|
+
- scan/lib
|
1642
|
+
- deliver/lib
|
1643
1643
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1644
1644
|
requirements:
|
1645
1645
|
- - ">="
|