forked from angrymango/CronExpression
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCronExpression.podspec
More file actions
36 lines (26 loc) · 1.79 KB
/
Copy pathCronExpression.podspec
File metadata and controls
36 lines (26 loc) · 1.79 KB
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
Pod::Spec.new do |s|
s.name = "CronExpression"
s.version = "0.0.3"
s.summary = "Cocoa/iOS library to parse and calculate the next run date of a CRON expression"
s.description = <<-DESC
FORKED FROM: https://github.com/angrymango/CronExpression
CronExpression
==============
Description
-----------
Objective C cron expression parser that can parse a CRON expression, determine if it is due to run, and calculate the next run date of the expression. The parser can handle increments of ranges (e.g. */12, 2-59/3), intervals (e.g. 0-9), lists (e.g. 1,2,3), W to find the nearest weekday for a given day of the month, L to find the last day of the month, L to find the last given weekday of a month, and hash (#) to find the nth weekday of a given month.
Initially the library will be packaged for use in iOS but will later be updated to include a Cocoa build target.
This library is ported from the the PHP [cron-expression](https://github.com/mtdowling/cron-expression) library created by [mtdowling](https://github.com/mtdowling).
Progress
--------
This library is currently incomplete. Most of the code has been ported but the unit tests are incomplete. The original PHP code is still included inline as comments.
DESC
s.homepage = "https://github.com/nkoterba/CronExpression"
s.license = { :type => 'MIT', :file => 'LICENSE.txt' }
s.author = { "nkoterba" => "nathan.koterba@gmail.com", "Tim King" => "tim@angrymango.com" }
s.platform = :ios, '5.0'
s.source = { :git => "https://github.com/nkoterba/CronExpression.git", :tag => “0.0.3” }
s.source_files = 'libCronExpression/*.{h,m}'
s.requires_arc = true
s.xcconfig = { 'OTHER_LINKER_FLAGS' => '-ObjC' }
end