spaceship 0.1.1 → 0.1.2
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 +4 -4
- data/lib/spaceship/tunes/build.rb +15 -0
- data/lib/spaceship/tunes/build_train.rb +2 -0
- data/lib/spaceship/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5874fb36abe1aa100b7c5b793a291699ca11568d
|
4
|
+
data.tar.gz: 43449a997428f3e6bddc8eda4e67f94e50781354
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7aec5cec146a3ee90077d67a2c0efba4c3ae03a6d9000f0aa36bbf7a763cc02f33f821257d782d83751ec1150050690b21aa98d2d235ee002e177ec1873b97b8
|
7
|
+
data.tar.gz: 7f54d76361cc18e52b826fdd40f1542c5623823b83dddb7321d140b5d63d59caf3c5aa119ddc90b81e12f413ef09036dfa901b97882d217376fd0a8a401b6688
|
@@ -37,6 +37,14 @@ module Spaceship
|
|
37
37
|
# @return (Integer) When is this build going to be invalid
|
38
38
|
attr_accessor :internal_expiry_date
|
39
39
|
|
40
|
+
# @return (Integer): When is the external build going to expire?
|
41
|
+
attr_accessor :external_expiry_date
|
42
|
+
|
43
|
+
# @return (Boolean): Is this build available for external beta testing
|
44
|
+
# this is only true after the build was approved by Apple
|
45
|
+
attr_accessor :external_testing_enabled
|
46
|
+
|
47
|
+
|
40
48
|
# @return (Bool) Does this build support WatchKit?
|
41
49
|
attr_accessor :watch_kit_enabled
|
42
50
|
|
@@ -78,6 +86,7 @@ module Spaceship
|
|
78
86
|
'sessionCount' => :session_count,
|
79
87
|
'crashCount' => :crash_count,
|
80
88
|
'internalExpiry' => :internal_expiry_date,
|
89
|
+
'externalExpiry' => :external_expiry_date,
|
81
90
|
'watchKitEnabled' => :watch_kit_enabled,
|
82
91
|
'readyToInstall' => :ready_to_install,
|
83
92
|
)
|
@@ -89,6 +98,12 @@ module Spaceship
|
|
89
98
|
self.new(attrs)
|
90
99
|
end
|
91
100
|
end
|
101
|
+
|
102
|
+
def setup
|
103
|
+
super
|
104
|
+
|
105
|
+
@external_testing_enabled = (self.external_expiry_date || 0) > 0
|
106
|
+
end
|
92
107
|
end
|
93
108
|
end
|
94
109
|
end
|
data/lib/spaceship/version.rb
CHANGED