Class: ReleaseConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/model/release_configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#export_options_plistObject

Returns the value of attribute export_options_plist.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def export_options_plist
  @export_options_plist
end

#output_pathObject

Returns the value of attribute output_path.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def output_path
  @output_path
end

#plistObject

Returns the value of attribute plist.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def plist
  @plist
end

#pod_nameObject

Returns the value of attribute pod_name.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def pod_name
  @pod_name
end

#product_nameObject

Returns the value of attribute product_name.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def product_name
  @product_name
end

#s3_bucketObject

Returns the value of attribute s3_bucket.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def s3_bucket
  @s3_bucket
end

#s3_upload_folderObject

Returns the value of attribute s3_upload_folder.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def s3_upload_folder
  @s3_upload_folder
end

#test_apps_plistsObject

Returns the value of attribute test_apps_plists.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def test_apps_plists
  @test_apps_plists
end

#test_apps_version_code_filesObject

Returns the value of attribute test_apps_version_code_files.



14
15
16
# File 'lib/model/release_configuration.rb', line 14

def test_apps_version_code_files
  @test_apps_version_code_files
end

Instance Method Details

#parse_setup(setup) ⇒ Object



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/model/release_configuration.rb', line 17

def parse_setup(setup)
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_PLIST_PATH_KEY)
		@plist = setup[YAML_SETUP_RELEASE_CONFIGURATION_PLIST_PATH_KEY]
	end
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_OUTPUT_PATH_KEY)
		@output_path = setup[YAML_SETUP_RELEASE_CONFIGURATION_OUTPUT_PATH_KEY]
	end
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_PRODUCT_NAME_KEY)
		@product_name = setup[YAML_SETUP_RELEASE_CONFIGURATION_PRODUCT_NAME_KEY]
	end
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_POD_NAME_KEY)
		@pod_name = setup[YAML_SETUP_RELEASE_CONFIGURATION_POD_NAME_KEY]
	end
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_S3_UPLOAD_BUCKET_KEY)
		@s3_bucket = setup[YAML_SETUP_RELEASE_CONFIGURATION_S3_UPLOAD_BUCKET_KEY]
	end
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_S3_UPLOAD_FOLDER_KEY)
		@s3_upload_folder = setup[YAML_SETUP_RELEASE_CONFIGURATION_S3_UPLOAD_FOLDER_KEY]
	end
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_TEST_APPS_PLISTS_KEY)
		@test_apps_plists = setup[YAML_SETUP_RELEASE_CONFIGURATION_TEST_APPS_PLISTS_KEY]
	end
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_TEST_APPS_VERSION_CODE_FILES_KEY)
		@test_apps_version_code_files = setup[YAML_SETUP_RELEASE_CONFIGURATION_TEST_APPS_VERSION_CODE_FILES_KEY]
	end
	if setup.has_key?(YAML_SETUP_RELEASE_CONFIGURATION_EXPORT_OPTIONS_PLIST_KEY)
		@export_options_plist = setup[YAML_SETUP_RELEASE_CONFIGURATION_EXPORT_OPTIONS_PLIST_KEY]
	end
end