tanzeeb-rufus-scheduler 2.0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+
2
+ $:.unshift('lib')
3
+
4
+ require 'rubygems'
5
+ require 'rufus/scheduler/em'
6
+
7
+ # scheduler
8
+
9
+
10
+ s = Rufus::Scheduler.start_new
11
+
12
+ puts Time.now.to_s
13
+
14
+ s.in('1s') do
15
+ p [ :in, Time.now.to_s ]
16
+ exit 0
17
+ end
18
+
19
+ s.join
20
+
metadata ADDED
@@ -0,0 +1,160 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tanzeeb-rufus-scheduler
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 2
7
+ - 0
8
+ - 7
9
+ - 2
10
+ version: 2.0.7.2
11
+ platform: ruby
12
+ authors:
13
+ - John Mettraux
14
+ - Tanzeeb Khalili
15
+ - Matt Briggs
16
+ - Sean Kirby
17
+ autorequire:
18
+ bindir: bin
19
+ cert_chain: []
20
+
21
+ date: 2010-11-02 00:00:00 -04:00
22
+ default_executable:
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ name: rake
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ type: :development
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: yard
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ type: :development
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: bacon
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ version: "0"
58
+ type: :development
59
+ version_requirements: *id003
60
+ - !ruby/object:Gem::Dependency
61
+ name: jeweler
62
+ prerelease: false
63
+ requirement: &id004 !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ segments:
68
+ - 0
69
+ version: "0"
70
+ type: :development
71
+ version_requirements: *id004
72
+ - !ruby/object:Gem::Dependency
73
+ name: tzinfo
74
+ prerelease: false
75
+ requirement: &id005 !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ segments:
80
+ - 0
81
+ version: "0"
82
+ type: :runtime
83
+ version_requirements: *id005
84
+ description: "\n job scheduler for Ruby (at, cron, in and every jobs).\n\n By default uses a Ruby thread, if EventMachine is present, it will rely on it.\n\n This fork adds timezone support to cron schedules.\n "
85
+ email: tanzeeb@gmail.com
86
+ executables: []
87
+
88
+ extensions: []
89
+
90
+ extra_rdoc_files:
91
+ - LICENSE.txt
92
+ - README.rdoc
93
+ files:
94
+ - .gitignore
95
+ - CHANGELOG.txt
96
+ - CREDITS.txt
97
+ - LICENSE.txt
98
+ - README.rdoc
99
+ - Rakefile
100
+ - TODO.txt
101
+ - lib/rufus-scheduler.rb
102
+ - lib/rufus/otime.rb
103
+ - lib/rufus/sc/cronline.rb
104
+ - lib/rufus/sc/jobqueues.rb
105
+ - lib/rufus/sc/jobs.rb
106
+ - lib/rufus/sc/rtime.rb
107
+ - lib/rufus/sc/scheduler.rb
108
+ - lib/rufus/sc/version.rb
109
+ - lib/rufus/scheduler.rb
110
+ - misc/cronline_next_time_cost.rb
111
+ - spec/at_in_spec.rb
112
+ - spec/at_spec.rb
113
+ - spec/blocking_spec.rb
114
+ - spec/cron_spec.rb
115
+ - spec/cronline_spec.rb
116
+ - spec/every_spec.rb
117
+ - spec/exception_spec.rb
118
+ - spec/in_spec.rb
119
+ - spec/rtime_spec.rb
120
+ - spec/schedulable_spec.rb
121
+ - spec/scheduler_spec.rb
122
+ - spec/spec.rb
123
+ - spec/spec_base.rb
124
+ - spec/stress_schedule_unschedule_spec.rb
125
+ - spec/timeout_spec.rb
126
+ - tanzeeb-rufus-scheduler.gemspec
127
+ - test/kjw.rb
128
+ - test/t.rb
129
+ has_rdoc: true
130
+ homepage: http://github.com/tanzeeb/rufus-scheduler/
131
+ licenses: []
132
+
133
+ post_install_message:
134
+ rdoc_options:
135
+ - --charset=UTF-8
136
+ require_paths:
137
+ - lib
138
+ required_ruby_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ segments:
143
+ - 0
144
+ version: "0"
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ segments:
150
+ - 0
151
+ version: "0"
152
+ requirements: []
153
+
154
+ rubyforge_project: rufus
155
+ rubygems_version: 1.3.6
156
+ signing_key:
157
+ specification_version: 3
158
+ summary: job scheduler for Ruby (at, cron, in and every jobs)
159
+ test_files:
160
+ - spec/spec.rb