-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpodspec_helper.rb
More file actions
25 lines (19 loc) · 922 Bytes
/
podspec_helper.rb
File metadata and controls
25 lines (19 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true
def putio_sdk_version
File.read(File.join(__dir__, 'VERSION')).strip
end
def configure_putio_sdk_spec(spec, name:, module_name: nil)
spec.name = name
spec.module_name = module_name if module_name
spec.version = putio_sdk_version
spec.swift_version = '5.0'
spec.summary = 'Swift SDK for the put.io API.'
spec.description = 'Swift SDK for the [put.io API](https://api.put.io).'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.author = { 'put.io' => 'devs@put.io' }
spec.homepage = 'https://github.com/putdotio/putio-sdk-swift'
spec.source = { :git => 'https://github.com/putdotio/putio-sdk-swift.git', :tag => spec.version.to_s }
spec.social_media_url = 'https://twitter.com/putdotio'
spec.ios.deployment_target = '26.0'
spec.source_files = 'PutioSDK/Classes/**/*'
end