sidekiq-scheduler 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ begin
4
+ require 'sidekiq-scheduler'
5
+ rescue LoadError
6
+ # Better way to do this in dev?
7
+ dir = File.expand_path(File.dirname(__FILE__) + '/../lib')
8
+ $LOAD_PATH << dir if File.exist?("#{dir}/sidekiq-scheduler.rb")
9
+ require 'sidekiq-scheduler'
10
+ end
11
+
12
+ begin
13
+ cli = Sidekiq::CLI.new
14
+ cli.parse
15
+ cli.run
16
+ rescue => e
17
+ raise e if $DEBUG
18
+ STDERR.puts e.message
19
+ STDERR.puts e.backtrace.join("\n")
20
+ exit 1
21
+ end
@@ -1,3 +1,3 @@
1
1
  module SidekiqScheduler
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-13 00:00:00.000000000 Z
12
+ date: 2012-03-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sidekiq
16
- requirement: &70235778635560 !ruby/object:Gem::Requirement
16
+ requirement: &70115084759380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70235778635560
24
+ version_requirements: *70115084759380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70235778634920 !ruby/object:Gem::Requirement
27
+ requirement: &70115084758860 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70235778634920
35
+ version_requirements: *70115084758860
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: timecop
38
- requirement: &70235778634440 !ruby/object:Gem::Requirement
38
+ requirement: &70115084758160 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,15 +43,17 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70235778634440
46
+ version_requirements: *70115084758160
47
47
  description: Light weight job scheduling extension for Sidekiq that adds support for
48
48
  queueing items in the future.
49
49
  email:
50
50
  - yabawock@gmail.com
51
- executables: []
51
+ executables:
52
+ - sidekiq-scheduler
52
53
  extensions: []
53
54
  extra_rdoc_files: []
54
55
  files:
56
+ - bin/sidekiq-scheduler
55
57
  - lib/sidekiq-scheduler/cli.rb
56
58
  - lib/sidekiq-scheduler/client.rb
57
59
  - lib/sidekiq-scheduler/manager.rb
@@ -83,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
85
  version: '0'
84
86
  segments:
85
87
  - 0
86
- hash: -2626338027335115584
88
+ hash: -1488616446890576615
87
89
  required_rubygems_version: !ruby/object:Gem::Requirement
88
90
  none: false
89
91
  requirements:
@@ -92,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
94
  version: '0'
93
95
  segments:
94
96
  - 0
95
- hash: -2626338027335115584
97
+ hash: -1488616446890576615
96
98
  requirements: []
97
99
  rubyforge_project:
98
100
  rubygems_version: 1.8.17