-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathTimeAgoInWords.podspec
36 lines (31 loc) · 1.15 KB
/
TimeAgoInWords.podspec
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
26
27
28
29
30
31
32
33
34
35
36
#
# Be sure to run `pod lib lint TimeAgoInWords.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'TimeAgoInWords'
s.version = '3.1.0'
s.summary = 'A port of rails\' time_ago_in_words date method.'
s.description = <<-DESC
This is a direct port of: http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-distance_of_time_in_words
DESC
s.homepage = 'https://github.com/ello/TimeAgoInWords'
s.license = { type: 'MIT', file: 'LICENSE' }
s.authors = 'Ello', 'Ryan Boyajian'
s.source = { git: 'https://github.com/ello/TimeAgoInWords.git', tag: s.version.to_s }
s.swift_versions = '4.1'
s.ios.deployment_target = '10.3'
s.osx.deployment_target = '10.3'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.requires_arc = false
s.source_files = 'TimeAgoInWords.swift'
s.frameworks = 'Foundation'
s.ios.resource_bundles = {
'TimeAgoInWords' => ['Localization/*.lproj']
}
end