spaceship/lib/spaceship/portal/app.rb in fastlane-2.36.0.beta.20170530010040 vs spaceship/lib/spaceship/portal/app.rb in fastlane-2.36.0.beta.20170531010050

- old
+ new

@@ -31,12 +31,12 @@ attr_accessor :is_wildcard # @return (Hash) Feature details attr_accessor :features - # @return (Array) List of enabled features - attr_accessor :enabled_features + # @return (Array) List of enabled services + attr_accessor :enable_services # @return (Bool) Development Push Enabled? attr_accessor :dev_push_enabled # @return (Bool) Production Push Enabled? @@ -60,11 +60,11 @@ 'appIdPlatform' => :platform, 'prefix' => :prefix, 'identifier' => :bundle_id, 'isWildCard' => :is_wildcard, 'features' => :features, - 'enabledFeatures' => :enabled_features, + 'enabledFeatures' => :enable_services, 'isDevPushEnabled' => :dev_push_enabled, 'isProdPushEnabled' => :prod_push_enabled, 'associatedApplicationGroupsCount' => :app_groups_count, 'associatedCloudContainersCount' => :cloud_containers_count, 'associatedIdentifiersCount' => :identifiers_count @@ -90,17 +90,17 @@ # if bundle_id ends with '*' then it is a wildcard id otherwise, it is an explicit id # @param bundle_id [String] the bundle id (app_identifier) of the app associated with this provisioning profile # @param name [String] the name of the App # @param mac [Bool] is this a Mac app? # @return (App) The app you just created - def create!(bundle_id: nil, name: nil, mac: false, enabled_features: {}) + def create!(bundle_id: nil, name: nil, mac: false, enable_services: {}) if bundle_id.end_with?('*') type = :wildcard else type = :explicit end - new_app = client.create_app!(type, name, bundle_id, mac: mac, enabled_features: enabled_features) + new_app = client.create_app!(type, name, bundle_id, mac: mac, enable_services: enable_services) self.new(new_app) end # Find a specific App ID based on the bundle_id # @param mac [Bool] Searches Mac apps if true