lib/spaceship/tunes/build.rb in spaceship-0.4.0 vs lib/spaceship/tunes/build.rb in spaceship-0.5.0
- old
+ new
@@ -144,11 +144,10 @@
review_email: "contact@company.com",
phone_number: "0123456789",
# Optional Metadata:
privacy_policy_url: nil,
- review_notes: nil,
review_user_name: nil,
review_password: nil,
encryption: false
}.merge(metadata)
@@ -168,11 +167,11 @@
if self.build_train.builds.find_all { |b| b.upload_date > self.upload_date }.count == 0
testing ||= "Internal"
end
end
- if (Time.at(self.internal_expiry_date / 1000) > Time.now)
+ if Time.at(self.internal_expiry_date / 1000) > Time.now
testing ||= "Inactive"
else
testing = "Expired"
end
@@ -188,37 +187,37 @@
end
end
end
# Example response
- # "buildVersion": "0.9.10",
- # "trainVersion": "0.9.10",
- # "uploadDate": 1413966436000,
- # "iconUrl": "https://is5-ssl.mzstatic.com/image/thumb/Newsstand5/v4/e8/ab/f8/e8abf8ca-6c22-a519-aa1b-c73901c4917e/Icon-60@2x.png.png/150x150bb-80.png",
- # "appName": "Yeahaa",
- # "platform": "ios",
- # "betaEntitled": false,
- # "id": 523299,
- # "valid": true,
- # "missingExportCompliance": false,
- # "waitingForExportComplianceApproval": false,
- # "addedInternalUsersCount": 0,
- # "addedExternalUsersCount": 0,
- # "invitedExternalUsersCount": 0,
- # "invitedInternalUsersCount": 0,
- # "acceptedInternalUsersCount": 0,
- # "acceptedExternalUsersCount": 0,
- # "installCount": 0,
- # "internalInstallCount": 0,
- # "externalInstallCount": 0,
- # "sessionCount": null,
- # "crashCount": null,
- # "promotedVersion": null,
- # "internalState": "noBetaEntitlement",
- # "betaState": "noBetaEntitlement",
- # "internalExpiry": 1416562036000,
- # "externalExpiry": 0,
- # "watchKitEnabled": false,
- # "readyToInstall": false,
- # "sdkBuildWhitelisted": true,
- # "internalTesting": null,
- # "externalTesting": null
+# "buildVersion": "0.9.10",
+# "trainVersion": "0.9.10",
+# "uploadDate": 1413966436000,
+# "iconUrl": "https://is5-ssl.mzstatic.com/image/thumb/Newsstand5/v4/e8/ab/f8/e8abf8ca-6c22-a519-aa1b-c73901c4917e/Icon-60@2x.png.png/150x150bb-80.png",
+# "appName": "Yeahaa",
+# "platform": "ios",
+# "betaEntitled": false,
+# "id": 523299,
+# "valid": true,
+# "missingExportCompliance": false,
+# "waitingForExportComplianceApproval": false,
+# "addedInternalUsersCount": 0,
+# "addedExternalUsersCount": 0,
+# "invitedExternalUsersCount": 0,
+# "invitedInternalUsersCount": 0,
+# "acceptedInternalUsersCount": 0,
+# "acceptedExternalUsersCount": 0,
+# "installCount": 0,
+# "internalInstallCount": 0,
+# "externalInstallCount": 0,
+# "sessionCount": null,
+# "crashCount": null,
+# "promotedVersion": null,
+# "internalState": "noBetaEntitlement",
+# "betaState": "noBetaEntitlement",
+# "internalExpiry": 1416562036000,
+# "externalExpiry": 0,
+# "watchKitEnabled": false,
+# "readyToInstall": false,
+# "sdkBuildWhitelisted": true,
+# "internalTesting": null,
+# "externalTesting": null